* stdio-common/itoa-digits.c: Move upper digits to...
	* stdio-common/itoa-udigits.c: ...here.  New file.
	* stdio-common/Makefile (routines): Add itoa-udigits.
This commit is contained in:
Ulrich Drepper 2000-08-31 08:50:08 +00:00
parent a778db0624
commit cb7c4a2711
4 changed files with 28 additions and 5 deletions

View File

@ -1,5 +1,9 @@
2000-08-31 Ulrich Drepper <drepper@redhat.com>
* stdio-common/itoa-digits.c: Move upper digits to...
* stdio-common/itoa-udigits.c: ...here. New file.
* stdio-common/Makefile (routines): Add itoa-udigits.
* sysdeps/i386/dl-machine.h (elf_machine_rel): For the version to
relocate ld.so don't add supprt for relocations which should not
appear in ld.so.

View File

@ -25,7 +25,7 @@ headers := printf.h
routines := \
ctermid cuserid \
_itoa _itowa itoa-digits itowa-digits \
_itoa _itowa itoa-digits itoa-udigits itowa-digits \
vfprintf vprintf printf_fp reg-printf printf-prs printf_fphex \
printf_size fprintf printf snprintf sprintf asprintf dprintf \
vfscanf \

View File

@ -1,5 +1,5 @@
/* Digits.
Copyright (C) 1994, 1995, 1996, 1999 Free Software Foundation, Inc.
Copyright (C) 1994, 1995, 1996, 1999, 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@ -20,6 +20,3 @@
/* Lower-case digits. */
const char _itoa_lower_digits[36]
= "0123456789abcdefghijklmnopqrstuvwxyz";
/* Upper-case digits. */
const char _itoa_upper_digits[36]
= "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";

View File

@ -0,0 +1,22 @@
/* Digits.
Copyright (C) 1994, 1995, 1996, 1999, 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public License as
published by the Free Software Foundation; either version 2 of the
License, or (at your option) any later version.
The GNU C Library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with the GNU C Library; see the file COPYING.LIB. If not,
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
/* Upper-case digits. */
const char _itoa_upper_digits[36]
= "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";