Always create PLT eh_frame section for i386/x86-64
[binutils-gdb.git] / bfd / elf32-spu.c
index ab13b7bb4dfc2d2d12d6c370ef1671efcf5eb9fb..28628f83adde7f43e1be1a8c9d715ecb1fce1004 100644 (file)
@@ -4896,9 +4896,9 @@ spu_elf_relocate_section (bfd *output_bfd,
          sym_name = h->root.root.string;
        }
 
-      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;