https://sourceware.org/bugzilla/show_bug.cgi?id=22883
Jeremi changed:
What|Removed |Added
CC||jeremip11 at gmail dot com
--
You are
https://sourceware.org/bugzilla/show_bug.cgi?id=22883
--- Comment #5 from Nick Clifton ---
Hi H.J.
> > Yes, the object file is bad. It uses RELA, but stores relocations
> > like REL. Which assembler generates it?
I have just received this reply from the original reporter:
"it is part of
https://sourceware.org/bugzilla/show_bug.cgi?id=22883
--- Comment #4 from Nick Clifton ---
Hi H.J.
> Yes, the object file is bad. It uses RELA, but stores relocations
> like REL. Which assembler generates it?
Unknown. I have asked the reporter of the original bug how it was created.
(The
https://sourceware.org/bugzilla/show_bug.cgi?id=22883
--- Comment #3 from H.J. Lu ---
(In reply to Cary Coutant from comment #1)
> I don't see how the Gnu linker is making this work. All your PLT32
> relocations are missing the "-4" bias for a pc-relative reference. As far as
> I can see, gold
https://sourceware.org/bugzilla/show_bug.cgi?id=22883
--- Comment #2 from Cary Coutant ---
With a top-of-trunk assembler, I get the "- 4".
$ cat test.s
.globl bar
.text
foo:
callq bar@PLT
ret
$ as -o test.o test.s
$ readelf -rW test.o
Relocation section