apply the changes from GCC 6 / powerpc and netbsd-stdint.h

to make <stdatomic.h> work.
This commit is contained in:
mrg 2018-04-14 08:09:46 +00:00
parent de8e0d4775
commit 875f3f406e
7 changed files with 24 additions and 23 deletions

View File

@ -2446,8 +2446,7 @@ powerpc*-*-freebsd*)
esac
;;
powerpc*-*-netbsd*)
tm_file="${tm_file} dbxelf.h elfos.h freebsd-spec.h"
tm_file="${tm_file} netbsd.h netbsd-elf.h"
tm_file="${tm_file} ${nbsd_tm_file} dbxelf.h elfos.h freebsd-spec.h"
case ${target} in
powerpc64*)
tm_file="rs6000/biarch64.h ${tm_file} rs6000/sysv4.h rs6000/default64.h rs6000/netbsd64.h"

View File

@ -1,6 +1,6 @@
/* This file is automatically generated. DO NOT EDIT! */
/* Generated from: NetBSD: mknative-gcc.old,v 1.5 2017/10/04 21:42:20 christos Exp */
/* Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp */
/* Generated from: NetBSD: mknative.common,v 1.15 2017/11/29 03:32:28 christos Exp */
// Predefined symbols and macros -*- C++ -*-
@ -771,7 +771,7 @@ namespace std
#define _GLIBCXX_HAVE_LDEXPF 1
/* Define to 1 if you have the `ldexpl' function. */
/* #undef _GLIBCXX_HAVE_LDEXPL */
#define _GLIBCXX_HAVE_LDEXPL 1
/* Define to 1 if you have the <libintl.h> header file. */
/* #undef _GLIBCXX_HAVE_LIBINTL_H */

View File

@ -1,8 +1,8 @@
/* This file is automatically generated. DO NOT EDIT! */
/* Generated from: NetBSD: mknative-gcc,v 1.90 2017/10/04 21:42:20 christos Exp */
/* Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp */
/* Generated from: NetBSD: mknative-gcc.old,v 1.5 2017/10/04 21:42:20 christos Exp */
/* Generated from: NetBSD: mknative.common,v 1.15 2017/11/29 03:32:28 christos Exp */
/* generated for powerpc--netbsd-gcc (NetBSD nb1 20171112) 5.5.0 */
/* generated for powerpc--netbsd-gcc (NetBSD nb2 20180327) 5.5.0 */
#ifndef GCC_GENERATED_STDINT_H
#define GCC_GENERATED_STDINT_H 1

View File

@ -1,12 +1,12 @@
/* This file is automatically generated. DO NOT EDIT! */
/* Generated from: NetBSD: mknative-gcc.old,v 1.5 2017/10/04 21:42:20 christos Exp */
/* Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp */
/* Generated from: NetBSD: mknative.common,v 1.15 2017/11/29 03:32:28 christos Exp */
/* Generated automatically. */
#ifdef _SOFT_FLOAT
static const char configuration_arguments[] = "/usr/src/tools/gcc/../../external/gpl3/gcc.old/dist/configure --target=powerpc--netbsd --enable-long-long --enable-threads --with-bugurl=http://www.NetBSD.org/Misc/send-pr.html --with-pkgversion='NetBSD nb1 20171112' --with-system-zlib --disable-libstdcxx-dual-abi --enable-__cxa_atexit --enable-libstdcxx-time=rt --enable-libstdcxx-threads --with-diagnostics-color=auto-if-env --with-mpc-lib=/var/obj/mknative/macppc-powerpc/usr/src/external/lgpl3/mpc/lib/libmpc --with-mpfr-lib=/var/obj/mknative/macppc-powerpc/usr/src/external/lgpl3/mpfr/lib/libmpfr --with-gmp-lib=/var/obj/mknative/macppc-powerpc/usr/src/external/lgpl3/gmp/lib/libgmp --with-mpc-include=/usr/src/external/lgpl3/mpc/dist/src --with-mpfr-include=/usr/src/external/lgpl3/mpfr/dist/src --with-gmp-include=/usr/src/external/lgpl3/gmp/lib/libgmp/arch/powerpc --enable-tls --disable-multilib --disable-symvers --disable-libstdcxx-pch --disable-libstdcxx-dual-abi --build=x86_64-unknown-netbsd7.1 --host=powerpc--netbsd --with-sysroot=/var/obj/mknative/macppc-powerpc/usr/src/destdir.macppc -with-float=soft";
static const char configuration_arguments[] = "/usr/src/tools/gcc/../../external/gpl3/gcc.old/dist/configure --target=powerpc--netbsd --enable-long-long --enable-threads --with-bugurl=http://www.NetBSD.org/Misc/send-pr.html --with-pkgversion='NetBSD nb2 20180327' --with-system-zlib --disable-libstdcxx-dual-abi --enable-__cxa_atexit --enable-libstdcxx-time=rt --enable-libstdcxx-threads --with-diagnostics-color=auto-if-env --with-mpc-lib=/var/obj/mknative/macppc-powerpc/usr/src/external/lgpl3/mpc/lib/libmpc --with-mpfr-lib=/var/obj/mknative/macppc-powerpc/usr/src/external/lgpl3/mpfr/lib/libmpfr --with-gmp-lib=/var/obj/mknative/macppc-powerpc/usr/src/external/lgpl3/gmp/lib/libgmp --with-mpc-include=/usr/src/external/lgpl3/mpc/dist/src --with-mpfr-include=/usr/src/external/lgpl3/mpfr/dist/src --with-gmp-include=/usr/src/external/lgpl3/gmp/lib/libgmp/arch/powerpc --enable-tls --disable-multilib --disable-symvers --disable-libstdcxx-pch --disable-libstdcxx-dual-abi --build=x86_64-unknown-netbsd8.0 --host=powerpc--netbsd --with-sysroot=/var/obj/mknative/macppc-powerpc/usr/src/destdir.macppc -with-float=soft";
#else
static const char configuration_arguments[] = "/usr/src8/tools/gcc/../../external/gpl3/gcc.old/dist/configure --target=powerpc--netbsd --enable-long-long --enable-threads --with-bugurl=http://www.NetBSD.org/Misc/send-pr.html --with-pkgversion='NetBSD nb1 20171112' --with-system-zlib --disable-libstdcxx-dual-abi --enable-__cxa_atexit --enable-libstdcxx-time=rt --enable-libstdcxx-threads --with-diagnostics-color=auto-if-env --with-mpc-lib=/var/obj/mknative/macppc-powerpc/usr/src8/external/lgpl3/mpc/lib/libmpc --with-mpfr-lib=/var/obj/mknative/macppc-powerpc/usr/src8/external/lgpl3/mpfr/lib/libmpfr --with-gmp-lib=/var/obj/mknative/macppc-powerpc/usr/src8/external/lgpl3/gmp/lib/libgmp --with-mpc-include=/usr/src8/external/lgpl3/mpc/dist/src --with-mpfr-include=/usr/src8/external/lgpl3/mpfr/dist/src --with-gmp-include=/usr/src8/external/lgpl3/gmp/lib/libgmp/arch/powerpc --enable-tls --disable-multilib --disable-symvers --disable-libstdcxx-pch --disable-libstdcxx-dual-abi --build=x86_64-unknown-netbsd7.1 --host=powerpc--netbsd --with-sysroot=/var/obj/mknative/macppc-powerpc/usr/src8/destdir.macppc";
static const char configuration_arguments[] = "/usr/src8/tools/gcc/../../external/gpl3/gcc.old/dist/configure --target=powerpc--netbsd --enable-long-long --enable-threads --with-bugurl=http://www.NetBSD.org/Misc/send-pr.html --with-pkgversion='NetBSD nb2 20180327' --with-system-zlib --disable-libstdcxx-dual-abi --enable-__cxa_atexit --enable-libstdcxx-time=rt --enable-libstdcxx-threads --with-diagnostics-color=auto-if-env --with-mpc-lib=/var/obj/mknative/macppc-powerpc/usr/src8/external/lgpl3/mpc/lib/libmpc --with-mpfr-lib=/var/obj/mknative/macppc-powerpc/usr/src8/external/lgpl3/mpfr/lib/libmpfr --with-gmp-lib=/var/obj/mknative/macppc-powerpc/usr/src8/external/lgpl3/gmp/lib/libgmp --with-mpc-include=/usr/src8/external/lgpl3/mpc/dist/src --with-mpfr-include=/usr/src8/external/lgpl3/mpfr/dist/src --with-gmp-include=/usr/src8/external/lgpl3/gmp/lib/libgmp/arch/powerpc --enable-tls --disable-multilib --disable-symvers --disable-libstdcxx-pch --disable-libstdcxx-dual-abi --build=x86_64-unknown-netbsd8.0 --host=powerpc--netbsd --with-sysroot=/var/obj/mknative/macppc-powerpc/usr/src8/destdir.macppc";
#endif
static const char thread_model[] = "posix";

File diff suppressed because one or more lines are too long

View File

@ -8,11 +8,12 @@ SRCDIR/gcc/../include/ansidecl.h
options.h
SRCDIR/gcc/config/rs6000/secureplt.h
SRCDIR/gcc/config/rs6000/rs6000.h
SRCDIR/gcc/config/netbsd.h
SRCDIR/gcc/config/netbsd-stdint.h
SRCDIR/gcc/config/netbsd-elf.h
SRCDIR/gcc/config/dbxelf.h
SRCDIR/gcc/config/elfos.h
SRCDIR/gcc/config/freebsd-spec.h
SRCDIR/gcc/config/netbsd.h
SRCDIR/gcc/config/netbsd-elf.h
SRCDIR/gcc/config/rs6000/sysv4.h
SRCDIR/gcc/config/rs6000/netbsd.h
SRCDIR/gcc/config/rs6000/option-defaults.h

View File

@ -1,6 +1,6 @@
/* This file is automatically generated. DO NOT EDIT! */
/* Generated from: NetBSD: mknative-gcc,v 1.87 2016/03/17 23:41:21 mrg Exp */
/* Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp */
/* Generated from: NetBSD: mknative-gcc.old,v 1.5 2017/10/04 21:42:20 christos Exp */
/* Generated from: NetBSD: mknative.common,v 1.15 2017/11/29 03:32:28 christos Exp */
#ifndef GCC_TM_H
#define GCC_TM_H
@ -21,11 +21,12 @@
# include "insn-constants.h"
# include "config/rs6000/secureplt.h"
# include "config/rs6000/rs6000.h"
# include "config/netbsd.h"
# include "config/netbsd-stdint.h"
# include "config/netbsd-elf.h"
# include "config/dbxelf.h"
# include "config/elfos.h"
# include "config/freebsd-spec.h"
# include "config/netbsd.h"
# include "config/netbsd-elf.h"
# include "config/rs6000/sysv4.h"
# include "config/rs6000/netbsd.h"
# include "config/rs6000/option-defaults.h"