ENTRY(_start) STACK_SIZE = 1024 * 1024 * 4; SECTIONS { . = 0x8000; __start = .; .text : { __text_start = .; KEEP(*(.text.boot)) *(.text) *(.text.*) __text_end = .; } .rodata : { . = ALIGN(8); __rodata_start = .; *(.rodata) *(.rodata.*) __rodata_end = .; } .data : { . = ALIGN(8); __data_start = .; *(.data) *(.data.*) __data_end = .; } .bss (NOLOAD) : { . = ALIGN(8); __bss_start = .; *(.bss) *(.bss.*) *(COMMON) __bss_end = .; } .stack (NOLOAD) : { . = ALIGN(8); __stack_start = .; . = . + STACK_SIZE; __stack_end = .; } . = ALIGN(8); __end = .; }