https://sourceware.org/bugzilla/show_bug.cgi?id=34423
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |2.48
Version|unspecified |2.48 (HEAD)
--- Comment #8 from H.J. Lu <hjl.tools at gmail dot com> ---
LLVM assembler supports ".long foo@PLT - .L4":
[hjl@gnu-tgl-3 pic-1]$ cat foo.S
.section .rodata
.p2align 2
.L4:
.long foo@PLT - .
.long foo@PLT - .L4
[hjl@gnu-tgl-3 pic-1]$ llvm-mc --filetype=obj -o foo.o foo.S
[hjl@gnu-tgl-3 pic-1]$ readelf -rW foo.o
Relocation section '.rela.rodata' at offset 0x78 contains 2 entries:
Offset Info Type Symbol's Value
Symbol's Name + Addend
0000000000000000 0000000100000004 R_X86_64_PLT32 0000000000000000 foo
+ 0
0000000000000004 0000000100000004 R_X86_64_PLT32 0000000000000000 foo
+ 4
[hjl@gnu-tgl-3 pic-1]$
--
You are receiving this mail because:
You are on the CC list for the bug.