about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2005-07-18 03:36:47 +0000
committerRoland McGrath <roland@gnu.org>2005-07-18 03:36:47 +0000
commit664b64b8b3abb25b1bd06556393baf7e16a36d20 (patch)
tree2c3516a5f0c8f26fe368b916f481b275cb582b7a
parentb5bb1655ab7cc2991d4389c3180ece3e4de47cea (diff)
downloadglibc-664b64b8b3abb25b1bd06556393baf7e16a36d20.tar.gz
glibc-664b64b8b3abb25b1bd06556393baf7e16a36d20.tar.xz
glibc-664b64b8b3abb25b1bd06556393baf7e16a36d20.zip
2005-07-12 Jakub Jelinek <jakub@redhat.com>
	[BZ #1106]
	* sysdeps/s390/s390-64/bcopy.S (__bcopy): Use
	HIDDEN_BUILTIN_JUMPTARGET to jump to memmove.
-rw-r--r--sysdeps/s390/s390-64/bcopy.S12
1 files changed, 4 insertions, 8 deletions
diff --git a/sysdeps/s390/s390-64/bcopy.S b/sysdeps/s390/s390-64/bcopy.S
index ff7966723b..f0df54c340 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)