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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-6.8/] [bfd/] [ecofflink.c] - Diff between revs 157 and 225

Show entire file | Details | Blame | View Log

Rev 157 Rev 225
Line 1... Line 1...
/* Routines to link ECOFF debugging information.
/* Routines to link ECOFF debugging information.
   Copyright 1993, 1994, 1995, 1996, 1997, 1999, 2000, 2001, 2002, 2003,
   Copyright 1993, 1994, 1995, 1996, 1997, 1999, 2000, 2001, 2002, 2003,
   2004, 2005, 2006, 2007 Free Software Foundation, Inc.
   2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
   Written by Ian Lance Taylor, Cygnus Support, <ian@cygnus.com>.
   Written by Ian Lance Taylor, Cygnus Support, <ian@cygnus.com>.
 
 
   This file is part of BFD, the Binary File Descriptor library.
   This file is part of BFD, the Binary File Descriptor library.
 
 
   This program is free software; you can redistribute it and/or modify
   This program is free software; you can redistribute it and/or modify
Line 716... Line 716...
          name = input_debug->ss + fdr.issBase + fdr.rss;
          name = input_debug->ss + fdr.issBase + fdr.rss;
 
 
          lookup = (char *) bfd_malloc ((bfd_size_type) strlen (name) + 20);
          lookup = (char *) bfd_malloc ((bfd_size_type) strlen (name) + 20);
          if (lookup == NULL)
          if (lookup == NULL)
            return FALSE;
            return FALSE;
          sprintf (lookup, "%s %lx %lx", name, fdr.csym, fdr.caux);
          sprintf (lookup, "%s %lx %lx", name, (unsigned long) fdr.csym,
 
                   (unsigned long) fdr.caux);
 
 
          fh = string_hash_lookup (&ainfo->fdr_hash, lookup, TRUE, TRUE);
          fh = string_hash_lookup (&ainfo->fdr_hash, lookup, TRUE, TRUE);
          free (lookup);
          free (lookup);
          if (fh == (struct string_hash_entry *) NULL)
          if (fh == (struct string_hash_entry *) NULL)
            return FALSE;
            return FALSE;

powered by: WebSVN 2.1.0

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