cf3d7a74f6
git-subtree-dir: bootstrap git-subtree-mainline:16e0cb79b9git-subtree-split:6898d8b14c
47 lines
792 B
Plaintext
47 lines
792 B
Plaintext
ENTRY(_start)
|
|
OUTPUT_FORMAT(elf32-i386)
|
|
|
|
SECTIONS {
|
|
. = 4096 + 4096; /* Reserved for the null page and the initfs header prepended by redox-initfs-ar */
|
|
__initfs_header = . - 4096;
|
|
. += SIZEOF_HEADERS;
|
|
. = ALIGN(4096);
|
|
|
|
.text : {
|
|
__text_start = .;
|
|
*(.text*)
|
|
. = ALIGN(4096);
|
|
__text_end = .;
|
|
}
|
|
.rodata : {
|
|
__rodata_start = .;
|
|
*(.rodata*)
|
|
. = ALIGN(4096);
|
|
__rodata_end = .;
|
|
}
|
|
.data : {
|
|
__data_start = .;
|
|
*(.data*)
|
|
. = ALIGN(4096);
|
|
__data_end = .;
|
|
|
|
*(.tbss*)
|
|
. = ALIGN(4096);
|
|
*(.tdata*)
|
|
. = ALIGN(4096);
|
|
|
|
__bss_start = .;
|
|
*(.bss*)
|
|
. = ALIGN(4096);
|
|
__bss_end = .;
|
|
}
|
|
|
|
/DISCARD/ : {
|
|
*(.comment*)
|
|
*(.eh_frame*)
|
|
*(.gcc_except_table*)
|
|
*(.note*)
|
|
*(.rel.eh_frame*)
|
|
}
|
|
}
|