freebsd-dev/libexec/rtld-elf
Marcel Moolenaar d4337d869f 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)
2005-06-02 05:34:08 +00:00
..
alpha Fix the load64 and store64 macros, created to handle 8-byte unaligned 2005-06-02 05:34:08 +00:00
amd64 Remove these unused files before any other archs include the same bogus 2004-11-12 18:05:30 +00:00
arm No need to provide atomic_cmpset_32() anymore. 2005-04-07 22:04:49 +00:00
i386 Align the stack to a 16 byte boundary before calling _rtld so that we can 2005-05-19 07:32:42 +00:00
ia64 Remove these unused files before any other archs include the same bogus 2004-11-12 18:05:30 +00:00
powerpc Remove these unused files before any other archs include the same bogus 2004-11-12 18:05:30 +00:00
sparc64 Remove these unused files before any other archs include the same bogus 2004-11-12 18:05:30 +00:00
debug.c Fix warnings on 64 bit platforms. 2003-06-19 16:09:18 +00:00
debug.h Add initial support for compiling a special 32 bit version of 2004-03-21 01:21:26 +00:00
libmap.c Description from Dan: 2005-02-04 02:46:41 +00:00
libmap.h Description from Dan: 2005-02-04 02:46:41 +00:00
Makefile So do it like we do in usr.bin/tip/tip/Makefile. ;) 2004-11-14 22:18:31 +00:00
malloc.c Very minor style nit: sort include files alphabetically. 2003-08-22 02:22:59 +00:00
map_object.c Attempt to free any static TLS space used by a shared library when it 2005-02-27 12:55:40 +00:00
rtld_lock.c Remove 80386 support from the ELF run time linker. 2004-11-16 20:45:51 +00:00
rtld_lock.h Fix warnings; no parameters in function prototypes. 2003-06-19 02:39:37 +00:00
rtld_tls.h Add support for Thread Local Storage. 2004-08-03 08:51:00 +00:00
rtld.1 Description from Dan: 2005-02-04 02:46:41 +00:00
rtld.c When allocating TLS and DTV, make sure that any unused slots in the DTV 2005-03-30 08:28:26 +00:00
rtld.h Attempt to free any static TLS space used by a shared library when it 2005-02-27 12:55:40 +00:00
xmalloc.c Add function prototypes. 2003-06-19 05:28:26 +00:00