public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] perf: Define EM_AARCH64 for older OS
@ 2015-02-19  0:33 David Ahern
  2015-03-01 16:50 ` [tip:perf/urgent] perf symbols: Define EM_AARCH64 for older OSes tip-bot for David Ahern
  0 siblings, 1 reply; 2+ messages in thread
From: David Ahern @ 2015-02-19  0:33 UTC (permalink / raw)
  To: acme, linux-kernel; +Cc: David Ahern, Victor Kamensky

4886f2ca19f6f added an arm-64 check, but the EM_AARCH64 macro is not defined
in older releases (e.g., RHEL6). Define if it is not defined.

Signed-off-by: David Ahern <david.ahern@oracle.com>
Cc: Victor Kamensky <victor.kamensky@linaro.org>
---
 tools/perf/util/symbol-elf.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/tools/perf/util/symbol-elf.c b/tools/perf/util/symbol-elf.c
index b02731a..ada1676 100644
--- a/tools/perf/util/symbol-elf.c
+++ b/tools/perf/util/symbol-elf.c
@@ -11,6 +11,11 @@
 #include <symbol/kallsyms.h>
 #include "debug.h"
 
+#ifndef EM_AARCH64
+#define EM_AARCH64	183  /* ARM 64 bit */
+#endif
+
+
 #ifdef HAVE_CPLUS_DEMANGLE_SUPPORT
 extern char *cplus_demangle(const char *, int);
 
-- 
1.7.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-03-01 16:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-19  0:33 [PATCH] perf: Define EM_AARCH64 for older OS David Ahern
2015-03-01 16:50 ` [tip:perf/urgent] perf symbols: Define EM_AARCH64 for older OSes tip-bot for David Ahern

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox