]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/doc/tm.texi.in
target.def (TARGET_HAS_IFUNC_P): New target hook.
authorAlexander Ivchenko <alexander.ivchenko@intel.com>
Wed, 27 Mar 2013 09:55:19 +0000 (09:55 +0000)
committerKirill Yukhin <kyukhin@gcc.gnu.org>
Wed, 27 Mar 2013 09:55:19 +0000 (09:55 +0000)
commit2f251a053530659d49b88663f30ec902c6851e92
treec3f8af07cbeec30831a713ebef2709f7bae7324c
parent78b4e425a6dfae3b2c315201d673773482d219eb
target.def (TARGET_HAS_IFUNC_P): New target hook.

        * gcc/target.def (TARGET_HAS_IFUNC_P): New target hook.
        * gcc/doc/tm.texi.in (TARGET_HAS_IFUNC_P): New.
        * gcc/doc/tm.texi: Regenerate.
        * gcc/targhooks.h (default_has_ifunc_p): New.
        * gcc/targhooks.c (default_has_ifunc_p): Ditto.
        * gcc/config/linux-protos.h: New file.
        * gcc/config/linux-android.h (TARGET_HAS_IFUNC_P): Using version of
        this hook for linux which disables support of indirect functions in
        android.
        * gcc/config/linux-android.c: New file.
        * gcc/config/t-linux-android.c: Ditto.
        * gcc/config.gcc: Added new object file linux-android.o.
        * gcc/config/i386/i386.c (ix86_get_function_versions_dispatcher):
        Using TARGET_HAS_IFUNC hook instead of HAVE_GNU_INDIRECT_FUNCTION.
        * gcc/varasm.c (do_assemble_alias): Likewise.
        * configure.ac: Define HAVE_GNU_INDIRECT_FUNCTION as zero if the target
        doesn't support indirect functions.
        * configure: Regenerate.

From-SVN: r197156
15 files changed:
gcc/ChangeLog
gcc/config.gcc
gcc/config/i386/i386.c
gcc/config/linux-android.c [new file with mode: 0644]
gcc/config/linux-android.h
gcc/config/linux-protos.h [new file with mode: 0644]
gcc/config/t-linux-android [new file with mode: 0644]
gcc/configure
gcc/configure.ac
gcc/doc/tm.texi
gcc/doc/tm.texi.in
gcc/target.def
gcc/targhooks.c
gcc/targhooks.h
gcc/varasm.c