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