X-Git-Url: https://git.stricted.de/?p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git;a=blobdiff_plain;f=scripts%2Frecordmcount.c;h=8c9ffe27a08366911ea87ff31c2538631c227a3d;hp=6faf6c654e8f32d39803e7c379e44e780168aebd;hb=b9e7bc93d665a989f62f385d6982dd8d92c0e7dd;hpb=a8732f92e31108edc13ca4d4d05b7a7e24f1cd7d diff --git a/scripts/recordmcount.c b/scripts/recordmcount.c index 6faf6c654e8f..8c9ffe27a083 100644 --- a/scripts/recordmcount.c +++ b/scripts/recordmcount.c @@ -33,10 +33,17 @@ #include #include +/* + * 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 -/* Remove this when these make it to the standard system elf.h. */ #define EM_METAG 174 +#endif +#ifndef R_METAG_ADDR32 #define R_METAG_ADDR32 2 +#endif +#ifndef R_METAG_NONE #define R_METAG_NONE 3 #endif