Blame SOURCES/ltrace-rh1225568.patch
|
|
5cd83f |
diff -Nrup a/testsuite/ltrace.minor/trace-clone.c b/testsuite/ltrace.minor/trace-clone.c
|
|
|
5cd83f |
--- a/testsuite/ltrace.minor/trace-clone.c 2012-12-16 18:53:45.000000000 -0700
|
|
|
5cd83f |
+++ b/testsuite/ltrace.minor/trace-clone.c 2015-06-01 12:17:25.955142612 -0600
|
|
|
5cd83f |
@@ -3,11 +3,14 @@
|
|
|
5cd83f |
clone called.
|
|
|
5cd83f |
|
|
|
5cd83f |
This file was written by Yao Qi <qiyao@cn.ibm.com>. */
|
|
|
5cd83f |
+#ifndef _GNU_SOURCE
|
|
|
5cd83f |
#define _GNU_SOURCE
|
|
|
5cd83f |
+#endif
|
|
|
5cd83f |
#include <stdio.h>
|
|
|
5cd83f |
#include <sys/types.h>
|
|
|
5cd83f |
#include <stdlib.h>
|
|
|
5cd83f |
#include <sched.h>
|
|
|
5cd83f |
+#include <unistd.h>
|
|
|
5cd83f |
|
|
|
5cd83f |
int child ()
|
|
|
5cd83f |
{
|
|
|
5cd83f |
@@ -22,7 +25,8 @@ typedef int (* myfunc)();
|
|
|
5cd83f |
int main ()
|
|
|
5cd83f |
{
|
|
|
5cd83f |
pid_t pid;
|
|
|
5cd83f |
- static char stack[STACK_SIZE];
|
|
|
5cd83f |
+ static __attribute__ ((aligned (16))) char stack[STACK_SIZE];
|
|
|
5cd83f |
+
|
|
|
5cd83f |
#ifdef __ia64__
|
|
|
5cd83f |
pid = __clone2((myfunc)&child, stack, STACK_SIZE, CLONE_FS, NULL);
|
|
|
5cd83f |
#else
|
|
|
5cd83f |
diff -Nrup a/testsuite/ltrace.minor/trace-irelative.exp b/testsuite/ltrace.minor/trace-irelative.exp
|
|
|
5cd83f |
--- a/testsuite/ltrace.minor/trace-irelative.exp 2013-11-04 18:08:03.000000000 -0700
|
|
|
5cd83f |
+++ b/testsuite/ltrace.minor/trace-irelative.exp 2015-06-01 12:30:59.737371166 -0600
|
|
|
5cd83f |
@@ -54,6 +54,8 @@ set src [ltraceSource c {
|
|
|
5cd83f |
}]
|
|
|
5cd83f |
|
|
|
5cd83f |
foreach ext {{} .pie} {
|
|
|
5cd83f |
+ # AArch64 does not have ifunc support yet
|
|
|
5cd83f |
+ setup_xfail aarch64*-*-*
|
|
|
5cd83f |
set bin1 [ltraceCompile $ext $src]
|
|
|
5cd83f |
do_tests $bin1 ""
|
|
|
5cd83f |
}
|