diff options
author | Ian Lance Taylor <ian@airs.com> | 2010-01-04 23:59:13 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 2010-01-04 23:59:13 +0000 |
commit | fe35d28dd3d215a7abab1b5093451cd7382fa483 (patch) | |
tree | d25baf4b1c7ad2ca87ebfe54816d676cb038b141 /gold | |
parent | 4316f0d240ccb4ad3a9def858f5e00d9c83341b9 (diff) | |
download | gdb-fe35d28dd3d215a7abab1b5093451cd7382fa483.zip gdb-fe35d28dd3d215a7abab1b5093451cd7382fa483.tar.gz gdb-fe35d28dd3d215a7abab1b5093451cd7382fa483.tar.bz2 |
PR 10980
* options.h (class General_options): Add -G as a short version of
--shared. Add no-op options -assert, -g, and -i.
Diffstat (limited to 'gold')
-rw-r--r-- | gold/ChangeLog | 6 | ||||
-rw-r--r-- | gold/options.h | 12 |
2 files changed, 17 insertions, 1 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog index ef1b6f2..768c794 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,9 @@ +2010-01-04 Ian Lance Taylor <iant@google.com> + + PR 10980 + * options.h (class General_options): Add -G as a short version of + --shared. Add no-op options -assert, -g, and -i. + 2010-01-04 Sriraman Tallam <tmsriram@google.com> * gc.h (gc_process_relocs): Call is_section_foldable_candidate to diff --git a/gold/options.h b/gold/options.h index da53b95..8f26208 100644 --- a/gold/options.h +++ b/gold/options.h @@ -588,6 +588,10 @@ class General_options N_("Only set DT_NEEDED for dynamic libs if used"), N_("Always DT_NEEDED for dynamic libs")); + DEFINE_enum(assert, options::ONE_DASH, '\0', NULL, + N_("Ignored"), N_("[ignored]"), + {"definitions", "nodefinitions", "nosymbolic", "pure-text"}); + // This should really be an "enum", but it's too easy for folks to // forget to update the list as they add new targets. So we just // accept any string. We'll fail later (when the string is parsed), @@ -692,9 +696,15 @@ class General_options DEFINE_string(fini, options::ONE_DASH, '\0', "_fini", N_("Call SYMBOL at unload-time"), N_("SYMBOL")); + DEFINE_bool(g, options::EXACTLY_ONE_DASH, '\0', false, + N_("Ignored"), NULL); + DEFINE_string(soname, options::ONE_DASH, 'h', NULL, N_("Set shared library name"), N_("FILENAME")); + DEFINE_bool(i, options::EXACTLY_ONE_DASH, '\0', false, + N_("Ignored"), NULL); + DEFINE_double(hash_bucket_empty_fraction, options::TWO_DASHES, '\0', 0.0, N_("Min fraction of empty buckets in dynamic hash"), N_("FRACTION")); @@ -845,7 +855,7 @@ class General_options N_("Use less memory and more disk I/O " "(included only for compatibility with GNU ld)"), NULL); - DEFINE_bool(shared, options::ONE_DASH, '\0', false, + DEFINE_bool(shared, options::ONE_DASH, 'G', false, N_("Generate shared library"), NULL); DEFINE_bool(Bshareable, options::ONE_DASH, '\0', false, |