From 8ed66ecbcba1dd0f899f22b534aac92a282f42d5 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Sat, 18 Apr 2015 20:45:39 -0400 Subject: remove the last of possible-textrels from i386 asm 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. --- src/signal/i386/sigsetjmp.s | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/signal/i386') diff --git a/src/signal/i386/sigsetjmp.s b/src/signal/i386/sigsetjmp.s index 1d24b6f7..690b251c 100644 --- a/src/signal/i386/sigsetjmp.s +++ b/src/signal/i386/sigsetjmp.s @@ -12,7 +12,8 @@ __sigsetjmp: mov %ebx,28+8(%eax) mov %eax,%ebx - call setjmp +.hidden ___setjmp + call ___setjmp pushl 24(%ebx) mov %ebx,4(%esp) @@ -22,4 +23,4 @@ __sigsetjmp: .hidden __sigsetjmp_tail jmp __sigsetjmp_tail -1: jmp setjmp +1: jmp ___setjmp -- cgit v1.2.1