diff options
author | Steve Chamberlain <steve@cygnus> | 1991-03-27 02:29:23 +0000 |
---|---|---|
committer | Steve Chamberlain <steve@cygnus> | 1991-03-27 02:29:23 +0000 |
commit | c660714fb17fec0da5889664caa1c5c32746959b (patch) | |
tree | 70c363b607efb2b85a5e4482c33963d05e07e110 /ld/ldsym.c | |
parent | cb9d20492abeaa7623783227d9c522fb9a2a9255 (diff) | |
download | gdb-c660714fb17fec0da5889664caa1c5c32746959b.zip gdb-c660714fb17fec0da5889664caa1c5c32746959b.tar.gz gdb-c660714fb17fec0da5889664caa1c5c32746959b.tar.bz2 |
*** empty log message ***
Diffstat (limited to 'ld/ldsym.c')
-rw-r--r-- | ld/ldsym.c | 22 |
1 files changed, 20 insertions, 2 deletions
@@ -20,8 +20,11 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ * $Id$ * * $Log$ - * Revision 1.2 1991/03/22 23:02:38 steve - * Brought up to sync with Intel again. + * Revision 1.3 1991/03/27 02:29:21 steve + * *** empty log message *** + * + * Revision 1.2 1991/03/22 23:02:38 steve + * Brought up to sync with Intel again. * * Revision 1.1 1991/03/13 00:48:32 chrisb * Initial revision @@ -450,3 +453,18 @@ ldsym_write() bfd_set_symtab(output_bfd, symbol_table, (unsigned)( tablep - symbol_table)); } } + +/* +return true if the supplied symbol name is not in the +linker symbol table +*/ +boolean +ldsym_undefined(sym) +char *sym; +{ + ldsym_type *from_table = ldsym_get_soft(sym); + if (from_table != (ldsym_type *)NULL) { + if (from_table->sdefs_chain != (asymbol **)NULL) return false; + } + return true; +} |