ld/
[deliverable/binutils-gdb.git] / ld / emulparams / vxworks.sh
CommitLineData
eac338cf
PB
1# If you change this file, please also look at files which source this one:
2# elf_i386_vxworks.sh elf32ppcvxworks.sh elf32ebmipvxworks.sh
3
4# The Diab tools use a different init/fini convention. Initialization code
5# is place in sections named ".init$NN". These sections are then concatenated
6# into the .init section. It is important that .init$00 be first and .init$99
7# be last. The other sections should be sorted, but the current linker script
8# parse does not seem to allow that with the SORT keyword in this context.
9INIT_START='_init = .;
10 KEEP (*(.init$00));
11 KEEP (*(.init$0[1-9]));
12 KEEP (*(.init$[1-8][0-9]));
13 KEEP (*(.init$9[0-8]));'
14INIT_END='KEEP (*(.init$99));'
15FINI_START='_fini = .;
16 KEEP (*(.fini$00));
17 KEEP (*(.fini$0[1-9]));
18 KEEP (*(.fini$[1-8][0-9]));
19 KEEP (*(.fini$9[0-8]));'
20FINI_END='KEEP (*(.fini$99));
21 PROVIDE (_etext = .);'
22
23ETEXT_NAME=etext_unrelocated
827a1c67 24OTHER_SYMBOLS="PROVIDE (_ehdr = ${TEXT_START_ADDR});"
eac338cf 25DATA_END_SYMBOLS=".edata : { PROVIDE (_edata = .); }"
4f471f39
RS
26VXWORKS_BASE_EM_FILE=$EXTRA_EM_FILE
27EXTRA_EM_FILE=vxworks
This page took 0.058121 seconds and 4 git commands to generate.