aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDavid Edelsohn <edelsohn@gnu.org>2004-11-14 03:32:11 +0000
committerDavid Edelsohn <dje@gcc.gnu.org>2004-11-13 22:32:11 -0500
commit6ca4177cf288adc4430186ba0474addeea7652e1 (patch)
tree175234c3057db1eccb208bf3c52dc5a587b9d0cf /gcc
parent6716ecbcfd3ddc82cd4460a9894dd14b9d6bb943 (diff)
downloadgcc-6ca4177cf288adc4430186ba0474addeea7652e1.zip
gcc-6ca4177cf288adc4430186ba0474addeea7652e1.tar.gz
gcc-6ca4177cf288adc4430186ba0474addeea7652e1.tar.bz2
aix51.h (ASM_CPU_SPEC): Add 970 and G5.
* config/rs6000/aix51.h (ASM_CPU_SPEC): Add 970 and G5. * config/rs6000/aix52.h (ASM_CPU_SPEC): Same. * config/rs6000/t-aix52 (BOOT_LDFLAGS): Define. From-SVN: r90609
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/rs6000/aix51.h4
-rw-r--r--gcc/config/rs6000/aix52.h7
-rw-r--r--gcc/config/rs6000/t-aix521
4 files changed, 16 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a98165b..deb903bf 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2004-11-13 David Edelsohn <edelsohn@gnu.org>
+
+ * config/rs6000/aix51.h (ASM_CPU_SPEC): Add 970 and G5.
+ * config/rs6000/aix52.h (ASM_CPU_SPEC): Same.
+ * config/rs6000/t-aix52 (BOOT_LDFLAGS): Define.
+
2004-11-14 Joseph Myers <joseph@codesourcery.com>
* config/i386/i386.c (override_options): Move loop to set default
diff --git a/gcc/config/rs6000/aix51.h b/gcc/config/rs6000/aix51.h
index 266dc69..ea0b612 100644
--- a/gcc/config/rs6000/aix51.h
+++ b/gcc/config/rs6000/aix51.h
@@ -90,7 +90,9 @@ do { \
%{mcpu=604: -m604} \
%{mcpu=604e: -m604} \
%{mcpu=620: -m620} \
-%{mcpu=630: -m620}"
+%{mcpu=630: -m620} \
+%{mcpu=970: -m620} \
+%{mcpu=G5: -m620}"
#undef ASM_DEFAULT_SPEC
#define ASM_DEFAULT_SPEC "-mcom"
diff --git a/gcc/config/rs6000/aix52.h b/gcc/config/rs6000/aix52.h
index 1968546..2d48975 100644
--- a/gcc/config/rs6000/aix52.h
+++ b/gcc/config/rs6000/aix52.h
@@ -77,7 +77,9 @@ do { \
%{mcpu=604: -m604} \
%{mcpu=604e: -m604} \
%{mcpu=620: -m620} \
-%{mcpu=630: -m620}"
+%{mcpu=630: -m620} \
+%{mcpu=970: -m620} \
+%{mcpu=G5: -m620}"
#undef ASM_DEFAULT_SPEC
#define ASM_DEFAULT_SPEC "-mppc"
@@ -185,3 +187,6 @@ do { \
#undef TARGET_C99_FUNCTIONS
#define TARGET_C99_FUNCTIONS 1
+#ifndef _AIX52
+extern long long int atoll(const char *);
+#endif
diff --git a/gcc/config/rs6000/t-aix52 b/gcc/config/rs6000/t-aix52
index bddcdb1..b3017c3 100644
--- a/gcc/config/rs6000/t-aix52
+++ b/gcc/config/rs6000/t-aix52
@@ -50,3 +50,4 @@ AR_FLAGS_FOR_TARGET = -X32_64
# until gnatlib is built as a shared library on AIX. Compiling the
# compiler with -mminimal-toc does not cause any harm.
T_ADAFLAGS = -mminimal-toc
+BOOT_LDFLAGS = -Wl,-bbigtoc