From 32d4ea6bb20725d843cd161199c300cb0df4ca68 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Thu, 6 Jun 2002 14:16:41 +0000 Subject: Update. 2002-06-04 Bruno Haible * 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. --- sysdeps/hppa/dl-machine.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdeps') diff --git a/sysdeps/hppa/dl-machine.h b/sysdeps/hppa/dl-machine.h index b30a3ba62d..18d46e4fc2 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; -- cgit 1.4.1