diff options
author | Jim Wilson <wilson@gcc.gnu.org> | 1996-05-23 15:38:42 -0700 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 1996-05-23 15:38:42 -0700 |
commit | 118751b1c39d7347c1add600d9ba09ce28dc52d8 (patch) | |
tree | 462d89e92b4cf1f0b5bdcb1623362e212c9981e3 /gcc/config/netbsd.h | |
parent | c1aef54de3609bcf5d6ed8252ff8e86a415ca961 (diff) | |
download | gcc-118751b1c39d7347c1add600d9ba09ce28dc52d8.tar.gz |
(SWITCH_TAKES_ARG): Add -R.
(LINK_SPEC): Add %{R*}.
From-SVN: r12084
Diffstat (limited to 'gcc/config/netbsd.h')
-rw-r--r-- | gcc/config/netbsd.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/config/netbsd.h b/gcc/config/netbsd.h index 9629d5f609c..860e10107e5 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). */ |