aboutsummaryrefslogtreecommitdiff
path: root/stdio-common
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-03-14 03:59:59 +0000
committerRoland McGrath <roland@gnu.org>2003-03-14 03:59:59 +0000
commitd8a5edc2217214f0b9a1b921b6edc2aa5048fb1e (patch)
treed716f13c28a17b6d31e0f81d023858b320cbf7d6 /stdio-common
parent6461e57784358cf4fd261e5e61d064a315aae924 (diff)
downloadglibc-d8a5edc2217214f0b9a1b921b6edc2aa5048fb1e.zip
glibc-d8a5edc2217214f0b9a1b921b6edc2aa5048fb1e.tar.gz
glibc-d8a5edc2217214f0b9a1b921b6edc2aa5048fb1e.tar.bz2
* elf/dl-load.c (_dl_map_object_from_fd): Bail if no PT_LOAD phdrs
found. Reported by Alexandre Oliva <aoliva@redhat.com>. 2003-03-13 Alexandre Oliva <aoliva@redhat.com> * stdio-common/_itoa.c (_itoa_base_table): Make 64-bit literals long long. * stdlib/fpioconst.c: Likewise. * stdlib/strtod.c: Likewise. * sysdeps/mips/add_n.S: Use L macro for local labels. * sysdeps/mips/addmul_1.S: Likewise. * sysdeps/mips/lshift.S: Likewise. * sysdeps/mips/memcpy.S: Likewise. * sysdeps/mips/memset.S: Likewise. * sysdeps/mips/mul_1.S: Likewise. * sysdeps/mips/rshift.S: Likewise. * sysdeps/mips/sub_n.S: Likewise. * sysdeps/mips/submul_1.S: Likewise. * sysdeps/mips/mips64/add_n.S: Likewise. * sysdeps/mips/mips64/addmul_1.S: Likewise. * sysdeps/mips/mips64/lshift.S: Likewise. * sysdeps/mips/mips64/mul_1.S: Likewise. * sysdeps/mips/mips64/rshift.S: Likewise. * sysdeps/mips/mips64/sub_n.S: Likewise. * sysdeps/mips/mips64/submul_1.S: Likewise. * sysdeps/unix/mips/sysdep.h: Define L() according to ABI conventions. Define END as in sys/asm.h. * sysdeps/unix/mips/sysdep.S: Likewise. * sysdeps/unix/mips/wait.S: Likewise. * sysdeps/unix/sysv/linux/mips/clone.S: Likewise. * sysdeps/ieee754/dbl-64/dbl2mpn.c (__mpn_extract_double): Cast shifted values that may be too narrow to mp_limb_t. * sysdeps/ieee754/dbl-64/mpn2dbl.c (__mpn_construct_double): Likewise. * sysdeps/ieee754/flt-32/mpn2flt.c (__mpn_construct_float): Likewise. * sysdeps/ieee754/ldbl-128/ldbl2mpn.c (__mpn_extract_long_double): Likewise. * sysdeps/ieee754/ldbl-128/mpn2ldbl.c (__mpn_construct_long_double): Likewise. * sysdeps/ieee754/ldbl-96/ldbl2mpn.c (__mpn_extract_long_double): Likewise. * sysdeps/ieee754/ldbl-96/mpn2ldbl.c (__mpn_construct_long_double): Likewise. 2003-03-13 Roland McGrath <roland@redhat.com>
Diffstat (limited to 'stdio-common')
-rw-r--r--stdio-common/_itoa.c73
1 files changed, 37 insertions, 36 deletions
diff --git a/stdio-common/_itoa.c b/stdio-common/_itoa.c
index 2d0535f..7bc6c08 100644
--- a/stdio-common/_itoa.c
+++ b/stdio-common/_itoa.c
@@ -1,5 +1,6 @@
/* Internal function for converting integers to ASCII.
- Copyright (C) 1994,1995,1996,1999,2000,2002 Free Software Foundation, Inc.
+ Copyright (C) 1994, 1995, 1996, 1999, 2000, 2002, 2003
+ Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Torbjorn Granlund <tege@matematik.su.se>
and Ulrich Drepper <drepper@gnu.org>.
@@ -81,41 +82,41 @@ struct base_table_t
const struct base_table_t _itoa_base_table[] attribute_hidden =
{
#if BITS_PER_MP_LIMB == 64
- /* 2 */ {SEL1(0ul) 1, 1},
- /* 3 */ {SEL1(0xaaaaaaaaaaaaaaabul) 0, 1},
- /* 4 */ {SEL1(0ul) 1, 2},
- /* 5 */ {SEL1(0xcccccccccccccccdul) 0, 2},
- /* 6 */ {SEL1(0xaaaaaaaaaaaaaaabul) 0, 2},
- /* 7 */ {SEL1(0x2492492492492493ul) 1, 3},
- /* 8 */ {SEL1(0ul) 1, 3},
- /* 9 */ {SEL1(0xe38e38e38e38e38ful) 0, 3},
- /* 10 */ {SEL1(0xcccccccccccccccdul) 0, 3},
- /* 11 */ {SEL1(0x2e8ba2e8ba2e8ba3ul) 0, 1},
- /* 12 */ {SEL1(0xaaaaaaaaaaaaaaabul) 0, 3},
- /* 13 */ {SEL1(0x4ec4ec4ec4ec4ec5ul) 0, 2},
- /* 14 */ {SEL1(0x2492492492492493ul) 1, 4},
- /* 15 */ {SEL1(0x8888888888888889ul) 0, 3},
- /* 16 */ {SEL1(0ul) 1, 4},
- /* 17 */ {SEL1(0xf0f0f0f0f0f0f0f1ul) 0, 4},
- /* 18 */ {SEL1(0xe38e38e38e38e38ful) 0, 4},
- /* 19 */ {SEL1(0xd79435e50d79435ful) 0, 4},
- /* 20 */ {SEL1(0xcccccccccccccccdul) 0, 4},
- /* 21 */ {SEL1(0x8618618618618619ul) 1, 5},
- /* 22 */ {SEL1(0x2e8ba2e8ba2e8ba3ul) 0, 2},
- /* 23 */ {SEL1(0x642c8590b21642c9ul) 1, 5},
- /* 24 */ {SEL1(0xaaaaaaaaaaaaaaabul) 0, 4},
- /* 25 */ {SEL1(0x47ae147ae147ae15ul) 1, 5},
- /* 26 */ {SEL1(0x4ec4ec4ec4ec4ec5ul) 0, 3},
- /* 27 */ {SEL1(0x97b425ed097b425ful) 0, 4},
- /* 28 */ {SEL1(0x2492492492492493ul) 1, 5},
- /* 29 */ {SEL1(0x1a7b9611a7b9611bul) 1, 5},
- /* 30 */ {SEL1(0x8888888888888889ul) 0, 4},
- /* 31 */ {SEL1(0x0842108421084211ul) 1, 5},
- /* 32 */ {SEL1(0ul) 1, 5},
- /* 33 */ {SEL1(0x0f83e0f83e0f83e1ul) 0, 1},
- /* 34 */ {SEL1(0xf0f0f0f0f0f0f0f1ul) 0, 5},
- /* 35 */ {SEL1(0xea0ea0ea0ea0ea0ful) 0, 5},
- /* 36 */ {SEL1(0xe38e38e38e38e38ful) 0, 5}
+ /* 2 */ {SEL1(0ull) 1, 1},
+ /* 3 */ {SEL1(0xaaaaaaaaaaaaaaabull) 0, 1},
+ /* 4 */ {SEL1(0ull) 1, 2},
+ /* 5 */ {SEL1(0xcccccccccccccccdull) 0, 2},
+ /* 6 */ {SEL1(0xaaaaaaaaaaaaaaabull) 0, 2},
+ /* 7 */ {SEL1(0x2492492492492493ull) 1, 3},
+ /* 8 */ {SEL1(0ull) 1, 3},
+ /* 9 */ {SEL1(0xe38e38e38e38e38full) 0, 3},
+ /* 10 */ {SEL1(0xcccccccccccccccdull) 0, 3},
+ /* 11 */ {SEL1(0x2e8ba2e8ba2e8ba3ull) 0, 1},
+ /* 12 */ {SEL1(0xaaaaaaaaaaaaaaabull) 0, 3},
+ /* 13 */ {SEL1(0x4ec4ec4ec4ec4ec5ull) 0, 2},
+ /* 14 */ {SEL1(0x2492492492492493ull) 1, 4},
+ /* 15 */ {SEL1(0x8888888888888889ull) 0, 3},
+ /* 16 */ {SEL1(0ull) 1, 4},
+ /* 17 */ {SEL1(0xf0f0f0f0f0f0f0f1ull) 0, 4},
+ /* 18 */ {SEL1(0xe38e38e38e38e38full) 0, 4},
+ /* 19 */ {SEL1(0xd79435e50d79435full) 0, 4},
+ /* 20 */ {SEL1(0xcccccccccccccccdull) 0, 4},
+ /* 21 */ {SEL1(0x8618618618618619ull) 1, 5},
+ /* 22 */ {SEL1(0x2e8ba2e8ba2e8ba3ull) 0, 2},
+ /* 23 */ {SEL1(0x642c8590b21642c9ull) 1, 5},
+ /* 24 */ {SEL1(0xaaaaaaaaaaaaaaabull) 0, 4},
+ /* 25 */ {SEL1(0x47ae147ae147ae15ull) 1, 5},
+ /* 26 */ {SEL1(0x4ec4ec4ec4ec4ec5ull) 0, 3},
+ /* 27 */ {SEL1(0x97b425ed097b425full) 0, 4},
+ /* 28 */ {SEL1(0x2492492492492493ull) 1, 5},
+ /* 29 */ {SEL1(0x1a7b9611a7b9611bull) 1, 5},
+ /* 30 */ {SEL1(0x8888888888888889ull) 0, 4},
+ /* 31 */ {SEL1(0x0842108421084211ull) 1, 5},
+ /* 32 */ {SEL1(0ull) 1, 5},
+ /* 33 */ {SEL1(0x0f83e0f83e0f83e1ull) 0, 1},
+ /* 34 */ {SEL1(0xf0f0f0f0f0f0f0f1ull) 0, 5},
+ /* 35 */ {SEL1(0xea0ea0ea0ea0ea0full) 0, 5},
+ /* 36 */ {SEL1(0xe38e38e38e38e38full) 0, 5}
#endif
#if BITS_PER_MP_LIMB == 32
/* 2 */ {SEL1(0ul) 1, 1, {0, 31, 0x80000000ul SEL2(0xfffffffful)}},