freebsd-nq/libexec
Andrew Turner 7c81294224 Fix how we place each objects thread local data. The code used was based
on the Variant II code, however arm64 uses Variant I. The former placed the
thread pointer after the data, pointing at the thread control block, while
the latter places these before said data.

Because of this we need to use the size of the previous entry to calculate
where to place the current entry. We also need to reserve 16 bytes at the
start for the thread control block.

This also fixes the value of TLS_TCB_SIZE to be correct. This is the size
of two unsigned longs, i.e. 2 * 8 bytes.

While here remove the bogus adjustment of the pointer in the
R_AARCH64_TLS_TPREL64 case. It should be the offset of the data relative
to the thread pointer, including the thread control block.

Sponsored by:	ABT Systems Ltd
2015-09-01 15:57:03 +00:00
..
atf Add META_MODE support. 2015-06-13 19:20:56 +00:00
atrun Call /etc/crontab the "system crontab", not "root's crontab". While 2015-06-22 20:24:59 +00:00
bootpd Add META_MODE support. 2015-06-13 19:20:56 +00:00
casper Let the nv.h and dnv.h includes be only in sys directory. 2015-07-02 21:58:10 +00:00
comsat Add META_MODE support. 2015-06-13 19:20:56 +00:00
dma
dma-mbox-create
fingerd Add META_MODE support. 2015-06-13 19:20:56 +00:00
ftpd Upgrade libxo to 0.4.5. 2015-08-24 16:26:20 +00:00
getty Add META_MODE support. 2015-06-13 19:20:56 +00:00
hyperv
mail.local Add META_MODE support. 2015-06-13 19:20:56 +00:00
mknetid Add META_MODE support. 2015-06-13 19:20:56 +00:00
pppoed Add META_MODE support. 2015-06-13 19:20:56 +00:00
rbootd Add META_MODE support. 2015-06-13 19:20:56 +00:00
revnetgroup Add META_MODE support. 2015-06-13 19:20:56 +00:00
rlogind Add META_MODE support. 2015-06-13 19:20:56 +00:00
rpc.rquotad Add META_MODE support. 2015-06-13 19:20:56 +00:00
rpc.rstatd Add META_MODE support. 2015-06-13 19:20:56 +00:00
rpc.rusersd Add META_MODE support. 2015-06-13 19:20:56 +00:00
rpc.rwalld Add META_MODE support. 2015-06-13 19:20:56 +00:00
rpc.sprayd Add META_MODE support. 2015-06-13 19:20:56 +00:00
rshd Add META_MODE support. 2015-06-13 19:20:56 +00:00
rtld-aout
rtld-elf Fix how we place each objects thread local data. The code used was based 2015-09-01 15:57:03 +00:00
save-entropy Add META_MODE support. 2015-06-13 19:20:56 +00:00
smrsh Add META_MODE support. 2015-06-13 19:20:56 +00:00
talkd Don't assign 'ptr' without using it. 2015-08-30 08:38:59 +00:00
tcpd Add META_MODE support. 2015-06-13 19:20:56 +00:00
telnetd Add META_MODE support. 2015-06-13 19:20:56 +00:00
tests
tftp-proxy Add META_MODE support. 2015-06-13 19:20:56 +00:00
tftpd Add META_MODE support. 2015-06-13 19:20:56 +00:00
ulog-helper Add META_MODE support. 2015-06-13 19:20:56 +00:00
ypxfr Staticfy and constify some variables and clean up the code a bit to make it 2015-07-28 02:32:40 +00:00
Makefile Add the following options to enable/disable several features in the base system 2015-02-04 10:19:32 +00:00
Makefile.amd64
Makefile.i386
Makefile.inc
Makefile.pc98