aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-09-28 19:45:42 +0000
committerRoland McGrath <roland@gnu.org>2002-09-28 19:45:42 +0000
commit6ae4fca735cee01c892f41a63bf04a791ec1bb66 (patch)
tree1430c239258e44654dbefe4d03051c436aa33af1 /sysdeps
parenta30471af3b84e81c6e5300089392d40d8d2d5afe (diff)
downloadglibc-6ae4fca735cee01c892f41a63bf04a791ec1bb66.tar
glibc-6ae4fca735cee01c892f41a63bf04a791ec1bb66.tar.gz
glibc-6ae4fca735cee01c892f41a63bf04a791ec1bb66.tar.bz2
glibc-6ae4fca735cee01c892f41a63bf04a791ec1bb66.zip
* sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Use INTUSE for
_dl_signal_error. * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Likewise. * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow): Likewise. * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise. (elf_machine_rela): Likewise.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/arm/dl-machine.h10
-rw-r--r--sysdeps/mach/hurd/dl-sysdep.c3
-rw-r--r--sysdeps/mips/dl-machine.h2
-rw-r--r--sysdeps/powerpc/powerpc64/dl-machine.c2
4 files changed, 10 insertions, 7 deletions
diff --git a/sysdeps/arm/dl-machine.h b/sysdeps/arm/dl-machine.h
index 9905d15001..e3e666a42f 100644
--- a/sysdeps/arm/dl-machine.h
+++ b/sysdeps/arm/dl-machine.h
@@ -523,8 +523,9 @@ elf_machine_rel (struct link_map *map, const Elf32_Rel *reloc,
topbits = newvalue & 0xfe000000;
if (topbits != 0xfe000000 && topbits != 0x00000000)
{
- _dl_signal_error (0, map->l_name, NULL,
- "R_ARM_PC24 relocation out of range");
+ INTUSE (_dl_signal_error)
+ (0, map->l_name, NULL,
+ "R_ARM_PC24 relocation out of range");
}
}
newvalue >>= 2;
@@ -577,8 +578,9 @@ elf_machine_rela (struct link_map *map, const Elf32_Rela *reloc,
topbits = newvalue & 0xfe000000;
if (topbits != 0xfe000000 && topbits != 0x00000000)
{
- _dl_signal_error (0, map->l_name, NULL,
- "R_ARM_PC24 relocation out of range");
+ INTUSE (_dl_signal_error)
+ (0, map->l_name, NULL,
+ "R_ARM_PC24 relocation out of range");
}
}
newvalue >>= 2;
diff --git a/sysdeps/mach/hurd/dl-sysdep.c b/sysdeps/mach/hurd/dl-sysdep.c
index 6d009401b9..a0795f1eb7 100644
--- a/sysdeps/mach/hurd/dl-sysdep.c
+++ b/sysdeps/mach/hurd/dl-sysdep.c
@@ -648,7 +648,8 @@ _dl_important_hwcaps (const char *platform, size_t platform_len, size_t *sz,
/* Return an empty array. Hurd has no hardware capabilities. */
result = (struct r_strlenpair *) malloc (sizeof (*result));
if (result == NULL)
- _dl_signal_error (ENOMEM, NULL, NULL, "cannot create capability list");
+ INTUSE (_dl_signal_error) (ENOMEM, NULL, NULL,
+ "cannot create capability list");
result[0].str = (char *) result; /* Does not really matter. */
result[0].len = 0;
diff --git a/sysdeps/mips/dl-machine.h b/sysdeps/mips/dl-machine.h
index 7dbdd794cf..08e5a6e562 100644
--- a/sysdeps/mips/dl-machine.h
+++ b/sysdeps/mips/dl-machine.h
@@ -238,7 +238,7 @@ elf_machine_runtime_link_map (ElfW(Addr) gpreg, ElfW(Addr) stub_pc)
}
}
- _dl_signal_error (0, NULL, NULL, "cannot find runtime link map");
+ INTUSE (_dl_signal_error) (0, NULL, NULL, "cannot find runtime link map");
return NULL;
}
diff --git a/sysdeps/powerpc/powerpc64/dl-machine.c b/sysdeps/powerpc/powerpc64/dl-machine.c
index ef7b3400f3..bbaedc8335 100644
--- a/sysdeps/powerpc/powerpc64/dl-machine.c
+++ b/sysdeps/powerpc/powerpc64/dl-machine.c
@@ -46,5 +46,5 @@ _dl_reloc_overflow (struct link_map *map,
t = stpcpy (t, "'");
}
t = stpcpy (t, " out of range");
- _dl_signal_error (0, map->l_name, NULL, buffer);
+ INTUSE (_dl_signal_error) (0, map->l_name, NULL, buffer);
}