PR 11866
authorIan Lance Taylor <ian@airs.com>
Mon, 2 Aug 2010 11:59:11 +0000 (11:59 +0000)
committerIan Lance Taylor <ian@airs.com>
Mon, 2 Aug 2010 11:59:11 +0000 (11:59 +0000)
commit5f1ab67afc4b968ef1de25b13f644fd20ac029d9
treefa058ec61f822375f9007fa84fe99943fe2c6e48
parent85cfcbfb1a3bce62a3537eb7480ef1116f4c0d94
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