summaryrefslogtreecommitdiffstats
path: root/backends
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2019-04-14 22:40:53 +0200
committerMark Wielaard <mark@klomp.org>2019-04-14 22:40:53 +0200
commite6118f9720d42af6758a0a74b7324acd4aed383d (patch)
tree702015344ba76a7dc9dba172c94fd1f0628c4093 /backends
parent9c82942ae7355a3226c53a92c2c73b33193c5e33 (diff)
backends: riscv_cfi.c had a bad BACKEND define.
BACKEND should have been defined as riscv_ (not aarch64_). Reported-by: Mao Han <han_mao@c-sky.com> Signed-off-by: Mark Wielaard <mark@klomp.org>
Diffstat (limited to 'backends')
-rw-r--r--backends/ChangeLog4
-rw-r--r--backends/riscv_cfi.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/backends/ChangeLog b/backends/ChangeLog
index 0c61a0b3..6c2b47a9 100644
--- a/backends/ChangeLog
+++ b/backends/ChangeLog
@@ -1,3 +1,7 @@
+2019-04-14 Mark Wielaard <mark@klomp.org>
+
+ * riscv_cfi.c: Fix BACKEND define.
+
2019-02-15 Mark Wielaard <mark@klomp.org>
* s390_init.c (s390_init): Hook check_special_symbol.
diff --git a/backends/riscv_cfi.c b/backends/riscv_cfi.c
index 1a84a382..1c52ea8d 100644
--- a/backends/riscv_cfi.c
+++ b/backends/riscv_cfi.c
@@ -31,7 +31,7 @@
#include <dwarf.h>
-#define BACKEND aarch64_
+#define BACKEND riscv64_
#include "libebl_CPU.h"