Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ENTRY(_start)
- OUTPUT_FORMAT(elf32-i386)
- SECTIONS
- {
- . = 0x00100000;
- .text ALIGN(0x1000) :
- {
- *(.text)
- *(.text.*)
- *(.gnu.linkonce.t*)
- }
- .rodata ALIGN(0x1000) :
- {
- start_ctors = .;
- *(SORT(.ctors*))
- end_ctors = .;
- start_dtors = .;
- *(SORT(.dtors*))
- end_dtors = .;
- *(.rodata)
- *(.rodata.*)
- *(.gnu.linkonce.r*)
- }
- .data ALIGN(0x1000) :
- {
- *(.data)
- *(.data.*)
- *(.gnu.linkonce.d*)
- }
- .bss ALIGN(0x1000) :
- {
- start_bbs = .;
- *(COMMON)
- *(.bss)
- *(.bss.*)
- *(.gnu.linkonce.b*)
- end_bss = .;
- }
- /DISCARD/ :
- {
- *(.comment)
- *(.eh_frame)
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement