diff options
author | Zack Weinberg <zackw@panix.com> | 2017-05-30 21:05:04 -0400 |
---|---|---|
committer | Zack Weinberg <zackw@panix.com> | 2017-06-01 08:53:56 -0400 |
commit | 491bb0858e2d7edc36ced616e846803671d8db75 (patch) | |
tree | 90e756948ffc70d37707260bfe2c59b35ed09ef2 /sysdeps/unix/sysv/linux/microblaze/localplt.data | |
parent | 52bd9381692fd23df859fd0e564af247b1571557 (diff) | |
download | glibc-491bb0858e2d7edc36ced616e846803671d8db75.tar.gz |
Avoid tickling a linker bug from microblaze pt-vfork.S.
libpthread used to have its own vfork implementation that differed
from libc's only in having a pointless micro-optimization. There is
no longer any use to having a separate copy in libpthread, but the
historical ABI requires a compatibility shim. microblaze was trying
to be slightly too clever about how it did this, and tickled a linker
bug. The linker bug should get fixed eventually, but there's no
reason for us to keep tickling it in the meantime.
This doesn't reuse the generic pt-vfork.c because microblaze doesn't
have IFUNC support yet, and it doesn't reuse aarch64/pt-vfork.c
because that fails to generate a tailcall (with GCC 7.1.1).
* sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Don't include
alpha/pt-vfork.S. Provide own compat shim for vfork and __vfork.
* sysdeps/unix/sysv/linux/microblaze/vfork.S: Add __libc_vfork alias.
* sysdeps/unix/sysv/linux/microblaze/localplt.data:
libpthread.so no longer references __errno_location.
Diffstat (limited to 'sysdeps/unix/sysv/linux/microblaze/localplt.data')
-rw-r--r-- | sysdeps/unix/sysv/linux/microblaze/localplt.data | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/microblaze/localplt.data b/sysdeps/unix/sysv/linux/microblaze/localplt.data index a61b94dfb8..ca476bedd8 100644 --- a/sysdeps/unix/sysv/linux/microblaze/localplt.data +++ b/sysdeps/unix/sysv/linux/microblaze/localplt.data @@ -5,7 +5,6 @@ libc.so: malloc libc.so: memalign libc.so: realloc libm.so: matherr -libpthread.so: __errno_location # The dynamic loader needs __tls_get_addr for TLS. ld.so: __tls_get_addr ? # The main malloc is interposed into the dynamic linker, for |