glibc/ports/sysdeps/unix/sysv/linux/arm
Will Newton 2f10c4d690 ARM: Don't apply pointer encryption to the frame pointer
The frame pointer register is rarely used for that purpose on ARM and
applications that look at the contents of the jmp_buf may be relying
on reading an unencrypted value. For example, Ruby uses the contents
of jmp_buf to find the root set for garbage collection so relies on
this pointer value being unencrypted. Without this patch the Ruby
testsuite fails with a segmentation fault.

ports/ChangeLog.arm:

2013-01-14  Will Newton  <will.newton@linaro.org>

	* sysdeps/arm/__longjmp.S: Don't apply pointer encryption
	to fp register.
	* sysdeps/arm/setjmp.S: Likewise.
	* sysdeps/arm/include/bits/setjmp.h (JMP_BUF_REGLIST): Add
	fp to register list, remove a4.
	* sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD):
	New macro.
2014-01-14 14:02:34 +00:00
..
bits Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
nptl Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
sys Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
____longjmp_chk.S Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
aeabi_read_tp.S Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
alphasort64.c
arm-features.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
brk.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
clone.S Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
configure rename configure.in to configure.ac 2013-10-30 17:32:08 +10:00
configure.ac rename configure.in to configure.ac 2013-10-30 17:32:08 +10:00
dl-cache.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
dl-machine.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
dl-procinfo.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
dl-procinfo.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
fchown.c
fcntl.c
ftruncate64.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
fxstat.c
fxstatat.c
getcontext.S Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
getdents64.c
getegid.c
geteuid.c
getgid.c
getgroups.c
getresgid.c
getresuid.c
getrlimit64.c
getuid.c
glob64.c
internal_accept4.S
internal_recvmmsg.S
internal_sendmmsg.S
ioperm.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
kernel-features.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
lchown.c
ldconfig.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
ldsodefs.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
libc-aeabi_read_tp.S
libc-do-syscall.S Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
lockf64.c
lxstat.c
makecontext.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
Makefile Use LIBC_CONFIG_VAR for ARM default-abi setting. 2013-03-20 23:15:42 +00:00
mmap64.S Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
mmap.S Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
msgctl.c
oldgetrlimit64.c
oldgetrlimit.c
oldsetrlimit.c
posix_fadvise64.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
posix_fadvise.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
pread64.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
pread.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
profil-counter.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
pwrite64.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
pwrite.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
readahead.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
readdir64_r.c
readdir64.c
readelflib.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
register-dump.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
scandir64.c
semctl.c
setcontext.S Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
setegid.c
seteuid.c
setfsgid.c
setfsuid.c
setgid.c
setgroups.c
setregid.c
setresgid.c
setresuid.c
setreuid.c
setrlimit.c
setuid.c
shmctl.c
sigaction.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
sigcontextinfo.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
sigrestorer.S Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
swapcontext.S Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
syscall.S Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
syscalls.list
sysdep.h ARM: Don't apply pointer encryption to the frame pointer 2014-01-14 14:02:34 +00:00
sysdep.S Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
truncate64.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
ucontext_i.sym
umount.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
Versions
versionsort64.c
vfork.S Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
xstat.c