Always create PLT eh_frame section for i386/x86-64
[binutils-gdb.git] / bfd / elf64-s390.c
index 1fb7cccbed0150e88824538587fbb1b24514f500..cc0e473119a0402497c44709caafe7219d5619cf 100644 (file)
@@ -2244,9 +2244,9 @@ elf_s390_relocate_section (bfd *output_bfd,
                                   unresolved_reloc, warned);
        }
 
-      if (sec != NULL && elf_discarded_section (sec))
+      if (sec != NULL && discarded_section (sec))
        RELOC_AGAINST_DISCARDED_SECTION (info, input_bfd, input_section,
-                                        rel, relend, howto, contents);
+                                        rel, 1, relend, howto, 0, contents);
 
       if (info->relocatable)
        continue;