* lexsup.c (parse_args) <case OPTION_EXPORT_DYNAMIC, case 'E'>:
[deliverable/binutils-gdb.git] / ld / ldmain.c
index 4e9827f6413e2aa2399450f33c44e487db800183..62d891cc18324482a1528fc274275dca37feec3d 100644 (file)
@@ -219,6 +219,7 @@ main (argc, argv)
   link_info.emitrelocations = false;
   link_info.shared = false;
   link_info.symbolic = false;
+  link_info.export_dynamic = false;
   link_info.static_link = false;
   link_info.traditional_format = false;
   link_info.optimize = false;
@@ -502,7 +503,8 @@ get_emulation (argc, argv)
          else if (strcmp (argv[i], "-mips1") == 0
                   || strcmp (argv[i], "-mips2") == 0
                   || strcmp (argv[i], "-mips3") == 0
-                  || strcmp (argv[i], "-mips4") == 0)
+                  || strcmp (argv[i], "-mips4") == 0
+                  || strcmp (argv[i], "-mips5") == 0)
            {
              /* FIXME: The arguments -mips1, -mips2 and -mips3 are
                 passed to the linker by some MIPS compilers.  They
@@ -1205,7 +1207,7 @@ undefined_symbol (info, name, abfd, section, address, fatal)
       error_count = 0;
       if (error_name != (char *) NULL)
        free (error_name);
-      error_name = buystring (name);
+      error_name = xstrdup (name);
     }
 
   if (section != NULL)
This page took 0.032929 seconds and 4 git commands to generate.