12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- ENTRY(entry)
- SECTIONS
- {
-
- .init : ALIGN(4096) {
- text_begin = .
- *(.init.entry)
- *(.init.*)
- } >image
- .text : {
- *(.text.*)
- } >image
- text_end = .
-
- .rodata : ALIGN(4096) {
- rodata_begin = .
- *(.rodata.*)
- } >image
- .got : {
- *(.got)
- } >image
- rodata_end = .
-
- .data : ALIGN(4096) {
- data_begin = .
- *(.data.*)
-
- . = ALIGN(32)
- data_end = .
- } >image
-
- bin_end = .
-
- .bss : ALIGN(16) {
- bss_begin = .
- *(.bss.*)
- *(COMMON)
- . = ALIGN(16)
- bss_end = .
- } >image
- .stack (NOLOAD) : ALIGN(4096) {
- boot_stack_begin = .
- . += 40 * 4096
- . = ALIGN(4096)
- boot_stack_end = .
- } >image
- . = ALIGN(4K)
-
- /DISCARD/ : {
-
- *(.gnu.hash)
- *(.hash)
- *(.interp)
- *(.eh_frame_hdr)
- *(.eh_frame)
- *(.note.gnu.build-id)
- }
- }
|