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/tatung | |
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/tatung')
-rw-r--r-- | firmware/target/arm/tatung/boot.lds | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/tatung/boot.lds b/firmware/target/arm/tatung/boot.lds index d59f117e39..e8d1ff31bc 100644 --- a/firmware/target/arm/tatung/boot.lds +++ b/firmware/target/arm/tatung/boot.lds | |||
@@ -40,7 +40,7 @@ SECTIONS | |||
40 | _dataend = . ; | 40 | _dataend = . ; |
41 | } > IRAM | 41 | } > IRAM |
42 | 42 | ||
43 | .stack : { | 43 | .stack (NOLOAD) : { |
44 | *(.stack) | 44 | *(.stack) |
45 | _stackbegin = .; | 45 | _stackbegin = .; |
46 | stackbegin = .; | 46 | stackbegin = .; |
@@ -53,7 +53,7 @@ SECTIONS | |||
53 | DRAM */ | 53 | DRAM */ |
54 | 54 | ||
55 | . = DRAMORIG; | 55 | . = DRAMORIG; |
56 | .bss . + (16*1024*1024): { | 56 | .bss . + (16*1024*1024) (NOLOAD) : { |
57 | _edata = .; | 57 | _edata = .; |
58 | *(.bss*); | 58 | *(.bss*); |
59 | *(.ibss); | 59 | *(.ibss); |