ENABLE_CHECKING in bfd, opcodes, binutils, ld
[binutils-gdb.git] / ld / emulparams / elf32ppclinux.sh
index 7c458a22ca3117abb78cc531385574284db08824..d78d6113245ea9f9ea42c72f192fa1eb592408d7 100644 (file)
@@ -1,18 +1,8 @@
-TEMPLATE_NAME=elf32
-# If you change this, please also look at:
-# elf32ppc.sh elf32ppcsim.sh elf32lppc.sh elf32lppcsim.sh elf32ppclinux.sh
-GENERATE_SHLIB_SCRIPT=yes
-SCRIPT_NAME=elf
-OUTPUT_FORMAT="elf32-powerpc"
+source_sh ${srcdir}/emulparams/elf32ppc.sh
 TEXT_START_ADDR=0x10000000
-MAXPAGESIZE=0x10000
-ARCH=powerpc
-MACHINE=
-BSS_PLT=
-OTHER_RELOCATING_SECTIONS='
-  /DISCARD/    : { *(.fixup) }
-'
-OTHER_READWRITE_SECTIONS='
-  .got1                : { *(.got1) }
-  .got2                : { *(.got2) }
-'
+unset EXECUTABLE_SYMBOLS
+unset OTHER_END_SYMBOLS
+test -z "${RELOCATING}" || OTHER_SECTIONS="/DISCARD/   : { *(.fixup) }"
+OTHER_RELRO_SECTIONS="
+  .got1         ${RELOCATING-0} : { *(.got1) }
+  .got2         ${RELOCATING-0} : { *(.got2) }"