From 6a52d123672b7a00af6e22b4c138205be2042a94 Mon Sep 17 00:00:00 2001 From: Alexis211 Date: Sat, 6 Feb 2010 20:51:56 +0100 Subject: Reorganisation --- src/library/link.ld | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/library/link.ld (limited to 'src/library/link.ld') diff --git a/src/library/link.ld b/src/library/link.ld new file mode 100644 index 0000000..17c944a --- /dev/null +++ b/src/library/link.ld @@ -0,0 +1,27 @@ +ENTRY (start) +INPUT (grapes.o) + +SECTIONS{ + . = 0x10000000; + + .text : { + *(.text) + } + + .rodata ALIGN (0x1000) :{ + *(.rodata) + } + + .data ALIGN (0x1000) : { + *(.data) + } + + .bss : { + sbss = .; + *(COMMON) + *(.bss) + ebss = .; + } + + end = .; _end = .; __end = .; +} -- cgit v1.2.3