summaryrefslogtreecommitdiff
blob: 0d12f7724e70c346cdf059c971a261430e549d3c (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
28
29
30
31
32
33
34
35
36
37
From 6f870ba1f4054674024cc3d3faf18d8b1e3676f6 Mon Sep 17 00:00:00 2001
From: Jakov Smolic <jakov.smolic@sartura.hr>
Date: Fri, 17 Jul 2020 09:10:45 +0200
Subject: [PATCH] Fix armv7a build crash
Bug: https://bugs.gentoo.org/732902
Upstream: https://github.com/iovisor/ply/pull/60

Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
---
 src/libply/Makefile.am   | 1 +
 src/libply/arch/armv7a.c | 1 +
 2 files changed, 2 insertions(+)
 create mode 120000 src/libply/arch/armv7a.c

diff --git a/src/libply/Makefile.am b/src/libply/Makefile.am
index 3c83bb4..3a7c747 100644
--- a/src/libply/Makefile.am
+++ b/src/libply/Makefile.am
@@ -10,6 +10,7 @@ AM_LFLAGS = --header-file=lexer.h
 EXTRA_DIST = grammar.c grammar.h lexer.c lexer.h \
 	arch/aarch64.c \
 	arch/arm.c     \
+	arch/armv7a.c \
 	arch/powerpc.c \
 	arch/x86_64.c
 
diff --git a/src/libply/arch/armv7a.c b/src/libply/arch/armv7a.c
new file mode 120000
index 0000000..980a6a5
--- /dev/null
+++ b/src/libply/arch/armv7a.c
@@ -0,0 +1 @@
+arm.c
\ No newline at end of file
-- 
2.26.2