Hi,

the attached patch enables the ifunc function attribute by default on
s390 and s390x.

Committed to mainline.

Bye,

-Andreas-

2012-07-05  Andreas Krebbel  <andreas.kreb...@de.ibm.com>

        * config.gcc: Enable ifunc attribute by default on s390 and s390x.

---
 gcc/config.gcc |    2 ++
 1 file changed, 2 insertions(+)

Index: gcc/config.gcc
===================================================================
*** gcc/config.gcc.orig
--- gcc/config.gcc
*************** rx-*-elf*)
*** 2096,2107 ****
--- 2096,2109 ----
        tmake_file="${tmake_file} rx/t-rx"
        ;;
  s390-*-linux*)
+       default_gnu_indirect_function=yes
        tm_file="s390/s390.h dbxelf.h elfos.h gnu-user.h linux.h glibc-stdint.h 
s390/linux.h"
        if test x$enable_targets = xall; then
                tmake_file="${tmake_file} s390/t-linux64"
        fi
        ;;
  s390x-*-linux*)
+       default_gnu_indirect_function=yes
        tm_file="s390/s390x.h s390/s390.h dbxelf.h elfos.h gnu-user.h linux.h 
glibc-stdint.h s390/linux.h"
        tm_p_file=s390/s390-protos.h
        md_file=s390/s390.md

Reply via email to