]> Git Repo - uclibc-ng.git/commit
libm/x86: use call instead of jump for wrappers
authorTimo Teräs <[email protected]>
Fri, 22 Oct 2010 11:58:13 +0000 (13:58 +0200)
committerDenys Vlasenko <[email protected]>
Fri, 22 Oct 2010 11:58:13 +0000 (13:58 +0200)
commitf53db356f53686cb0e4ddb25946b8cff9e82453d
treee9e9038e90ad491b3631c8aee4637b4306e3df7f
parent5e8d3975e2cb45df16038e2a99c74abfb252d44a
libm/x86: use call instead of jump for wrappers

GCC can emit prologue/epilogue code for the functions in various
different cases:
 - frame pointers
 - PIC build (to load ebx for indirect calls/jumps)
 - forced stack smashing protection

If we used jump in such cases, we'd corrupt the call stack and
crash.

Signed-off-by: Timo Teräs <[email protected]>
Signed-off-by: Denys Vlasenko <[email protected]>
libm/ldouble_wrappers.c
This page took 0.025058 seconds and 4 git commands to generate.