config.gcc (default_gnu_indirect_function): Default to yes for arm*-*-netbsd*...
authorMaya Rashish <coypu@sdf.org>
Mon, 29 Apr 2019 19:48:52 +0000 (19:48 +0000)
committerJeff Law <law@gcc.gnu.org>
Mon, 29 Apr 2019 19:48:52 +0000 (13:48 -0600)
* 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
gcc/config.gcc

index 8bb8dcfee1e5d207a3f434e66985ad75dcd2e9a1..eafd4debbd06094752acd98a4b4881a9c2a1d4a1 100644 (file)
@@ -1,3 +1,9 @@
+2019-04-29  Maya Rashish  <coypu@sdf.org>
+
+       * 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  <vlad@ispras.ru>
 
        * tree-ssa-uninit.c (is_pred_expr_subset_of): Correctly handle cases
index c7a464c89d06a427ce5b02976068b56054936adc..67d68d90be6ed9b1924b6f91e87ce47d609c3bcd 100644 (file)
@@ -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"