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)
commit2cefc35727da245c5b39b51551a488ba7f211689
tree51af9f38d3b5cc096cb3060b5a7bd2bfda0663df
parenta4bb589a17b1956f507e961ab998c09b8c54be5d
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