summaryrefslogtreecommitdiffstats
path: root/patches/elfutils-0.180/0002-riscv-retval-workaround.patch
blob: 338b533d6245a49567a7046aeb2998211fb6d0d9 (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
From: Michael Olbrich <m.olbrich@pengutronix.de>
Date: Sun, 2 Aug 2020 09:48:45 +0200
Subject: [PATCH] riscv-retval-workaround

Imported from elfutils_0.180-1.debian.tar.xz

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
---
 backends/riscv_retval.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/backends/riscv_retval.c b/backends/riscv_retval.c
index 35b6010bf3e3..46d465e913d4 100644
--- a/backends/riscv_retval.c
+++ b/backends/riscv_retval.c
@@ -111,7 +111,7 @@ flatten_aggregate_arg (Dwarf_Die *typedie __attribute__ ((unused)),
 		       Dwarf_Die *arg1 __attribute__ ((unused)))
 {
   /* ??? */
-  return 1;
+  return 0;
 }
 
 static int