aboutsummaryrefslogtreecommitdiff
path: root/gold/options.h
diff options
context:
space:
mode:
authorDoug Kwan <dougkwan@google.com>2016-09-02 15:51:59 -0700
committerDoug Kwan <dougkwan@google.com>2016-09-02 15:51:59 -0700
commitbc99685c7387acaa9fc20f7e45e9cd477bf0c619 (patch)
treea84234b0bf1fe0b6eb2a4d9634cbd2cf247b8971 /gold/options.h
parent4aa4e28bdcf5f0d733def62b542fea11d5f219d5 (diff)
downloadgdb-bc99685c7387acaa9fc20f7e45e9cd477bf0c619.zip
gdb-bc99685c7387acaa9fc20f7e45e9cd477bf0c619.tar.gz
gdb-bc99685c7387acaa9fc20f7e45e9cd477bf0c619.tar.bz2
Handle ARM-specific --target1-abs, --target1-rel and --target2 options
Diffstat (limited to 'gold/options.h')
-rw-r--r--gold/options.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/gold/options.h b/gold/options.h
index a195179..ac0306d 100644
--- a/gold/options.h
+++ b/gold/options.h
@@ -1155,6 +1155,17 @@ class General_options
DEFINE_string(sysroot, options::TWO_DASHES, '\0', "",
N_("Set target system root directory"), N_("DIR"));
+ DEFINE_bool(target1_rel, options::TWO_DASHES, '\0', false,
+ N_("(ARM only) Force R_ARM_TARGET1 type to R_ARM_REL32"),
+ NULL);
+ DEFINE_bool(target1_abs, options::TWO_DASHES, '\0', false,
+ N_("(ARM only) Force R_ARM_TARGET1 type to R_ARM_ABS32"),
+ NULL);
+ DEFINE_enum(target2, options::TWO_DASHES, '\0', NULL,
+ N_("(ARM only) Set R_ARM_TARGET2 relocation type"),
+ N_("[rel, abs, got-rel"),
+ {"rel", "abs", "got-rel"});
+
DEFINE_bool(trace, options::TWO_DASHES, 't', false,
N_("Print the name of each input file"), NULL);