none of these are actual textrels because of ld-time binding performed
by -Bsymbolic-functions, but I'm changing them with the goal of making
ld-time binding purely an optimization rather than relying on it for
semantic purposes.
in the case of memmove's call to memcpy, making it explicit that the
memmove asm is assuming the forward-copying behavior of the memcpy asm
is desirable anyway; in case memcpy is ever changed, the semantic
mismatch would be apparent while editing memmcpy.s.
jmp 1f
.global exp2l
+.global __exp2l
+.hidden __exp2l
.type exp2l,@function
exp2l:
+__exp2l:
fldt 4(%esp)
jmp 1f
fstpt (%esp)
fstpt 16(%esp)
fstpt 32(%esp)
- call exp2l
+.hidden __exp2l
+ call __exp2l
# if 2^hi == inf return 2^hi
fld %st(0)
fstpt (%esp)
+.global ___setjmp
+.hidden ___setjmp
.global __setjmp
.global _setjmp
.global setjmp
.type __setjmp,@function
.type _setjmp,@function
.type setjmp,@function
+___setjmp:
__setjmp:
_setjmp:
setjmp:
mov %ebx,28+8(%eax)
mov %eax,%ebx
- call setjmp
+.hidden ___setjmp
+ call ___setjmp
pushl 24(%ebx)
mov %ebx,4(%esp)
.hidden __sigsetjmp_tail
jmp __sigsetjmp_tail
-1: jmp setjmp
+1: jmp ___setjmp
.global memcpy
+.global __memcpy_fwd
+.hidden __memcpy_fwd
.type memcpy,@function
memcpy:
+__memcpy_fwd:
push %esi
push %edi
mov 12(%esp),%edi
mov 4(%esp),%eax
sub 8(%esp),%eax
cmp 12(%esp),%eax
- jae memcpy
+.hidden __memcpy_fwd
+ jae __memcpy_fwd
push %esi
push %edi
mov 12(%esp),%edi