[PATCH] sh-linux specific regression fixes on 3.3
kaz Kojima
kkojima@rr.iij4u.or.jp
Fri Jun 6 02:36:00 GMT 2003
Hi,
I've checked in the attached patch from Dan Kegel and ChangeLog entry
as the sh-linux specific regression fixes to 3.3-branch. See
<URL:http://http://gcc.gnu.org/ml/gcc-patches/2003-06/msg00416.html>
and
<URL:http://gcc.gnu.org/ml/gcc-patches/2003-06/msg00417.html>.
Dan, could you please close these PRs?
Regards,
kaz
--
2003-06-06 Dan Kegel <dank@kegel.com>
Kaz Kojima <kkojima@gcc.gnu.org>
PR target/10331
* config/sh/t-linux (STMP_FIXPROTO): Define.
PR target/11096
* config/sh/linux.h (CPLUSPLUS_CPP_SPEC): Redefine so to include
-D_GNU_SOURCE.
Index: config/sh/linux.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/sh/linux.h,v
retrieving revision 1.9
diff -u -r1.9 linux.h
--- config/sh/linux.h 13 Jun 2002 19:23:27 -0000 1.9
+++ config/sh/linux.h 6 Jun 2003 02:25:45 -0000
@@ -52,6 +52,10 @@
%{!rpath:-rpath /lib}} \
%{static:-static}"
+/* The GNU C++ standard library requires that these macros be defined. */
+#undef CPLUSPLUS_CPP_SPEC
+#define CPLUSPLUS_CPP_SPEC "-D_GNU_SOURCE %(cpp)"
+
#undef LIB_SPEC
#define LIB_SPEC \
"%{shared: -lc} \
Index: config/sh/t-linux
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/sh/t-linux,v
retrieving revision 1.6
diff -u -r1.6 t-linux
--- config/sh/t-linux 18 Jun 2002 19:56:53 -0000 1.6
+++ config/sh/t-linux 6 Jun 2003 02:25:45 -0000
@@ -1,3 +1,6 @@
+# Don't run fixproto
+STMP_FIXPROTO =
+
TARGET_LIBGCC2_CFLAGS = -fpic
LIB1ASMFUNCS_CACHE = _ic_invalidate
More information about the Gcc-patches
mailing list