| 1 | # If you change this file, please also look at files which source this one: |
| 2 | # elf32_sparc_sol2.sh, elf64_sparc_sol2.sh, elf_i386_sol2.sh, |
| 3 | # elf_x86_64_sol2.sh. |
| 4 | |
| 5 | # The Solaris 2 ABI requires that two local symbols are present in every |
| 6 | # executable and shared object. |
| 7 | # Cf. Linker and Libraries Guide, Ch. 2, Link-Editor, Generating the Output |
| 8 | # File, p.63. |
| 9 | TEXT_START_SYMBOLS='_START_ = .;' |
| 10 | OTHER_END_SYMBOLS='_END_ = .;' |
| 11 | # Beginning with Solaris 11.x and Solaris 12, there's PIE support. |
| 12 | GENERATE_PIE_SCRIPT=yes |