Tidy up formatting in bfd-in2.h
[deliverable/binutils-gdb.git] / bfd / elf64-mips.c
index 0f682410bfd1751c01d4dae2ace135b82ef9342f..75d456ac376d0a776f4fe7f34789fc0b2250b8ca 100644 (file)
@@ -1,5 +1,5 @@
 /* MIPS-specific support for 64-bit ELF
-   Copyright 1996, 1997, 1998, 1999, 2000, 2001
+   Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002
    Free Software Foundation, Inc.
    Ian Lance Taylor, Cygnus Support
    Linker support added by Mark Mitchell, CodeSourcery, LLC.
@@ -6392,7 +6392,7 @@ mips_elf64_final_link (abfd, info)
            if (p->type == bfd_indirect_link_order)
              p->u.indirect.section->flags &=~ SEC_HAS_CONTENTS;
          (*secpp)->link_order_head = NULL;
-         *secpp = (*secpp)->next;
+         bfd_section_list_remove (abfd, secpp);
          --abfd->section_count;
            
          break;
@@ -6676,7 +6676,7 @@ mips_elf64_final_link (abfd, info)
                   *secpp != o;
                   secpp = &(*secpp)->next)
                ;
-             *secpp = (*secpp)->next;
+             bfd_section_list_remove (abfd, secpp);
              --abfd->section_count;
 
              continue;
@@ -7026,8 +7026,6 @@ const struct elf_size_info mips_elf64_size_info =
 #define bfd_elf64_bfd_link_hash_table_create \
                                        mips_elf64_link_hash_table_create
 #define bfd_elf64_bfd_final_link       mips_elf64_final_link
-#define bfd_elf64_bfd_copy_private_bfd_data \
-                                       _bfd_mips_elf_copy_private_bfd_data
 #define bfd_elf64_bfd_merge_private_bfd_data \
                                        _bfd_mips_elf_merge_private_bfd_data
 #define bfd_elf64_bfd_set_private_flags        _bfd_mips_elf_set_private_flags
This page took 0.02374 seconds and 4 git commands to generate.