diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-03-13 23:27:20 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-03-13 23:27:20 +0000 |
commit | 75bfdfc7df6d3557358fe7f1c01e748ef6b5efc7 (patch) | |
tree | 23e021859a45a505834a176c20d2d6fede2cd3fe /elf | |
parent | bf494c7d6b9e45aa5f7bd7667423a3b13dba0da6 (diff) | |
download | glibc-75bfdfc7df6d3557358fe7f1c01e748ef6b5efc7.tar.gz glibc-75bfdfc7df6d3557358fe7f1c01e748ef6b5efc7.tar.xz glibc-75bfdfc7df6d3557358fe7f1c01e748ef6b5efc7.zip |
Update.
2002-03-13 Wolfram Gloger <wg@malloc.de> * malloc/malloc.c (sYSMALLOc): Don't change brk if mmap failed. 2002-03-02 Andreas Schwab <schwab@suse.de> * stdio-common/vfprintf.c (process_arg): Fix decimal format with 'h' flag and positional arg. * stdio-common/tst-printf.c (rfg3): New function to test positional arguments. (main): Fix some warnings. 2002-03-13 Jakub Jelinek <jakub@redhat.com> * elf/dl-minimal.c (_itoa): Use _itoa_lower_digits_internal if SHARED. * elf/dl-reloc.c (_dl_reloc_bad_type): Likewise.
Diffstat (limited to 'elf')
-rw-r--r-- | elf/dl-minimal.c | 7 | ||||
-rw-r--r-- | elf/dl-reloc.c | 4 |
2 files changed, 6 insertions, 5 deletions
diff --git a/elf/dl-minimal.c b/elf/dl-minimal.c index abc829b53a..9b9d34b07d 100644 --- a/elf/dl-minimal.c +++ b/elf/dl-minimal.c @@ -290,12 +290,12 @@ _itoa (value, buflim, base, upper_case) unsigned int base; int upper_case; { - extern const char _itoa_lower_digits[] attribute_hidden; + extern const char INTUSE(_itoa_lower_digits)[] attribute_hidden; assert (! upper_case); do - *--buflim = _itoa_lower_digits[value % base]; + *--buflim = INTUSE(_itoa_lower_digits)[value % base]; while ((value /= base) != 0); return buflim; @@ -348,4 +348,5 @@ strong_alias (__strsep, __strsep_g) /* The '_itoa_lower_digits' variable in libc.so is able to handle bases up to 36. We don't need this here. */ -const char _itoa_lower_digits[16] = "0123456789abcdef"; +const char INTUSE(_itoa_lower_digits)[16] attribute_hidden + = "0123456789abcdef"; diff --git a/elf/dl-reloc.c b/elf/dl-reloc.c index 29f302a25a..88bd3b681e 100644 --- a/elf/dl-reloc.c +++ b/elf/dl-reloc.c @@ -210,8 +210,8 @@ void internal_function _dl_reloc_bad_type (struct link_map *map, unsigned int type, int plt) { - extern const char _itoa_lower_digits[] attribute_hidden; -#define DIGIT(b) _itoa_lower_digits[(b) & 0xf]; + extern const char INTUSE(_itoa_lower_digits)[] attribute_hidden; +#define DIGIT(b) INTUSE(_itoa_lower_digits)[(b) & 0xf]; /* XXX We cannot translate these messages. */ static const char msg[2][32] = { "unexpected reloc type 0x", |