This is the mail archive of the gas2@sourceware.cygnus.com mailing list for the gas2 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Does ELF support -N?


   From: hjl@nynexst.com (H.J. Lu)
   Date: Sat, 24 Sep 94 17:45:41 EDT

   I am not sure if ELF supports -N. If not, the ELF functions in ld
   should ignore that switch.

>From the ld manual:

`-N'
     Set the text and data sections to be readable and writable.  Also,
     do not page-align the data segment.  If the output format supports
     Unix style magic numbers, mark the output as `OMAGIC'.

ELF can support this, except for the bit about OMAGIC.  It may not
work completely correctly, but it certainly could.

Ian