summaryrefslogtreecommitdiff
path: root/libc/stdlib/bsearch.c
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2010-10-22 13:58:13 +0200
committerDenys Vlasenko <dvlasenk@redhat.com>2010-10-22 13:58:13 +0200
commitf53db356f53686cb0e4ddb25946b8cff9e82453d (patch)
treee9e9038e90ad491b3631c8aee4637b4306e3df7f /libc/stdlib/bsearch.c
parent5e8d3975e2cb45df16038e2a99c74abfb252d44a (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 'libc/stdlib/bsearch.c')
0 files changed, 0 insertions, 0 deletions