1 # If you change this file, please also look at files which source this one:
2 # shlelf.sh, shelf_nbsd.sh
5 OUTPUT_FORMAT
="elf32-sh"
12 GENERATE_SHLIB_SCRIPT
=yes
14 # These are for compatibility with the COFF toolchain.
16 CTOR_START
='___ctors = .;'
17 CTOR_END
='___ctors_end = .;'
18 DTOR_START
='___dtors = .;'
19 DTOR_END
='___dtors_end = .;'
20 STACK_ADDR
="(DEFINED(_stack) ? _stack : 0x3FFFFF00)"
21 STACK_SENTINEL
="LONG(0xdeaddead)"
22 # We do not need .stack for shared library.
23 test -n "$CREATE_SHLIB" && unset STACK_ADDR