Fix SysV-style hash table when --hash-style=both.
authorKito Cheng <kito@0xlab.org>
Tue, 30 Sep 2014 21:36:46 +0000 (14:36 -0700)
committerCary Coutant <ccoutant@google.com>
Tue, 30 Sep 2014 21:36:46 +0000 (14:36 -0700)
commitcd6da0366dc6684d32f349b729b5558258fc3af4
tree46eeee4b1d28fffb526e73cff7b068c737355ac7
parentd83ad864a285fe3127e1a98830197e8461ad2745
Fix SysV-style hash table when --hash-style=both.

When --hash-style-both is used, gold currently builds the sysv hash
table first, then the gnu hash table. Building the gnu hash table
renumbers the dynamic symbol table, invalidating the sysv hash
table. This patch reverses the order in which the hash tables are
build so that both hash tables are correct.

gold/
PR gold/13597
* layout.cc (Layout::create_dynamic_symtab): Build gnu-style
hash table before sysv-style hash table.
gold/ChangeLog
gold/layout.cc
This page took 0.025256 seconds and 4 git commands to generate.