This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [patch] unaligned traps in dynamic linker on alpha
- To: Ivan Kokshaysky <ink at jurassic dot park dot msu dot ru>
- Subject: Re: [patch] unaligned traps in dynamic linker on alpha
- From: Ulrich Drepper <drepper at redhat dot com>
- Date: 28 Sep 2000 23:51:51 -0700
- Cc: libc-alpha at sources dot redhat dot com
- References: <20000918193556.A30776@jurassic.park.msu.ru>
- Reply-To: drepper at cygnus dot com (Ulrich Drepper)
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 `------------------------