glibc/sysdeps/powerpc
Florian Weimer 7650321ce0 powerpc: Fix incorrect cache line size load in memset (bug 26332)
__GLRO loaded the word after the requested variable on big-endian
PowerPC, where LOWORD is 4.  This can cause the memset implement
go wrong because the masking with the cache line size produces
wrong results, particularly if the loaded value happens to be 1.

The __GLRO macro is not used in any place where loading the lower
32-bit word of a 64-bit value is desired, so the +4 offset is always
wrong.

Fixes commit 18363b4f01
("powerpc: Move cache line size to rtld_global_ro") and bug 26332.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
2020-08-03 18:07:19 +02:00
..
bits powerpc: Add new hwcap values 2020-06-23 18:15:06 -03:00
fpu powerpc: Use sqrt{f} builtin 2020-06-22 11:09:49 -03:00
nofpu Update powerpc-nofpu libm-test-ulps. 2020-07-20 20:16:25 +00:00
nptl Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
power4 Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
power6 Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
powerpc32 powerpc: Fix incorrect cache line size load in memset (bug 26332) 2020-08-03 18:07:19 +02:00
powerpc64 powerpc64le: guarantee a .gnu.attributes section [BZ #26220] 2020-07-21 09:03:01 -05:00
sys/platform Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
abort-instr.h Update. 2002-09-15 18:31:23 +00:00
atomic-machine.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
cpu-features.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
cpu-features.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
dl-procinfo.c powerpc: Add new hwcap values 2020-06-23 18:15:06 -03:00
dl-procinfo.h powerpc: Fix POWER10 selection 2020-07-21 18:01:39 -03:00
dl-tls.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
dl-tls.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
dl-tunables.list Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
elf-initfini.h Introduce <elf-initfini.h> and ELF_INITFINI for all architectures 2020-02-18 15:12:25 +01:00
ffs.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
fpu_control.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
gccframe.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
hwcapinfo.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
hwcapinfo.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
ifunc-sel.h Fix powerpc ifunc-sel.h build for -Os. 2018-03-02 22:27:56 +00:00
jmpbuf-offsets.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
jmpbuf-unwind.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
ldsodefs.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
libc-tls.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
locale-defines.sym powerpc: strcasestr optmization for power8 2016-04-22 19:23:13 +05:30
longjmp.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
machine-gmon.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
Makefile powerpc: Move cache line size to rtld_global_ro 2020-01-17 09:05:03 -03:00
math-tests-snan-cast.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
memusage.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
mod-cache-ppc.c powerpc: Move cache line size to rtld_global_ro 2020-01-17 09:05:03 -03:00
mod-tlsopt-powerpc.c tst-tlsopt-powerpc as a shared lib 2017-08-03 15:39:21 +09:30
mp_clz_tab.c Update. 2002-03-14 20:48:50 +00:00
novmx-longjmp.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
novmx-sigjmp.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
novmxsetjmp.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
preconfigure powerpc: Add support for POWER10 2020-06-29 10:08:38 -03:00
preconfigure.ac powerpc: Add support for POWER10 2020-06-29 10:08:38 -03:00
rtld-global-offsets.sym powerpc: Move cache line size to rtld_global_ro 2020-01-17 09:05:03 -03:00
sched_cpucount.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sigjmp.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sotruss-lib.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
stackinfo.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sysdep.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
test-arith.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
test-arithf.c Update. 1997-08-10 18:37:15 +00:00
test-get_hwcap-static.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
test-get_hwcap.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
test-gettimebase.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tls-macros.h Split tls-macros.h in sysdeps directories. 2012-07-19 17:04:04 -03:00
tst-cache-ppc-static-dlopen.c powerpc: Move cache line size to rtld_global_ro 2020-01-17 09:05:03 -03:00
tst-cache-ppc-static.c powerpc: Move cache line size to rtld_global_ro 2020-01-17 09:05:03 -03:00
tst-cache-ppc.c powerpc: Move cache line size to rtld_global_ro 2020-01-17 09:05:03 -03:00
tst-set_ppr.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-stack-align.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-tlsifunc-static.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-tlsifunc.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-tlsopt-powerpc.c tst-tlsopt-powerpc as a shared lib 2017-08-03 15:39:21 +09:30
Versions Add femode_t functions. 2016-09-07 16:40:09 +00:00