http://sourceware.org/bugzilla/show_bug.cgi?id=13597

--- Comment #2 from Kito Cheng <kito at 0xlab dot org> 2012-01-16 12:54:08 UTC 
---
Hey, it's seem the string table are rearranged after sysv-hash table generated.

Generate by gold --hash-style=sysv
SysV Hash table header
  nbuckets : 3
  buckets : 0x5a6dc8
  chains : 0x5a6dd4
    buckets 0 : 
       sym : _edata (7)
                    ^^^ index
       sym : f (6)
       sym : _Jv_RegisterClasses (5)
       sym : _init (2)
       sym : __gmon_start__ (1)
       sym :  (0)
    buckets 1 : 
       sym : _end (9)
       sym : _fini (3)
       sym :  (0)
    buckets 2 : 
       sym : __bss_start (8)
       sym : __cxa_finalize (4)
       sym :  (0)

Generate by gold --hash-style=both
SysV Hash table header
  nbuckets : 3
  buckets : 0x643ea8
  chains : 0x643eb4
    buckets 0 : 
       sym : _init (7)
       sym : _end (6)
       sym : _edata (5)
       sym : __cxa_finalize (2)
       sym : __gmon_start__ (1)
       sym :  (0)
    buckets 1 : 
       sym : _fini (9)
       sym : _Jv_RegisterClasses (3)
       sym :  (0)
    buckets 2 : 
       sym : __bss_start (8)
       sym : f (4)
       sym :  (0)

-- 
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
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to