X-Git-Url: http://drtracing.org/?a=blobdiff_plain;ds=inline;f=ld%2Femultempl%2Felf32.em;h=f2011cece4b355814363b6d220e8e36da69d44aa;hb=3882b010780ca1aa1ed5d7b38e936cd2d6d5486b;hp=0e5cd99676cba79a12f85e654604d4746773b87b;hpb=db6751f2e760a6a65ab297b83942951b9aea3b79;p=deliverable%2Fbinutils-gdb.git diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em index 0e5cd99676..f2011cece4 100644 --- a/ld/emultempl/elf32.em +++ b/ld/emultempl/elf32.em @@ -38,8 +38,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "bfd.h" #include "sysdep.h" #include "libiberty.h" - -#include +#include "safe-ctype.h" #include "bfdlink.h" @@ -1194,7 +1193,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 (*ps) && *ps != '_') break; if (*ps == '\0') {