projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
drm/amdgpu/virtual_dce: add case for topaz for disable_dce
[cascardo/linux.git]
/
scripts
/
recordmcount.c
diff --git
a/scripts/recordmcount.c
b/scripts/recordmcount.c
index
e167592
..
42396a7
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