Fix TLS alignment issues, works on BOCHS now too!
All checks were successful
Build documentation / build-and-deploy (push) Successful in 40s

This commit is contained in:
2026-01-29 18:18:24 +01:00
parent 73e42588fb
commit d2f5c032d9
4 changed files with 29 additions and 26 deletions

View File

@@ -18,20 +18,20 @@ SECTIONS {
*(.ltext .ltext.*)
} :text
. = ALIGN(CONSTANT(MAXPAGESIZE));
. = ALIGN(0x1000);
.rodata : {
*(.rodata .rodata.*)
} :rodata
. = ALIGN(CONSTANT(MAXPAGESIZE));
. = ALIGN(0x1000);
.data : {
*(.data .data.*)
*(.ldata .ldata.*)
} :data
. = ALIGN(CONSTANT(MAXPAGESIZE));
. = ALIGN(0x1000);
__bss_start = .;
@@ -42,7 +42,7 @@ SECTIONS {
__bss_end = .;
. = ALIGN(CONSTANT(MAXPAGESIZE));
. = ALIGN(0x1000);
__tdata_start = .;