diff options
author | Florian Weimer <fweimer@redhat.com> | 2016-11-30 16:23:58 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2016-11-30 16:23:58 +0100 |
commit | b04beebf0731c0da49bf9113bf299acf56e4c2e5 (patch) | |
tree | e9d30cedb0a14f36f23dcab98641603c2cbe92dc /sysdeps/unix/sysv/linux/s390 | |
parent | 9e78f6f6e7134a5f299cc8de77370218f8019237 (diff) | |
download | glibc-b04beebf0731c0da49bf9113bf299acf56e4c2e5.tar.gz glibc-b04beebf0731c0da49bf9113bf299acf56e4c2e5.tar.xz glibc-b04beebf0731c0da49bf9113bf299acf56e4c2e5.zip |
ld.so: Remove __libc_memalign
It is no longer needed since commit 6c444ad6e953dbdf9c7be065308a0a777 (elf: Do not use memalign for TCB/TLS blocks allocation [BZ #17730]). Applications do not link against ld.so and will use the definition in libc.so, so there is no ABI impact.
Diffstat (limited to 'sysdeps/unix/sysv/linux/s390')
-rw-r--r-- | sysdeps/unix/sysv/linux/s390/localplt.data | 13 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist | 1 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist | 1 |
3 files changed, 2 insertions, 13 deletions
diff --git a/sysdeps/unix/sysv/linux/s390/localplt.data b/sysdeps/unix/sysv/linux/s390/localplt.data index bd1adddb1f..50006317c7 100644 --- a/sysdeps/unix/sysv/linux/s390/localplt.data +++ b/sysdeps/unix/sysv/linux/s390/localplt.data @@ -5,17 +5,8 @@ libc.so: malloc libc.so: memalign libc.so: realloc libm.so: matherr -# The dynamic loader uses __libc_memalign internally to allocate aligned -# TLS storage. The other malloc family of functions are expected to allow -# user symbol interposition. -# It is also allowed to call __libc_memalign via function-pointer loaded from -# GOT instead of calling via a plt-stub. In this case there is a R_390_GLOB_DAT -# relocation in section .rela.dyn instead of R_390_JMP_SLOT in .rela.plt. -# After commit "elf: Do not use memalign for TCB/TLS blocks allocation -# [BZ #17730]" __libc_memalign is only called in elf/dl-minimal.c: malloc() in -# ld.so and gcc -O2/-O3 leads to R_390_GLOB_DAT. If build with -# -fno-optimize-sibling-calls an R_390_JMP_SLOT is generated. -ld.so: __libc_memalign + RELA R_390_GLOB_DAT +# The main malloc is interposed into the dynamic linker, for +# allocations after the initial link (when dlopen is used). ld.so: malloc ld.so: calloc ld.so: realloc diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist b/sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist index ec7491f5d7..c16b2c1344 100644 --- a/sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist +++ b/sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist @@ -1,5 +1,4 @@ GLIBC_2.0 GLIBC_2.0 A -GLIBC_2.0 __libc_memalign F GLIBC_2.0 _r_debug D 0x14 GLIBC_2.0 calloc F GLIBC_2.0 free F diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist b/sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist index c2e0d9660a..5e604f5376 100644 --- a/sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist +++ b/sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist @@ -1,5 +1,4 @@ GLIBC_2.2 GLIBC_2.2 A -GLIBC_2.2 __libc_memalign F GLIBC_2.2 __libc_stack_end D 0x8 GLIBC_2.2 _dl_mcount F GLIBC_2.2 _r_debug D 0x28 |