* 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
+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.
#undef ASM_SPEC
#define ASM_SPEC "-nocpp"
+#undef DEFAULT_VTABLE_THUNKS
+#define DEFAULT_VTABLE_THUNKS 1
+
/* Can't do stabs */
#undef SDB_DEBUGGING_INFO
"%{!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
#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
#undef MULTILIB_DEFAULTS
#define MULTILIB_DEFAULTS { "mbig", "mcall-linux" }
+
+#undef DEFAULT_VTABLE_THUNKS
+#define DEFAULT_VTABLE_THUNKS 1
#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