diff options
author | Doug Kwan <dougkwan@google.com> | 2016-09-02 15:51:59 -0700 |
---|---|---|
committer | Doug Kwan <dougkwan@google.com> | 2016-09-02 15:51:59 -0700 |
commit | bc99685c7387acaa9fc20f7e45e9cd477bf0c619 (patch) | |
tree | a84234b0bf1fe0b6eb2a4d9634cbd2cf247b8971 /gold/options.h | |
parent | 4aa4e28bdcf5f0d733def62b542fea11d5f219d5 (diff) | |
download | gdb-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.h | 11 |
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); |