Mail Archives: djgpp-workers/1998/03/22/03:44:06
Bill Currie wrote:
> As to the locking issue, now that my ASM_OUTPUT_SECTION_NAME patch to
> go32.h is in mainstream gcc (2.8.1 definitely, don't know about 2.8.0),
> can I suggest using .ltext and .ldata sections (and supporting them in
> mainstream DJGPP) as originally suggestion by Alaric Williams? Support
> in DJGPP is as simple as a couple of additional lines to the linker
> scripts (this MAY cause problems with Roberts efforts with binutils) as
> per the attached patch.
I just remebered one flaw in this: even binutils 2.8.1 has a bug in gas
where it doesn't get relocations right when using non .text code
sections. However, this bug has been fixed sometime befor binutils
2.8.0.15.
Bill
--
Leave others their otherness.
- Raw text -