* object.cc (Sized_relobj::map_to_kept_section): Return NULL if the
authorSriraman Tallam <tmsriram@google.com>
Fri, 22 May 2009 18:31:22 +0000 (18:31 +0000)
committerSriraman Tallam <tmsriram@google.com>
Fri, 22 May 2009 18:31:22 +0000 (18:31 +0000)
commit531813adfc6b4fd3d27183f8be16e755e8fc003d
treed5598ec753381a2f5470085ea91476fb337db946
parentad04f5cebf7b3f5ace359ff972bd366ca9a4009a
* object.cc (Sized_relobj::map_to_kept_section): Return NULL if the
kept comdat section was garbage collected.
* testsuite/Makefile.am: Add test gc_comdat_test.sh.
* testsuite/Makefile.in: Regenerate.
* testsuite/gc_comdat_test.sh: New file.
* testsuite/gc_comdat_test_1.cc: New file.
* testsuite/gc_comdat_test_2.cc: New file.
gold/ChangeLog
gold/object.cc
gold/testsuite/Makefile.am
gold/testsuite/Makefile.in
gold/testsuite/gc_comdat_test.sh [new file with mode: 0755]
gold/testsuite/gc_comdat_test_1.cc [new file with mode: 0644]
gold/testsuite/gc_comdat_test_2.cc [new file with mode: 0644]