Blame SOURCES/ltrace-0.7.91-aarch64-params.patch

e7106e
diff -rup a/sysdeps/linux-gnu/aarch64/fetch.c b/sysdeps/linux-gnu/aarch64/fetch.c
e7106e
--- a/sysdeps/linux-gnu/aarch64/fetch.c	2018-07-05 16:06:04.697642086 -0400
e7106e
+++ b/sysdeps/linux-gnu/aarch64/fetch.c	2018-07-05 16:16:19.366905601 -0400
e7106e
@@ -308,12 +308,9 @@ arch_fetch_arg_init(enum tof type, struc
e7106e
 	struct fetch_script how = pass_arg(context, proc, ret_info);
e7106e
 	if (how.c == CVT_ERR)
e7106e
 		goto fail;
e7106e
-	if (how.c == CVT_NOP && how.f == FETCH_STACK) {
e7106e
+	if (how.c == CVT_BYREF && how.f == FETCH_GPR) {
e7106e
 		/* XXX double cast.  */
e7106e
 		context->x8 = (arch_addr_t) (uintptr_t) context->gregs.regs[8];
e7106e
-		/* See the comment above about the assert.  */
e7106e
-		assert(! "Unexpected: first argument passed on stack.");
e7106e
-		abort();
e7106e
 	}
e7106e
 
e7106e
 	return context;