diff options
author | Alexis211 <alexis211@gmail.com> | 2009-12-18 16:27:29 +0100 |
---|---|---|
committer | Alexis211 <alexis211@gmail.com> | 2009-12-18 16:27:29 +0100 |
commit | 437e65ecbdedd07105254b1b5e6a41d191a794a3 (patch) | |
tree | 5c48afbd76c5cfc4c1297fc18acb0bc71cd502b3 /Source/Library/Link.ld | |
parent | 260347c06637f15ea93c6ad99bce4420a28bae6b (diff) | |
download | Melon-437e65ecbdedd07105254b1b5e6a41d191a794a3.tar.gz Melon-437e65ecbdedd07105254b1b5e6a41d191a794a3.zip |
Revert "[nonworking commit] Started porting newlib"
This reverts commit d04645198d648a17ccb83e70aa5e6d60a06121aa.
Diffstat (limited to 'Source/Library/Link.ld')
-rw-r--r-- | Source/Library/Link.ld | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/Source/Library/Link.ld b/Source/Library/Link.ld new file mode 100644 index 0000000..68591fd --- /dev/null +++ b/Source/Library/Link.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 = .; +} |