PR gold/12880
authorIan Lance Taylor <ian@airs.com>
Fri, 17 Jun 2011 13:00:01 +0000 (13:00 +0000)
committerIan Lance Taylor <ian@airs.com>
Fri, 17 Jun 2011 13:00:01 +0000 (13:00 +0000)
commit10b4f10252b11483486df1be14037c1dd4c554bb
treecd5b9ad273ca38fe1c6842608821c8a6dd516d7c
parente588ea8da03e217869ea9c6533382f7bbfc5a474
PR gold/12880
* layout.h (class Layout): Add interp_segment_ field.
* layout.cc (Layout::Layout): Initialize interp_segment_ field.
(Layout::attach_allocated_section_to_segment): If making shared
library, put .interp section in PT_INTERP segment.
(Layout::finalize): Also call create_interp if -dynamic-linker
option was used.
(Layout::create_interp): Assert that there is no PT_INTERP
segment.  If not using a SECTIONS clause, use make_output_section.
(Layout::make_output_segment): Set interp_segment_ if PT_INTERP.
* script-sections.cc
(Script_sections::create_note_and_tls_segments): If making shared
library, put .interp section in PT_INTERP segment.
gold/ChangeLog
gold/layout.cc
gold/layout.h
gold/script-sections.cc
This page took 0.026146 seconds and 4 git commands to generate.