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]

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.

I would expect to be able to specify this kind of stuff in the linker
script, but I can't find any documentation telling me how to do this.
I've perused the web pages on this stuff, but either I've missed it or
it isn't there. As it is, some of my sections are being produced with
no access at all, which then causes runtime access violations.
-
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]