aboutsummaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
Diffstat (limited to 'elf')
-rw-r--r--elf/dl-minimal.c7
-rw-r--r--elf/dl-reloc.c4
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",