aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2003-02-07 15:32:22 +0000
committerNick Clifton <nickc@redhat.com>2003-02-07 15:32:22 +0000
commitef5bdbd1fed09ce8310f4ec3d1cc808a50216b73 (patch)
treecd44d66c632e432d9160d7116d1190be7b49c611 /ld
parent09b8f35ab28afe82b9841339b83746bf3b2a3575 (diff)
downloadgdb-ef5bdbd1fed09ce8310f4ec3d1cc808a50216b73.zip
gdb-ef5bdbd1fed09ce8310f4ec3d1cc808a50216b73.tar.gz
gdb-ef5bdbd1fed09ce8310f4ec3d1cc808a50216b73.tar.bz2
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')
-rw-r--r--ld/ChangeLog9
-rw-r--r--ld/emultempl/armelf.em11
2 files changed, 14 insertions, 6 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 958acc0..aa947b4 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,12 @@
+2003-02-07 Nick Clifton <nickc@redhat.com>
+
+ * emultempl/armelf.em (PARSE_AND_LIST_SHORTOPTS): Remove 'n' short
+ opt.
+ (PARSE_AND_LIST_LONGOPTS): 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.
+
2003-02-07 Jakub Jelinek <jakub@redhat.com>
* genscripts.sh (LIB_PATH): Don't append LIBPATH_SUFFIX to paths
diff --git a/ld/emultempl/armelf.em b/ld/emultempl/armelf.em
index 05a7af0..c0b88f8 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},
'