33 lines
587 B
Plaintext
33 lines
587 B
Plaintext
|
OUTPUT_FORMAT(elf32-i386)
|
||
|
ENTRY (start)
|
||
|
|
||
|
SECTIONS{
|
||
|
. = 0x00100000;
|
||
|
|
||
|
.text :{
|
||
|
code = .; _code = .; __code = .;
|
||
|
*(.text)
|
||
|
*(.rodata)
|
||
|
}
|
||
|
|
||
|
.rodata ALIGN (0x1000) : {
|
||
|
*(.rodata)
|
||
|
}
|
||
|
|
||
|
.data ALIGN (0x1000) : {
|
||
|
data = .; _data = .; __data = .;
|
||
|
*(.data)
|
||
|
start_ctors = .; *(.ctors) end_ctors = .;
|
||
|
start_dtors = .; *(.dtors) end_dtors = .;
|
||
|
}
|
||
|
|
||
|
.bss : {
|
||
|
sbss = .;
|
||
|
bss = .; _bss = .; __bss = .;
|
||
|
*(COMMON)
|
||
|
*(.bss)
|
||
|
ebss = .;
|
||
|
}
|
||
|
end = .; _end = .; __end = .;
|
||
|
}
|