20 Commits

Author SHA1 Message Date
Mintsuki
9b9a9db02a build: Add .srodata and .sdata2 sections to riscv64 ld script
And update Nyu-EFI accordingly
2025-08-14 05:57:33 +02:00
Mintsuki
35ccc3ace5 build: Better solution than e23eff73a5 to the same issue 2025-07-28 04:50:17 +02:00
Mintsuki
7a0f938a36 Revert "build: Workaround to more explicitly specify output section types"
This reverts commit b87ac911d9.
2025-07-28 04:29:28 +02:00
Mintsuki
b87ac911d9 build: Workaround to more explicitly specify output section types
This unbreaks ld.gold.
2025-07-28 03:56:07 +02:00
Mintsuki
8ee426e452 Revert "build: Explicitly break ld.gold"
This reverts commit 75d7f372bf.
2025-07-27 23:56:27 +02:00
Mintsuki
75d7f372bf build: Explicitly break ld.gold
ld.gold has sadly bitrotted and cannot reliably be used to link Limine.
2025-07-24 01:37:44 +02:00
mintsuki
100869fb9b misc: Minor linker script adjustments and bump limine-efi commit 2024-08-04 11:41:28 +02:00
mintsuki
1aab3b2951 misc/efi: Replace .padding with manual alignment 2024-06-08 16:11:17 +02:00
mintsuki
d25b7bd0c6 build/linker: UEFI: New padding method that doesn't mangle PT_DYNAMIC 2024-06-05 16:53:00 +02:00
mintsuki
984576e5b0 misc/lds: .eh_frame -> .eh_frame* 2024-06-01 17:38:23 +02:00
mintsuki
3a51368db6 misc/build: Update limine-efi commit and fixes for linker portability 2024-05-31 21:38:40 +02:00
mintsuki
45fb3ded6f misc: Update linker scripts for better ld.gold compat 2024-05-27 00:18:14 +02:00
mintsuki
34ce023427 misc: Use KEEP directive on .pe_header section of UEFI LD scripts 2024-01-21 20:34:31 +01:00
mintsuki
3a81c3e13d build: ldscripts: .reloc -> .dummy_reloc 2023-09-28 06:56:28 -05:00
mintsuki
0ebf0245df misc: Misc EFI linker script improvements and drop .sbat 2023-09-11 17:16:19 -05:00
mintsuki
b5cffbb6e8 misc: Improve UEFI linker scripts 2023-09-09 15:57:38 -05:00
mintsuki
50b8ab2c26 rv64: Misc relaxation related fixes 2023-08-01 05:32:05 -05:00
mintsuki
bc1896c5bb riscv64: Do not use global pointer register 2023-07-26 17:04:30 -05:00
mintsuki
666c5dfcd1 riscv64: Update location of __global_pointer$ 2023-06-06 00:17:07 +02:00
xvanc
9274ee656e Initial riscv64 port (#274)
* initial riscv64 port

* enable Paging Mode feature for all architectures

* riscv: add missing protocol docs

* riscv: fix tests

* docs: clarify `LIMINE_PAGING_MODE_DEFAULT` macro

* build: fix whitespace in common/GNUmakefile

* riscv: default to Sv48 paging when supported

* vmm: make `VMM_MAX_LEVEL` 1-indexed

* limine: do not call `reported_addr()` before finaling paging mode

smp/riscv: do not overwrite the argument passed to APs

* limine/riscv: update default paging mode in limine.h

* test/riscv: pad OVMF.fd when downloading it
2023-06-04 01:36:06 +02:00