summaryrefslogtreecommitdiff
path: root/src/arch/armv7/bootblock.lds
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/armv7/bootblock.lds')
-rw-r--r--src/arch/armv7/bootblock.lds7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/arch/armv7/bootblock.lds b/src/arch/armv7/bootblock.lds
index 837039653b..f16e72b858 100644
--- a/src/arch/armv7/bootblock.lds
+++ b/src/arch/armv7/bootblock.lds
@@ -22,6 +22,11 @@
OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
OUTPUT_ARCH(arm)
+PHDRS
+{
+ to_load PT_LOAD;
+}
+
TARGET(binary)
SECTIONS
{
@@ -39,7 +44,7 @@ SECTIONS
*(.rom.data.*);
*(.rodata.*);
_erom = .;
- } = 0xff
+ } : to_load = 0xff
/DISCARD/ : {
*(.comment)