aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2002-06-06 14:16:41 +0000
committerAndreas Jaeger <aj@suse.de>2002-06-06 14:16:41 +0000
commit32d4ea6bb20725d843cd161199c300cb0df4ca68 (patch)
treee4ba769bff0a70552796d67ee1c480e34f4e4275
parent5a5654a3faa43ddc90196b2842fe4127bd4f6d46 (diff)
downloadglibc-32d4ea6bb20725d843cd161199c300cb0df4ca68.zip
glibc-32d4ea6bb20725d843cd161199c300cb0df4ca68.tar.gz
glibc-32d4ea6bb20725d843cd161199c300cb0df4ca68.tar.bz2
Update.
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.
-rw-r--r--ChangeLog7
-rw-r--r--sysdeps/hppa/dl-machine.h2
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 3dd02d8..41a964f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>.
diff --git a/sysdeps/hppa/dl-machine.h b/sysdeps/hppa/dl-machine.h
index b30a3ba..18d46e4 100644
--- a/sysdeps/hppa/dl-machine.h
+++ b/sysdeps/hppa/dl-machine.h
@@ -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;