GNU ld on x86 Solaris
Michael Meissner
meissner@cygnus.com
Thu Nov 6 15:17:00 GMT 1997
Fred Richardson writes:
| So I wonder what "NOTE" is for...
I believe the NOTE identifies this program as being linked for
Solaris/x86, as opposed to some other x86 supporting the System V ABI
(like Linux).
| I also found that if I run the linker without including:
| /usr/ccs/lib/values-Xa.o
| the program links successfully. But on the sparc, the same file is
| included without causing a hitch...
|
| Well, one further clue. On the sparc, each of these files:
| /usr/ccs/lib/values-Xa.o
| /usr/ccs/lib/values-Xc.o
| /usr/ccs/lib/values-Xs.o
| /usr/ccs/lib/values-Xt.o
| has these sections:
| 0 .text
| 1 .data
| 2 .rodata
| 3 .stab.index
| 4 .stab.indexstr
| 5 .comment
|
| but on the x86, they have these sections:
| 0 .text
| 1 .stab.index
| 2 .stab.indexstr
| 3 .comment
| 4 .data
| 5 .stab.excl
| 6 .stab.exclstr
|
| Could the ".stab.excl" and ".stab.exclstr" have something to do with
| the new "NOTE" section? I'm afraid I don't really know what any of
| this is...
|
| -Fred
More information about the Gcc
mailing list