mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-21 01:12:32 +08:00
18a1a992e0
basever_syms to global_syms. Emit global_syms into .dynamic section for all executables and shared objects. (elf_solaris2_after_allocation): New function. (LDEMUL_AFTER_ALLOCATION): Use it. * emulparams/solaris2.sh: New file. * emulparams/elf32_sparc_sol2.sh: Use it. * emulparams/elf64_sparc_sol2.sh: Likewise. * emulparams/elf_i386_sol2.sh: Likewise. * emulparams/elf_x86_64_sol2.sh: Likewise. * Makefile.am (eelf32_sparc_sol2.c): Depend on $(srcdir)/emulparams/solaris2.sh. (eelf64_sparc_sol2.c): Likewise. (eelf_x86_64_sol2.c): Likewise. (eelf_i386_sol2.c): Likewise. * Makefile.in: Regenerate.
11 lines
421 B
Bash
11 lines
421 B
Bash
# If you change this file, please also look at files which source this one:
|
|
# elf32_sparc_sol2.sh, elf64_sparc_sol2.sh, elf_i386_sol2.sh,
|
|
# elf_x86_64_sol2.sh.
|
|
|
|
# The Solaris 2 ABI requires that two local symbols are present in every
|
|
# executable and shared object.
|
|
# Cf. Linker and Libraries Guide, Ch. 2, Link-Editor, Generating the Output
|
|
# File, p.63.
|
|
TEXT_START_SYMBOLS='_START_ = .;'
|
|
OTHER_END_SYMBOLS='_END_ = .;'
|