cvs commit: src/libexec/rtld-elf/alpha reloc.c

Marcel Moolenaar marcel at FreeBSD.org
Wed Jun 1 22:34:09 PDT 2005


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


More information about the cvs-src mailing list