C userspace programs
This commit is contained in:
@ -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 = .;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user