]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/x86/lib/gcc.c
Update from 2013.01 to 2013.07
[karo-tx-uboot.git] / arch / x86 / lib / gcc.c
index 4043431ecaa904e0ffc5606db762c2206c3f7dcb..497ad75b7a45fca5c9b7e81c855a986e82dba85b 100644 (file)
@@ -28,7 +28,9 @@
 #define WRAP_LIBGCC_CALL(type, name) \
        type __normal_##name(type a, type b) __attribute__((regparm(0))); \
        type __wrap_##name(type a, type b); \
-       type __wrap_##name(type a, type b) { return __normal_##name(a, b); }
+       type __attribute__((no_instrument_function)) \
+               __wrap_##name(type a, type b) \
+                { return __normal_##name(a, b); }
 
 WRAP_LIBGCC_CALL(long long, __divdi3)
 WRAP_LIBGCC_CALL(unsigned long long, __udivdi3)