From: Roland McGrath Date: Mon, 18 Jul 2005 03:36:47 +0000 (+0000) Subject: 2005-07-12 Jakub Jelinek X-Git-Tag: cvs/fedora-glibc-2_3-20050718T0425~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=664b64b8b3abb25b1bd06556393baf7e16a36d20;p=thirdparty%2Fglibc.git 2005-07-12 Jakub Jelinek [BZ #1106] * sysdeps/s390/s390-64/bcopy.S (__bcopy): Use HIDDEN_BUILTIN_JUMPTARGET to jump to memmove. --- diff --git a/sysdeps/s390/s390-64/bcopy.S b/sysdeps/s390/s390-64/bcopy.S index ff7966723b5..f0df54c3404 100644 --- a/sysdeps/s390/s390-64/bcopy.S +++ b/sysdeps/s390/s390-64/bcopy.S @@ -59,14 +59,10 @@ ENTRY(__bcopy) jo .L6 br %r14 .L7: # destructive overlay, can not use mvcle - lgr %r1,%r2 # bcopy is called with source,dest - lgr %r2,%r3 # memmove with dest,source! Oh, well... - lgr %r3,%r1 -#ifdef PIC - jg memmove@PLT -#else - jg memmove -#endif + lgr %r1,%r2 # bcopy is called with source,dest + lgr %r2,%r3 # memmove with dest,source! Oh, well... + lgr %r3,%r1 + jg HIDDEN_BUILTIN_JUMPTARGET(memmove) END(__bcopy)