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.
This commit is contained in:
Roland McGrath 2005-07-18 03:36:47 +00:00
parent b5bb1655ab
commit 664b64b8b3

View File

@ -59,14 +59,10 @@ ENTRY(__bcopy)
jo .L6 jo .L6
br %r14 br %r14
.L7: # destructive overlay, can not use mvcle .L7: # destructive overlay, can not use mvcle
lgr %r1,%r2 # bcopy is called with source,dest lgr %r1,%r2 # bcopy is called with source,dest
lgr %r2,%r3 # memmove with dest,source! Oh, well... lgr %r2,%r3 # memmove with dest,source! Oh, well...
lgr %r3,%r1 lgr %r3,%r1
#ifdef PIC jg HIDDEN_BUILTIN_JUMPTARGET(memmove)
jg memmove@PLT
#else
jg memmove
#endif
END(__bcopy) END(__bcopy)