Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gcc/dist/gcc avoid multiple tm_file headers be...



details:   https://anonhg.NetBSD.org/src/rev/de3b0de86534
branches:  trunk
changeset: 464310:de3b0de86534
user:      mrg <mrg%NetBSD.org@localhost>
date:      Wed Oct 02 05:58:03 2019 +0000

description:
avoid multiple tm_file headers being listed and breaking builds.

diffstat:

 external/gpl3/gcc/dist/gcc/config.gcc |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (39 lines):

diff -r 4d46953676f9 -r de3b0de86534 external/gpl3/gcc/dist/gcc/config.gcc
--- a/external/gpl3/gcc/dist/gcc/config.gcc     Wed Oct 02 05:04:58 2019 +0000
+++ b/external/gpl3/gcc/dist/gcc/config.gcc     Wed Oct 02 05:58:03 2019 +0000
@@ -1156,7 +1156,7 @@
        esac
        case ${target} in
        arm*-*-netbsdelf-*eabi*)
-           tm_file="$tm_file arm/bpabi.h arm/netbsd-elf.h arm/netbsd-eabi.h"
+           tm_file="${tm_file} arm/bpabi.h arm/netbsd-eabi.h"
            # GCC 7 vs NetBSD/eabi -> avoid arm unwinder
            #tmake_file="$tmake_file arm/t-bpabi"
            tmake_file="$tmake_file arm/t-netbsdeabi"
@@ -1164,13 +1164,11 @@
            default_use_cxa_atexit=yes
            ;;
        *)
-           tm_file="$tm_file arm/netbsd-elf.h"
            tmake_file="$tmake_file arm/t-netbsd"
            # NetBSD/arm (non-eabi) is only old platforms
            with_cpu=${with_cpu:-strongarm}
            ;;
        esac
-       tm_file="${tm_file} arm/arm.h"
        case ${target} in
        arm*-*-netbsdelf-*eabihf*)
            tm_defines="${tm_defines} TARGET_DEFAULT_FLOAT_ABI=ARM_FLOAT_ABI_HARD"
@@ -2536,11 +2534,10 @@
        case ${target} in
            powerpc64*)
                tm_file="rs6000/biarch64.h ${tm_file}"
-               tm_file="${tm_file} rs6000/sysv4.h rs6000/default64.h rs6000/netbsd64.h"
+               tm_file="${tm_file} rs6000/default64.h rs6000/netbsd64.h"
                tmake_file="${tmake_file} rs6000/t-netbsd64"
                ;;
            *)
-               tm_file="${tm_file} rs6000/sysv4.h rs6000/netbsd.h"
                tmake_file="${tmake_file} rs6000/t-netbsd"
                ;;
        esac



Home | Main Index | Thread Index | Old Index