Date: Thu, 2 Jun 2005 05:34:08 +0000 (UTC) From: Marcel Moolenaar <marcel@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/libexec/rtld-elf/alpha reloc.c Message-ID: <200506020534.j525Y8YA017396@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marcel 2005-06-02 05:34:08 UTC FreeBSD src repository Modified files: libexec/rtld-elf/alpha reloc.c Log: Fix the load64 and store64 macros, created to handle 8-byte unaligned loads and stores (resp.) The ldq_u and stq_u instruction mask off the lower 3 bits of the final address before loading from or storing to the address, so as to avoid unaligned loads and stores. They do not themselves allow loads from or stores to unaligned addresses. Replace the macro definitions by a packed struct dereference. Submitted by: Richard Henderson (rth at twiddle dot net) Revision Changes Path 1.20 +6 -6 src/libexec/rtld-elf/alpha/reloc.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200506020534.j525Y8YA017396>