* ld bug found
[not found] <199408181255.IAA13727@cais.cais.com>
@ 1994-08-18 6:57 ` H.J. Lu
0 siblings, 0 replies; only message in thread
From: H.J. Lu @ 1994-08-18 6:57 UTC (permalink / raw)
To: Eric Youngdale; +Cc: gas2
The bug is in the way how ld -r treats ".stabs". It screws things up
by treating it as of without -r.
H.J.
------
# gcc -c x.s
# ld-1.9 -r -x -o 1.9 x.o
# ld-2.5 -r -x -o 2.5 x.o
# nm 2.5 1.9 x.o
2.5:
00000010 - 00 0000 (6) __BUILTIN_FIXUPS__
U __GOT__AM
00000000 T _foo
1.9:
00000020 - 00 0000 (6) __BUILTIN_FIXUPS__
U __GOT__AM
00000000 T _foo
x.o:
00000020 - 00 0000 (6) __BUILTIN_FIXUPS__
U __GOT__AM
00000010 d ___fixup_list
------x.s----
.globl _foo
_foo:
.long 0x100
.long 0x100
.long 0x100
.long 0x100
.data
___fixup_list:
.stabs "__BUILTIN_FIXUPS__",25,0,0,___fixup_list
.long __GOT__AM
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1994-08-18 6:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <199408181255.IAA13727@cais.cais.com>
1994-08-18 6:57 ` ld bug found H.J. Lu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).