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/setjmp/i386/setjmp.s | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/setjmp/i386') diff --git a/src/setjmp/i386/setjmp.s b/src/setjmp/i386/setjmp.s index 586d4390..4d19cf87 100644 --- a/src/setjmp/i386/setjmp.s +++ b/src/setjmp/i386/setjmp.s @@ -1,9 +1,12 @@ +.global ___setjmp +.hidden ___setjmp .global __setjmp .global _setjmp .global setjmp .type __setjmp,@function .type _setjmp,@function .type setjmp,@function +___setjmp: __setjmp: _setjmp: setjmp: -- cgit v1.2.1