From 118751b1c39d7347c1add600d9ba09ce28dc52d8 Mon Sep 17 00:00:00 2001 From: Jim Wilson Date: Thu, 23 May 1996 15:38:42 -0700 Subject: (SWITCH_TAKES_ARG): Add -R. (LINK_SPEC): Add %{R*}. From-SVN: r12084 --- gcc/config/netbsd.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'gcc') diff --git a/gcc/config/netbsd.h b/gcc/config/netbsd.h index 9629d5f..860e101 100644 --- a/gcc/config/netbsd.h +++ b/gcc/config/netbsd.h @@ -58,8 +58,13 @@ #undef LINK_SPEC #define LINK_SPEC \ - "%{!nostdlib:%{!r*:%{!e*:-e start}}} -dc -dp %{static:-Bstatic} %{assert*}" + "%{!nostdlib:%{!r*:%{!e*:-e start}}} -dc -dp %{R*} %{static:-Bstatic} %{assert*}" +/* This defines which switch letters take arguments. */ +#undef SWITCH_TAKES_ARG +#define SWITCH_TAKES_ARG(CHAR) \ + (DEFAULT_SWITCH_TAKES_ARG(CHAR) \ + || (CHAR) == 'R') /* We have atexit(3). */ -- cgit v1.1