aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2001-08-14 23:28:00 +0000
committerUlrich Weigand <uweigand@gcc.gnu.org>2001-08-14 23:28:00 +0000
commitd9b761a9a1565d1e860c92a6d80f0f087a334b00 (patch)
tree9547d77687d5eed192765f6dce08834a74b6c962 /gcc
parent241a88aac579b28379f9ea73b529fae308792116 (diff)
downloadgcc-d9b761a9a1565d1e860c92a6d80f0f087a334b00.zip
gcc-d9b761a9a1565d1e860c92a6d80f0f087a334b00.tar.gz
gcc-d9b761a9a1565d1e860c92a6d80f0f087a334b00.tar.bz2
Define __s390__ also on 64-bit S/390 targets.
From-SVN: r44909
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/s390/linux64.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 2854206..082d4f8 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2001-08-14 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * config/s390/linux64.h (CPP_PREDEFINES): Define __s390__
+ also on 64-bit s390x targets.
+
2001-08-14 Nick Clifton <nickc@cambridge.redhat.com>
* config/arm/arm.c (arm_compute_initial_elimination_offset): New
diff --git a/gcc/config/s390/linux64.h b/gcc/config/s390/linux64.h
index 02c75c8..e4f2516 100644
--- a/gcc/config/s390/linux64.h
+++ b/gcc/config/s390/linux64.h
@@ -37,7 +37,7 @@ Boston, MA 02111-1307, USA. */
#undef CPP_PREDEFINES
#define CPP_PREDEFINES \
- "-Dlinux -Asystem(linux) -Acpu(s390) -Amachine(s390) -D__s390x__ \
+ "-Dlinux -Asystem(linux) -Acpu(s390) -Amachine(s390) -D__s390__ -D__s390x__ \
-Asystem(unix) -Dunix -D__ELF__ \
-D__LONG_MAX__=9223372036854775807L"