Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- OUTPUT_FORMAT(elf64-x86-64)
- phys = 0x5000;
- SECTIONS
- {
- .text phys : AT(phys) {
- code = .;
- *(.text)
- *(.rodata)
- . = ALIGN(4096);
- }
- .data : AT(phys + (data - code))
- {
- data = .;
- *(.data)
- . = ALIGN(4096);
- }
- .bss : AT(phys + (bss - code)) {
- bss = .;
- *(.bss)
- . = ALIGN(4096);
- }
- end = .;
- /DISCARD/ : {
- *(.comment)
- *(.eh_frame)
- *(.note.gnu.build-id)
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement