summaryrefslogtreecommitdiff
path: root/board/freescale/mpc8541cds/u-boot.lds
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2008-08-11 06:43:38 +0200
committerStefan Roese <sr@denx.de>2008-08-11 06:43:38 +0200
commit81c4dc39797e88ebbde14bb4b711f9588f197680 (patch)
tree1d518f2187cc027a86e4b7c38739f02a23ea871b /board/freescale/mpc8541cds/u-boot.lds
parenteab1007334b93a6209f1ec33615e26ef5311ede7 (diff)
parente84d568fa2a9f4ce7888141e71676368ef6b3f25 (diff)
downloadu-boot-imx-81c4dc39797e88ebbde14bb4b711f9588f197680.zip
u-boot-imx-81c4dc39797e88ebbde14bb4b711f9588f197680.tar.gz
u-boot-imx-81c4dc39797e88ebbde14bb4b711f9588f197680.tar.bz2
Merge branch 'master' of /home/stefan/git/u-boot/u-boot
Diffstat (limited to 'board/freescale/mpc8541cds/u-boot.lds')
-rw-r--r--board/freescale/mpc8541cds/u-boot.lds16
1 files changed, 11 insertions, 5 deletions
diff --git a/board/freescale/mpc8541cds/u-boot.lds b/board/freescale/mpc8541cds/u-boot.lds
index 1c583de..d728d8b 100644
--- a/board/freescale/mpc8541cds/u-boot.lds
+++ b/board/freescale/mpc8541cds/u-boot.lds
@@ -23,6 +23,12 @@
OUTPUT_ARCH(powerpc)
/* Do we need any of these for elf?
__DYNAMIC = 0; */
+PHDRS
+{
+ text PT_LOAD;
+ bss PT_LOAD;
+}
+
SECTIONS
{
/* Read-only sections, merged into text segment: */
@@ -54,7 +60,7 @@ SECTIONS
*(.text)
*(.fixup)
*(.got1)
- }
+ } :text
_etext = .;
PROVIDE (etext = .);
.rodata :
@@ -63,7 +69,7 @@ SECTIONS
*(.rodata1)
*(.rodata.str1.4)
*(.eh_frame)
- }
+ } :text
.fini : { *(.fini) } =0
.ctors : { *(.ctors) }
.dtors : { *(.dtors) }
@@ -115,12 +121,12 @@ SECTIONS
.bootpg ADDR(.text) + 0x7f000 :
{
cpu/mpc85xx/start.o (.bootpg)
- } = 0xffff
+ } :text = 0xffff
.resetvec ADDR(.text) + 0x7fffc :
{
*(.resetvec)
- } = 0xffff
+ } :text = 0xffff
. = ADDR(.text) + 0x80000;
@@ -131,7 +137,7 @@ SECTIONS
*(.dynbss)
*(.bss)
*(COMMON)
- }
+ } :bss
. = ALIGN(4);
_end = . ;