diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2017-10-11 12:14:07 +0000 |
---|---|---|
committer | Adhemerval Zanella <azanella@gcc.gnu.org> | 2017-10-11 12:14:07 +0000 |
commit | d71031ff62227fd3d645246bfc89c075ff746f81 (patch) | |
tree | 1d631f477977c42febf1575afb7ab3085382ed77 /gcc | |
parent | dbd282bb38b0bfce8dc61a172394224215ac8631 (diff) | |
download | gcc-d71031ff62227fd3d645246bfc89c075ff746f81.zip gcc-d71031ff62227fd3d645246bfc89c075ff746f81.tar.gz gcc-d71031ff62227fd3d645246bfc89c075ff746f81.tar.bz2 |
Enable ifunc attribute by default for ARM GNU/Linux
Similar to other architectures with IFUNC binutils/glibc support, this
patch enables the ifunc attribute for ARM GNU/Linux. Although not
required for build master GLIBC, the intention is to allow refactor
its assembly implementation to C.
Tested compilation of glibc (in conjunction with a glibc patch to
support using the attribute on ARM) with build-many-glibcs.py (with
a patch to add a armv7 variant which enables multiarch). I have
not run the GCC tests for ARM.
* config.gcc (default_gnu_indirect_function): Default to yes for
arm*-*-linux* with glibc.
From-SVN: r253635
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config.gcc | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4a87e4c..507859b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org> + + * config.gcc (default_gnu_indirect_function): Default to yes for + arm*-*-linux* with glibc. + 2017-10-11 Richard Biener <rguenther@suse.de> * tree-scalar-evolution.c (get_scalar_evolution): Handle diff --git a/gcc/config.gcc b/gcc/config.gcc index 39573b6..c52bebc 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -3108,7 +3108,7 @@ case ${target} in ;; *-*-linux*) case ${target} in - aarch64*-* | i[34567]86-* | powerpc*-* | s390*-* | sparc*-* | x86_64-*) + aarch64*-* | arm*-* | i[34567]86-* | powerpc*-* | s390*-* | sparc*-* | x86_64-*) default_gnu_indirect_function=yes ;; esac |