aboutsummaryrefslogtreecommitdiff
path: root/elf/tst-tls14.c
AgeCommit message (Collapse)Author
2003-07-28* elf/tst-tls14.c [USE_TLS && HAVE___THREAD]: Conditionalize on this.Roland McGrath
* elf/tst-tlsmod14a.c: Likewise. * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <linux/compiler.h> before <linux/sysctl.h>.
2003-07-24Update.Ulrich Drepper
2003-07-24 Ulrich Drepper <drepper@redhat.com> * include/link.h (struct link_map): Add l_tls_firstbyte_offset field. * sysdeps/generic/dl-tls.c [TLS_TCB_AT_TP] (_dl_determine_tlsoffset): Fix calculation of offsets to take misalignment of first byte in file into account. * elf/dl-load.c (_dl_map_object_from_fd): Initialize l_tls_firstbyte_offset field. * elf/rtld.c (_dl_start_final, _dl_start, dl_main): Likewise. * elf/dl-reloc.c (_dl_allocate_static_tls): Change return type to int. Take l_tls_firstbyte_offset information into account. (CHECK_STATIS_TLS): _dl_allocate_static_tls can fail now. * sysdeps/generic/ldsodefs.h: Adjust _dl_allocate_static_tls prototype. * elf/Makefile: Add rules to build and run tst-tls14. * elf/tst-tls14.c: New file. * elf/tst-tlsmod14a.c: New file. * elf/tst-tlsmod14b.c: New file.