From 9f84726cd51ed081b0a042a94a8804b92481c4be Mon Sep 17 00:00:00 2001 From: Bharathi Seshadri Date: Tue, 23 Aug 2016 14:50:48 -0700 Subject: Add --be8 option to gold. gold/ * 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. --- gold/options.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gold/options.h') diff --git a/gold/options.h b/gold/options.h index 23c9658..8680635 100644 --- a/gold/options.h +++ b/gold/options.h @@ -674,6 +674,9 @@ class General_options DEFINE_bool_alias(dn, Bdynamic, options::ONE_DASH, '\0', N_("alias for -Bstatic"), NULL, true); + DEFINE_bool(be8,options::TWO_DASHES, '\0', false, + N_("Output BE8 format image"), NULL); + DEFINE_bool(Bgroup, options::ONE_DASH, '\0', false, N_("Use group name lookup rules for shared library"), NULL); -- cgit v1.1