[patch] unaligned traps in dynamic linker on alpha
Ulrich Drepper
drepper@redhat.com
Thu Sep 28 23:52:00 GMT 2000
Ivan Kokshaysky <ink@jurassic.park.msu.ru> writes:
> Regarding the change in sysdeps/alpha/dl-machine.h:
>
> (elf_machine_rela) [r_type == R_ALPHA_REFQUAD]: Use memcpy to load and
> store value from relocation address to prevent unaligned trap.
>
> Probably it was an attempt to fix long standing problem with
> unaligned traps in dynamic linker loading libstdc++.
No, R_ALPHA_REFQUAD has this problem as well. We didn't know about
R_ALPHA_RELATIVE. I've added the unaligned handling for this type now
as well.
Thanks,
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------
More information about the Libc-alpha
mailing list