summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/ppc/boards/pcm030/barebox.lds.S26
1 files changed, 15 insertions, 11 deletions
diff --git a/arch/ppc/boards/pcm030/barebox.lds.S b/arch/ppc/boards/pcm030/barebox.lds.S
index 20ac0d8a06..1332ad1cbd 100644
--- a/arch/ppc/boards/pcm030/barebox.lds.S
+++ b/arch/ppc/boards/pcm030/barebox.lds.S
@@ -26,7 +26,21 @@ SECTIONS
{
. = TEXT_BASE;
+ .text :
+ {
+ _text = .;
+ _stext = .;
+ arch/ppc/mach-mpc5xxx/start.o (.text)
+ *(.text*)
+ *(.got1*)
+ . = ALIGN(16);
+ *(.rodata*)
+ *(.rodata1*)
+ *(.rodata.str1.4)
+ }
+
/* Read-only sections, merged into text segment: */
+/*
.interp : { *(.interp) }
.hash : { *(.hash) }
.dynsym : { *(.dynsym) }
@@ -50,20 +64,10 @@ SECTIONS
.init : { *(.init) }
.plt : { *(.plt) }
.text :
- {
- _text = .;
- _stext = .;
- arch/ppc/mach-mpc5xxx/start.o (.text)
- *(.text*)
- *(.got1*)
- . = ALIGN(16);
- *(.rodata*)
- *(.rodata1*)
- *(.rodata.str1.4)
- }
.fini : { *(.fini) } =0
.ctors : { *(.ctors) }
.dtors : { *(.dtors) }
+*/
/* Read-write section, merged into data segment: */
. = (. + 0x0FFF) & 0xFFFFF000;