diff options
| author | Nakst <djnakst2@gmail.com> | 2017-11-26 11:03:11 +0000 |
|---|---|---|
| committer | Nakst <djnakst2@gmail.com> | 2017-11-26 11:03:11 +0000 |
| commit | b0d3fbba4761aff3dfc3bcded3da7000699a7766 (patch) | |
| tree | 0e01e8d853324dad51addbd416c1fe8156c097a3 /core/sys | |
| parent | adb6c7637e8748b19e550e45cba42d1155657249 (diff) | |
essence cross compile
Diffstat (limited to 'core/sys')
| -rw-r--r-- | core/sys/essence_linker_userland64.ld | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/core/sys/essence_linker_userland64.ld b/core/sys/essence_linker_userland64.ld new file mode 100644 index 000000000..5f6d92791 --- /dev/null +++ b/core/sys/essence_linker_userland64.ld @@ -0,0 +1,24 @@ +ENTRY(_start) + +SECTIONS +{ + . = 0x100000; + .text BLOCK(4K) : ALIGN(4K) + { + *(.text) + } + .rodata BLOCK(4K) : ALIGN(4K) + { + *(.rodata) + } + .data BLOCK(4K) : ALIGN(4K) + { + *(.data) + } + + .bss BLOCK(4K) : ALIGN(4K) + { + *(COMMON) + *(.bss) + } +} |