arm/netbsd-elf.h is necessary for eabi targets.

This commit is contained in:
mrg 2021-04-12 09:03:39 +00:00
parent 250ad67d8e
commit f76800c4b6

View File

@ -1280,7 +1280,7 @@ arm*-*-netbsdelf*)
esac
case ${target} in
arm*-*-netbsdelf-*eabi*)
tm_file="${tm_file} arm/bpabi.h arm/netbsd-eabi.h"
tm_file="${tm_file} arm/bpabi.h arm/netbsd-elf.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"
@ -1288,7 +1288,7 @@ arm*-*-netbsdelf*)
default_use_cxa_atexit=yes
;;
*)
tm_file="$tm_file arm/bpabi.h arm/netbsd-elf.h arm/netbsd-eabi.h"
tm_file="$tm_file arm/bpabi.h arm/netbsd-elf.h"
#tmake_file="$tmake_file arm/t-bpabi arm/t-netbsdeabi"
tmake_file="$tmake_file arm/t-netbsd"
;;