glibc/sysdeps/unix/sysv/linux/powerpc/powerpc64
Ulrich Weigand 696caf1d00 PowerPC64 ELFv2 ABI 2/6: Remove function descriptors
This patch adds support for the ELFv2 ABI feature to remove function
descriptors.  See this GCC patch for in-depth discussion:
http://gcc.gnu.org/ml/gcc-patches/2013-11/msg01141.html

This mostly involves two types of changes: updating assembler source
files to the new logic, and updating the dynamic loader.

After the refactoring in the previous patch, most of the assembler source
changes can be handled simply by providing ELFv2 versions of the
macros in sysdep.h.   One somewhat non-obvious change is in __GI__setjmp:
this used to "fall through" to the immediately following __setjmp ENTRY
point.  This is no longer safe in the ELFv2 since ENTRY defines both
a global and a local entry point, and you cannot simply fall through
to a global entry point as it requires r12 to be set up.

Also, makecontext needs to be updated to set up registers according to
the new ABI for calling into the context's start routine.

The dynamic linker changes mostly consist of removing special code
to handle function descriptors.  We also need to support the new PLT
and glink format used by the the ELFv2 linker, see:
https://sourceware.org/ml/binutils/2013-10/msg00376.html

In addition, the dynamic linker now verifies that the dynamic libraries
it loads match its own ABI.

The hack in VDSO_IFUNC_RET to "synthesize" a function descriptor
for vDSO routines is also no longer necessary for ELFv2.
2013-12-04 07:41:38 -06:00
..
970 powerpc: Re-work the Implies structure 2010-06-30 09:57:38 -07:00
a2 powerpc: PPCA2/A2 optimized memcpy function 2010-10-24 21:47:33 -04:00
cell powerpc: Re-work the Implies structure 2010-06-30 09:57:38 -07:00
fpu PowerPC: Fix __fe_nomask_env missing symbol 2013-11-26 07:25:08 -06:00
nptl New API to set default thread attributes 2013-06-15 12:24:15 +05:30
power4 powerpc: Re-work the Implies structure 2010-06-30 09:57:38 -07:00
power5 powerpc: Re-work the Implies structure 2010-06-30 09:57:38 -07:00
power5+ powerpc: Re-work the Implies structure 2010-06-30 09:57:38 -07:00
power6 powerpc: Re-work the Implies structure 2010-06-30 09:57:38 -07:00
power6x powerpc: Re-work the Implies structure 2010-06-30 09:57:38 -07:00
power7 powerpc: Re-work the Implies structure 2010-06-30 09:57:38 -07:00
power8 PowerPC: Enable POWER8 platform sans hwcap bits. 2013-06-24 15:33:32 -05:00
____longjmp_chk.S Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
brk.S Remove powerpc64 bounded-pointers code. 2013-03-06 00:10:21 +00:00
clone.S PowerPC64 ELFv2 ABI 1/6: Code refactoring 2013-12-04 07:41:38 -06:00
dl-cache.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
fcntl.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
getcontext.S Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
Implies Revert "Use ieee754/dbl-64/wordsize-64 on powerpc64" 2013-01-10 10:44:05 +01:00
kernel_stat.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
ldsodefs.h PowerPC64 ELFv2 ABI 2/6: Remove function descriptors 2013-12-04 07:41:38 -06:00
makecontext.S PowerPC64 ELFv2 ABI 2/6: Remove function descriptors 2013-12-04 07:41:38 -06:00
Makefile Add default-abi definitions for powerpc, s390 and sparc. 2012-06-01 21:19:28 +00:00
pread64.c Remove CHECK_N and bp-checks.h. 2013-02-08 20:06:30 +00:00
pread.c Remove CHECK_N and bp-checks.h. 2013-02-08 20:06:30 +00:00
pwrite64.c Remove CHECK_N and bp-checks.h. 2013-02-08 20:06:30 +00:00
pwrite.c Remove CHECK_N and bp-checks.h. 2013-02-08 20:06:30 +00:00
setcontext.S PowerPC64: Fix incorrect CFI in *context routines 2013-12-04 07:41:37 -06:00
socket.S Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
swapcontext.S Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
sync_file_range.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
syscalls.list * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Add open 2008-03-27 16:23:55 +00:00
sysdep.h PowerPC: Rename __kernel_vdso_get_tbfreq to __kernel_get_tbfreq. 2013-01-18 07:44:38 -06:00
ucontext_i.sym * sysdeps/unix/sysv/linux/i386/ucontext_i.h: File removed. 2005-12-22 05:18:34 +00:00
umount.c * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Include x86_64 2006-02-28 19:07:44 +00:00
Versions Remove trailing whitespace. 2013-06-05 20:44:03 +00:00
vfork.S Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00