mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 03:29:47 +08:00
Locale changes from Bruno Haible <haible@clisp.cons.org>.
This commit is contained in:
12
ld/ldlang.c
12
ld/ldlang.c
@ -23,6 +23,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
|
||||
#include "bfd.h"
|
||||
#include "sysdep.h"
|
||||
#include "libiberty.h"
|
||||
#include "safe-ctype.h"
|
||||
#include "obstack.h"
|
||||
#include "bfdlink.h"
|
||||
|
||||
@ -39,8 +40,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
|
||||
#include "fnmatch.h"
|
||||
#include "demangle.h"
|
||||
|
||||
#include <ctype.h>
|
||||
|
||||
/* FORWARDS */
|
||||
static lang_statement_union_type *new_statement
|
||||
PARAMS ((enum statement_enum, size_t, lang_statement_list_type *));
|
||||
@ -1618,12 +1617,7 @@ stricpy (dest, src)
|
||||
char c;
|
||||
|
||||
while ((c = *src++) != 0)
|
||||
{
|
||||
if (isupper ((unsigned char) c))
|
||||
c = tolower (c);
|
||||
|
||||
*dest++ = c;
|
||||
}
|
||||
*dest++ = TOLOWER (c);
|
||||
|
||||
*dest = 0;
|
||||
}
|
||||
@ -4786,7 +4780,7 @@ lang_leave_overlay_section (fill, phdrs)
|
||||
clean = xmalloc (strlen (name) + 1);
|
||||
s2 = clean;
|
||||
for (s1 = name; *s1 != '\0'; s1++)
|
||||
if (isalnum ((unsigned char) *s1) || *s1 == '_')
|
||||
if (ISALNUM (*s1) || *s1 == '_')
|
||||
*s2++ = *s1;
|
||||
*s2 = '\0';
|
||||
|
||||
|
Reference in New Issue
Block a user