movl $0, %eax
ret
+#if !defined(VGO_darwin)
.section .note.GNU-stack,"",@progbits
+#endif
+
VERIFY_ALIGNMENT(&aligned_alloc_info); \
TRIGGER_MEMCHECK_ERROR_IF_UNDEFINED((UWord)zone); \
TRIGGER_MEMCHECK_ERROR_IF_UNDEFINED(n); \
- MALLOC_TRACE("zone_memalign(%p, %lu, %u)", zone, \
+ MALLOC_TRACE("zone_memalign(%p, %lu, %lu)", zone, \
alignment, n); \
\
if (alignment == 0 || alignment % sizeof(void*) != 0 || \
/* Save the syscall number in the thread state in case the syscall
is interrupted by a signal. */
canonical_sysno = sci->orig_args.canonical_sysno;
-#if defined(VGO_freebsd) || defined(VGO_darwin)
+#if defined(VGO_freebsd) || defined(VGP_amd64_darwin)
original_sysno = sci->orig_args.original_sysno;
#else
/*
To handle this in valgrind, we create and destroy a valgrind
thread for every work item.
*/
-void wqthread_hijack(Addr self, Addr kport, Addr stackaddr, Addr workitem,
- Int reuse, Addr sp)
+void wqthread_hijack(Addr self, Addr kport, Addr stackaddr, Addr workitem,
+ UInt reuse, Int kevent_count, Addr sp)
{
ThreadState *tst;
VexGuestX86State *vex;
.size VG_SYM_ASM(fooble),.Lfe1-VG_SYM_ASM(fooble)
#endif
.ident "GCC: (GNU) 2.96 20000731 (Red Hat Linux 7.1 2.96-98)"
+#if !defined(VGO_darwin)
.section .note.GNU-stack,"",@progbits
+#endif
.Lfe3:
.comm foo,4,4
.ident "GCC: (GNU) 2.96 20000731 (Red Hat Linux 7.1 2.96-98)"
+#if !defined(VGO_darwin)
.section .note.GNU-stack,"",@progbits
+#endif
.ident "GCC: (GNU) 2.96 20000731 (Red Hat Linux 7.1 2.96-98)"
+#if !defined(VGO_darwin)
.section .note.GNU-stack,"",@progbits
+#endif
+