From 856f73d1373aa768fdb37266a552dee4f8d98a5f Mon Sep 17 00:00:00 2001 From: Maya Rashish Date: Mon, 29 Apr 2019 19:48:52 +0000 Subject: [PATCH] config.gcc (default_gnu_indirect_function): Default to yes for arm*-*-netbsd*... * config.gcc (default_gnu_indirect_function): Default to yes for arm*-*-netbsd*, i[34567]86-*-netbsd*, powerpc*-*-netbsd*, sparc*-*-netbsd*, x86_64-*-netbsd* From-SVN: r270661 --- gcc/ChangeLog | 6 ++++++ gcc/config.gcc | 5 +++++ 2 files changed, 11 insertions(+) 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"