summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/gcc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/gcc.c b/src/lib/gcc.c
index edd3eb997b..9b6ef035b2 100644
--- a/src/lib/gcc.c
+++ b/src/lib/gcc.c
@@ -22,9 +22,9 @@
* compiler call specifies. Therefore we need a wrapper around those
* functions. See gcc bug PR41055 for more information.
*/
-
#define WRAP_LIBGCC_CALL(type, name) \
type __real_##name(type a, type b) __attribute__((regparm(0))); \
+ type __wrap_##name(type a, type b); \
type __wrap_##name(type a, type b) { return __real_##name(a, b); }
WRAP_LIBGCC_CALL(long long, __divdi3)