platform_bionic/libc/include
Ryan Prichard c1c8a188b2 Fix arm32/64 dynamic TLS relocations
arm32: Add a relocation for TLS descriptors (e.g. gcc's
-mtls-dialect=gnu2).

arm64: Add all the dynamic TLS relocations.

Two of the relocations here are obsolete:

 - ARM documents R_ARM_SWI24 as an obsolete static relocation without
   saying what it did. It's been replaced by R_ARM_TLS_DESC, a dynamic
   relocation. We could probably remove it, but I left it because arm32
   is old, and I see the macro in other libc's. It's probably analogous
   to R_ARM_THM_SWI8, which is also an obsolete relocation reserved for
   a future dynamic relocation.

 - I couldn't find any ARM documentation at all for
   R_AARCH64_TLS_DTPREL32. It seems to have been part of three
   relocations:

    - R_AARCH64_TLS_DTPREL32 1031
    - R_AARCH64_TLS_DTPMOD32 1032
    - R_AARCH64_TLS_TPREL32 1033

Bug: b/78026329
Test: run bionic unit tests
Change-Id: I5e7432f6e3e906152dc489be5e812fd8defcbafd
2018-07-30 23:49:19 -07:00
..
android Mark fdsan functions as __attribute__((weak)). 2018-07-20 13:51:28 -07:00
arpa Pad queries when EDNS0 is enabled. 2018-04-02 05:28:16 +00:00
bits Fix arm32/64 dynamic TLS relocations 2018-07-30 23:49:19 -07:00
net Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
netinet <netinet/ip_icmp.h>: ensure struct icmphdr is available. 2018-06-27 12:29:06 -07:00
netpacket
sys Merge "Fixup an out of date comment." 2018-07-24 23:09:57 +00:00
alloca.h Always include <sys/cdefs.h>. 2016-07-22 17:01:54 -07:00
ar.h Always include <sys/cdefs.h>. 2016-07-22 17:01:54 -07:00
assert.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
byteswap.h Always include <sys/cdefs.h>. 2016-07-22 17:01:54 -07:00
complex.h Use __RENAME for long double functions. 2017-09-14 16:10:43 -07:00
cpio.h Add two missing POSIX constant-only headers. 2016-08-12 09:28:17 -07:00
ctype.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
dirent.h Deprecate readdir_r. 2018-01-22 17:15:25 -08:00
dlfcn.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
elf.h Reject .so files using ELF TLS. 2018-03-23 18:46:07 -07:00
endian.h Always include <sys/cdefs.h>. 2016-07-22 17:01:54 -07:00
err.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
errno.h Remove volatile from the __errno declaration. 2017-06-13 16:02:07 -07:00
error.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
fcntl.h Remove __overloadable/__RENAME_CLANG 2018-02-06 13:35:56 -08:00
features.h Move the meat of <features.h> into <sys/cdefs.h>. 2014-08-19 11:18:20 -07:00
fenv.h Fix arm/arm64 <fenv.h> to match current reality. 2017-11-03 16:46:32 -07:00
fnmatch.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
fts.h Fix various ftw/nftw "shall fail"s from POSIX. 2018-05-08 15:20:07 -07:00
ftw.h Better backwards compatibility for stat64. 2018-02-12 15:48:01 -08:00
getopt.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
glob.h The future is now (2018 edition). 2018-01-30 08:54:12 -08:00
grp.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
iconv.h The future is now (2018 edition). 2018-01-30 08:54:12 -08:00
ifaddrs.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
inttypes.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
langinfo.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
lastlog.h Fix various empty .h files in bionic. 2016-04-29 22:30:19 -07:00
libgen.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
limits.h More <limits.h> fixes. 2017-10-18 13:27:01 -07:00
link.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
locale.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
malloc.h Implement malloc hooks. 2018-02-13 13:37:30 -08:00
math.h Update to FreeBSD libm r336665. 2018-07-24 10:36:00 -07:00
memory.h
mntent.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
netdb.h The future is now (2018 edition). 2018-01-30 08:54:12 -08:00
nl_types.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
paths.h libc: add /odm/bin to the DEFPATH 2017-12-04 16:09:29 +01:00
poll.h Remove __overloadable/__RENAME_CLANG 2018-02-06 13:35:56 -08:00
pthread.h Add missing __INTRODUCED_IN to pthread_attr_setinheritsched/pthread_attr_getinheritsched. 2018-06-07 09:11:47 -07:00
pty.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
pwd.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
regex.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
resolv.h Expose __res_randomid. 2018-07-17 13:02:52 -07:00
sched.h Type of second __sched_cpucount should be "const cpu_set_t*". 2018-04-13 16:07:21 -07:00
search.h The future is now (2018 edition). 2018-01-30 08:54:12 -08:00
semaphore.h Add _monotonic_np versions of timed wait functions 2018-03-20 18:41:22 -07:00
setjmp.h setjmp is a macro. 2018-07-17 13:55:36 -07:00
signal.h Add uc_sigmask64. 2018-02-13 19:09:04 -08:00
spawn.h Add sigset64_t and accompanying functions. 2018-01-30 18:47:16 -08:00
stdatomic.h Include uchar.h only for bionic 2018-07-09 12:03:23 -07:00
stdint.h Fix instances of '#if __LP64__'. 2016-09-15 14:21:28 -07:00
stdio.h Remove __overloadable/__RENAME_CLANG 2018-02-06 13:35:56 -08:00
stdio_ext.h Add __fseterr. 2018-02-14 15:25:21 -08:00
stdlib.h Fix posix_memalign introduced tag. 2018-04-20 10:46:16 -07:00
string.h Remove __overloadable/__RENAME_CLANG 2018-02-06 13:35:56 -08:00
strings.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
syscall.h Add all the glibc one-line "synonym" header files. 2015-07-17 13:59:36 -07:00
sysexits.h Always include <sys/cdefs.h>. 2016-07-22 17:01:54 -07:00
syslog.h Name function arguments in libc headers for Studio. 2017-08-11 17:45:59 -07:00
tar.h Add two missing POSIX constant-only headers. 2016-08-12 09:28:17 -07:00
termio.h Always include <sys/cdefs.h>. 2016-07-22 17:01:54 -07:00
termios.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
time.h Add C11 timespec_get. 2018-07-17 13:21:05 -07:00
time64.h
uchar.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
ucontext.h Always include <sys/cdefs.h>. 2016-07-22 17:01:54 -07:00
unistd.h Remove __overloadable/__RENAME_CLANG 2018-02-06 13:35:56 -08:00
utime.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
utmp.h Name function arguments in libc headers for Studio. 2017-08-11 17:45:59 -07:00
wait.h Add all the glibc one-line "synonym" header files. 2015-07-17 13:59:36 -07:00
wchar.h Add remaining _l function stubs. 2018-02-13 23:14:12 -08:00
wctype.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
xlocale.h Always include <sys/cdefs.h>. 2016-07-22 17:01:54 -07:00