Assemble this file
.type a, @gnu_unique_object
a: .long 0
.size a, .-a
and the result will have on Linux/x86-64 a header which has an ELF header with
no special OSABI marker. But STB_GNU_UNIQUE requires that.
gas should also notice the STB_GNU_UNIQUE binding and change the OSABI to
ELFOSABI_LINUX, just as ld does.
--
Summary: gas doesn't provide correct ELF ABI for object with
unique symbols
Product: binutils
Version: 2.20 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: gas
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: drepper at redhat dot com
CC: bug-binutils at gnu dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=10549
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
bug-binutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-binutils