From b04beebf0731c0da49bf9113bf299acf56e4c2e5 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Wed, 30 Nov 2016 16:23:58 +0100 Subject: 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. --- sysdeps/unix/sysv/linux/arm/ld.abilist | 1 - sysdeps/unix/sysv/linux/arm/localplt.data | 7 +++---- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'sysdeps/unix/sysv/linux/arm') diff --git a/sysdeps/unix/sysv/linux/arm/ld.abilist b/sysdeps/unix/sysv/linux/arm/ld.abilist index 4de351e..cbf3a3c 100644 --- a/sysdeps/unix/sysv/linux/arm/ld.abilist +++ b/sysdeps/unix/sysv/linux/arm/ld.abilist @@ -1,5 +1,4 @@ GLIBC_2.4 GLIBC_2.4 A -GLIBC_2.4 __libc_memalign F GLIBC_2.4 __libc_stack_end D 0x4 GLIBC_2.4 __stack_chk_guard D 0x4 GLIBC_2.4 __tls_get_addr F diff --git a/sysdeps/unix/sysv/linux/arm/localplt.data b/sysdeps/unix/sysv/linux/arm/localplt.data index a5ccd7f..8bc876d 100644 --- a/sysdeps/unix/sysv/linux/arm/localplt.data +++ b/sysdeps/unix/sysv/linux/arm/localplt.data @@ -7,11 +7,10 @@ libc.so: realloc libm.so: matherr libpthread.so: __errno_location libpthread.so: raise -# The dynamic loader needs __tls_get_addr for TLS, and uses __libc_memalign -# internally to allocate aligned TLS storage. The other malloc family of -# functions are expected to allow user symbol interposition. +# The dynamic loader needs __tls_get_addr for TLS. ld.so: __tls_get_addr -ld.so: __libc_memalign +# 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 -- cgit v1.1