This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [patch] unaligned traps in dynamic linker on alpha


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   `------------------------

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]