summaryrefslogtreecommitdiff
path: root/gcc/config/alpha/netbsd.h
diff options
context:
space:
mode:
authorthorpej <thorpej@138bc75d-0d04-0410-961f-82ee72b054a4>2002-11-24 23:19:19 +0000
committerthorpej <thorpej@138bc75d-0d04-0410-961f-82ee72b054a4>2002-11-24 23:19:19 +0000
commit57824d9d442a6c9464f667444492c757adeb2ba1 (patch)
treedbab118ac5a6116729b99c9c68a8b726eba4dce0 /gcc/config/alpha/netbsd.h
parent70615f1ce7ba6dc64a91ef3846691a22c87927a2 (diff)
downloadgcc-57824d9d442a6c9464f667444492c757adeb2ba1.tar.gz
* config/alpha/netbsd.h (CPP_SUBTARGET_SPEC): Just use
NETBSD_CPP_SPEC directly. (SUBTARGET_EXTRA_SPECS): Remove netbsd_cpp_spec. Add netbsd_endfile_spec. (ENDFILE_SPEC): Use %(netbsd_endfile_spec). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59442 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/alpha/netbsd.h')
-rw-r--r--gcc/config/alpha/netbsd.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/gcc/config/alpha/netbsd.h b/gcc/config/alpha/netbsd.h
index f56f7807bed..e1da9cfe188 100644
--- a/gcc/config/alpha/netbsd.h
+++ b/gcc/config/alpha/netbsd.h
@@ -43,13 +43,13 @@ Boston, MA 02111-1307, USA. */
this to pull in CPP specs that all NetBSD configurations need. */
#undef CPP_SUBTARGET_SPEC
-#define CPP_SUBTARGET_SPEC "%(netbsd_cpp_spec)"
+#define CPP_SUBTARGET_SPEC NETBSD_CPP_SPEC
#undef SUBTARGET_EXTRA_SPECS
#define SUBTARGET_EXTRA_SPECS \
- { "netbsd_cpp_spec", NETBSD_CPP_SPEC }, \
{ "netbsd_link_spec", NETBSD_LINK_SPEC_ELF }, \
- { "netbsd_entry_point", NETBSD_ENTRY_POINT },
+ { "netbsd_entry_point", NETBSD_ENTRY_POINT }, \
+ { "netbsd_endfile_spec", NETBSD_ENDFILE_SPEC },
/* Provide a LINK_SPEC appropriate for a NetBSD/alpha ELF target. */
@@ -72,8 +72,7 @@ Boston, MA 02111-1307, USA. */
#undef ENDFILE_SPEC
#define ENDFILE_SPEC \
"%{ffast-math|funsafe-math-optimizations:crtfm%O%s} \
- %{!shared:crtend%O%s} %{shared:crtendS%O%s} \
- %:if-exists(crtn%O%s)"
+ %(netbsd_endfile_spec)"
/* Attempt to enable execute permissions on the stack. */