summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordoko <doko@138bc75d-0d04-0410-961f-82ee72b054a4>2007-04-16 20:12:05 +0000
committerdoko <doko@138bc75d-0d04-0410-961f-82ee72b054a4>2007-04-16 20:12:05 +0000
commitfc7dfeb9d7d90ce06d60eaf5a5a10e70c59638c1 (patch)
tree53b20f821eb135097e5f81f818cc6b61fb2a3583
parentd9f51b565e547f5b34951e5ca5699333a6c0bebe (diff)
downloadgcc-fc7dfeb9d7d90ce06d60eaf5a5a10e70c59638c1.tar.gz
2007-04-16 Matthias Klose <doko@debian.org>
* gcc/config/alpha/linux.h (CPP_SPEC): Define. * gcc/config/arm/linux-gas.h (SUBTARGET_CPP_SPEC): Extend. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123888 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/alpha/linux.h2
-rw-r--r--gcc/config/arm/linux-gas.h2
3 files changed, 8 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1bcf895d46f..8575622bd87 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2007-04-16 Matthias Klose <doko@debian.org>
+
+ * gcc/config/alpha/linux.h (CPP_SPEC): Define.
+ * gcc/config/arm/linux-gas.h (SUBTARGET_CPP_SPEC): Extend.
+
2007-04-16 Aldy Hernandez <aldyh@redhat.com>
* function.h: Remove sequence_stack extern declaration.
diff --git a/gcc/config/alpha/linux.h b/gcc/config/alpha/linux.h
index a496f40aa5e..e1036269989 100644
--- a/gcc/config/alpha/linux.h
+++ b/gcc/config/alpha/linux.h
@@ -44,6 +44,8 @@ Boston, MA 02110-1301, USA. */
%{shared:-lc} \
%{!shared: %{profile:-lc_p}%{!profile:-lc}}"
+#define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}"
+
/* Show that we need a GP when profiling. */
#undef TARGET_PROFILING_NEEDS_GP
#define TARGET_PROFILING_NEEDS_GP 1
diff --git a/gcc/config/arm/linux-gas.h b/gcc/config/arm/linux-gas.h
index 715d2a575a3..88da91ac801 100644
--- a/gcc/config/arm/linux-gas.h
+++ b/gcc/config/arm/linux-gas.h
@@ -28,7 +28,7 @@
#define DEFAULT_SIGNED_CHAR 0
#undef SUBTARGET_CPP_SPEC
-#define SUBTARGET_CPP_SPEC "%{posix:-D_POSIX_SOURCE}"
+#define SUBTARGET_CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}"
#undef SIZE_TYPE
#define SIZE_TYPE "unsigned int"