[GOLD] Add PowerPC64 -fsplit-stack support
authorAlan Modra <amodra@gmail.com>
Wed, 13 May 2015 04:42:38 +0000 (14:12 +0930)
committerAlan Modra <amodra@gmail.com>
Sat, 16 May 2015 13:19:57 +0000 (22:49 +0930)
commitbbec1a5db7d3de1322cdc5a859d0c2a44ae1231f
treebe322c429865264c764795a10a53687e977f9d0d
parent36de76f9cc2eea0bd5f1b7ce74ef60e1aa0b27c2
[GOLD] Add PowerPC64 -fsplit-stack support

PowerPC64 ELFv1 requires a tweak to find_functions in order to return
code addresses, rather than OPD entry addresses.

* reloc.cc (Sized_relobj_file::find_functions): Use function_location.
* powerpc.cc (Target_powerpc::do_calls_non_split): New function.
(addi_12_1, addis_2_12, addis_12_1, cmpld_7_12_0): New constants.
(lis_0): Rename from lis_0_0.
gold/ChangeLog
gold/powerpc.cc
gold/reloc.cc
This page took 0.029799 seconds and 4 git commands to generate.