diff options
author | Nick Clifton <nickc@redhat.com> | 2002-12-17 10:03:52 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2002-12-17 10:03:52 +0000 |
commit | a08a0d635b7e6d78dca2ac21d9367f066b553bea (patch) | |
tree | bcff14e495373faa89b14b280727cb19e1651621 /ld/emultempl | |
parent | 5071ffe6bfcb2450ec0862a40594520027be367d (diff) | |
download | gdb-a08a0d635b7e6d78dca2ac21d9367f066b553bea.zip gdb-a08a0d635b7e6d78dca2ac21d9367f066b553bea.tar.gz gdb-a08a0d635b7e6d78dca2ac21d9367f066b553bea.tar.bz2 |
Duplicate entry for --compact-implib so that it is not confused with -c.
Diffstat (limited to 'ld/emultempl')
-rw-r--r-- | ld/emultempl/pe.em | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ld/emultempl/pe.em b/ld/emultempl/pe.em index d350ee8..061401f 100644 --- a/ld/emultempl/pe.em +++ b/ld/emultempl/pe.em @@ -260,6 +260,9 @@ static struct option longopts[] = { {"disable-stdcall-fixup", no_argument, NULL, OPTION_DISABLE_STDCALL_FIXUP}, {"out-implib", required_argument, NULL, OPTION_IMPLIB_FILENAME}, {"warn-duplicate-exports", no_argument, NULL, OPTION_WARN_DUPLICATE_EXPORTS}, + /* getopt() allows abbreviations, so we do this to stop it from + treating -c as an abbreviation for these --compat-implib. */ + {"compat-implib", no_argument, NULL, OPTION_IMP_COMPAT}, {"compat-implib", no_argument, NULL, OPTION_IMP_COMPAT}, {"enable-auto-image-base", no_argument, NULL, OPTION_ENABLE_AUTO_IMAGE_BASE}, {"disable-auto-image-base", no_argument, NULL, OPTION_DISABLE_AUTO_IMAGE_BASE}, |