2010-02-18 Doug Kwan <dougkwan@google.com>
authorDoug Kwan <dougkwan@google.com>
Fri, 19 Feb 2010 02:16:41 +0000 (02:16 +0000)
committerDoug Kwan <dougkwan@google.com>
Fri, 19 Feb 2010 02:16:41 +0000 (02:16 +0000)
commitc8761b9af499c6c3405107924478a6d2d476f74e
tree54fb0f74806d7659e5f861247675f7d14a342450
parentd0bf826b37bdeb1ad98dc2d601b450bd5b9043e5
2010-02-18  Doug Kwan  <dougkwan@google.com>

* arm.cc (Arm_relobj::find_linked_text_section): New method.
(Arm_relobj::make_exidx_input_section): Pass section index of linked
text section as a parameter becuase some broken tools may not set
the link in section header.
(Target_arm::has_got_section): New method.
(Target_arm::scan_section_for_cortex_a8_stubs): Treat an input section
without any mapping symbol as data only.  Remove warning.
(Arm_relobj::do_read_synbols): If an EXIDX input section has no
link in its section header, try to discover the link by inspecting the
REL31 relocation at the beginning of the section.
(Target_arm::Scan::check_non_pic): Report name of offending relocation
in error message.
(Target_arm::Scan::global): Treat any reference to the symbol
_GLOBAL_OFFSET_TABLE_ as a GOT access.
gold/ChangeLog
gold/arm.cc