glibc/sysdeps/powerpc/powerpc64
Sachin Monga 3051f3495c powerpc64le: _init/_fini file changes for ROP
The ROP instructions were added in ISA 3.1 (ie, Power10), however they
were defined so that if executed on older cpus, they would behave as
nops.  This allows us to emit them on older cpus and they'd just be
ignored, but if run on a Power10, then the binary would be ROP protected.

Hash instructions use negative offsets so the default position
of ROP pointer is FRAME_ROP_SAVE from caller's SP.

Modified FRAME_MIN_SIZE_PARM to 112 for ELFv2 to reserve
additional 16 bytes for ROP save slot and padding.

Signed-off-by: Sachin Monga <smonga@linux.ibm.com>
Reviewed-by: Peter Bergner <bergner@linux.ibm.com>
2024-11-20 16:50:34 -05:00
..
a2 Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
be powerpc: Placeholder and infrastructure/build support to add Power11 related changes. 2024-03-19 21:11:34 -05:00
bits login: structs utmp, utmpx, lastlog _TIME_BITS independence (bug 30701) 2024-04-19 14:38:17 +02:00
cell Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
fpu Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
le powerpc64le: Adhere to ABI stack alignment requirement 2024-10-28 16:12:34 -05:00
multiarch powerpc64le: Optimized strcat for POWER10 2024-11-19 15:59:15 -05:00
power4 Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
power6 Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
power7 powerpc: Remove power7 strstr optimization 2024-02-23 08:50:00 -03:00
power8 powerpc: Remove power8 strcasestr optimization 2024-03-12 17:11:01 -03:00
__longjmp-common.S Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
__longjmp.S Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
addmul_1.S Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
atomic-machine.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
bsd-_setjmp.S PowerPC64 ABI fixes 2010-08-12 09:19:19 -07:00
bsd-setjmp.S PowerPC64 ABI fixes 2010-08-12 09:19:19 -07:00
configure Convert to autoconf 2.72 (vanilla release, no distribution patches) 2024-06-17 21:15:28 +02:00
configure.ac powerpc64: Fix by using the configure value $libc_cv_cc_submachine [BZ #31629] 2024-05-16 17:31:45 -05:00
crti.S powerpc64le: _init/_fini file changes for ROP 2024-11-20 16:50:34 -05:00
crtn.S powerpc64le: _init/_fini file changes for ROP 2024-11-20 16:50:34 -05:00
dl-dtprocnum.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
dl-funcdesc.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
dl-irel.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
dl-machine.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
dl-machine.h powerpc: Fix ld.so address determination for PCREL mode (bug 31640) 2024-04-14 08:24:51 +02:00
dl-trampoline.S Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
hp-timing.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
Implies Revert "Use ieee754/dbl-64/wordsize-64 on powerpc64" 2013-01-10 10:44:05 +01:00
lshift.S Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
Makefile Remove stale references to libdl.a 2021-06-09 19:14:02 +02:00
memcpy.S Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
memset.S Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
mul_1.S Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
ppc-mcount.S Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
rtld-memset.c powerpc: Use generic memset for RTLD for ppc32/64 2010-09-29 12:21:14 -04:00
setjmp-bug21895.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
setjmp-common.S Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
setjmp.S Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
stackguard-macros.h PowerPC: Fix POINTER_CHK_GUARD thread register for PPC64 2013-09-25 13:43:04 -05:00
start.S Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
strchr.S Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
strcmp.S Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
strlen.S Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
submul_1.S Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
sysdep.h powerpc64le: _init/_fini file changes for ROP 2024-11-20 16:50:34 -05:00
tst-audit.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-setjmp-bug21895-static.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-ucontext-ppc64-vscr.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00