hppa: Fix r19 save and restore.
commite22f413005ccb0080ef1f13e59a1bc8aa36105cb
authorCarlos O'Donell <carlos@systemhalted.org>
Tue, 30 Oct 2012 03:16:44 +0000 (29 23:16 -0400)
committerCarlos O'Donell <carlos@systemhalted.org>
Tue, 30 Oct 2012 03:16:44 +0000 (29 23:16 -0400)
treefd74b46c6b1732f8511e23fba3abe207f6a68e75
parent4ebdb0102714696914e9425bf2e4c40666ee9beb
hppa: Fix r19 save and restore.

We must save and restore r19 in both PIC and non-PIC
situations since the kernel paths that clobber r19
are independent of that PIC-ness of userspace.
In addition we choose r4 as the temporary register over
r3 which is being used by recent gcc's as the frame
pointer.
ports/ChangeLog.hppa
ports/sysdeps/unix/sysv/linux/hppa/sysdep.h