Source-Changes-HG archive

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

[src/trunk]: src/external/gpl3/gcc.old/dist/gcc Re-order includes so that ARM...



details:   https://anonhg.NetBSD.org/src/rev/688487304bc6
branches:  trunk
changeset: 814926:688487304bc6
user:      skrll <skrll%NetBSD.org@localhost>
date:      Wed Apr 20 06:51:03 2016 +0000

description:
Re-order includes so that ARM_TARGET2_DWARF_FORMAT takes effect

Fixes PR/51066: C++ text relocations

diffstat:

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

diffs (20 lines):

diff -r 981af8bf53ef -r 688487304bc6 external/gpl3/gcc.old/dist/gcc/config.gcc
--- a/external/gpl3/gcc.old/dist/gcc/config.gcc Tue Apr 19 21:11:44 2016 +0000
+++ b/external/gpl3/gcc.old/dist/gcc/config.gcc Wed Apr 20 06:51:03 2016 +0000
@@ -889,7 +889,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" ;;
@@ -910,6 +910,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