summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Kukla <roolku@rockbox.org>2008-04-07 18:24:23 +0000
committerRobert Kukla <roolku@rockbox.org>2008-04-07 18:24:23 +0000
commitfeb3b588e3c31401ed0f4f3601473a5be5b177c6 (patch)
treeea06962bfee2b2ff9b82a4403ebac94d28796b96
parent0840e1bf0bb33b0f2914a304c6066eccd07a3947 (diff)
explicitly align the ibss section by adjusting _iramend - fixes hang on m:robe (and potential problem on other arm targets)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17024 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/target/arm/imx31/app.lds1
-rw-r--r--firmware/target/arm/ipod/app.lds1
-rw-r--r--firmware/target/arm/iriver/app.lds1
-rw-r--r--firmware/target/arm/olympus/app.lds1
-rw-r--r--firmware/target/arm/pnx0101/app.lds1
-rw-r--r--firmware/target/arm/s3c2440/app.lds1
-rw-r--r--firmware/target/arm/sandisk/app.lds1
-rw-r--r--firmware/target/arm/tms320dm320/app.lds2
8 files changed, 8 insertions, 1 deletions
diff --git a/firmware/target/arm/imx31/app.lds b/firmware/target/arm/imx31/app.lds
index fda508dc50..d814a976be 100644
--- a/firmware/target/arm/imx31/app.lds
+++ b/firmware/target/arm/imx31/app.lds
@@ -93,6 +93,7 @@ SECTIONS
*(.icode)
*(.irodata)
*(.idata)
+ . = ALIGN(0x4);
_iramend = .;
} > DRAM
diff --git a/firmware/target/arm/ipod/app.lds b/firmware/target/arm/ipod/app.lds
index 54af494d72..bf5eae0515 100644
--- a/firmware/target/arm/ipod/app.lds
+++ b/firmware/target/arm/ipod/app.lds
@@ -110,6 +110,7 @@ SECTIONS
*(.icode)
*(.irodata)
*(.idata)
+ . = ALIGN(0x4);
_iramend = .;
} > IRAM AT> DRAM
diff --git a/firmware/target/arm/iriver/app.lds b/firmware/target/arm/iriver/app.lds
index 54af494d72..bf5eae0515 100644
--- a/firmware/target/arm/iriver/app.lds
+++ b/firmware/target/arm/iriver/app.lds
@@ -110,6 +110,7 @@ SECTIONS
*(.icode)
*(.irodata)
*(.idata)
+ . = ALIGN(0x4);
_iramend = .;
} > IRAM AT> DRAM
diff --git a/firmware/target/arm/olympus/app.lds b/firmware/target/arm/olympus/app.lds
index 54af494d72..bf5eae0515 100644
--- a/firmware/target/arm/olympus/app.lds
+++ b/firmware/target/arm/olympus/app.lds
@@ -110,6 +110,7 @@ SECTIONS
*(.icode)
*(.irodata)
*(.idata)
+ . = ALIGN(0x4);
_iramend = .;
} > IRAM AT> DRAM
diff --git a/firmware/target/arm/pnx0101/app.lds b/firmware/target/arm/pnx0101/app.lds
index 28ca53736d..20c8bd26a2 100644
--- a/firmware/target/arm/pnx0101/app.lds
+++ b/firmware/target/arm/pnx0101/app.lds
@@ -94,6 +94,7 @@ SECTIONS
*(.icode)
*(.irodata)
*(.idata)
+ . = ALIGN(0x4);
_iramend = .;
} > IRAM AT> DRAM
diff --git a/firmware/target/arm/s3c2440/app.lds b/firmware/target/arm/s3c2440/app.lds
index 3528ed86bf..86f37d5a29 100644
--- a/firmware/target/arm/s3c2440/app.lds
+++ b/firmware/target/arm/s3c2440/app.lds
@@ -91,6 +91,7 @@ SECTIONS
*(.icode)
*(.irodata)
*(.idata)
+ . = ALIGN(0x4);
_iramend = .;
} > DRAM
diff --git a/firmware/target/arm/sandisk/app.lds b/firmware/target/arm/sandisk/app.lds
index 54af494d72..bf5eae0515 100644
--- a/firmware/target/arm/sandisk/app.lds
+++ b/firmware/target/arm/sandisk/app.lds
@@ -110,6 +110,7 @@ SECTIONS
*(.icode)
*(.irodata)
*(.idata)
+ . = ALIGN(0x4);
_iramend = .;
} > IRAM AT> DRAM
diff --git a/firmware/target/arm/tms320dm320/app.lds b/firmware/target/arm/tms320dm320/app.lds
index 289e1bb218..ce2750235b 100644
--- a/firmware/target/arm/tms320dm320/app.lds
+++ b/firmware/target/arm/tms320dm320/app.lds
@@ -91,7 +91,7 @@ SECTIONS
*(.icode)
*(.irodata)
*(.idata)
- . = ALIGN(0x4);
+ . = ALIGN(0x4);
_iramend = .;
} > IRAM AT> DRAM