]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
netbsd.h (CPP_SUBTARGET_SPEC): Just use NETBSD_CPP_SPEC directly.
authorJason Thorpe <thorpej@wasabisystems.com>
Sun, 24 Nov 2002 23:19:19 +0000 (23:19 +0000)
committerJason Thorpe <thorpej@gcc.gnu.org>
Sun, 24 Nov 2002 23:19:19 +0000 (23:19 +0000)
* 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

gcc/ChangeLog
gcc/config/alpha/netbsd.h

index 8d313a4fe7ee3e4ae62a445b5a5ce3b5d0381f0d..71ae193479ea569435f176b9484d2b4615960f41 100644 (file)
@@ -1,3 +1,11 @@
+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
index f56f7807bed7a7576f214aac78ef7e19952a7054..e1da9cfe188aa627aeb8b86a357704cf25cbf69e 100644 (file)
@@ -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.  */