]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* config/i386/nto.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define.
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 9 Dec 2010 16:31:47 +0000 (16:31 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 9 Dec 2010 16:31:47 +0000 (16:31 +0000)
* config/ia64/hpux.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX):
Define.
* config/linux.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Don't
undefine.
* config/mips/linux.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Don't
undefine.
* config/mips/netbsd.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX):
Don't undefine.
* config/rs6000/linux.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX):
Don't undefine.
* config/rs6000/linux64.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX):
Don't undefine.
* config/sol2.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define.
* config/sparc/netbsd-elf.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX):
Don't undefine.
* config/sparc/openbsd64.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX):
Don't undefine.
* config/sparc/sp64-elf.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX):
Don't undefine.
* config/svr4.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Don't
define.
* config/xtensa/elf.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Don't
undefine.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167647 138bc75d-0d04-0410-961f-82ee72b054a4

14 files changed:
gcc/ChangeLog
gcc/config/i386/nto.h
gcc/config/ia64/hpux.h
gcc/config/linux.h
gcc/config/mips/linux.h
gcc/config/mips/netbsd.h
gcc/config/rs6000/linux.h
gcc/config/rs6000/linux64.h
gcc/config/sol2.h
gcc/config/sparc/netbsd-elf.h
gcc/config/sparc/openbsd64.h
gcc/config/sparc/sp64-elf.h
gcc/config/svr4.h
gcc/config/xtensa/elf.h

index ca60d29ce5c17eeba6d82b9a63253513dc025fb2..f444e51ecdf5402d3c177bb218c568eddd7e4f5f 100644 (file)
@@ -1,3 +1,30 @@
+2010-12-09  Joseph Myers  <joseph@codesourcery.com>
+
+       * config/i386/nto.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define.
+       * config/ia64/hpux.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX):
+       Define.
+       * config/linux.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Don't
+       undefine.
+       * config/mips/linux.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Don't
+       undefine.
+       * config/mips/netbsd.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX):
+       Don't undefine.
+       * config/rs6000/linux.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX):
+       Don't undefine.
+       * config/rs6000/linux64.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX):
+       Don't undefine.
+       * config/sol2.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define.
+       * config/sparc/netbsd-elf.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX):
+       Don't undefine.
+       * config/sparc/openbsd64.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX):
+       Don't undefine.
+       * config/sparc/sp64-elf.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX):
+       Don't undefine.
+       * config/svr4.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Don't
+       define.
+       * config/xtensa/elf.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Don't
+       undefine.
+
 2010-12-09  Joseph Myers  <joseph@codesourcery.com>
 
        * config/ia64/hpux.h (AS_NEEDS_DASH_FOR_PIPED_INPUT): Define for
index 040f3507a4ce694597225038733ab4898d838a7a..8696abd0ac1eb70741101f58f46f91b09290e5bc 100644 (file)
@@ -46,6 +46,14 @@ along with GCC; see the file COPYING3.  If not see
 #define SYSROOT_SUFFIX_SPEC "x86"
 #endif
 
+#ifndef CROSS_DIRECTORY_STRUCTURE
+#undef MD_EXEC_PREFIX
+#define MD_EXEC_PREFIX "/usr/ccs/bin/"
+
+#undef MD_STARTFILE_PREFIX
+#define MD_STARTFILE_PREFIX "/usr/ccs/lib/"
+#endif
+
 #undef STARTFILE_SPEC
 #define STARTFILE_SPEC \
 "%{!shared: \
index d627f9d57352acd6c762e032792cb0b9dfb2b4a0..804e0f8d50d0e24d60a8e4633af489d54ca7a368 100644 (file)
@@ -72,6 +72,14 @@ do {                                                 \
 #define AS_NEEDS_DASH_FOR_PIPED_INPUT
 #endif
 
+#ifndef CROSS_DIRECTORY_STRUCTURE
+#undef MD_EXEC_PREFIX
+#define MD_EXEC_PREFIX "/usr/ccs/bin/"
+
+#undef MD_STARTFILE_PREFIX
+#define MD_STARTFILE_PREFIX "/usr/ccs/lib/"
+#endif
+
 #undef ENDFILE_SPEC
 
 #undef STARTFILE_SPEC
index 4f3b4b8681a797fd7914701db52b0021b9ceebc8..1c4ea1c7bb0acea30da3eb36a2a94799a8dd56ce 100644 (file)
@@ -34,9 +34,6 @@ see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
 #undef ASM_APP_OFF
 #define ASM_APP_OFF "#NO_APP\n"
 
-#undef MD_EXEC_PREFIX
-#undef MD_STARTFILE_PREFIX
-
 /* Provide a STARTFILE_SPEC appropriate for GNU/Linux.  Here we add
    the GNU/Linux magical crtbegin.o file (see crtstuff.c) which
    provides part of the support for getting C++ file-scope static
index c72d6608d5fdc044bb25f49e7286fe52bbc5ad76..4f649d5ea0be13aac20a14f4d67808e87cc50dff 100644 (file)
@@ -34,9 +34,6 @@ along with GCC; see the file COPYING3.  If not see
 #define TARGET_VERSION fprintf (stderr, " (MIPS GNU/Linux with ELF)");
 #endif
 
-#undef MD_EXEC_PREFIX
-#undef MD_STARTFILE_PREFIX
-
 /* If we don't set MASK_ABICALLS, we can't default to PIC.  */
 #undef TARGET_DEFAULT
 #define TARGET_DEFAULT MASK_ABICALLS
index ff32858018137ec48840ae94fa7c8d6e3d53c72e..b8f7e76f2f42d758bdbd47c1ae09a0f4709142d3 100644 (file)
@@ -126,10 +126,6 @@ along with GCC; see the file COPYING3.  If not see
   while (0)
 
 
-/* Clean up after the generic MIPS/ELF configuration.  */
-#undef MD_EXEC_PREFIX
-#undef MD_STARTFILE_PREFIX
-
 /* Extra specs we need.  */
 #undef SUBTARGET_EXTRA_SPECS
 #define SUBTARGET_EXTRA_SPECS                                          \
index c659a3eac4765c4c2dc8d325dd6f837294d9e449..464cd8ee4301c5688e674389ef3c72b74cc185b6 100644 (file)
@@ -1,7 +1,7 @@
 /* Definitions of target machine for GNU compiler,
    for PowerPC machines running Linux.
    Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
-   2004, 2005, 2006, 2007 Free Software Foundation, Inc.
+   2004, 2005, 2006, 2007, 2010 Free Software Foundation, Inc.
    Contributed by Michael Meissner (meissner@cygnus.com).
 
    This file is part of GCC.
@@ -20,9 +20,6 @@
    along with GCC; see the file COPYING3.  If not see
    <http://www.gnu.org/licenses/>.  */
 
-#undef MD_EXEC_PREFIX
-#undef MD_STARTFILE_PREFIX
-
 /* Linux doesn't support saving and restoring 64-bit regs in a 32-bit
    process.  */
 #define OS_MISSING_POWERPC64 1
index 694a592d9e2e0d45108a2346251ac4e7d62fbd47..20bd257975c747bcf53e65a54993ede1e58a675b 100644 (file)
@@ -304,10 +304,6 @@ extern int dot_symbols;
 #define BLOCK_REG_PADDING(MODE, TYPE, FIRST) \
   (!(FIRST) ? upward : FUNCTION_ARG_PADDING (MODE, TYPE))
 
-/* Override svr4.h  */
-#undef MD_EXEC_PREFIX
-#undef MD_STARTFILE_PREFIX
-
 /* Linux doesn't support saving and restoring 64-bit regs in a 32-bit
    process.  */
 #define OS_MISSING_POWERPC64 !TARGET_64BIT
index 0ad98aabd43921484c05d53264655de3f60cec63..34911b63fefdf75a453006eeb3015f6905267644 100644 (file)
@@ -120,6 +120,14 @@ along with GCC; see the file COPYING3.  If not see
 %(asm_cpu) \
 "
 
+#ifndef CROSS_DIRECTORY_STRUCTURE
+#undef MD_EXEC_PREFIX
+#define MD_EXEC_PREFIX "/usr/ccs/bin/"
+
+#undef MD_STARTFILE_PREFIX
+#define MD_STARTFILE_PREFIX "/usr/ccs/lib/"
+#endif
+
 /* We don't use the standard LIB_SPEC only because we don't yet support c++.  */
 #undef LIB_SPEC
 #define LIB_SPEC \
index 90f48d0a65aeed9b8b1189997f3bfde251833a86..e69934b30b27a3c16c144fb9bc47467282555ccf 100644 (file)
@@ -36,10 +36,6 @@ along with GCC; see the file COPYING3.  If not see
     }                                                  \
   while (0)
 
-/* Make sure these are undefined.  */
-#undef MD_EXEC_PREFIX
-#undef MD_STARTFILE_PREFIX
-
 /* CPP defines used by all NetBSD targets.  */
 #undef CPP_SUBTARGET_SPEC
 #define CPP_SUBTARGET_SPEC "%(netbsd_cpp_spec)"
index ece43eedc24a935c8355a0c2e59f460d1360c379..5d87f72e59cb406f6b8505589b8304724626bccc 100644 (file)
@@ -47,9 +47,6 @@ along with GCC; see the file COPYING3.  If not see
 #undef CPP_SUBTARGET_SPEC
 #define CPP_SUBTARGET_SPEC ""
 
-#undef MD_EXEC_PREFIX
-#undef MD_STARTFILE_PREFIX
-
 /* Inherited from sp64-elf.  */
 #undef NO_IMPLICIT_EXTERN_C
 
index e1820e076414c3e5e5d06e36578a63ea2d03c581..cbd4474b538eb8ef5a2fb4a75d890bffdff6d129 100644 (file)
@@ -38,9 +38,6 @@ along with GCC; see the file COPYING3.  If not see
 #undef CPP_SUBTARGET_SPEC
 #define CPP_SUBTARGET_SPEC "-D__svr4__"
 
-#undef MD_EXEC_PREFIX
-#undef MD_STARTFILE_PREFIX
-
 #undef ASM_SPEC
 #define ASM_SPEC "\
 %{v:-V} -s %{fpic|fPIC|fpie|fPIE:-K PIC} \
index 701428d567befee423887735f96b01bfa567f84d..40798a4b8f3d9df743d9073cd8e4b4d024f26b56 100644 (file)
@@ -72,22 +72,6 @@ see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
 #undef  ASM_SPEC
 #define ASM_SPEC SVR4_ASM_SPEC
 
-/* Under svr4, the normal location of the `ld' and `as' programs is the
-   /usr/ccs/bin directory.  */
-
-#ifndef CROSS_DIRECTORY_STRUCTURE
-#undef  MD_EXEC_PREFIX
-#define MD_EXEC_PREFIX "/usr/ccs/bin/"
-#endif
-
-/* Under svr4, the normal location of the various *crt*.o files is the
-   /usr/ccs/lib directory.  */
-
-#ifndef CROSS_DIRECTORY_STRUCTURE
-#undef  MD_STARTFILE_PREFIX
-#define MD_STARTFILE_PREFIX "/usr/ccs/lib/"
-#endif
-
 /* Provide a LIB_SPEC appropriate for svr4.  Here we tack on the default
    standard C library (unless we are building a shared library).  */
 
index 0e8364fdfa6654d83ff199fe5f7392b17759aa1a..9188f309fb83937ed5373ada536bd2879cb7d1b8 100644 (file)
@@ -29,9 +29,6 @@ along with GCC; see the file COPYING3.  If not see
 #undef ASM_APP_OFF
 #define ASM_APP_OFF "#NO_APP\n"
 
-#undef MD_EXEC_PREFIX
-#undef MD_STARTFILE_PREFIX
-
 #undef TARGET_VERSION
 #define TARGET_VERSION fputs (" (Xtensa/ELF)", stderr);