Re-order includes so that ARM_TARGET2_DWARF_FORMAT takes effect

Fixes PR/51066: C++ text relocations
This commit is contained in:
skrll 2016-04-20 06:51:03 +00:00
parent dc12ea256d
commit a7d674ca52
1 changed files with 2 additions and 1 deletions

View File

@ -889,7 +889,7 @@ arm-wrs-vxworks)
;;
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 @@ arm*-*-netbsdelf*)
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"