Section attributes from ld

Jon Thackray jont@harlequin.co.uk
Tue Jul 15 04:10:00 GMT 1997


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".



More information about the Cygwin mailing list