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