mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-25 20:10:29 +00:00
Fix TLS linker warning
Fixes #565 Closes #577 Co-authored-by: tkchia <tkchia-cosmo@gmx.com>
This commit is contained in:
parent
1ef955c33b
commit
3c00d8c29c
2 changed files with 45 additions and 12 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue