OpenCores
URL https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [ld/] [ldmain.c] - Diff between revs 145 and 157

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 145 Rev 157
Line 103... Line 103...
bfd_boolean add_DT_NEEDED_for_regular;
bfd_boolean add_DT_NEEDED_for_regular;
 
 
/* True means create DT_NEEDED entries for dynamic libraries that
/* True means create DT_NEEDED entries for dynamic libraries that
   are DT_NEEDED by dynamic libraries specifically mentioned on
   are DT_NEEDED by dynamic libraries specifically mentioned on
   the command line.  */
   the command line.  */
bfd_boolean add_DT_NEEDED_for_dynamic = TRUE;
bfd_boolean add_DT_NEEDED_for_dynamic;
 
 
/* TRUE if we should demangle symbol names.  */
/* TRUE if we should demangle symbol names.  */
bfd_boolean demangling;
bfd_boolean demangling;
 
 
args_type command_line;
args_type command_line;
Line 425... Line 425...
        }
        }
 
 
      info_msg ("\n==================================================\n");
      info_msg ("\n==================================================\n");
    }
    }
 
 
 
  if (command_line.print_output_format)
 
    info_msg ("%s\n", lang_get_output_target ());
 
 
  lang_final ();
  lang_final ();
 
 
  if (!lang_has_input_file)
  if (!lang_has_input_file)
    {
    {
      if (version_printed)
      if (version_printed || command_line.print_output_format)
        xexit (0);
        xexit (0);
      einfo (_("%P%F: no input files\n"));
      einfo (_("%P%F: no input files\n"));
    }
    }
 
 
  if (trace_files)
  if (trace_files)
Line 486... Line 489...
    {
    {
      if (trace_files)
      if (trace_files)
        einfo (_("%P: link errors found, deleting executable `%s'\n"),
        einfo (_("%P: link errors found, deleting executable `%s'\n"),
               output_filename);
               output_filename);
 
 
      /* The file will be removed by remove_output.  */
      /* The file will be removed by ld_cleanup.  */
      xexit (1);
      xexit (1);
    }
    }
  else
  else
    {
    {
      if (! bfd_close (link_info.output_bfd))
      if (! bfd_close (link_info.output_bfd))
Line 559... Line 562...
               (long) (lim - (char *) &environ));
               (long) (lim - (char *) &environ));
#endif
#endif
      fflush (stderr);
      fflush (stderr);
    }
    }
 
 
  /* Prevent remove_output from doing anything, after a successful link.  */
  /* Prevent ld_cleanup from doing anything, after a successful link.  */
  output_filename = NULL;
  output_filename = NULL;
 
 
  xexit (0);
  xexit (0);
  return 0;
  return 0;
}
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.