https://sourceware.org/bugzilla/show_bug.cgi?id=22883

--- Comment #2 from Cary Coutant <ccoutant at gmail dot com> ---
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 '.rela.text' at offset 0x110 contains 1 entries:
    Offset             Info             Type               Symbol's Value 
Symbol's Name + Addend
0000000000000001  0000000500000004 R_X86_64_PLT32         0000000000000000 bar
- 4

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to