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 Re-order includes so that ARM_TAR...



details:   https://anonhg.NetBSD.org/src/rev/f10d6968188c
branches:  trunk
changeset: 814943:f10d6968188c
user:      skrll <skrll%NetBSD.org@localhost>
date:      Thu Apr 21 16:09:16 2016 +0000

description:
Re-order includes so that ARM_TARGET2_DWARF_FORMAT takes effect

Fixes PR/51066: C++ text relocations

diffstat:

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

diffs (20 lines):

diff -r ef1bee9eb7f2 -r f10d6968188c external/gpl3/gcc/dist/gcc/config.gcc
--- a/external/gpl3/gcc/dist/gcc/config.gcc     Thu Apr 21 15:42:56 2016 +0000
+++ b/external/gpl3/gcc/dist/gcc/config.gcc     Thu Apr 21 16:09:16 2016 +0000
@@ -1060,7 +1060,7 @@
        ;;
 arm*-*-netbsdelf*)
        tmake_file="${tmake_file} arm/t-arm"
-       tm_file="dbxelf.h elfos.h ${nbsd_tm_file} arm/elf.h arm/aout.h arm/arm.h"
+       tm_file="dbxelf.h elfos.h ${nbsd_tm_file} arm/elf.h"
        extra_options="${extra_options} netbsd.opt netbsd-elf.opt"
        case ${target} in
        arm*eb-*) tm_defines="${tm_defines} TARGET_BIG_ENDIAN_DEFAULT=1" ;;
@@ -1081,6 +1081,7 @@
            tmake_file="$tmake_file arm/t-netbsd"
            ;;
        esac
+       tm_file="${tm_file} arm/aout.h arm/arm.h"
        case ${target} in
        arm*-*-netbsdelf-*eabihf*)
            tm_defines="${tm_defines} TARGET_DEFAULT_FLOAT_ABI=ARM_FLOAT_ABI_HARD"



Home | Main Index | Thread Index | Old Index