diff options
Diffstat (limited to 'toolchain.old/linker/akiba.binary.linker')
| -rw-r--r-- | toolchain.old/linker/akiba.binary.linker | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/toolchain.old/linker/akiba.binary.linker b/toolchain.old/linker/akiba.binary.linker new file mode 100644 index 0000000..7a5a72d --- /dev/null +++ b/toolchain.old/linker/akiba.binary.linker @@ -0,0 +1,35 @@ +OUTPUT_FORMAT(elf64-x86-64) +OUTPUT_ARCH(i386:x86-64) +ENTRY(_start) + +SECTIONS +{ + . = 0x20000000; /* Start at 512MB (above kernel identity-mapped region) */ + + .text : { + *(.text) + *(.text.*) + } + + .rodata : { + *(.rodata) + *(.rodata.*) + } + + .data : { + *(.data) + *(.data.*) + } + + .bss : { + *(.bss) + *(.bss.*) + *(COMMON) + } + + /DISCARD/ : { + *(.eh_frame) + *(.note.*) + *(.comment) + } +}
\ No newline at end of file |
