4b5fdef
From b7dc8766080bf6189d6f15f7887c80ac456e01b9 Mon Sep 17 00:00:00 2001
4b5fdef
From: Ondrej Dubaj <odubaj@redhat.com>
4b5fdef
Date: Thu, 24 Jan 2019 09:37:52 +0100
4b5fdef
Subject: [PATCH] Add Linux PowerPC core offsets for Linux + fixed bug #1161911
4b5fdef
4b5fdef
---
4b5fdef
 src/readelf.c | 5 ++++-
4b5fdef
 1 file changed, 4 insertions(+), 1 deletion(-)
4b5fdef
4b5fdef
diff --git a/src/readelf.c b/src/readelf.c
4b5fdef
index 909e414..642d6fd 100644
4b5fdef
--- a/src/readelf.c
4b5fdef
+++ b/src/readelf.c
4b5fdef
@@ -262,7 +262,10 @@ static const size_t	prpsoffsets32[] = {
4b5fdef
 	84,		/* SunOS 5.x (short name) */
4b5fdef
 
4b5fdef
 	44,		/* Linux (command line) */
4b5fdef
-	28,		/* Linux 2.0.36 (short name) */
4b5fdef
+	28,		/* Linux (short name) */
4b5fdef
+
4b5fdef
+	48,		/* Linux PowerPC (command line) */
4b5fdef
+	32,		/* Linux PowerPC (short name) */
4b5fdef
 
4b5fdef
 	8,		/* FreeBSD */
4b5fdef
 };
4b5fdef
-- 
4b5fdef
2.17.1
4b5fdef