| 1 | TEXT_START_ADDR=0x8000 |
| 2 | SHLIB_TEXT_START_ADDR=0x8000 |
| 3 | SHLIB_DATA_ADDR=0x400000 |
| 4 | |
| 5 | . ${srcdir}/emulparams/shelf.sh |
| 6 | |
| 7 | # Use only two underscores for the constructor/destructor symbols |
| 8 | CTOR_START='__ctors = .;' |
| 9 | CTOR_END='__ctors_end = .;' |
| 10 | DTOR_START='__dtors = .;' |
| 11 | DTOR_END='__dtors_end = .;' |
| 12 | |
| 13 | # Suppress the .stack section. |
| 14 | unset STACK_ADDR |
| 15 | OTHER_SYMBOLS="PROVIDE (_stack = 0x30000);" |
| 16 | test -n "$CREATE_SHLIB" && unset OTHER_SYMBOLS |
| 17 | |
| 18 | OUTPUT_FORMAT="elf32-shl-symbian" |
| 19 | SCRIPT_NAME=elf32sh-symbian |