2008-01-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
[binutils.git] / ld / emulparams / ppclynx.sh
blob42039082a2c1cb397cec48dcc4034f03dce42f86
1 SCRIPT_NAME=elf
2 OUTPUT_FORMAT="elf32-powerpc"
3 TEXT_BASE=0x00002000
4 DYN_TEXT_BASE=0x00400000
5 TEXT_START_ADDR="(DEFINED(_DYNAMIC) ? ${DYN_TEXT_BASE} : ${TEXT_BASE})"
6 MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
7 case ${LD_FLAG} in
8 n|N) TEXT_START_ADDR=0x1000 ;;
9 esac
10 ARCH=powerpc
11 MACHINE=
12 TEMPLATE_NAME=elf32
13 GENERATE_SHLIB_SCRIPT=yes
14 ELF_INTERPRETER_NAME=\"/usr/lib/ld.so.1\"
16 # Leave room of SIZEOF_HEADERS before text.
17 EMBEDDED=
18 # PLT on PowerPC is generated at run-time.
19 BSS_PLT=
20 OTHER_READWRITE_SECTIONS="
21 .got1 ${RELOCATING-0} : { *(.got1) }
22 .got2 ${RELOCATING-0} : { *(.got2) }"