2026-05-12 23:01:40 +02:00
|
|
|
/* linker.ld */
|
|
|
|
|
ENTRY(main)
|
|
|
|
|
|
|
|
|
|
SECTIONS
|
|
|
|
|
{
|
|
|
|
|
. = 0x1000; /* 0x1000 to avoid warnings from linker */
|
2026-05-13 07:31:01 +02:00
|
|
|
/* Place our custom header first */
|
|
|
|
|
.shell_code :
|
2026-05-12 23:01:40 +02:00
|
|
|
{
|
|
|
|
|
*(.entry_point)
|
|
|
|
|
*(.text)
|
|
|
|
|
*(.text.*)
|
2026-05-13 07:31:01 +02:00
|
|
|
*(.data*)
|
2026-05-12 23:01:40 +02:00
|
|
|
*(.rodata*)
|
|
|
|
|
*(.bss)
|
|
|
|
|
*(.bss.*)
|
|
|
|
|
}
|
2026-05-13 07:31:01 +02:00
|
|
|
}
|