* ld-cris: New testsuite directory.
[deliverable/binutils-gdb.git] / ld / mpw-elfmips.c
index 3143b2ec1482a0645a335a4d2234bb6ceda7d235..70ceecd90942c9e608b1b79b8503ce3c7c6d90b3 100644 (file)
@@ -1,7 +1,7 @@
 /* This file is is generated by a shell script.  DO NOT EDIT! */
 
 /* 32 bit ELF emulation code for elf32ebmip
-   Copyright (C) 1991, 93, 94, 95, 96, 98, 2000
+   Copyright 1991, 1993, 1994, 1995, 1996, 1997, 1999, 2000, 2001
    Free Software Foundation, Inc.
    Written by Steve Chamberlain <sac@cygnus.com>
    ELF support by Ian Lance Taylor <ian@cygnus.com>
@@ -26,8 +26,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 
 #include "bfd.h"
 #include "sysdep.h"
-
-#include <ctype.h>
+#include "safe-ctype.h"
 
 #include "bfdlink.h"
 
@@ -445,7 +444,7 @@ gldelf32ebmip_before_allocation ()
     rpath = (const char *) getenv ("LD_RUN_PATH");
   if (! (bfd_elf32_size_dynamic_sections
         (output_bfd, command_line.soname, rpath,
-         command_line.export_dynamic, command_line.filter_shlib,
+         command_line.filter_shlib,
          (const char * const *) command_line.auxiliary_filters,
          &link_info, &sinterp, lang_elf_version_info)))
     einfo (_("%P%F: failed to set dynamic section sizes: %E\n"));
@@ -522,6 +521,7 @@ gldelf32ebmip_find_exp_assignment (exp)
   switch (exp->type.node_class)
     {
     case etree_provide:
+    case etree_provided:
       h = bfd_link_hash_lookup (link_info.hash, exp->assign.dst,
                                false, false, false);
       if (h == NULL)
@@ -541,7 +541,7 @@ gldelf32ebmip_find_exp_assignment (exp)
        {
          if (! (bfd_elf32_record_link_assignment
                 (output_bfd, &link_info, exp->assign.dst,
-                 exp->type.node_class == etree_provide ? true : false)))
+                 exp->type.node_class != etree_assign ? true : false)))
            einfo (_("%P%F: failed to record assignment to %s: %E\n"),
                   exp->assign.dst);
        }
@@ -604,7 +604,7 @@ gldelf32ebmip_place_orphan (file, s)
   if (hold_use != NULL)
     {
       /* We have already placed a section with this name.  */
-      wild_doit (&hold_use->children, s, hold_use, file);
+      lang_add_section (&hold_use->children, s, hold_use, file);
       return true;
     }
 
@@ -617,7 +617,7 @@ gldelf32ebmip_place_orphan (file, s)
       && strncmp (secname, ".gnu.warning.", sizeof ".gnu.warning." - 1) == 0
       && hold_text != NULL)
     {
-      wild_doit (&hold_text->children, s, hold_text, file);
+      lang_add_section (&hold_text->children, s, hold_text, file);
       return true;
     }
 
@@ -666,7 +666,7 @@ gldelf32ebmip_place_orphan (file, s)
   /* If the name of the section is representable in C, then create
      symbols to mark the start and the end of the section.  */
   for (ps = secname; *ps != '\0'; ps++)
-    if (! isalnum (*ps) && *ps != '_')
+    if (! ISALNUM (*ps) && *ps != '_')
       break;
   if (*ps == '\0' && config.build_constructors)
     {
@@ -692,7 +692,7 @@ gldelf32ebmip_place_orphan (file, s)
                                       (etree_type *) NULL);
 
   os = lang_output_section_statement_lookup (secname);
-  wild_doit (&os->children, s, os, file);
+  lang_add_section (&os->children, s, os, file);
 
   lang_leave_output_section_statement
     ((bfd_vma) 0, "*default*",
This page took 0.023528 seconds and 4 git commands to generate.