* section.c (bfd_section_init): Remove unnecessary initialisations.
[deliverable/binutils-gdb.git] / bfd / elf64-mips.c
index 026edc888219c6135b3fcba6fcfa5bc81503293b..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;
This page took 0.04334 seconds and 4 git commands to generate.