Module Name:    src
Committed By:   maya
Date:           Sun Apr  7 14:26:26 UTC 2019

Modified Files:
        src/external/gpl3/gcc/dist/gcc: config.gcc

Log Message:
Claim ifunc support on a number of architectures.
(Architecture list taken from src/tests/libexec/ld.elf_so/t_ifunc.c)

This is needed for attribute target_clones to work.

Non-functional until a mknative run. Tested by doing a regular GCC build.


To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 src/external/gpl3/gcc/dist/gcc/config.gcc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/dist/gcc/config.gcc
diff -u src/external/gpl3/gcc/dist/gcc/config.gcc:1.55 src/external/gpl3/gcc/dist/gcc/config.gcc:1.56
--- src/external/gpl3/gcc/dist/gcc/config.gcc:1.55	Sun Apr  7 14:14:05 2019
+++ src/external/gpl3/gcc/dist/gcc/config.gcc	Sun Apr  7 14:26:26 2019
@@ -802,6 +802,11 @@ case ${target} in
   esac
   nbsd_tm_file="netbsd.h netbsd-stdint.h netbsd-elf.h"
   default_use_cxa_atexit=yes
+  case ${target} in
+    arm*-* | i[34567]86-* | powerpc*-* | sparc*-* | x86_64-*)
+      default_gnu_indirect_function=yes
+      ;;
+  esac
   ;;
 *-*-openbsd*)
   tmake_file="t-openbsd"

Reply via email to