Multi-target: NEWS and user manual
[deliverable/binutils-gdb.git] / ld / emulparams / elf32ppcwindiss.sh
CommitLineData
c40e31a1 1source_sh ${srcdir}/emulparams/elf32ppc.sh
24acfe5e 2
94349e12 3EMBEDDED=yes
94349e12
MM
4
5# The data below is taken from the windiss.dld linker script that comes with
6# the Diab linker.
7TEXT_START_ADDR=0x100000
8DATA_START_SYMBOLS='__DATA_ROM = .; __DATA_RAM = .;'
9EXECUTABLE_SYMBOLS='__HEAP_START = .; __SP_INIT = 0x800000; __SP_END = __SP_INIT - 0x20000; __HEAP_END = __SP_END; __DATA_END = _edata; __BSS_START = __bss_start; __BSS_END = _end; __HEAP_START = _end;'
10
11# The Diab tools use a different init/fini convention. Initialization code
12# is place in sections named ".init$NN". These sections are then concatenated
13# into the .init section. It is important that .init$00 be first and .init$99
14# be last. The other sections should be sorted, but the current linker script
15# parse does not seem to allow that with the SORT keyword in this context.
16INIT_START='*(.init$00); *(.init$0[1-9]); *(.init$[1-8][0-9]); *(.init$9[0-8])'
17INIT_END='*(.init$99)'
18FINI_START='*(.fini$00); *(.fini$0[1-9]); *(.fini$[1-8][0-9]); *(.fini$9[0-8])'
19FINI_END='*(.fini$99)'
This page took 1.018069 seconds and 4 git commands to generate.