mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-21 01:12:32 +08:00
* core.c (core_sym_class): Treat weak symbols as text symbols.
From Dean Gaudet <dgaudet@arctic.org>.
This commit is contained in:
parent
5a08c6a17e
commit
a3da1edc5e
@ -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>
|
||||
|
||||
* aclocal.m4: Rebuild with new libtool.
|
||||
|
@ -231,6 +231,13 @@ DEFUN (core_sym_class, (sym), asymbol * sym)
|
||||
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')
|
||||
{
|
||||
/* not a static text symbol */
|
||||
|
Loading…
Reference in New Issue
Block a user