* configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support.
[deliverable/binutils-gdb.git] / ld / mpw-elfmips.c
index cbf1589875439e9ae8c7763b6b3e7f2530361575..e8ab0560aa83a0df3c3ed4002bfdea3b6b4f368e 100644 (file)
@@ -496,37 +496,6 @@ gldelf32ebmip_before_allocation ()
        s->_raw_size = 0;
       }
   }
-
-#if defined (TARGET_IS_elf32bmip) || defined (TARGET_IS_elf32lmip)
-  /* For MIPS ELF the .reginfo section requires special handling.
-     Each input section is 24 bytes, and the final output section must
-     also be 24 bytes.  We handle this by clobbering all but the first
-     input section size to 0.  The .reginfo section is handled
-     specially by the backend code anyhow.  */
-  {
-    boolean found = false;
-    LANG_FOR_EACH_INPUT_STATEMENT (is)
-      {
-       asection *s;
-
-       if (is->just_syms_flag)
-         continue;
-
-       s = bfd_get_section_by_name (is->the_bfd, ".reginfo");
-       if (s == NULL)
-         continue;
-
-       if (! found)
-         {
-           found = true;
-           continue;
-         }
-
-       s->_raw_size = 0;
-       s->_cooked_size = 0;
-      }
-  }
-#endif
 }
 
 /* This is called by the before_allocation routine via
This page took 0.040822 seconds and 4 git commands to generate.