From 29e1a6e4ca3d3f7f9e169d1fcc91d7ac9eeb5cc4 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 29 May 2003 15:05:41 +0000 Subject: Replace with "safe-ctype.h" --- ld/emultempl/pe.em | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'ld/emultempl') diff --git a/ld/emultempl/pe.em b/ld/emultempl/pe.em index 10522d7..ce1a693 100644 --- a/ld/emultempl/pe.em +++ b/ld/emultempl/pe.em @@ -68,8 +68,7 @@ cat >>e${EMULATION_NAME}.c < +#include "safe-ctype.h" /* Permit the emulation parameters to override the default section alignment by setting OVERRIDE_SECTION_ALIGNMENT. FIXME: This makes @@ -1648,7 +1647,7 @@ gld_${EMULATION_NAME}_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 = outsecname; *ps != '\0'; ps++) - if (! isalnum ((unsigned char) *ps) && *ps != '_') + if (! ISALNUM ((unsigned char) *ps) && *ps != '_') break; if (*ps == '\0') { -- cgit v1.1