diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | stdio-common/Makefile | 2 | ||||
-rw-r--r-- | stdio-common/itoa-digits.c | 5 | ||||
-rw-r--r-- | stdio-common/itoa-udigits.c | 22 |
4 files changed, 28 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog index 8d25c92c9b..6b97055ebe 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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. diff --git a/stdio-common/Makefile b/stdio-common/Makefile index 994ca5cd46..33907ebb60 100644 --- a/stdio-common/Makefile +++ b/stdio-common/Makefile @@ -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 \ diff --git a/stdio-common/itoa-digits.c b/stdio-common/itoa-digits.c index 34699dbcc8..013777ca28 100644 --- a/stdio-common/itoa-digits.c +++ b/stdio-common/itoa-digits.c @@ -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"; diff --git a/stdio-common/itoa-udigits.c b/stdio-common/itoa-udigits.c new file mode 100644 index 0000000000..9c25b0b622 --- /dev/null +++ b/stdio-common/itoa-udigits.c @@ -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"; |