diff options
author | Ian Lance Taylor <iant@google.com> | 2008-01-04 05:35:24 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2008-01-04 05:35:24 +0000 |
commit | fced7afdce32a299d799f52ebd92a92572c2f9f5 (patch) | |
tree | a516bc2854971865b63f828e7ec9be8e865be6f1 /gold/options.cc | |
parent | 1bedcac52a2f05841dcdefcd1248ae3393274471 (diff) | |
download | gdb-fced7afdce32a299d799f52ebd92a92572c2f9f5.zip gdb-fced7afdce32a299d799f52ebd92a92572c2f9f5.tar.gz gdb-fced7afdce32a299d799f52ebd92a92572c2f9f5.tar.bz2 |
Add -h/-soname option.
Diffstat (limited to 'gold/options.cc')
-rw-r--r-- | gold/options.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gold/options.cc b/gold/options.cc index 20ddc6a..c3f1747 100644 --- a/gold/options.cc +++ b/gold/options.cc @@ -399,6 +399,9 @@ options::Command_line_options::options[] = NULL, TWO_DASHES, &General_options::set_export_dynamic), GENERAL_NOARG('\0', "eh-frame-hdr", N_("Create exception frame header"), NULL, TWO_DASHES, &General_options::set_create_eh_frame_hdr), + GENERAL_ARG('h', "soname", N_("Set shared library name"), + N_("-h FILENAME, --soname FILENAME"), ONE_DASH, + &General_options::set_soname), GENERAL_ARG('I', "dynamic-linker", N_("Set dynamic linker path"), N_("-I PROGRAM, --dynamic-linker PROGRAM"), TWO_DASHES, &General_options::set_dynamic_linker), @@ -528,6 +531,7 @@ const int options::Command_line_options::debug_options_size = General_options::General_options() : export_dynamic_(false), + soname_(NULL), dynamic_linker_(NULL), search_path_(), optimization_level_(0), |