summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/ld/emulparams/shlsymbian.sh
blob: 9c6dfba7b33fdcbed7a00c72395ad6effc873e78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
TEXT_START_ADDR=0x8000
SHLIB_TEXT_START_ADDR=0x8000
SHLIB_DATA_ADDR=0x400000

. ${srcdir}/emulparams/shelf.sh

# Use only two underscores for the constructor/destructor symbols
CTOR_START='__ctors = .;'
CTOR_END='__ctors_end = .;'
DTOR_START='__dtors = .;'
DTOR_END='__dtors_end = .;'

# Suppress the .stack section.
test -z "$CREATE_SHLIB" && OTHER_SECTIONS="${RELOCATING+PROVIDE (_stack = 0x30000);}"

OUTPUT_FORMAT="elf32-shl-symbian"
SCRIPT_NAME=elf32sh-symbian