linux.h (CC1_SPEC): Define it only if not defined.
authorH.J. Lu <hjl@gnu.ai.mit.edu>
Wed, 27 Aug 1997 07:26:22 +0000 (07:26 +0000)
committerJeff Law <law@gcc.gnu.org>
Wed, 27 Aug 1997 07:26:22 +0000 (01:26 -0600)
        * config/linux.h (CC1_SPEC): Define it only if not defined.

        * config/m68k/linux.h (CC1_SPEC): Undefine it before include
        <linux.h>

        * config/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1 if
        USE_GNULIBC_1 is not defined.

        * config/alpha/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined
        as 1.
        * config/rs6000/linux.h (DEFAULT_VTABLE_THUNKS): Ditto.

        * config/sparc/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined
        as 1 if USE_GNULIBC_1 is not defined.
Linux patches from HJ.

From-SVN: r14960

gcc/ChangeLog
gcc/config/alpha/linux.h
gcc/config/linux.h
gcc/config/m68k/linux.h
gcc/config/rs6000/linux.h
gcc/config/sparc/linux.h

index 89ffe88db830ff7901841726d8e3aaf45adaa22d..e44d4d078838e741f33aea30809ae8250e58114e 100644 (file)
@@ -1,3 +1,20 @@
+Wed Aug 27 01:24:25 1997  H.J. Lu   (hjl@gnu.ai.mit.edu)
+
+       * config/linux.h (CC1_SPEC): Define it only if not defined.
+
+       * config/m68k/linux.h (CC1_SPEC): Undefine it before include
+       <linux.h>
+
+       * config/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1 if
+       USE_GNULIBC_1 is not defined.
+
+       * config/alpha/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined
+       as 1.
+       * config/rs6000/linux.h (DEFAULT_VTABLE_THUNKS): Ditto.
+
+       * config/sparc/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined
+       as 1 if USE_GNULIBC_1 is not defined.
+
 Wed Aug 27 00:49:14 1997  Jeffrey A Law  (law@cygnus.com)
 
        * t-freebsd (USER_H): Include EXTRA_HEADERS and LANG_EXTRA_HEADERS.
index 4dbc65025cf574be44b8df9dc0ea676caa75f499..3de3a9b59adf5ae2b6d893c0806c78c5a38f84a3 100644 (file)
@@ -48,6 +48,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #undef ASM_SPEC
 #define ASM_SPEC "-nocpp"
 
+#undef DEFAULT_VTABLE_THUNKS
+#define DEFAULT_VTABLE_THUNKS 1
+
 /* Can't do stabs */
 #undef SDB_DEBUGGING_INFO
 
index 439452600c4c1a5aab5d1afd3d3ac4404fee7515..ba81586ae94c5e52835b3441c5b1f365b2f75ab3 100644 (file)
@@ -83,8 +83,14 @@ Boston, MA 02111-1307, USA.  */
   "%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s"
 
 /* This is for -profile to use -lc_p instead of -lc. */
-#undef  CC1_SPEC
+#ifndef CC1_SPEC
 #define CC1_SPEC "%{profile:-p}"
+#endif
+
+#ifndef USE_GNULIBC_1
+#undef DEFAULT_VTABLE_THUNKS
+#define DEFAULT_VTABLE_THUNKS 1
+#endif
 
 #undef LIB_SPEC
 /* We no longer link with libc_p.a or libg.a by default. If you
index 0ebc5f1ca7179b074e21010d1a955d7745cb0de0..9ba66f7680d44b4ff7a4d4cb957c8ed99312e4f8 100644 (file)
@@ -23,6 +23,10 @@ Boston, MA 02111-1307, USA.  */
 #define USE_GAS                        /* But GAS wants jbsr instead of jsr */
 
 #include <m68k/m68k.h>
+
+/* Make sure CC1 is undefined. */
+#undef CC1_SPEC
+
 #include <linux.h>             /* some common stuff */
 
 #undef TARGET_VERSION
index 2483f41ccc657a559572b82227525c2c159bfe2e..787afa816d421614674904aed8849476c6201069 100644 (file)
@@ -60,3 +60,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 #undef MULTILIB_DEFAULTS
 #define        MULTILIB_DEFAULTS { "mbig", "mcall-linux" }
+
+#undef DEFAULT_VTABLE_THUNKS
+#define DEFAULT_VTABLE_THUNKS 1
index 8129e4265e089f1bce947672e362a663abd8758b..f02998fd5716b90e9d1b0472b63ca499881d341b 100644 (file)
@@ -35,6 +35,11 @@ Boston, MA 02111-1307, USA.  */
 #define MULTIBYTE_CHARS 1
 #endif
 
+#ifndef USE_GNULIBC_1
+#undef DEFAULT_VTABLE_THUNKS
+#define DEFAULT_VTABLE_THUNKS 1
+#endif
+
 /* There are conflicting reports about whether this system uses
    a different assembler syntax.  wilson@cygnus.com says # is right.  */
 #undef COMMENT_BEGIN