X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=scripts%2Frecordmcount.c;h=42396a74405df03002001d8f972599fa827bb3bf;hb=c8990359d4b12f14656386526ddf904635076902;hp=e167592793a70e8a1bac057d58ca7456e064db8e;hpb=d3f71ae711cebdeaff12989761f48bd4230e83d5;p=cascardo%2Flinux.git diff --git a/scripts/recordmcount.c b/scripts/recordmcount.c index e167592793a7..42396a74405d 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