Accept mips-sgi-irix output in a few ld tests
[deliverable/binutils-gdb.git] / ld / emulparams / ppclynx.sh
index 5c5769ea79656d34599902e38f03cd7fb3268c09..a58b5b047fc847e5e4a948e4f56bdc56b2db3089 100644 (file)
@@ -1,20 +1,12 @@
-SCRIPT_NAME=elf
-OUTPUT_FORMAT="elf32-powerpc"
+source_sh ${srcdir}/emulparams/elf32ppc.sh
+
 TEXT_BASE=0x00002000
 DYN_TEXT_BASE=0x00400000
 TEXT_START_ADDR="(DEFINED(_DYNAMIC) ? ${DYN_TEXT_BASE} : ${TEXT_BASE})"
-MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
-NONPAGED_TEXT_START_ADDR=0x1000
-ARCH=powerpc
-MACHINE=
-TEMPLATE_NAME=elf32
-GENERATE_SHLIB_SCRIPT=yes
+case ${LD_FLAG} in
+    n|N)       TEXT_START_ADDR=0x1000 ;;
+esac
 ELF_INTERPRETER_NAME=\"/usr/lib/ld.so.1\"
 
 # Leave room of SIZEOF_HEADERS before text.
 EMBEDDED=
-# PLT on PowerPC is generated at run-time.
-BSS_PLT=
-OTHER_READWRITE_SECTIONS="
-  .got1         ${RELOCATING-0} : { *(.got1) }
-  .got2         ${RELOCATING-0} : { *(.got2) }"
This page took 0.026296 seconds and 4 git commands to generate.