Commit adde288a by Jason Thorpe Committed by Jason Thorpe

netbsd.h (CPP_SUBTARGET_SPEC): Just use NETBSD_CPP_SPEC directly.

* 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).

From-SVN: r59442
parent 642c8681
2002-11-24 Jason Thorpe <thorpej@wasabisystems.com> 2002-11-24 Jason Thorpe <thorpej@wasabisystems.com>
* 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).
2002-11-24 Jason Thorpe <thorpej@wasabisystems.com>
* config/netbsd-elf.h (STARTFILE_SPEC): Rename to * config/netbsd-elf.h (STARTFILE_SPEC): Rename to
NETBSD_STARTFILE_SPEC. NETBSD_STARTFILE_SPEC.
(STARTFILE_SPEC): Redefine in terms of NETBSD_STARTFILE_SPEC. (STARTFILE_SPEC): Redefine in terms of NETBSD_STARTFILE_SPEC.
......
...@@ -43,13 +43,13 @@ Boston, MA 02111-1307, USA. */ ...@@ -43,13 +43,13 @@ Boston, MA 02111-1307, USA. */
this to pull in CPP specs that all NetBSD configurations need. */ this to pull in CPP specs that all NetBSD configurations need. */
#undef CPP_SUBTARGET_SPEC #undef CPP_SUBTARGET_SPEC
#define CPP_SUBTARGET_SPEC "%(netbsd_cpp_spec)" #define CPP_SUBTARGET_SPEC NETBSD_CPP_SPEC
#undef SUBTARGET_EXTRA_SPECS #undef SUBTARGET_EXTRA_SPECS
#define SUBTARGET_EXTRA_SPECS \ #define SUBTARGET_EXTRA_SPECS \
{ "netbsd_cpp_spec", NETBSD_CPP_SPEC }, \
{ "netbsd_link_spec", NETBSD_LINK_SPEC_ELF }, \ { "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. */ /* Provide a LINK_SPEC appropriate for a NetBSD/alpha ELF target. */
...@@ -72,8 +72,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -72,8 +72,7 @@ Boston, MA 02111-1307, USA. */
#undef ENDFILE_SPEC #undef ENDFILE_SPEC
#define ENDFILE_SPEC \ #define ENDFILE_SPEC \
"%{ffast-math|funsafe-math-optimizations:crtfm%O%s} \ "%{ffast-math|funsafe-math-optimizations:crtfm%O%s} \
%{!shared:crtend%O%s} %{shared:crtendS%O%s} \ %(netbsd_endfile_spec)"
%:if-exists(crtn%O%s)"
/* Attempt to enable execute permissions on the stack. */ /* Attempt to enable execute permissions on the stack. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment