2008-04-04 Cary Coutant <ccoutant@google.com>
authorCary Coutant <ccoutant@google.com>
Fri, 4 Apr 2008 17:24:47 +0000 (17:24 +0000)
committerCary Coutant <ccoutant@google.com>
Fri, 4 Apr 2008 17:24:47 +0000 (17:24 +0000)
commit86925eef33811b6ca76006e539314a7de652b5c8
tree860e974f6df678882727d8b0a9fd35c227e86fa7
parent594ab6a333bf85639e6839a924534fa264616c39
2008-04-04  Cary Coutant  <ccoutant@google.com>

* symtab.h (Symbol::is_weak_undefined): New function.
(Symbol::is_strong_undefined): New function.
(Symbol::is_absolute): New function.
(Symbol::needs_plt_entry): Exclude weak undefined symbols.
(Symbol::needs_dynamic_reloc): Exclude weak undefined and
absolute symbols.
* testsuite/Makefile.am (check_PROGRAMS): Add weak_undef_test.
(weak_undef_test): New target.
* testsuite/Makefile.in: Rebuild.
* testsuite/weak_undef_file1.cc: New file.
* testsuite/weak_undef_file2.cc: New file.
* testsuite/weak_undef_test.cc: New file.
gold/ChangeLog
gold/symtab.h
gold/testsuite/Makefile.am
gold/testsuite/Makefile.in
gold/testsuite/weak_undef_file1.cc [new file with mode: 0644]
gold/testsuite/weak_undef_file2.cc [new file with mode: 0644]
gold/testsuite/weak_undef_test.cc [new file with mode: 0644]