diff options
author | Nick Clifton <nickc@redhat.com> | 2003-02-07 15:32:22 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2003-02-07 15:32:22 +0000 |
commit | efdc1711c0d752f4795823b935eea82a583d3994 (patch) | |
tree | e213ce5ea89397f6bc421eeb56a2c96953fb3e5a /ld/emultempl | |
parent | 6736881f6b6e9c7a1282a55d2bd917324d99210f (diff) | |
download | binutils-redhat-efdc1711c0d752f4795823b935eea82a583d3994.tar.gz |
Add duplicate entry for no-pipeline-knowledge. This will prevent the getopt
package from thinking that there are any shorter abbreviations for
--no-pipeline-knowledge.
Diffstat (limited to 'ld/emultempl')
-rw-r--r-- | ld/emultempl/armelf.em | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/ld/emultempl/armelf.em b/ld/emultempl/armelf.em index 05a7af0f8b..c0b88f8ea7 100644 --- a/ld/emultempl/armelf.em +++ b/ld/emultempl/armelf.em @@ -193,15 +193,14 @@ PARSE_AND_LIST_PROLOGUE=' #define OPTION_THUMB_ENTRY 301 ' -# Note we add 'n' to the short option list in order to prevent -# getopt_long_only from thinking that -n is a unique abbreviation -# for --no-pipeline-knowledge. There is no case to handle 'n' here -# however, so instead it will be passed back to parse_args() in -# lexsup.c where it will be handled. -PARSE_AND_LIST_SHORTOPTS=pn +PARSE_AND_LIST_SHORTOPTS=p +# Note we have duplicate entries for no-pipeline-knowledge in order +# to prevent getopt_long_only from thinking that -n is a unique +# abbreviation for --no-pipeline-knowledge. PARSE_AND_LIST_LONGOPTS=' { "no-pipeline-knowledge", no_argument, NULL, '\'p\''}, + { "no-pipeline-knowledge", no_argument, NULL, '\'p\''}, { "thumb-entry", required_argument, NULL, OPTION_THUMB_ENTRY}, ' |