Update alpha localplt.data.
commit58d6b0d8655c0d9289527689eea471efc36636e2
authorJoseph Myers <joseph@codesourcery.com>
Tue, 8 Nov 2016 23:41:51 +0000 (8 23:41 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Tue, 8 Nov 2016 23:41:51 +0000 (8 23:41 +0000)
tree6125612177fcf95b15b4f1ff487ea04dbfa7d1c1
parent38d84a0f3720e3ed4f628e07ccf4351d1b05a2e6
Update alpha localplt.data.

This patch updates alpha localplt.data so the localplt test passes in
my compile-only all-ABIs glibc testing.  The failures I see without
this patch are:

Missing required PLT reference: ld.so: __tls_get_addr
Missing required PLT reference: ld.so: free

Now, __tls_get_addr can be made optional.  For free, rather than
making it optional as in libc.so it seems better to mark all the
malloc-related symbols in both libc.so and ld.so as allowing an
R_ALPHA_GLOB_DAT relocation as an alternative to using a PLT entry, so
this patch does so.

Tested for alpha.

* sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
calloc, realloc, free, memalign and __libc_memalign rather than
making them optional.
ChangeLog
sysdeps/unix/sysv/linux/alpha/localplt.data