Fix an internal error in the constructor of Target_arm.
authorIgor Kudrin <ikudrin@accesssoftek.com>
Mon, 19 Dec 2016 23:23:59 +0000 (15:23 -0800)
committerCary Coutant <ccoutant@gmail.com>
Mon, 19 Dec 2016 23:28:28 +0000 (15:28 -0800)
commitee7ef219cbfbcf9217b50c4d30e719e2a6182a71
treea10c07ee10ef2268b94eeb83f08aaa6dcefd81c2
parent89ede9f53b74f84febcd1c2a6db8b03f390b62ec
Fix an internal error in the constructor of Target_arm.

gold/
* arm.cc (Target_arm::Target_arm): Move initialization code ...
(Target_arm::do_select_as_default_target): ... to here.
* testsuite/Makefile.am (arm_target_lazy_init): New test case.
* testsuite/Makefile.in: Regenerate.
* testsuite/arm_target_lazy_init.s: New source file.
* testsuite/arm_target_lazy_init.t: New linker script.
gold/ChangeLog
gold/arm.cc
gold/testsuite/Makefile.am
gold/testsuite/Makefile.in
gold/testsuite/arm_target_lazy_init.s [new file with mode: 0644]
gold/testsuite/arm_target_lazy_init.t [new file with mode: 0644]