summaryrefslogtreecommitdiff
path: root/firmware/target
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2010-03-08 23:16:57 +0000
committerThomas Martitz <kugel@rockbox.org>2010-03-08 23:16:57 +0000
commit02660557ad20726378d99c3d92baf4983f82c265 (patch)
tree39a916ed796c1202cd0cd08830254e66d25ab2ef /firmware/target
parent6b988afed221627e29fb01f7c90fa740537995b6 (diff)
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')
-rw-r--r--firmware/target/arm/as3525/boot.lds4
-rw-r--r--firmware/target/arm/ipod/boot.lds4
-rw-r--r--firmware/target/arm/iriver/boot.lds4
-rw-r--r--firmware/target/arm/olympus/boot.lds4
-rw-r--r--firmware/target/arm/pbell/boot.lds4
-rw-r--r--firmware/target/arm/philips/boot.lds4
-rw-r--r--firmware/target/arm/s3c2440/boot.lds4
-rw-r--r--firmware/target/arm/s5l8700/boot.lds4
-rw-r--r--firmware/target/arm/samsung/boot.lds4
-rw-r--r--firmware/target/arm/sandisk/boot.lds4
-rw-r--r--firmware/target/arm/tatung/boot.lds4
-rw-r--r--firmware/target/arm/tcc77x/boot.lds4
-rw-r--r--firmware/target/arm/tcc780x/boot.lds4
13 files changed, 26 insertions, 26 deletions
diff --git a/firmware/target/arm/as3525/boot.lds b/firmware/target/arm/as3525/boot.lds
index dcc291b54f..502e90c22b 100644
--- a/firmware/target/arm/as3525/boot.lds
+++ b/firmware/target/arm/as3525/boot.lds
@@ -40,7 +40,7 @@ SECTIONS
_dataend = . ;
} > RAM
- .stack :
+ .stack (NOLOAD) :
{
*(.stack)
_stackbegin = .;
@@ -50,7 +50,7 @@ SECTIONS
stackend = .;
} > RAM
- .bss : {
+ .bss (NOLOAD) : {
_edata = .;
*(.bss*);
*(.ibss);
diff --git a/firmware/target/arm/ipod/boot.lds b/firmware/target/arm/ipod/boot.lds
index 974dcb102a..04843d0031 100644
--- a/firmware/target/arm/ipod/boot.lds
+++ b/firmware/target/arm/ipod/boot.lds
@@ -56,7 +56,7 @@ SECTIONS
_dataend = . ;
} > IRAM
- .stack : {
+ .stack (NOLOAD) : {
*(.stack)
_stackbegin = .;
stackbegin = .;
@@ -69,7 +69,7 @@ SECTIONS
DRAM */
. = DRAMORIG;
- .bss . + (16*1024*1024): {
+ .bss . + (16*1024*1024) (NOLOAD) : {
_edata = .;
*(.bss*);
*(.ibss);
diff --git a/firmware/target/arm/iriver/boot.lds b/firmware/target/arm/iriver/boot.lds
index ccc68c0916..10bde4e9d5 100644
--- a/firmware/target/arm/iriver/boot.lds
+++ b/firmware/target/arm/iriver/boot.lds
@@ -40,7 +40,7 @@ SECTIONS
_dataend = . ;
} > IRAM
- .stack : {
+ .stack (NOLOAD) : {
*(.stack)
_stackbegin = .;
stackbegin = .;
@@ -53,7 +53,7 @@ SECTIONS
DRAM */
. = DRAMORIG;
- .bss . + (16*1024*1024) : {
+ .bss . + (16*1024*1024) (NOLOAD) : {
_edata = .;
*(.bss*);
*(.ibss);
diff --git a/firmware/target/arm/olympus/boot.lds b/firmware/target/arm/olympus/boot.lds
index d59f117e39..e8d1ff31bc 100644
--- a/firmware/target/arm/olympus/boot.lds
+++ b/firmware/target/arm/olympus/boot.lds
@@ -40,7 +40,7 @@ SECTIONS
_dataend = . ;
} > IRAM
- .stack : {
+ .stack (NOLOAD) : {
*(.stack)
_stackbegin = .;
stackbegin = .;
@@ -53,7 +53,7 @@ SECTIONS
DRAM */
. = DRAMORIG;
- .bss . + (16*1024*1024): {
+ .bss . + (16*1024*1024) (NOLOAD) : {
_edata = .;
*(.bss*);
*(.ibss);
diff --git a/firmware/target/arm/pbell/boot.lds b/firmware/target/arm/pbell/boot.lds
index ccc68c0916..10bde4e9d5 100644
--- a/firmware/target/arm/pbell/boot.lds
+++ b/firmware/target/arm/pbell/boot.lds
@@ -40,7 +40,7 @@ SECTIONS
_dataend = . ;
} > IRAM
- .stack : {
+ .stack (NOLOAD) : {
*(.stack)
_stackbegin = .;
stackbegin = .;
@@ -53,7 +53,7 @@ SECTIONS
DRAM */
. = DRAMORIG;
- .bss . + (16*1024*1024) : {
+ .bss . + (16*1024*1024) (NOLOAD) : {
_edata = .;
*(.bss*);
*(.ibss);
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
_dataend = . ;
} > IRAM
- .stack : {
+ .stack (NOLOAD) : {
*(.stack)
_stackbegin = .;
stackbegin = .;
@@ -55,7 +55,7 @@ SECTIONS
DRAM */
. = DRAMORIG;
- .bss . + (16*1024*1024) : {
+ .bss . + (16*1024*1024) (NOLOAD) : {
_edata = .;
*(.bss*);
*(.ibss);
diff --git a/firmware/target/arm/s3c2440/boot.lds b/firmware/target/arm/s3c2440/boot.lds
index ac64ded1e2..731201fbb7 100644
--- a/firmware/target/arm/s3c2440/boot.lds
+++ b/firmware/target/arm/s3c2440/boot.lds
@@ -65,7 +65,7 @@ SECTIONS
_initdata_end =.;
- .stack :
+ .stack (NOLOAD) :
{
*(.stack)
stackbegin = .;
@@ -73,7 +73,7 @@ SECTIONS
stackend = .;
} > DRAM
- .bss :
+ .bss (NOLOAD) :
{
_edata = .;
*(.bss*)
diff --git a/firmware/target/arm/s5l8700/boot.lds b/firmware/target/arm/s5l8700/boot.lds
index 9ee7405a9f..4e3a1d4893 100644
--- a/firmware/target/arm/s5l8700/boot.lds
+++ b/firmware/target/arm/s5l8700/boot.lds
@@ -74,7 +74,7 @@ SECTIONS
} > IRAM AT> LOAD_AREA
_datacopy = LOADADDR(.data) ;
- .stack :
+ .stack (NOLOAD) :
{
*(.stack)
_stackbegin = .;
@@ -96,7 +96,7 @@ SECTIONS
DRAM */
. += (12*1024*1024);
#endif
- .bss : {
+ .bss : (NOLOAD) {
_edata = .;
*(.bss*);
*(.ibss);
diff --git a/firmware/target/arm/samsung/boot.lds b/firmware/target/arm/samsung/boot.lds
index ccc68c0916..10bde4e9d5 100644
--- a/firmware/target/arm/samsung/boot.lds
+++ b/firmware/target/arm/samsung/boot.lds
@@ -40,7 +40,7 @@ SECTIONS
_dataend = . ;
} > IRAM
- .stack : {
+ .stack (NOLOAD) : {
*(.stack)
_stackbegin = .;
stackbegin = .;
@@ -53,7 +53,7 @@ SECTIONS
DRAM */
. = DRAMORIG;
- .bss . + (16*1024*1024) : {
+ .bss . + (16*1024*1024) (NOLOAD) : {
_edata = .;
*(.bss*);
*(.ibss);
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
_dataend = . ;
} > IRAM
- .stack : {
+ .stack (NOLOAD) : {
*(.stack)
_stackbegin = .;
stackbegin = .;
@@ -64,7 +64,7 @@ SECTIONS
DRAM */
. = DRAMORIG;
- .bss . + (16*1024*1024) : {
+ .bss . + (16*1024*1024) (NOLOAD) : {
_edata = .;
*(.bss*);
*(.ibss);
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
_dataend = . ;
} > IRAM
- .stack : {
+ .stack (NOLOAD) : {
*(.stack)
_stackbegin = .;
stackbegin = .;
@@ -53,7 +53,7 @@ SECTIONS
DRAM */
. = DRAMORIG;
- .bss . + (16*1024*1024): {
+ .bss . + (16*1024*1024) (NOLOAD) : {
_edata = .;
*(.bss*);
*(.ibss);
diff --git a/firmware/target/arm/tcc77x/boot.lds b/firmware/target/arm/tcc77x/boot.lds
index 2fd6964d57..6303de0c34 100644
--- a/firmware/target/arm/tcc77x/boot.lds
+++ b/firmware/target/arm/tcc77x/boot.lds
@@ -43,7 +43,7 @@ SECTIONS
_dataend = . ;
} > DRAM
- .stack :
+ .stack (NOLOAD) :
{
*(.stack)
_stackbegin = .;
@@ -53,7 +53,7 @@ SECTIONS
stackend = .;
} > DRAM
- .bss : {
+ .bss (NOLOAD) : {
_edata = .;
*(.bss*);
*(.ibss);
diff --git a/firmware/target/arm/tcc780x/boot.lds b/firmware/target/arm/tcc780x/boot.lds
index ea4a562a35..82b4619819 100644
--- a/firmware/target/arm/tcc780x/boot.lds
+++ b/firmware/target/arm/tcc780x/boot.lds
@@ -43,7 +43,7 @@ SECTIONS
_dataend = . ;
} > DRAM
- .stack :
+ .stack (NOLOAD) :
{
*(.stack)
_stackbegin = .;
@@ -52,7 +52,7 @@ SECTIONS
_stackend = .;
stackend = .;
} > DRAM
- .bss : {
+ .bss (NOLOAD) : {
_edata = .;
*(.bss*);
*(.ibss);