diff options
author | Mahesh Bodapati <bmahi496@linux.ibm.com> | 2023-08-01 07:41:17 -0500 |
---|---|---|
committer | Rajalakshmi Srinivasaraghavan <rajis@linux.ibm.com> | 2023-08-01 07:41:17 -0500 |
commit | 21841f0d562f0e944c4d267a28cc3ebd19c847e9 (patch) | |
tree | 30b6e0831da1a801e96c91b5c2781312ce2c4624 /sysdeps/powerpc/powerpc64/dl-machine.h | |
parent | 5c37d2065286d3db7b974266a3002bb5747d2e5d (diff) | |
download | glibc-21841f0d562f0e944c4d267a28cc3ebd19c847e9.zip glibc-21841f0d562f0e944c4d267a28cc3ebd19c847e9.tar.gz glibc-21841f0d562f0e944c4d267a28cc3ebd19c847e9.tar.bz2 |
PowerPC: Influence cpu/arch hwcap features via GLIBC_TUNABLES
This patch enables the option to influence hwcaps used by PowerPC.
The environment variable, GLIBC_TUNABLES=glibc.cpu.hwcaps=-xxx,yyy,-zzz....,
can be used to enable CPU/ARCH feature yyy, disable CPU/ARCH feature xxx
and zzz, where the feature name is case-sensitive and has to match the ones
mentioned in the file{sysdeps/powerpc/dl-procinfo.c}.
Note that the hwcap tunables only used in the IFUNC selection.
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps/powerpc/powerpc64/dl-machine.h')
-rw-r--r-- | sysdeps/powerpc/powerpc64/dl-machine.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sysdeps/powerpc/powerpc64/dl-machine.h b/sysdeps/powerpc/powerpc64/dl-machine.h index 9b8943b..449208e 100644 --- a/sysdeps/powerpc/powerpc64/dl-machine.h +++ b/sysdeps/powerpc/powerpc64/dl-machine.h @@ -27,7 +27,6 @@ #include <dl-tls.h> #include <sysdep.h> #include <hwcapinfo.h> -#include <cpu-features.c> #include <dl-static-tls.h> #include <dl-funcdesc.h> #include <dl-machine-rel.h> @@ -297,7 +296,6 @@ static inline void __attribute__ ((unused)) dl_platform_init (void) { __tcb_parse_hwcap_and_convert_at_platform (); - init_cpu_features (&GLRO(dl_powerpc_cpu_features)); } #endif |