OSDN Git Service

PR gold/5996
authorIan Lance Taylor <ian@airs.com>
Thu, 10 Apr 2008 01:02:46 +0000 (01:02 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 10 Apr 2008 01:02:46 +0000 (01:02 +0000)
commit4f29a5afe9e0c217c7c70ad4ee5d27ddc18a6d03
tree12e3bdd76bb9178e50a6540c17f0d38d3d44a3a0
parent111358ab3bbad35cccfe73a73afafb471953efe6
PR gold/5996
* script-sections.cc (Sections_element::allocate_to_segment): Add
orphan parameter.
(Output_section_definition::allocate_to_segment): Likewise.
(Orphan_output_section::allocate_to_segment): Likewise.
(Script_sections::attach_sections_using_phdrs_clause): Don't
propagate non-PT_LOAD segments to orphan sections.
* testsuite/Makefile.am (script_test_3.stdout): Generate using
readelf rather than objdump.
* testsuite/script_test_3.sh: Adjust accordingly.  Test that
.interp section and PT_INTERP segment are the same size.
* testsuite/Makefile.in: Rebuild.
gold/ChangeLog
gold/script-sections.cc
gold/testsuite/Makefile.am
gold/testsuite/Makefile.in
gold/testsuite/script_test_3.sh