summaryrefslogtreecommitdiffstats
path: root/patches/elfutils-0.180/0002-riscv-retval-workaround.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/elfutils-0.180/0002-riscv-retval-workaround.patch')
-rw-r--r--patches/elfutils-0.180/0002-riscv-retval-workaround.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/patches/elfutils-0.180/0002-riscv-retval-workaround.patch b/patches/elfutils-0.180/0002-riscv-retval-workaround.patch
new file mode 100644
index 000000000..338b533d6
--- /dev/null
+++ b/patches/elfutils-0.180/0002-riscv-retval-workaround.patch
@@ -0,0 +1,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