bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/13597] New: Broken sysv-style hash table when --hash-style=bot


From: kito at 0xlab dot org
Subject: [Bug gold/13597] New: Broken sysv-style hash table when --hash-style=both
Date: Mon, 16 Jan 2012 09:33:46 +0000

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: address@hidden
        ReportedBy: address@hidden
                CC: address@hidden
    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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]