projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'v3.10.103' into update
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
scripts
/
recordmcount.c
diff --git
a/scripts/recordmcount.c
b/scripts/recordmcount.c
index 6faf6c654e8f32d39803e7c379e44e780168aebd..8c9ffe27a08366911ea87ff31c2538631c227a3d 100644
(file)
--- a/
scripts/recordmcount.c
+++ b/
scripts/recordmcount.c
@@
-33,10
+33,17
@@
#include <string.h>
#include <unistd.h>
#include <string.h>
#include <unistd.h>
+/*
+ * glibc synced up and added the metag number but didn't add the relocations.
+ * Work around this in a crude manner for now.
+ */
#ifndef EM_METAG
#ifndef EM_METAG
-/* Remove this when these make it to the standard system elf.h. */
#define EM_METAG 174
#define EM_METAG 174
+#endif
+#ifndef R_METAG_ADDR32
#define R_METAG_ADDR32 2
#define R_METAG_ADDR32 2
+#endif
+#ifndef R_METAG_NONE
#define R_METAG_NONE 3
#endif
#define R_METAG_NONE 3
#endif