From: Nick Clifton Date: Thu, 22 Dec 2005 18:11:09 +0000 (+0000) Subject: (read_section_stabs_debugging_info): Add $GDB_SYMBOLS$ entry to names[] X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7806762e81b7e010282cb3022441a80443d07d27;p=binutils-gdb.git (read_section_stabs_debugging_info): Add $GDB_SYMBOLS$ entry to names[] array for SOM binaries. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index de56e9dcaa8..7807de50463 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2005-12-22 Randolph Chung + + * rddbg.c (read_section_stabs_debugging_info): Add $GDB_SYMBOLS$ + entry to names[] array for SOM binaries. + 2005-12-21 H.J. Lu * MAINTAINERS: Add myself as x86_64 maintainer. diff --git a/binutils/rddbg.c b/binutils/rddbg.c index 48fc5df9f07..e977d8b5ef1 100644 --- a/binutils/rddbg.c +++ b/binutils/rddbg.c @@ -1,5 +1,5 @@ /* rddbg.c -- Read debugging information into a generic form. - Copyright 1995, 1996, 1997, 2000, 2002, 2003 + Copyright 1995, 1996, 1997, 2000, 2002, 2003, 2005 Free Software Foundation, Inc. Written by Ian Lance Taylor . @@ -100,8 +100,13 @@ read_section_stabs_debugging_info (bfd *abfd, asymbol **syms, long symcount, { const char *secname; const char *strsecname; - } names[] = { { ".stab", ".stabstr" }, - { "LC_SYMTAB.stabs", "LC_SYMTAB.stabstr" } }; + } + names[] = + { + { ".stab", ".stabstr" }, + { "LC_SYMTAB.stabs", "LC_SYMTAB.stabstr" }, + { "$GDB_SYMBOLS$", "$GDB_STRINGS$" } + }; unsigned int i; void *shandle;