[Patch][Gold] BE8 for ARM

Bharathi Seshadri (bseshadr) bseshadr@cisco.com
Thu Jul 7 23:25:00 GMT 2016


Hi,

This patch implements the BE8 support for ARM in the gold linker. It has been tested on a non-trivial large program (size ~120MB). 
Thanks to Cary Coutant for his initial review.

gold/ChangeLog
2016-07-07  Bharathi Seshadri  <bseshadr@cisco.com>

        * options.h (General_options): Add --be8 option.
        * arm.cc (Arm_relobj::do_relocate_sections): Add code to swap for be8.
          (Output_data_plt_arm_standard::do_fill_first_plt_entry): Likewise.
          (Output_data_plt_arm_short::do_fill_plt_entry): Likewise.
          (Output_data_plt_arm_long::do_fill_plt_entry): Likewise.
          (Target_arm::do_adjust_elf_header): Do EF_ARM_BE8 adjustment.

Regards,
Bharathi
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: be8_arm_patch.txt
URL: <https://sourceware.org/pipermail/binutils/attachments/20160707/bd543449/attachment.txt>


More information about the Binutils mailing list