Complain about mbind, ifunc, and unique in final_write
[deliverable/binutils-gdb.git] / bfd / elf32-cr16.c
index 3569c81e0ab60b072ebbef4a214502301301584e..7d0a0e558f1461db423e3447dd8bac88bbac200a 100644 (file)
@@ -1673,8 +1673,8 @@ elf_cr16_mach (flagword flags)
    file.  This gets the CR16 architecture right based on the machine
    number.  */
 
-static void
-_bfd_cr16_elf_final_write_processing (bfd *abfd, bfd_boolean linker)
+static bfd_boolean
+_bfd_cr16_elf_final_write_processing (bfd *abfd)
 {
   unsigned long val;
   switch (bfd_get_mach (abfd))
@@ -1684,8 +1684,8 @@ _bfd_cr16_elf_final_write_processing (bfd *abfd, bfd_boolean linker)
        val = EM_CR16;
        break;
     }
- elf_elfheader (abfd)->e_flags |= val;
-  _bfd_elf_final_write_processing (abfd, linker);
 elf_elfheader (abfd)->e_flags |= val;
+  return _bfd_elf_final_write_processing (abfd);
 }
 
 
This page took 0.02505 seconds and 4 git commands to generate.