aboutsummaryrefslogtreecommitdiff
path: root/gold/options.h
diff options
context:
space:
mode:
authorBharathi Seshadri <bseshadr@cisco.com>2016-08-23 14:50:48 -0700
committerCary Coutant <ccoutant@gmail.com>2016-08-23 14:50:48 -0700
commit9f84726cd51ed081b0a042a94a8804b92481c4be (patch)
treee715d5b04d310cbfcfea06d2f88ad8c718710044 /gold/options.h
parent34f81801be0b294a93ac73bac6f6195a66d10b98 (diff)
downloadgdb-9f84726cd51ed081b0a042a94a8804b92481c4be.zip
gdb-9f84726cd51ed081b0a042a94a8804b92481c4be.tar.gz
gdb-9f84726cd51ed081b0a042a94a8804b92481c4be.tar.bz2
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.
Diffstat (limited to 'gold/options.h')
-rw-r--r--gold/options.h3
1 files changed, 3 insertions, 0 deletions
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);