diff options
author | Nick Clifton <nickc@redhat.com> | 2002-04-11 16:55:27 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2002-04-11 16:55:27 +0000 |
commit | 5835c2123df2eadd2597686f28650392b78b6a0a (patch) | |
tree | 84efc19d2ca0879d3ee6732a27a6e9fef42a2db4 /ld/emultempl | |
parent | 690649bea2775fc4c0a61b0fc2ad338436345e64 (diff) | |
download | gdb-5835c2123df2eadd2597686f28650392b78b6a0a.zip gdb-5835c2123df2eadd2597686f28650392b78b6a0a.tar.gz gdb-5835c2123df2eadd2597686f28650392b78b6a0a.tar.bz2 |
Add 'n' in order to prevent "-n" from being taken as an abbreviation for
"--no-pipeline-knowledge".
Diffstat (limited to 'ld/emultempl')
-rw-r--r-- | ld/emultempl/armelf.em | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ld/emultempl/armelf.em b/ld/emultempl/armelf.em index c570486..78a0c35 100644 --- a/ld/emultempl/armelf.em +++ b/ld/emultempl/armelf.em @@ -156,7 +156,12 @@ PARSE_AND_LIST_PROLOGUE=' #define OPTION_THUMB_ENTRY 301 ' -PARSE_AND_LIST_SHORTOPTS=p +# 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_LONGOPTS=' { "no-pipeline-knowledge", no_argument, NULL, '\'p\''}, |