aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/uftrace/uftrace/0001-Fix-error-on-aarch64-with-binutils2.35.1.patch
blob: ac17cf433f92d56f40c083e2610be3cbd54c31c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From 0bc502989822506af308a559ac1cd52af82cac03 Mon Sep 17 00:00:00 2001
From: Lei Maohui <leimaohui@cn.fujitsu.com>
Date: Wed, 14 Apr 2021 09:35:35 +0900
Subject: [PATCH] Fix error on aarch64 with binutils2.35.1.

WARN: child terminated by signal: 11: Segmentation fault

Upstream-status: Pending

Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
---
 arch/aarch64/mcount-arch.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/aarch64/mcount-arch.h b/arch/aarch64/mcount-arch.h
index 69efe521..60c2c1ba 100644
--- a/arch/aarch64/mcount-arch.h
+++ b/arch/aarch64/mcount-arch.h
@@ -31,7 +31,7 @@ struct mcount_arch_context {
 	double d[ARCH_MAX_FLOAT_REGS];
 };
 
-#define ARCH_PLT0_SIZE  32
+#define ARCH_PLT0_SIZE  16
 #define ARCH_PLTHOOK_ADDR_OFFSET  0
 
 struct mcount_disasm_engine;