summaryrefslogtreecommitdiff
path: root/bfd/cofflink.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl@lucon.org>2003-10-09 18:15:59 +0000
committerH.J. Lu <hjl@lucon.org>2003-10-09 18:15:59 +0000
commit573909b7f80e7f236a05dbca8f6a772ea035ed41 (patch)
tree3e3c62b30b2b2156df97961ceafc31e6fc217eae /bfd/cofflink.c
parentd1c80bae93ca122275fa8dec0ced854d048d69f7 (diff)
downloadbinutils-redhat-573909b7f80e7f236a05dbca8f6a772ea035ed41.tar.gz
2003-10-09 H.J. Lu <hongjiu.lu@intel.com>
* cofflink.c: Include "safe-ctype.h". (coff_link_add_symbols): Use ISDIGIT instead of isdigit.
Diffstat (limited to 'bfd/cofflink.c')
-rw-r--r--bfd/cofflink.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/cofflink.c b/bfd/cofflink.c
index dbe7fbf100..91a382288d 100644
--- a/bfd/cofflink.c
+++ b/bfd/cofflink.c
@@ -27,6 +27,7 @@
#include "libbfd.h"
#include "coff/internal.h"
#include "libcoff.h"
+#include "safe-ctype.h"
static bfd_boolean coff_link_add_object_symbols (bfd *abfd, struct bfd_link_info *info);
static bfd_boolean coff_link_check_archive_element (bfd *abfd, struct bfd_link_info *info, bfd_boolean *pneeded);
@@ -582,7 +583,7 @@ coff_link_add_symbols (bfd *abfd,
for (stab = abfd->sections; stab; stab = stab->next)
if (strncmp (".stab", stab->name, 5) == 0
&& (!stab->name[5]
- || (stab->name[5] == '.' && isdigit (stab->name[6]))))
+ || (stab->name[5] == '.' && ISDIGIT (stab->name[6]))))
{
struct coff_link_hash_table *table;
struct coff_section_tdata *secdata