LC_SYMTAB.stab/LC_SYMTAB.stabstr as a valid pair of sections.
+2002-11-12 Klee Dienes <kdienes@apple.com>
+
+ * rddbg.c (read_section_stabs_debugging_info): Also recognize
+ LC_SYMTAB.stab/LC_SYMTAB.stabstr as a valid pair of sections.
+
2002-11-11 Christopher Faylor <cgf@redhat.com>
* MAINTAINERS: Reinstate DJ Delorie as COFF maintainer. Drop COFF from
2002-11-11 Christopher Faylor <cgf@redhat.com>
* MAINTAINERS: Reinstate DJ Delorie as COFF maintainer. Drop COFF from
/* rddbg.c -- Read debugging information into a generic form.
/* rddbg.c -- Read debugging information into a generic form.
- Copyright 1995, 1996, 1997, 2000 Free Software Foundation, Inc.
+ Copyright 1995, 1996, 1997, 2000, 2002 Free Software Foundation, Inc.
Written by Ian Lance Taylor <ian@cygnus.com>.
This file is part of GNU Binutils.
Written by Ian Lance Taylor <ian@cygnus.com>.
This file is part of GNU Binutils.
{
const char *secname;
const char *strsecname;
{
const char *secname;
const char *strsecname;
- } names[] = { { ".stab", ".stabstr" } };
+ } names[] = { { ".stab", ".stabstr" },
+ { "LC_SYMTAB.stabs", "LC_SYMTAB.stabstr" } };
unsigned int i;
PTR shandle;
unsigned int i;
PTR shandle;
if (type == 0)
{
/* Special type 0 stabs indicate the offset to the
if (type == 0)
{
/* Special type 0 stabs indicate the offset to the
stroff = next_stroff;
next_stroff += value;
}
stroff = next_stroff;
next_stroff += value;
}
(const char *) NULL);
/* We have to restore the backslash, because, if
(const char *) NULL);
/* We have to restore the backslash, because, if
- the linker is hashing stabs strings, we may
- see the same string more than once. */
+ the linker is hashing stabs strings, we may
+ see the same string more than once. */
*p = '\\';
if (f != NULL)
*p = '\\';
if (f != NULL)
}
/* Don't free f, since I think the stabs code
}
/* Don't free f, since I think the stabs code
- expects strings to hang around. This should be
- straightened out. FIXME. */
+ expects strings to hang around. This should be
+ straightened out. FIXME. */
free (stabs);
/* Don't free strings, since I think the stabs code expects
free (stabs);
/* Don't free strings, since I think the stabs code expects
- the strings to hang around. This should be straightened
- out. FIXME. */
+ the strings to hang around. This should be straightened
+ out. FIXME. */