2009-06-05 Doug Kwan <dougkwan@google.com>
authorDoug Kwan <dougkwan@google.com>
Fri, 5 Jun 2009 18:16:31 +0000 (18:16 +0000)
committerDoug Kwan <dougkwan@google.com>
Fri, 5 Jun 2009 18:16:31 +0000 (18:16 +0000)
commit805bb01c4b93ddb2422af91ea8f76019c8e0c319
tree6596ecdc1a777da42078340ffdeaa191f96cb2f6
parentb3ed98d264e2938d253d0b08b0bb51fbdc65c75b
2009-06-05  Doug Kwan  <dougkwan@google.com>

* object.cc (Sized_relobj::Sized_relobj): Initialize
discarded_eh_frame_shndx_ to -1U.
(Sized_relobj::do_layout): Record index of a discard .eh_frame
section.
(Sized_relobj::do_count_local_symbols): Skip local symbols in
a discarded .eh_frame section.
(Sized_relobj::do_finalize_local_symbols): Ditto.
* object.h (class Sized_relobj): Declare new member
discarded_eh_frame_shndx_.
* testsuite/Makefile.am (check_PROGRAMS): Add local_labels_test.
(local_labels_test.o, local_labels_test): New rules.
* testsuite/Makefile.in: Regenerate.
gold/ChangeLog
gold/object.cc
gold/object.h
gold/testsuite/Makefile.am
gold/testsuite/Makefile.in