OSDN Git Service

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)
commit2bb2399f37a4fdba0bfbf13e81260257bed960c0
tree016f5bc26758e093f5aec7f1448f5e375dd07581
parent7da8c585aa32707e2812c63681fab58aee5224bc
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]