From 330cc6c7b82eb339ca4af2f7fd10918bb705f69d Mon Sep 17 00:00:00 2001 From: Richard Earnshaw Date: Sat, 21 Sep 2002 20:20:55 +0000 Subject: netbsd-aout.h (NETBSD_LINK_SPEC_AOUT): New, takes old definition of LINK_SPEC. * netbsd-aout.h (NETBSD_LINK_SPEC_AOUT): New, takes old definition of LINK_SPEC. (LINK_SPEC): Define to NETBSD_LINK_SPEC_AOUT. * arm/netbsd.h (SUBTARGET_EXTRA_SEPCS): Add NETBSD_LINK_SPEC_AOUT. (LINK_SPEC): Rework to use NETBSD_LINK_SPEC_AOUT). From-SVN: r57397 --- gcc/config/netbsd-aout.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'gcc/config/netbsd-aout.h') diff --git a/gcc/config/netbsd-aout.h b/gcc/config/netbsd-aout.h index d8ab4a4..6afcfd9 100644 --- a/gcc/config/netbsd-aout.h +++ b/gcc/config/netbsd-aout.h @@ -58,8 +58,8 @@ Boston, MA 02111-1307, USA. */ /* Provide a LINK_SPEC appropriate for NetBSD a.out. Here we provide support for the special GCC options -static, -assert, and -nostdlib. */ -#undef LINK_SPEC -#define LINK_SPEC \ +#undef NETBSD_LINK_SPEC_AOUT +#define NETBSD_LINK_SPEC_AOUT \ "%{nostdlib:-nostdlib} \ %{!shared: \ %{!nostdlib: \ @@ -71,6 +71,9 @@ Boston, MA 02111-1307, USA. */ %{R*} \ %{assert*}" +/* Default LINK_SPEC. */ +#undef LINK_SPEC +#define LINK_SPEC NETBSD_LINK_SPEC_AOUT /* Some imports from svr4.h in support of shared libraries. */ -- cgit v1.1