mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 19:00:07 +00:00
Update.
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:
parent
c4be6664d5
commit
d7d64cdb3d
@ -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
|
||||
|
2163
posix/regex.c
2163
posix/regex.c
File diff suppressed because it is too large
Load Diff
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user