aboutsummaryrefslogtreecommitdiff
path: root/ld/mpw-elfmips.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2001-09-19 05:33:36 +0000
committerH.J. Lu <hjl.tools@gmail.com>2001-09-19 05:33:36 +0000
commit3882b010780ca1aa1ed5d7b38e936cd2d6d5486b (patch)
treec806a73a13afd3265ba6b538ba73cae065c591f5 /ld/mpw-elfmips.c
parent6b819c92c4512ccfba90f0caa204ab687fae8254 (diff)
downloadfsf-binutils-gdb-3882b010780ca1aa1ed5d7b38e936cd2d6d5486b.zip
fsf-binutils-gdb-3882b010780ca1aa1ed5d7b38e936cd2d6d5486b.tar.gz
fsf-binutils-gdb-3882b010780ca1aa1ed5d7b38e936cd2d6d5486b.tar.bz2
Locale changes from Bruno Haible <haible@clisp.cons.org>.
Diffstat (limited to 'ld/mpw-elfmips.c')
-rw-r--r--ld/mpw-elfmips.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ld/mpw-elfmips.c b/ld/mpw-elfmips.c
index 9a84e78..70ceecd 100644
--- a/ld/mpw-elfmips.c
+++ b/ld/mpw-elfmips.c
@@ -26,8 +26,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include "bfd.h"
#include "sysdep.h"
-
-#include <ctype.h>
+#include "safe-ctype.h"
#include "bfdlink.h"
@@ -667,7 +666,7 @@ gldelf32ebmip_place_orphan (file, s)
/* If the name of the section is representable in C, then create
symbols to mark the start and the end of the section. */
for (ps = secname; *ps != '\0'; ps++)
- if (! isalnum (*ps) && *ps != '_')
+ if (! ISALNUM (*ps) && *ps != '_')
break;
if (*ps == '\0' && config.build_constructors)
{