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

Subversion Repositories open8_urisc

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

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

Rev 145 Rev 166
Line 1... Line 1...
/* ldmisc.c
/* ldmisc.c
   Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
   Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
   2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2010, 2011
   2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2010, 2011, 2012
   Free Software Foundation, Inc.
   Free Software Foundation, Inc.
   Written by Steve Chamberlain of Cygnus Support.
   Written by Steve Chamberlain of Cygnus Support.
 
 
   This file is part of the GNU Binutils.
   This file is part of the GNU Binutils.
 
 
Line 49... Line 49...
 %G like %D, but only function name
 %G like %D, but only function name
 %H like %C but in addition emit section+offset
 %H like %C but in addition emit section+offset
 %I filename from a lang_input_statement_type
 %I filename from a lang_input_statement_type
 %P print program name
 %P print program name
 %R info about a relent
 %R info about a relent
 %S print script file and linenumber
 %S print script file and linenumber from etree_type.
 %T symbol name
 %T symbol name
 %V hex bfd_vma
 %V hex bfd_vma
 %W hex bfd_vma with 0x with no leading zeros taking up 8 spaces
 %W hex bfd_vma with 0x with no leading zeros taking up 8 spaces
 %X no object output, fail return
 %X no object output, fail return
 %d integer, like printf
 %d integer, like printf
Line 238... Line 238...
              }
              }
              break;
              break;
 
 
            case 'S':
            case 'S':
              /* Print script file and linenumber.  */
              /* Print script file and linenumber.  */
              if (parsing_defsym)
              {
                fprintf (fp, "--defsym %s", lex_string);
                etree_type node;
              else if (ldfile_input_filename != NULL)
                etree_type *tp = va_arg (arg, etree_type *);
                fprintf (fp, "%s:%u", ldfile_input_filename, lineno);
 
              else
                if (tp == NULL)
                fprintf (fp, _("built in linker script:%u"), lineno);
                  {
 
                    tp = &node;
 
                    tp->type.filename = ldlex_filename ();
 
                    tp->type.lineno = lineno;
 
                  }
 
                if (tp->type.filename != NULL)
 
                  fprintf (fp, "%s:%u", tp->type.filename, tp->type.lineno);
 
              }
              break;
              break;
 
 
            case 'R':
            case 'R':
              /* Print all that's interesting about a relent.  */
              /* Print all that's interesting about a relent.  */
              {
              {

powered by: WebSVN 2.1.0

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