/* SPARC-specific support for 32-bit ELF
- Copyright (C) 1993-2019 Free Software Foundation, Inc.
+ Copyright (C) 1993-2020 Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library.
We need to set the e_machine field appropriately. */
static void
-sparc_final_write_processing (bfd *abfd, bfd_boolean linker ATTRIBUTE_UNUSED)
+sparc_final_write_processing (bfd *abfd)
{
switch (bfd_get_mach (abfd))
{
}
}
-static void
-elf32_sparc_final_write_processing (bfd *abfd, bfd_boolean linker)
+static bfd_boolean
+elf32_sparc_final_write_processing (bfd *abfd)
{
- sparc_final_write_processing (abfd, linker);
- _bfd_elf_final_write_processing (abfd, linker);
+ sparc_final_write_processing (abfd);
+ return _bfd_elf_final_write_processing (abfd);
}
/* Used to decide how to sort relocs in an optimal manner for the
/* A final_write_processing hook that does both the SPARC- and VxWorks-
specific handling. */
-static void
-elf32_sparc_vxworks_final_write_processing (bfd *abfd, bfd_boolean linker)
+static bfd_boolean
+elf32_sparc_vxworks_final_write_processing (bfd *abfd)
{
- sparc_final_write_processing (abfd, linker);
- elf_vxworks_final_write_processing (abfd, linker);
+ sparc_final_write_processing (abfd);
+ return elf_vxworks_final_write_processing (abfd);
}
#undef TARGET_BIG_SYM