mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-26 05:47:26 +08:00
* core.c (core_sym_class): Treat weak symbols as text symbols.
From Dean Gaudet <dgaudet@arctic.org>.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
Mon Dec 29 14:17:08 1997 Ian Lance Taylor <ian@cygnus.com>
|
||||||
|
|
||||||
|
* core.c (core_sym_class): Treat weak symbols as text symbols.
|
||||||
|
From Dean Gaudet <dgaudet@arctic.org>.
|
||||||
|
|
||||||
Wed Sep 24 11:35:43 1997 Ian Lance Taylor <ian@cygnus.com>
|
Wed Sep 24 11:35:43 1997 Ian Lance Taylor <ian@cygnus.com>
|
||||||
|
|
||||||
* aclocal.m4: Rebuild with new libtool.
|
* aclocal.m4: Rebuild with new libtool.
|
||||||
|
@ -231,6 +231,13 @@ DEFUN (core_sym_class, (sym), asymbol * sym)
|
|||||||
return i; /* it's a global symbol */
|
return i; /* it's a global symbol */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (i == 'W')
|
||||||
|
{
|
||||||
|
/* Treat weak symbols as text symbols. FIXME: a weak symbol may
|
||||||
|
also be a data symbol. */
|
||||||
|
return 'T';
|
||||||
|
}
|
||||||
|
|
||||||
if (i != 't')
|
if (i != 't')
|
||||||
{
|
{
|
||||||
/* not a static text symbol */
|
/* not a static text symbol */
|
||||||
|
Reference in New Issue
Block a user