diff mbox series

AIX extra_headers

Message ID CAGWvnymX-XqPeTNyQNQyaa7967-PSWk4_oNpePaa9mDFqhNPfg@mail.gmail.com
State New
Headers show
Series AIX extra_headers | expand

Commit Message

David Edelsohn Dec. 17, 2018, 3:07 p.m. UTC
Currently the AIX configuration defines extra_headers to install some
PowerPC-specific headers, such as altivec.h. The GCC configuration for
Power was changed to define this centrally and the individual
definitions for Linux were removed, but remained for AIX.  This means
that AIX overrides the common definition and is missing some headers.

This patch removes the AIX-specific definitions to utilize the common
definition and install all of the GCC PowerPC-specific headers.

Bootstrapped on powerpc-ibm-aix7.2.0.0

Thanks, David

* config.gcc (powerpc-ibm-aix6.*): Delete extra_headers.
(powerpc-ibm-aix7.1.*): Same.
(powerpc-ibm-aix[789].*): Same.

Comments

Segher Boessenkool Dec. 17, 2018, 6:14 p.m. UTC | #1
On Mon, Dec 17, 2018 at 10:07:30AM -0500, David Edelsohn wrote:
> Currently the AIX configuration defines extra_headers to install some
> PowerPC-specific headers, such as altivec.h. The GCC configuration for
> Power was changed to define this centrally and the individual
> definitions for Linux were removed, but remained for AIX.  This means
> that AIX overrides the common definition and is missing some headers.
> 
> This patch removes the AIX-specific definitions to utilize the common
> definition and install all of the GCC PowerPC-specific headers.
> 
> Bootstrapped on powerpc-ibm-aix7.2.0.0
> 
> Thanks, David
> 
> * config.gcc (powerpc-ibm-aix6.*): Delete extra_headers.
> (powerpc-ibm-aix7.1.*): Same.
> (powerpc-ibm-aix[789].*): Same.

Thanks for cleaning this up David!


Segher
diff mbox series

Patch

Index: config.gcc
===================================================================
--- config.gcc  (revision 267202)
+++ config.gcc  (working copy)
@@ -2734,7 +2734,6 @@  rs6000-ibm-aix6.* | powerpc-ibm-aix6.*)
        use_collect2=yes
        thread_file='aix'
        use_gcc_stdint=wrap
-       extra_headers=altivec.h
        default_use_cxa_atexit=yes
        ;;
 rs6000-ibm-aix7.1.* | powerpc-ibm-aix7.1.*)
@@ -2744,7 +2743,6 @@  rs6000-ibm-aix7.1.* | powerpc-ibm-aix7.1.*)
        use_collect2=yes
        thread_file='aix'
        use_gcc_stdint=wrap
-       extra_headers="altivec.h amo.h"
        default_use_cxa_atexit=yes
        ;;
 rs6000-ibm-aix[789].* | powerpc-ibm-aix[789].*)
@@ -2754,7 +2752,6 @@  rs6000-ibm-aix[789].* | powerpc-ibm-aix[789].*)
        use_collect2=yes
        thread_file='aix'
        use_gcc_stdint=wrap
-       extra_headers="altivec.h amo.h"
        default_use_cxa_atexit=yes
        ;;
 rl78-*-elf*)