Mail Archives: djgpp/2000/12/21/04:01:08
On Wed, 20 Dec 2000, Florian X wrote:
> I post the new dlx.ld:
> ==================
> OUTPUT_FORMAT("coff-go32")
> FORCE_COMMON_ALLOCATION
> SECTIONS {
> .text : {
> *(.text)
> dlx_first_ctor = . ;
> *(.ctor)
> dlx_last_ctor = . ;
> dlx_first_dtor = . ;
> *(.dtor)
> dlx_last_dtor = . ;
> *(.gcc_exc*)
> ___EH_FRAME_BEGIN__ = . ;
> *(.eh_fram*)
> ___EH_FRAME_END__ = . ;
> *(.data)
> *(.bss)
> *(COMMON)
> }
> }
Hmm, isn't it better to take djgpp.djl and simply add the dlx-specific
sections to it, or replace djgpp_*_ctor etc. with dlx_*_ctor? I admit
I don't understand well enough what do the DLX section do here, but
the current djgpp.djl has much more entries than the above shows, so
it's possible that some features are broken if, say, .gnu.linkonce
entries aren't here.
Anyone?
- Raw text -