2000-07-20 H.J. Lu <hjl@gnu.org>
* emultempl/elf32.em (longopts): Duplicate "disable-new-dtags" and "disable-new-dtags" to stop getopt from treating -d/-e as abbreviations for these options.
This commit is contained in:
parent
eec8c321e3
commit
699845ef7b
2 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2000-07-20 H.J. Lu <hjl@gnu.org>
|
||||
|
||||
* emultempl/elf32.em (longopts): Duplicate "disable-new-dtags"
|
||||
and "disable-new-dtags" to stop getopt from treating -d/-e as
|
||||
abbreviations for these options.
|
||||
|
||||
2000-07-20 H.J. Lu <hjl@gnu.org>
|
||||
|
||||
* ld.texinfo: Add documentation for --disable-new-dtags and
|
||||
|
|
|
@ -1223,7 +1223,11 @@ fi
|
|||
|
||||
if test x"$GENERATE_SHLIB_SCRIPT" = xyes; then
|
||||
cat >>e${EMULATION_NAME}.c <<EOF
|
||||
/* getopt allows abbreviations, so we do this to stop it from
|
||||
treating -d/-e as abbreviations for these options. */
|
||||
{"disable-new-dtags", no_argument, NULL, OPTION_DISABLE_NEW_DTAGS},
|
||||
{"disable-new-dtags", no_argument, NULL, OPTION_DISABLE_NEW_DTAGS},
|
||||
{"enable-new-dtags", no_argument, NULL, OPTION_ENABLE_NEW_DTAGS},
|
||||
{"enable-new-dtags", no_argument, NULL, OPTION_ENABLE_NEW_DTAGS},
|
||||
EOF
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue