2010-02-18 Doug Kwan <dougkwan@google.com>
commitbc2ea3cfb6d2f52d12901af5b578cf0a09414a1f
authorDoug Kwan <dougkwan@google.com>
Fri, 19 Feb 2010 02:16:41 +0000 (19 02:16 +0000)
committerDoug Kwan <dougkwan@google.com>
Fri, 19 Feb 2010 02:16:41 +0000 (19 02:16 +0000)
treea943c07e2c8f91706431224fefa73b5477e703af
parenta37671093643f1d923ab97ff25ef6c97fda41286
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