Stefan Liebler dee943668f S390: Add CFI rule in _dl_runtime_resolve[_vx] for unwinding.
In _dl_runtime_resolve[_vx], unwinding fails after the new stack frame
is created as there is no CFI rule for r15. This is also observeable in
GDB: Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Therefore this patch is now storing r15 on stack and is using cfi_offset rule.
The stmg/lmg instruction is used to store/load r14 and r15 with one instruction.
On 64bit, the offsets of the fprs have moved to store r15 directly after r14.
On 31bit, the r14/r15 is now stored between the other gprs and fprs as the space
wasn't used.

ChangeLog:

	* sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
	Store r15 on stack and add cfi rule.
	* sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
	Likewise.
2017-12-11 08:47:51 +01:00
..
2017-12-06 18:55:09 -02:00
2017-11-16 11:49:26 +05:30
2017-12-07 00:48:31 +00:00
2017-11-30 23:52:35 +00:00
2017-11-30 16:34:09 -08:00
2017-12-05 17:48:48 -02:00
2017-12-06 12:18:51 -08:00
2017-12-07 00:48:31 +00:00
2017-11-27 14:16:47 +00:00
2017-12-07 10:11:16 -08:00