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


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

Re: Section attributes from ld


>How does ld determine which attributes sections are to have? By
>attributes, I mean things like:-

>Contains code, contains initialised data, should be laoded with
>execute permission, should be loaded with read permission, should be
>loaded with write permission etc.

The attributes are based on the attributes of the input sections which
are mapped into the output sections.  Take a look at
gas/config/obj-coff.c to see how to use the .section directive in an
assembler file.

Ian
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


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