From 4b209b2234faba50be3f12b8e8c78dbfa632dd17 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Fri, 4 Aug 2000 04:41:33 +0000 Subject: [PATCH] Keep track of last optind value, and rename a couple of functions for consistency. --- ld/ChangeLog | 8 ++++++++ ld/emultempl/elf32.em | 38 ++++++++++++++++++++------------------ 2 files changed, 28 insertions(+), 18 deletions(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index e33c885cd0..32304c4393 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,11 @@ +2000-08-04 Alan Modra + + * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Rename to + gld${EMULATION_NAME}_parse_args for consistency. Combine + lastoptind and prevoptind vars, and keep track of last optind. + (gld_${EMULATION_NAME}_list_options): Rename to + gld${EMULATION_NAME}_list_options. + 2000-08-03 Rodney Brown * configure.tgt: Select targ_emul=elf_i386 for Unixware 7 diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em index 33004be1b5..1c810444b0 100644 --- a/ld/emultempl/elf32.em +++ b/ld/emultempl/elf32.em @@ -1250,7 +1250,7 @@ fi if test -n "$PARSE_AND_LIST_ARGS_CASES" -o x"$GENERATE_SHLIB_SCRIPT" = xyes; then -if test x"$LDEMUL_PARSE_ARGS" != xgld_"$EMULATION_NAME"_parse_args; then +if test x"$LDEMUL_PARSE_ARGS" != xgld"$EMULATION_NAME"_parse_args; then if test -n "$PARSE_AND_LIST_PROLOGUE" ; then cat >>e${EMULATION_NAME}.c <>e${EMULATION_NAME}.c <>e${EMULATION_NAME}.c <>e${EMULATION_NAME}.c <>e${EMULATION_NAME}.c <>e${EMULATION_NAME}.c <