diff options
Diffstat (limited to 'Source/Library/App.ld')
-rw-r--r-- | Source/Library/App.ld | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/Source/Library/App.ld b/Source/Library/App.ld new file mode 100644 index 0000000..68591fd --- /dev/null +++ b/Source/Library/App.ld @@ -0,0 +1,33 @@ +ENTRY (start) +INPUT (Melon.o) + +SECTIONS{ + . = 0x10000000; + + .text : { + *(.text) + } + + .rodata ALIGN (0x1000) :{ + *(.rodata) + } + + .data ALIGN (0x1000) : { + start_ctors = .; + *(.ctor*) + end_ctors = .; + start_dtors = .; + *(.dtor*) + end_dtors = .; + *(.data) + } + + .bss : { + sbss = .; + *(COMMON) + *(.bss) + ebss = .; + } + + end = .; _end = .; __end = .; +} |