Extending linker script

This commit is contained in:
Imbus 2025-06-26 02:57:05 +02:00
parent d90096e177
commit e101c0910f

17
link.ld
View file

@ -1,11 +1,26 @@
OUTPUT_ARCH(riscv)
ENTRY(_start)
SECTIONS {
. = 0x80000000;
.text : {
*(.text)
*(.text*)
} :text
.bss : {
*(.bss*)
*(COMMON)
}
.data : {
*(.data)
}
/DISCARD/ : {
*(.eh_frame)
*(.comment)
}
}
PHDRS {