PR 6647
authorIan Lance Taylor <ian@airs.com>
Wed, 23 Jul 2008 23:44:02 +0000 (23:44 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 23 Jul 2008 23:44:02 +0000 (23:44 +0000)
commit057ead223193b365a6fcd11939a89a63eb4b94e0
treefd9512fb7fbf9175087dee104d30fbc7b1982360
parente63e4db2035334827eb3ca4402b766897f5479a8
PR 6647
* script.cc (Version_script_info::get_versions): Don't add empty
version tag to return value.
(Version_script_info::get_symbol_version_helper): Change return
type to bool.  Add pversion parameter.  Change all callers.
(script_register_vers_node): Don't require a non-NULL tag.
* script.h (class Version_script_info): Update declarations.
(Version_script_info::get_symbol_version): Change return type to
bool.  Add version parameter.  Change all callers.
* symtab.cc (Sized_symbol::add_from_relobj): Rework version
handling.  Handle an empty version from a version script.
(Symbol_table::define_special_symbol): Likewise.
* testsuite/ver_test_10.script: New file.
* testsuite/ver_test_10.sh: New file.
* testsuite/Makefile.am (check_SCRIPTS): Add ver_test_10.sh.
(check_DATA): Add ver_test_10.syms.
(ver_test_10.syms, ver_test_10.so): New target.
* testsuite/Makefile.in: Rebuild.
gold/ChangeLog
gold/script.cc
gold/script.h
gold/symtab.cc
gold/testsuite/Makefile.am
gold/testsuite/Makefile.in
gold/testsuite/ver_test_10.script [new file with mode: 0644]
gold/testsuite/ver_test_10.sh [new file with mode: 0755]
This page took 0.025668 seconds and 4 git commands to generate.