2002-06-04  Bruno Haible  <bruno@clisp.org>

	* sysdeps/cris/stackinfo.h: New file.

	* sysdeps/hppa/dl-machine.h (elf_machine_rela): Cast reloc_addr
	to an integer type before performing bit operations on it.
This commit is contained in:
Andreas Jaeger 2002-06-06 14:16:41 +00:00
parent 5a5654a3fa
commit 32d4ea6bb2
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2002-06-04 Bruno Haible <bruno@clisp.org>
* sysdeps/cris/stackinfo.h: New file.
* sysdeps/hppa/dl-machine.h (elf_machine_rela): Cast reloc_addr
to an integer type before performing bit operations on it.
2002-06-05 Roland McGrath <roland@frob.com>
* sysdeps/generic/sendfile.c: Include <errno.h>.

View File

@ -531,7 +531,7 @@ elf_machine_rela (struct link_map *map, const Elf32_Rela *reloc,
return;
#endif
/* .eh_frame can have unaligned relocs. */
if (reloc_addr & 3)
if ((unsigned long) reloc_addr & 3)
{
char *rel_addr = (char *) reloc_addr;
rel_addr[0] = value >> 24;