x86: Fix DT_JMPREL/DT_PLTRELSZ when relocs share a section
[binutils-gdb.git] / ld / emulparams / elf64_s390.sh
index 530977424256c66b8958e4e072954f54f0af3444..d0a2a59a0926932ce74f650cedb948f5d3774b94 100644 (file)
@@ -8,12 +8,16 @@ COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
 ARCH="s390:64-bit"
 MACHINE=
 NOP=0x07070707
-TEMPLATE_NAME=elf32
+TEMPLATE_NAME=elf
 GENERATE_SHLIB_SCRIPT=yes
 GENERATE_PIE_SCRIPT=yes
+GENERATE_RELRO_SCRIPT=yes
 NO_SMALL_DATA=yes
 EXTRA_EM_FILE=s390
 IREL_IN_PLT=
+SEPARATE_GOTPLT=0
+test -z "$RELRO" && unset SEPARATE_GOTPLT
+SYMBOL_ABI_ALIGNMENT=2
 
 # Treat a host that matches the target with the possible exception of "x"
 # in the name as if it were native.