Fix TLS linker warning

Fixes #565
Closes #577
Co-authored-by: tkchia <tkchia-cosmo@gmx.com>
This commit is contained in:
Justine Tunney 2022-09-04 00:03:37 -07:00
parent 1ef955c33b
commit 3c00d8c29c
2 changed files with 45 additions and 12 deletions

View file

@ -380,7 +380,9 @@ SECTIONS {
PROVIDE_HIDDEN(edata = .);
KEEP(*(SORT_BY_NAME(.zip.*)))
HIDDEN(_ezip = .);
. = ALIGN(PAGESIZE);
} :Ram
. = ALIGN(PAGESIZE);
.tdata . : {
_tdata_start = .;
@ -389,7 +391,7 @@ SECTIONS {
. = ALIGN(16);
_tdata_end = .;
. = ALIGN(PAGESIZE);
} :Tls
} :Tls :Ram
. = ALIGN(PAGESIZE);
/*END: file content that's loaded by o/s */