This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.17-394-gccffb2a
- From: roland at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 13 Mar 2013 16:52:51 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.17-394-gccffb2a
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via ccffb2a2db302beb07493fca6b1365ff3c8135dc (commit)
from 9e1d4ac924d66f4cfbcca3e98bd1bd62a5d92d5f (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=ccffb2a2db302beb07493fca6b1365ff3c8135dc
commit ccffb2a2db302beb07493fca6b1365ff3c8135dc
Author: Roland McGrath <roland@hack.frob.com>
Date: Wed Mar 13 09:51:37 2013 -0700
ARM: Handle ARM_ALWAYS_BX in {add,sub}_n.S code.
diff --git a/ports/ChangeLog.arm b/ports/ChangeLog.arm
index 72060ba..71520a6 100644
--- a/ports/ChangeLog.arm
+++ b/ports/ChangeLog.arm
@@ -1,5 +1,8 @@
2013-03-13 Roland McGrath <roland@hack.frob.com>
+ * sysdeps/arm/add_n.S: Include <arm-features.h>.
+ [ARM_ALWAYS_BX]: Don't pop into pc.
+
* sysdeps/arm/arm-features.h: Add comment about ARM_ALWAYS_BX.
* sysdeps/arm/memcpy.S: Include <arm-features.h>.
[ARM_ALWAYS_BX]: Avoid pc as destination.
diff --git a/ports/sysdeps/arm/add_n.S b/ports/sysdeps/arm/add_n.S
index 119a994..52927d9 100644
--- a/ports/sysdeps/arm/add_n.S
+++ b/ports/sysdeps/arm/add_n.S
@@ -17,6 +17,7 @@
<http://www.gnu.org/licenses/>. */
#include <sysdep.h>
+#include <arm-features.h>
.syntax unified
.text
@@ -80,5 +81,10 @@ ENTRY (FUNC)
9:
RETC /* copy carry out */
+#ifndef ARM_ALWAYS_BX
pop { r4, r5, r6, r7, r8, r10, pc }
+#else
+ pop { r4, r5, r6, r7, r8, r10, lr }
+ bx lr
+#endif
END (FUNC)
-----------------------------------------------------------------------
Summary of changes:
ports/ChangeLog.arm | 3 +++
ports/sysdeps/arm/add_n.S | 6 ++++++
2 files changed, 9 insertions(+), 0 deletions(-)
hooks/post-receive
--
GNU C Library master sources