diff options
author | Timo Teräs <timo.teras@iki.fi> | 2010-10-22 13:58:13 +0200 |
---|---|---|
committer | Denys Vlasenko <dvlasenk@redhat.com> | 2010-10-22 13:58:13 +0200 |
commit | f53db356f53686cb0e4ddb25946b8cff9e82453d (patch) | |
tree | e9e9038e90ad491b3631c8aee4637b4306e3df7f /libm/s_copysign.c | |
parent | 5e8d3975e2cb45df16038e2a99c74abfb252d44a (diff) |
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 <timo.teras@iki.fi>
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'libm/s_copysign.c')
0 files changed, 0 insertions, 0 deletions