PR 11866
commit5c66e47e123c32d60c30c11c65818b6bccd594c2
authorIan Lance Taylor <ian@airs.com>
Mon, 2 Aug 2010 11:59:10 +0000 (2 11:59 +0000)
committerIan Lance Taylor <ian@airs.com>
Mon, 2 Aug 2010 11:59:10 +0000 (2 11:59 +0000)
tree7ce19a242d7585496ebafccf07a7edbbcb1cabfd
parenta98212c98d240af8649163e4dbca66ae1db352ea
PR 11866
* output.cc (Output_segment::set_offset): Search for the first and
last sections rather than assuming that the list is in order.
(Output_segment::find_first_and_last_list): New function.
* output.h (class Output_segment): Update declarations.
* testsuite/Makefile.am (check_PROGRAMS): Add relro_strip_test.
(relro_strip_test_SOURCES): New variable.
(relro_strip_test_DEPENDENCIES): New variable.
(relro_strip_test_LDFLAGS): New variable.
(relro_strip_test_LDADD): New variable.
(relro_strip_test.so): New target.
gold/ChangeLog
gold/output.cc
gold/output.h
gold/testsuite/Makefile.am
gold/testsuite/Makefile.in