mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-12-04 10:24:13 +00:00
827a1c67ae
OTHER_END_SYMBOLS. * emulparams/armelf_linux.sh: Likewise. * emulparams/armnto.sh: Likewise. * emulparams/criself.sh: Likewise. * emulparams/elf32mcore.sh: Likewise. * emulparams/criself.sh (OTHER_SYMBOLS): Define. * emulparams/crislinux.sh (OTHER_SYMBOLS): Define. (OTHER_END_SYMBOLS): Don't define. * emulparams/elf32fr30.sh: Likewise. * emulparams/elf64mmix.sh: Likewise. * emulparams/hppa64linux.sh: Likewise. * emulparams/m32relf.sh: Likewise. * emulparams/vxworks.sh: Likewise. * scripttempl/armbpabi.sc (OTHER_BSS_SECTIONS): Delete. (OTHER_BSS_END_SYMBOLS): Add. (OTHER_END_SYMBOLS): Move before current end sym definitions. (OTHER_SYMBOLS): Replace OTHER_END_SYMBOLS near end of script. * scripttempl/elf.sc: Likewise. * scripttempl/elf32sh-symbian.sc: Likewise. * scripttempl/elf_chaos.sc: Likewise. * scripttempl/elfxtensa.sc: Likewise. * scripttempl/iq2000.sc: Likewise. * scripttempl/xstormy16.sc: Likewise. * scripttempl/elf.sc (LBSS, LARGE_SECTIONS): Delete. (REL_LDATA, REL_LBSS, REL_LRODATA): Delete. (REL_LARGE, LARGE_SECTIONS): Add. * emulparams/elf_x86_64.sh (LARGE_SECTIONS): Define as script text. (REL_LARGE): Define. * emulparams/hppa64linux.sh (OTHER_BSS_SECTIONS): Don't define. (LARGE_SECTIONS): Define. * emulparams/hppa64linux.sh (OTHER_BSS_SECTIONS): Don't define. (LARGE_SECTIONS): Define.
26 lines
1.1 KiB
Bash
26 lines
1.1 KiB
Bash
# If you change this file, please also look at files which source this one:
|
|
# elf_i386_vxworks.sh elf32ppcvxworks.sh elf32ebmipvxworks.sh
|
|
|
|
# The Diab tools use a different init/fini convention. Initialization code
|
|
# is place in sections named ".init$NN". These sections are then concatenated
|
|
# into the .init section. It is important that .init$00 be first and .init$99
|
|
# be last. The other sections should be sorted, but the current linker script
|
|
# parse does not seem to allow that with the SORT keyword in this context.
|
|
INIT_START='_init = .;
|
|
KEEP (*(.init$00));
|
|
KEEP (*(.init$0[1-9]));
|
|
KEEP (*(.init$[1-8][0-9]));
|
|
KEEP (*(.init$9[0-8]));'
|
|
INIT_END='KEEP (*(.init$99));'
|
|
FINI_START='_fini = .;
|
|
KEEP (*(.fini$00));
|
|
KEEP (*(.fini$0[1-9]));
|
|
KEEP (*(.fini$[1-8][0-9]));
|
|
KEEP (*(.fini$9[0-8]));'
|
|
FINI_END='KEEP (*(.fini$99));
|
|
PROVIDE (_etext = .);'
|
|
|
|
ETEXT_NAME=etext_unrelocated
|
|
OTHER_SYMBOLS="PROVIDE (_ehdr = ${TEXT_START_ADDR});"
|
|
DATA_END_SYMBOLS=".edata : { PROVIDE (_edata = .); }"
|