Darwin, config : Adjust X86 biarch definitions ordering [PR100269].
authorIain Sandoe <iain@sandoe.co.uk>
Fri, 30 Apr 2021 15:20:42 +0000 (16:20 +0100)
committerIain Sandoe <iain@sandoe.co.uk>
Sun, 4 Jul 2021 19:39:10 +0000 (20:39 +0100)
commitd07092a61d5a6907b2d92563e810bf5bb8e61c01
tree04d2a76fbe3663a5ccf73f95dd21709764c97922
parente6f3adc899aa9c4d925406974b446634e0db9cd2
Darwin, config : Adjust X86 biarch definitions ordering [PR100269].

This reorganises the biarch definitions to cater for the
macro changes and removals at r12-36.

Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
PR target/100269 - [12 Regression] i686 biarch compiler fails for Darwin after r12-36.

        PR target/100269

gcc/ChangeLog:

PR target/100269
* config.gcc: Ensure that Darwin biarch definitions are
added before i386.h.
* config/i386/darwin.h (TARGET_64BIT): Remove.
(PR80556_WORKAROUND): New.
(REAL_LIBGCC_SPEC): Amend to use PR80556_WORKAROUND.
(DARWIN_SUBARCH_SPEC): New.
* config/i386/darwin32-biarch.h (TARGET_64BIT_DEFAULT,
TARGET_BI_ARCH, PR80556_WORKAROUND): New.
(REAL_LIBGCC_SPEC): Remove.
* config/i386/darwin64-biarch.h (TARGET_64BIT_DEFAULT,
TARGET_BI_ARCH, PR80556_WORKAROUND): New.
(REAL_LIBGCC_SPEC): Remove.
gcc/config.gcc
gcc/config/i386/darwin.h
gcc/config/i386/darwin32-biarch.h
gcc/config/i386/darwin64-biarch.h