Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/ld/emulparams/solaris2.sh
2023-03-06 14:48:14 +01:00

13 lines
512 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_ = .;'
# Beginning with Solaris 11.x and Solaris 12, there's PIE support.
GENERATE_PIE_SCRIPT=yes