From 3b108066c923292f1cb23589a897f663dd48884e Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 23 Aug 1999 09:07:45 +0000 Subject: [PATCH] Add ability for individual targets to have their own command line switches by defining PARSE_AND_LIST_ARGS. --- ld/ChangeLog | 5 +++++ ld/emultempl/elf32.em | 24 ++++++++++++++++++++---- 2 files changed, 25 insertions(+), 4 deletions(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index 4e184e63c7..7eb00ef147 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +1999-08-23 Nick Clifton + + * emultempl/elf32.em: Add ability for individual targets to have + their own command line switches by defining PARSE_AND_LIST_ARGS. + 1999-08-19 Andreas Schwab * configure.host: Use ${CC} instead of gcc for finding compiler diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em index 163e4c9a9b..0c0ebb7152 100644 --- a/ld/emultempl/elf32.em +++ b/ld/emultempl/elf32.em @@ -1119,6 +1119,22 @@ EOF fi +if test -n "$PARSE_AND_LIST_ARGS" ; then +cat >>e${EMULATION_NAME}.c <>e${EMULATION_NAME}.c <>e${EMULATION_NAME}.c <