+valdir = $(libdir)/valgrind
+val_PROGRAMS = libpthread.so
+libpthread_so_SOURCES = \
+· vg_libpthread.c \
+· vg_libpthread_unimp.c \
+· vg_syscall.S
+libpthread_so_DEPENDENCIES = $(srcdir)/vg_libpthread.vs
+libpthread_so_LDFLAGS = -Werror -fno-omit-frame-pointer -UVG_LIBDIR \
+· -shared -fpic \
+· -Wl,-version-script $(srcdir)/vg_libpthread.vs \
+· -Wl,-z,nodelete \
+· -Wl,--soname=libpthread.so.0
For tools that use their own version of <code>malloc()</code> (e.g. Memcheck
and Addrcheck), the following options apply.
<ul>
- <li><code>--alignment=<number></code> [default: 4]<br> <p>By
+ <li><code>--alignment=<number></code> [default: 8]<br> <p>By
default Valgrind's <code>malloc</code>, <code>realloc</code>,
etc, return 4-byte aligned addresses. These are suitable for
any accesses on x86 processors.
Bool VG_(clo_trace_malloc) = False;
/* Minimum alignment in functions that don't specify alignment explicitly.
- default: 0, i.e. use default of the machine (== 4) */
+ default: 0, i.e. use default of the machine (== 8) */
Int VG_(clo_alignment) = 8;
{
VG_(printf)(
" --sloppy-malloc=no|yes round malloc sizes to next word? [no]\n"
-" --alignment=<number> set minimum alignment of allocations [4]\n"
+" --alignment=<number> set minimum alignment of allocations [8]\n"
);
}