about summary refs log tree commit diff
path: root/ports/ChangeLog.hppa
diff options
context:
space:
mode:
authorCarlos O'Donell <carlos@systemhalted.org>2012-10-29 23:16:44 -0400
committerCarlos O'Donell <carlos@systemhalted.org>2012-10-29 23:16:44 -0400
commite22f413005ccb0080ef1f13e59a1bc8aa36105cb (patch)
treefd74b46c6b1732f8511e23fba3abe207f6a68e75 /ports/ChangeLog.hppa
parent4ebdb0102714696914e9425bf2e4c40666ee9beb (diff)
downloadglibc-e22f413005ccb0080ef1f13e59a1bc8aa36105cb.tar.gz
glibc-e22f413005ccb0080ef1f13e59a1bc8aa36105cb.tar.xz
glibc-e22f413005ccb0080ef1f13e59a1bc8aa36105cb.zip
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.
Diffstat (limited to 'ports/ChangeLog.hppa')
-rw-r--r--ports/ChangeLog.hppa9
1 files changed, 9 insertions, 0 deletions
diff --git a/ports/ChangeLog.hppa b/ports/ChangeLog.hppa
index 6d5d5a33c1..b30a61cb30 100644
--- a/ports/ChangeLog.hppa
+++ b/ports/ChangeLog.hppa
@@ -1,5 +1,14 @@
 2012-10-29  Carlos O'Donell  <carlos@systemhalted.org>
 
+	* sysdeps/unix/sysv/linux/hppa/sysdep.h: Document register clobbering.
+	[PIC](TREG, SAVE_PIC, LOAD_PIC, TREG_ASM, SAVE_ASM_PIC, LOAD_ASM_PIC
+	CLOB_TREG, PIC_REG_DEF, PIC_REG_USE): Move...
+	(TREG, SAVE_PIC, LOAD_PIC, TREG_ASM, SAVE_ASM_PIC, LOAD_ASM_PIC
+	CLOB_TREG, PIC_REG_DEF, PIC_REG_USE): ... to here.
+	[!PIC](TREG, SAVE_PIC, LOAD_PIC, TREG_ASM, SAVE_ASM_PIC, LOAD_ASM_PIC
+	CLOB_TREG, PIC_REG_DEF, PIC_REG_USE): Remove.
+	(TREG): Use r4.
+
 	* sysdeps/unix/sysv/linux/hppa/sysdep.h: Don't include sys/syscall.h.
 	Document nop removal.
 	(PSEUDO): Remove nop.