about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2008-11-07 15:22:34 +0000
committerJakub Jelinek <jakub@redhat.com>2008-11-07 15:22:34 +0000
commit01bd5e96f7380db26fabd97a1a48de61c01112cf (patch)
treedde8db50e2c321fb4a220bd5679166866e0ab616
parenta90695507e7ae4bac5f24ff29e0febf35929c255 (diff)
downloadglibc-01bd5e96f7380db26fabd97a1a48de61c01112cf.tar.gz
glibc-01bd5e96f7380db26fabd97a1a48de61c01112cf.tar.xz
glibc-01bd5e96f7380db26fabd97a1a48de61c01112cf.zip
* sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_profile): Use the
correct instruction to remove the stack frame.
2008-11-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>

	* sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_profile): Use the
	correct instruction to remove the stack frame.
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/s390/s390-64/dl-trampoline.S2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 3f093d3c9a..fb02cadbf9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-11-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>
+
+	* sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_profile): Use the
+	correct instruction to remove the stack frame.
+
 2008-11-03  Michael Matz  <matz@suse.de>
 
 	* sysdeps/s390/bits/atomic.h (__arch_compare_and_exchange_val_32_acq,
diff --git a/sysdeps/s390/s390-64/dl-trampoline.S b/sysdeps/s390/s390-64/dl-trampoline.S
index 8093582163..72043c9779 100644
--- a/sysdeps/s390/s390-64/dl-trampoline.S
+++ b/sysdeps/s390/s390-64/dl-trampoline.S
@@ -91,7 +91,7 @@ _dl_runtime_profile:
 	ld     %f4,120(%r12)
 	ld     %f6,128(%r12)
 	basr   %r14,%r1			# call resolved function
-0:	lr     %r15,%r12		# remove stack frame
+0:	lgr    %r15,%r12		# remove stack frame
 	cfi_def_cfa_register (15)
 	lg     %r14,32(%r15)		# restore registers
 	lg     %r12,24(%r15)