diff options
author | Thomas Martitz <kugel@rockbox.org> | 2010-03-08 23:16:57 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2010-03-08 23:16:57 +0000 |
commit | 02660557ad20726378d99c3d92baf4983f82c265 (patch) | |
tree | 39a916ed796c1202cd0cd08830254e66d25ab2ef /firmware/target/arm/sandisk/boot.lds | |
parent | 6b988afed221627e29fb01f7c90fa740537995b6 (diff) | |
download | rockbox-02660557ad20726378d99c3d92baf4983f82c265.tar.gz rockbox-02660557ad20726378d99c3d92baf4983f82c265.zip |
Fix a bunch of boot.lds files so that they build with newer ld. The stack/bss sections need NOLOAD. otherwise the linker would try to include those into the binary. I don't know why this ever worked with our current ld version.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25078 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/sandisk/boot.lds')
-rw-r--r-- | firmware/target/arm/sandisk/boot.lds | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/sandisk/boot.lds b/firmware/target/arm/sandisk/boot.lds index 622695f5b6..c0621b8abf 100644 --- a/firmware/target/arm/sandisk/boot.lds +++ b/firmware/target/arm/sandisk/boot.lds | |||
@@ -51,7 +51,7 @@ SECTIONS | |||
51 | _dataend = . ; | 51 | _dataend = . ; |
52 | } > IRAM | 52 | } > IRAM |
53 | 53 | ||
54 | .stack : { | 54 | .stack (NOLOAD) : { |
55 | *(.stack) | 55 | *(.stack) |
56 | _stackbegin = .; | 56 | _stackbegin = .; |
57 | stackbegin = .; | 57 | stackbegin = .; |
@@ -64,7 +64,7 @@ SECTIONS | |||
64 | DRAM */ | 64 | DRAM */ |
65 | 65 | ||
66 | . = DRAMORIG; | 66 | . = DRAMORIG; |
67 | .bss . + (16*1024*1024) : { | 67 | .bss . + (16*1024*1024) (NOLOAD) : { |
68 | _edata = .; | 68 | _edata = .; |
69 | *(.bss*); | 69 | *(.bss*); |
70 | *(.ibss); | 70 | *(.ibss); |