From 6ca4177cf288adc4430186ba0474addeea7652e1 Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Sun, 14 Nov 2004 03:32:11 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 6 ++++++ gcc/config/rs6000/aix51.h | 4 +++- gcc/config/rs6000/aix52.h | 7 ++++++- gcc/config/rs6000/t-aix52 | 1 + 4 files changed, 16 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a98165bef9f..deb903bfe15 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2004-11-13 David Edelsohn + + * 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 * 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 266dc699c3b..ea0b61297a7 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 196854652d0..2d48975ed5f 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 bddcdb11490..b3017c38ac3 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 -- 2.30.2