diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8bb8dcfee1e..eafd4debbd0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2019-04-29 Maya Rashish + + * config.gcc (default_gnu_indirect_function): Default to yes + for arm*-*-netbsd*, i[34567]86-*-netbsd*, powerpc*-*-netbsd*, + sparc*-*-netbsd*, x86_64-*-netbsd*. + 2019-04-29 Vladislav Ivanishin * tree-ssa-uninit.c (is_pred_expr_subset_of): Correctly handle cases diff --git a/gcc/config.gcc b/gcc/config.gcc index c7a464c89d0..67d68d90be6 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -850,6 +850,11 @@ case ${target} in nbsd_tm_file="netbsd.h netbsd-stdint.h netbsd-elf.h" default_use_cxa_atexit=yes target_has_targetdm=yes + case ${target} in + arm*-* | i[34567]86-* | powerpc*-* | sparc*-* | x86_64-*) + default_gnu_indirect_function=yes + ;; + esac ;; *-*-openbsd*) tmake_file="t-openbsd"