changeset 39341:3c7fb43900bd

(DATA_SEG_BITS): Also define for GCC 3.
author Gerd Moellmann <gerd@gnu.org>
date Wed, 19 Sep 2001 08:35:09 +0000
parents 7f02532fa213
children 73061d0eb82e
files src/m/macppc.h
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/m/macppc.h	Tue Sep 18 14:59:38 2001 +0000
+++ b/src/m/macppc.h	Wed Sep 19 08:35:09 2001 +0000
@@ -98,7 +98,10 @@
 #define LD_SWITCH_MACHINE -Xlinker -m -Xlinker elf32ppc
 #endif
 
-/* GCC 2.95 on GNU/Linux PPC changed the load address to 0x10000000.  */
-#if defined(__linux__) && __GNUC__ == 2 && __GNUC_MINOR__ >= 95
+/* GCC 2.95 and newer on GNU/Linux PPC changed the load address to
+   0x10000000.  */
+#if defined __linux__
+#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
 #define DATA_SEG_BITS  0x10000000
 #endif
+#endif