|
@@ -1,5 +1,5 @@
|
|
/*
|
|
/*
|
|
- * (C) Copyright 2000
|
|
|
|
|
|
+ * (C) Copyright 2000-2010
|
|
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
*
|
|
*
|
|
* See file CREDITS for list of people who contributed to this
|
|
* See file CREDITS for list of people who contributed to this
|
|
@@ -22,65 +22,40 @@
|
|
*/
|
|
*/
|
|
|
|
|
|
OUTPUT_ARCH(powerpc)
|
|
OUTPUT_ARCH(powerpc)
|
|
-/* Do we need any of these for elf?
|
|
|
|
- __DYNAMIC = 0; */
|
|
|
|
|
|
+
|
|
SECTIONS
|
|
SECTIONS
|
|
{
|
|
{
|
|
/* Read-only sections, merged into text segment: */
|
|
/* Read-only sections, merged into text segment: */
|
|
. = + SIZEOF_HEADERS;
|
|
. = + SIZEOF_HEADERS;
|
|
- .interp : { *(.interp) }
|
|
|
|
- .hash : { *(.hash) }
|
|
|
|
- .dynsym : { *(.dynsym) }
|
|
|
|
- .dynstr : { *(.dynstr) }
|
|
|
|
- .rel.text : { *(.rel.text) }
|
|
|
|
- .rela.text : { *(.rela.text) }
|
|
|
|
- .rel.data : { *(.rel.data) }
|
|
|
|
- .rela.data : { *(.rela.data) }
|
|
|
|
- .rel.rodata : { *(.rel.rodata) }
|
|
|
|
- .rela.rodata : { *(.rela.rodata) }
|
|
|
|
- .rel.got : { *(.rel.got) }
|
|
|
|
- .rela.got : { *(.rela.got) }
|
|
|
|
- .rel.ctors : { *(.rel.ctors) }
|
|
|
|
- .rela.ctors : { *(.rela.ctors) }
|
|
|
|
- .rel.dtors : { *(.rel.dtors) }
|
|
|
|
- .rela.dtors : { *(.rela.dtors) }
|
|
|
|
- .rel.bss : { *(.rel.bss) }
|
|
|
|
- .rela.bss : { *(.rela.bss) }
|
|
|
|
- .rel.plt : { *(.rel.plt) }
|
|
|
|
- .rela.plt : { *(.rela.plt) }
|
|
|
|
- .init : { *(.init) }
|
|
|
|
- .plt : { *(.plt) }
|
|
|
|
.text :
|
|
.text :
|
|
{
|
|
{
|
|
/* WARNING - the following is hand-optimized to fit within */
|
|
/* WARNING - the following is hand-optimized to fit within */
|
|
/* the sector layout of our flash chips! XXX FIXME XXX */
|
|
/* the sector layout of our flash chips! XXX FIXME XXX */
|
|
-
|
|
|
|
- arch/powerpc/cpu/mpc8xx/start.o (.text)
|
|
|
|
- arch/powerpc/cpu/mpc8xx/traps.o (.text)
|
|
|
|
- common/dlmalloc.o (.text)
|
|
|
|
- arch/powerpc/lib/ppcstring.o (.text)
|
|
|
|
- lib/vsprintf.o (.text)
|
|
|
|
- lib/crc32.o (.text)
|
|
|
|
- lib/zlib.o (.text)
|
|
|
|
- arch/powerpc/lib/cache.o (.text)
|
|
|
|
- arch/powerpc/lib/time.o (.text)
|
|
|
|
|
|
+ arch/powerpc/cpu/mpc8xx/start.o (.text*)
|
|
|
|
+ arch/powerpc/cpu/mpc8xx/traps.o (.text*)
|
|
|
|
+ lib/libgeneric.o (.text*)
|
|
|
|
+ net/libnet.o (.text*)
|
|
|
|
+ arch/powerpc/cpu/mpc8xx/libmpc8xx.o (.text*)
|
|
|
|
+ arch/powerpc/lib/libpowerpc.o (.text*)
|
|
|
|
+ board/svm_sc8xx/libsvm_sc8xx.o (.text*)
|
|
|
|
+ *(.text.*printf)
|
|
|
|
+ *(.text.do_mem_*)
|
|
|
|
+ *(.text.flash*)
|
|
|
|
+ *(.text.run_command)
|
|
|
|
+ *(.text.main_loop)
|
|
|
|
+ *(.text.srec_decode)
|
|
|
|
|
|
. = env_offset;
|
|
. = env_offset;
|
|
- common/env_embedded.o (.ppcenv)
|
|
|
|
|
|
+ common/env_embedded.o (.ppcenv*)
|
|
|
|
|
|
- *(.text)
|
|
|
|
- *(.got1)
|
|
|
|
|
|
+ *(.text*)
|
|
}
|
|
}
|
|
_etext = .;
|
|
_etext = .;
|
|
PROVIDE (etext = .);
|
|
PROVIDE (etext = .);
|
|
.rodata :
|
|
.rodata :
|
|
{
|
|
{
|
|
- *(.eh_frame)
|
|
|
|
*(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
|
|
*(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
|
|
}
|
|
}
|
|
- .fini : { *(.fini) } =0
|
|
|
|
- .ctors : { *(.ctors) }
|
|
|
|
- .dtors : { *(.dtors) }
|
|
|
|
|
|
|
|
/* Read-write section, merged into data segment: */
|
|
/* Read-write section, merged into data segment: */
|
|
. = (. + 0x00FF) & 0xFFFFFF00;
|
|
. = (. + 0x00FF) & 0xFFFFFF00;
|
|
@@ -88,23 +63,19 @@ SECTIONS
|
|
PROVIDE (erotext = .);
|
|
PROVIDE (erotext = .);
|
|
.reloc :
|
|
.reloc :
|
|
{
|
|
{
|
|
- *(.got)
|
|
|
|
|
|
+ KEEP(*(.got))
|
|
_GOT2_TABLE_ = .;
|
|
_GOT2_TABLE_ = .;
|
|
- *(.got2)
|
|
|
|
|
|
+ KEEP(*(.got2))
|
|
_FIXUP_TABLE_ = .;
|
|
_FIXUP_TABLE_ = .;
|
|
- *(.fixup)
|
|
|
|
|
|
+ KEEP(*(.fixup))
|
|
}
|
|
}
|
|
__got2_entries = (_FIXUP_TABLE_ - _GOT2_TABLE_) >>2;
|
|
__got2_entries = (_FIXUP_TABLE_ - _GOT2_TABLE_) >>2;
|
|
__fixup_entries = (. - _FIXUP_TABLE_)>>2;
|
|
__fixup_entries = (. - _FIXUP_TABLE_)>>2;
|
|
|
|
|
|
.data :
|
|
.data :
|
|
{
|
|
{
|
|
- *(.data)
|
|
|
|
- *(.data1)
|
|
|
|
- *(.sdata)
|
|
|
|
- *(.sdata2)
|
|
|
|
- *(.dynamic)
|
|
|
|
- CONSTRUCTORS
|
|
|
|
|
|
+ *(.data*)
|
|
|
|
+ *(.sdata*)
|
|
}
|
|
}
|
|
_edata = .;
|
|
_edata = .;
|
|
PROVIDE (edata = .);
|
|
PROVIDE (edata = .);
|
|
@@ -131,9 +102,8 @@ SECTIONS
|
|
__bss_start = .;
|
|
__bss_start = .;
|
|
.bss (NOLOAD) :
|
|
.bss (NOLOAD) :
|
|
{
|
|
{
|
|
- *(.sbss) *(.scommon)
|
|
|
|
- *(.dynbss)
|
|
|
|
- *(.bss)
|
|
|
|
|
|
+ *(.bss*)
|
|
|
|
+ *(.sbss*)
|
|
*(COMMON)
|
|
*(COMMON)
|
|
. = ALIGN(4);
|
|
. = ALIGN(4);
|
|
}
|
|
}
|