OSDN Git Service

(SWITCH_TAKES_ARG): Add -R.
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 23 May 1996 22:38:42 +0000 (22:38 +0000)
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 23 May 1996 22:38:42 +0000 (22:38 +0000)
(LINK_SPEC): Add %{R*}.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12084 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/config/netbsd.h

index 9629d5f..860e101 100644 (file)
 
 #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).  */