* 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.
This commit is contained in:
Roland McGrath 2002-09-28 19:45:42 +00:00
parent a30471af3b
commit 6ae4fca735
5 changed files with 20 additions and 7 deletions

View File

@ -1,3 +1,13 @@
2002-09-28 Roland McGrath <roland@redhat.com>
* 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.
2002-09-27 Steven Munroe <sjmunroe@us.ibm.com> 2002-09-27 Steven Munroe <sjmunroe@us.ibm.com>
* include/libc-symbols.h (__hidden_dot_weak1): Fix typo. Replace * include/libc-symbols.h (__hidden_dot_weak1): Fix typo. Replace

View File

@ -523,8 +523,9 @@ elf_machine_rel (struct link_map *map, const Elf32_Rel *reloc,
topbits = newvalue & 0xfe000000; topbits = newvalue & 0xfe000000;
if (topbits != 0xfe000000 && topbits != 0x00000000) if (topbits != 0xfe000000 && topbits != 0x00000000)
{ {
_dl_signal_error (0, map->l_name, NULL, INTUSE (_dl_signal_error)
"R_ARM_PC24 relocation out of range"); (0, map->l_name, NULL,
"R_ARM_PC24 relocation out of range");
} }
} }
newvalue >>= 2; newvalue >>= 2;
@ -577,8 +578,9 @@ elf_machine_rela (struct link_map *map, const Elf32_Rela *reloc,
topbits = newvalue & 0xfe000000; topbits = newvalue & 0xfe000000;
if (topbits != 0xfe000000 && topbits != 0x00000000) if (topbits != 0xfe000000 && topbits != 0x00000000)
{ {
_dl_signal_error (0, map->l_name, NULL, INTUSE (_dl_signal_error)
"R_ARM_PC24 relocation out of range"); (0, map->l_name, NULL,
"R_ARM_PC24 relocation out of range");
} }
} }
newvalue >>= 2; newvalue >>= 2;

View File

@ -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. */ /* Return an empty array. Hurd has no hardware capabilities. */
result = (struct r_strlenpair *) malloc (sizeof (*result)); result = (struct r_strlenpair *) malloc (sizeof (*result));
if (result == NULL) 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].str = (char *) result; /* Does not really matter. */
result[0].len = 0; result[0].len = 0;

View File

@ -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; return NULL;
} }

View File

@ -46,5 +46,5 @@ _dl_reloc_overflow (struct link_map *map,
t = stpcpy (t, "'"); t = stpcpy (t, "'");
} }
t = stpcpy (t, " out of range"); 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);
} }