about summary refs log tree commit diff
path: root/ports/ChangeLog.arm
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2013-02-14 09:46:56 -0800
committerRichard Henderson <rth@twiddle.net>2013-03-06 07:44:25 -0800
commit3ae44082ab30918a6f5aa135620dda08e62593d5 (patch)
tree659127296546c56218bfe4dd8ede95a389dd3b62 /ports/ChangeLog.arm
parentcd24e113c38e81c15a72536a99062373d5701389 (diff)
downloadglibc-3ae44082ab30918a6f5aa135620dda08e62593d5.tar.gz
glibc-3ae44082ab30918a6f5aa135620dda08e62593d5.tar.xz
glibc-3ae44082ab30918a6f5aa135620dda08e62593d5.zip
arm: Introduce and use NEGOFF series of macros
There are several places in which we access negative offsets from
the thread-pointer, but thumb2 only supports positive offsets in
memory references.

Avoid duplicating the rather large macros in which these references
are embedded by abstracting out the operation.
Diffstat (limited to 'ports/ChangeLog.arm')
-rw-r--r--ports/ChangeLog.arm8
1 files changed, 8 insertions, 0 deletions
diff --git a/ports/ChangeLog.arm b/ports/ChangeLog.arm
index d3da2fbb10..b5c9ef3347 100644
--- a/ports/ChangeLog.arm
+++ b/ports/ChangeLog.arm
@@ -1,5 +1,13 @@
 2013-03-06  Richard Henderson <rth@redhat.com>
 
+	* sysdeps/arm/sysdep.h (NEGOFF_ADJ_BASE): New macro.
+	(NEGOFF_ADJ_BASE2, NEGOFF_OFF1, NEGOFF_OFF2): New macros.
+	* sysdeps/unix/sysv/linux/arm/clone.S (__clone): Use them.
+	* sysdeps/unix/sysv/linux/arm/nptl/vfork.S: Likewise.
+	* sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: Likewise.
+	* sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h (SINGLE_THREAD_P):
+	Likewise.
+
 	* sysdeps/arm/sysdep.h (LDST_PCREL): New macro.
 	* sysdeps/unix/arm/sysdep.S (__syscall_error): Use LDST_PCREL.
 	Fix up gottpoff load of errno for thumb2.