http://sourceware.org/bugzilla/show_bug.cgi?id=13597
Bug #: 13597
Summary: Broken sysv-style hash table when --hash-style=both
Product: binutils
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: gold
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
Created attachment 6159
--> http://sourceware.org/bugzilla/attachment.cgi?id=6159
Verify tools
The gold linker would generate broken sysv-style hash table when
--hash-style=both
attach is our verify tools, it's include pre-build so file, link by ld.gold and
ld.bfd. and the verify tool are only support 32-bit only now.
Tool usage
# ./elf-verify-hash libtest.bfd.so
verify '_edata'...pass
verify 'f'...pass
verify '_end'...pass
verify '__bss_start'...pass
verify '_init'...pass
verify '_fini'...pass
^^^^
# pass mean the lookup result of gnu-style & sysv hash are same
# ./elf-verify-hash libtest.gold.so
verify 'f'...SysV-style: 0 GNU-style: 4
^^^^^^^^^^^^^^^^^^^^^^^^^^
# if lookup result are different, the tool will print the lookup result
verify '_edata'...pass
verify '_end'...SysV-style: 0 GNU-style: 6
verify '_init'...pass
verify '__bss_start'...pass
verify '_fini'...pass
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils