2001-06-17  Alan Modra  <amodra@bigpond.net.au>

	* sysdeps/hppa/dl-machine.h (elf_machine_rela): handle relocs
	at unaligned address.
This commit is contained in:
Ulrich Drepper 2001-06-19 00:43:55 +00:00
parent c4be6664d5
commit d7d64cdb3d
3 changed files with 1200 additions and 979 deletions

View File

@ -1,3 +1,8 @@
2001-06-17 Alan Modra <amodra@bigpond.net.au>
* sysdeps/hppa/dl-machine.h (elf_machine_rela): handle relocs
at unaligned address.
2001-06-18 Ulrich Drepper <drepper@redhat.com>
* posix/regex.c: Reorganize code to build code twice, once for single

File diff suppressed because it is too large Load Diff

View File

@ -530,7 +530,16 @@ elf_machine_rela (struct link_map *map, const Elf32_Rela *reloc,
if (map == &_dl_rtld_map)
return;
#endif
/* Otherwise, nothing more to do here. */
/* .eh_frame can have unaligned relocs. */
if (reloc_addr & 3)
{
char *rel_addr = (char *) reloc_addr;
rel_addr[0] = value >> 24;
rel_addr[1] = value >> 16;
rel_addr[2] = value >> 8;
rel_addr[3] = value;
return;
}
break;
case R_PARISC_PLABEL32: