C userspace programs

This commit is contained in:
2025-09-04 23:20:30 +02:00
parent afa4d383e0
commit 90266f044b
51 changed files with 259 additions and 174 deletions

View File

@ -1,17 +1,17 @@
ENTRY(_start)
SECTIONS {
. = 0x0000000000000000;
.rodata ALIGN(4K):
{
*(.rodata .rodata.*)
}
/* . = 0x0000000000000000; */
.text ALIGN(4K):
{
*(.text .text.*)
}
.rodata (READONLY): ALIGN(4K)
{
*(.rodata .rodata.*)
}
.data ALIGN(4K):
{
@ -20,6 +20,8 @@ SECTIONS {
.bss ALIGN(4K):
{
_bss_start = .;
*(.bss .bss.*)
_bss_end = .;
}
}