diff options
author | Nick Clifton <nickc@redhat.com> | 2003-05-29 15:05:41 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2003-05-29 15:05:41 +0000 |
commit | 29e1a6e4ca3d3f7f9e169d1fcc91d7ac9eeb5cc4 (patch) | |
tree | 9074dcae86f8907bf27f8bc082d5e9144f2f74f1 /ld | |
parent | 2fd84b4237644cccdd181a4e34498214a50e285a (diff) | |
download | fsf-binutils-gdb-29e1a6e4ca3d3f7f9e169d1fcc91d7ac9eeb5cc4.zip fsf-binutils-gdb-29e1a6e4ca3d3f7f9e169d1fcc91d7ac9eeb5cc4.tar.gz fsf-binutils-gdb-29e1a6e4ca3d3f7f9e169d1fcc91d7ac9eeb5cc4.tar.bz2 |
Replace <ctype.h> with "safe-ctype.h"
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 4 | ||||
-rw-r--r-- | ld/emultempl/pe.em | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 7cc67c8..bdb04c1 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2003-05-29 Nick Clifton <nickc@redhat.com> + + * emultempl/pe.em: Include "safe-ctype.h" instead of <ctype.h>. + 2003-05-26 Maciej W. Rozycki <macro@ds2.pg.gda.pl> * emulparams/elf64btsmip.sh: Set TEXT_START_ADDR to 0x120000000 to 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 <<EOF #include "deffile.h" #include "pe-dll.h" - -#include <ctype.h> +#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') { |