btrace, gdbserver: read branch trace incrementally
[deliverable/binutils-gdb.git] / bfd / elf32-mips.c
index 0e62708f7a66760f46b622797f21950eb760f651..ada66cefecf4a8a90b816702230e5c31ccb033ae 100644 (file)
@@ -2449,18 +2449,6 @@ static const struct ecoff_debug_swap mips_elf32_ecoff_debug_swap = {
 #undef ELF_OSABI
 #define        ELF_OSABI                       ELFOSABI_FREEBSD
 
-/* The kernel recognizes executables as valid only if they carry a
-   "FreeBSD" label in the ELF header.  So we put this label on all
-   executables and (for simplicity) also all other object files.  */
-
-static void
-elf_fbsd_post_process_headers (bfd *abfd, struct bfd_link_info *info)
-{
-  _bfd_elf_set_osabi (abfd, info);
-}
-
-#undef elf_backend_post_process_headers
-#define        elf_backend_post_process_headers        elf_fbsd_post_process_headers
 #undef elf32_bed
 #define elf32_bed                              elf32_fbsd_tradbed
 
@@ -2486,6 +2474,7 @@ mips_vxworks_final_write_processing (bfd *abfd, bfd_boolean linker)
 #define TARGET_LITTLE_NAME              "elf32-littlemips-vxworks"
 #define TARGET_BIG_SYM                  bfd_elf32_bigmips_vxworks_vec
 #define TARGET_BIG_NAME                 "elf32-bigmips-vxworks"
+#undef ELF_OSABI
 
 #undef elf32_bed
 #define elf32_bed                      elf32_mips_vxworks_bed
This page took 0.024099 seconds and 4 git commands to generate.