Skip to content

Commit

Permalink
tile: provide localplt.data with __tls_get_addr optional
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Metcalf committed Dec 20, 2014
1 parent 95dee05 commit d12455f
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>

* sysdeps/unix/sysv/linux/tile/localplt.data: New file.

2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>

* sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
Expand Down
18 changes: 18 additions & 0 deletions sysdeps/unix/sysv/linux/tile/localplt.data
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# See scripts/check-localplt.awk for how this file is processed.
# PLT use is required for the malloc family and for matherr because
# users can define their own functions and have library internals call them.
libc.so: calloc
libc.so: free
libc.so: malloc
libc.so: memalign
libc.so: realloc
libm.so: matherr
# The dynamic loader may use __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.
ld.so: __tls_get_addr ?
ld.so: __libc_memalign
ld.so: malloc
ld.so: calloc
ld.so: realloc
ld.so: free

0 comments on commit d12455f

Please sign in to comment.