]> git.ipfire.org Git - thirdparty/glibc.git/commit
powerpc: Protect dl_powerpc_cpu_features on INIT_ARCH() [BZ #26615]
authorRaphael Moreira Zinsly <rzinsly@linux.ibm.com>
Mon, 14 Sep 2020 14:59:24 +0000 (11:59 -0300)
committerTulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
Tue, 22 Sep 2020 20:45:12 +0000 (17:45 -0300)
commit3322ecbfe29a16e74c4f584d661b0b8018bb4031
tree3ea1322f06846bfc29d7ffa3f20d39e99a77f2e6
parent681900d29683722b1cb0a8e565a0585846ec5a61
powerpc: Protect dl_powerpc_cpu_features on INIT_ARCH() [BZ #26615]

dl_powerpc_cpu_features also needs to be protected by __GLRO to check
for the _rtld_global_ro realocation before accessing it.

Reviewed-by: Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h