[PATCH] alpha-netbsd spec tweak
Jason R Thorpe
thorpej@wasabisystems.com
Sun Nov 24 15:19:00 GMT 2002
Just some minor cleanup.
Committed to mainline.
* 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).
--
-- Jason R. Thorpe <thorpej@wasabisystems.com>
-------------- next part --------------
Index: config/alpha/netbsd.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/alpha/netbsd.h,v
retrieving revision 1.17
diff -c -r1.17 netbsd.h
*** config/alpha/netbsd.h 19 Nov 2002 04:37:47 -0000 1.17
--- config/alpha/netbsd.h 24 Nov 2002 23:14:57 -0000
***************
*** 43,55 ****
this to pull in CPP specs that all NetBSD configurations need. */
#undef CPP_SUBTARGET_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 },
/* Provide a LINK_SPEC appropriate for a NetBSD/alpha ELF target. */
--- 43,55 ----
this to pull in CPP specs that all NetBSD configurations need. */
#undef CPP_SUBTARGET_SPEC
! #define CPP_SUBTARGET_SPEC NETBSD_CPP_SPEC
#undef SUBTARGET_EXTRA_SPECS
#define SUBTARGET_EXTRA_SPECS \
{ "netbsd_link_spec", NETBSD_LINK_SPEC_ELF }, \
! { "netbsd_entry_point", NETBSD_ENTRY_POINT }, \
! { "netbsd_endfile_spec", NETBSD_ENDFILE_SPEC },
/* Provide a LINK_SPEC appropriate for a NetBSD/alpha ELF target. */
***************
*** 72,79 ****
#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)"
/* Attempt to enable execute permissions on the stack. */
--- 72,78 ----
#undef ENDFILE_SPEC
#define ENDFILE_SPEC \
"%{ffast-math|funsafe-math-optimizations:crtfm%O%s} \
! %(netbsd_endfile_spec)"
/* Attempt to enable execute permissions on the stack. */
More information about the Gcc-patches
mailing list