X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=bfd%2Felf32-cr16.c;h=7d0a0e558f1461db423e3447dd8bac88bbac200a;hb=cc364be6ff45669150077387f22723de33d5f1b1;hp=3569c81e0ab60b072ebbef4a214502301301584e;hpb=c5e20471be97e2dcd3498ac284487e2546715f66;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/elf32-cr16.c b/bfd/elf32-cr16.c index 3569c81e0a..7d0a0e558f 100644 --- a/bfd/elf32-cr16.c +++ b/bfd/elf32-cr16.c @@ -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); }