This is the mail archive of the mailing list for the glibc project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch roland/arm-avoid-pc updated. glibc-2.17-380-g139513c

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, roland/arm-avoid-pc has been updated
       via  139513cca31f8769a36b8e8d5dadb54b4898391e (commit)
      from  fd023b495bad575fba1b025a67ff4921263616c3 (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 -----------------------------------------------------------------;a=commitdiff;h=139513cca31f8769a36b8e8d5dadb54b4898391e

commit 139513cca31f8769a36b8e8d5dadb54b4898391e
Author: Roland McGrath <>
Date:   Mon Mar 11 14:21:11 2013 -0700

    ARM: Handle ARM_ALWAYS_BX in {add,sub}_n.S code.

diff --git a/ports/ChangeLog.arm b/ports/ChangeLog.arm
index b7a199a..b3a62b2 100644
--- a/ports/ChangeLog.arm
+++ b/ports/ChangeLog.arm
@@ -1,5 +1,7 @@
 2013-03-11  Roland McGrath  <>
+	* sysdeps/arm/add_n.S [ARM_ALWAYS_BX]: Don't pop into pc.
 	* sysdeps/arm/arm-features.h (ARM_BX_ALIGN_LOG2): New macro.
 	* sysdeps/arm/memcpy.S: Respect ARM_BX_ALIGN_LOG2.
 	* sysdeps/arm/memmove.S: Likewise.
diff --git a/ports/sysdeps/arm/add_n.S b/ports/sysdeps/arm/add_n.S
index 119a994..284f5a1 100644
--- a/ports/sysdeps/arm/add_n.S
+++ b/ports/sysdeps/arm/add_n.S
@@ -80,5 +80,10 @@ ENTRY (FUNC)
 	RETC				/* copy carry out */
+#ifndef ARM_ALWAYS_BX
 	pop	{ r4, r5, r6, r7, r8, r10, pc }
+	pop	{ r4, r5, r6, r7, r8, r10, lr }
+	bx	lr


Summary of changes:
 ports/ChangeLog.arm       |    2 ++
 ports/sysdeps/arm/add_n.S |    5 +++++
 2 files changed, 7 insertions(+), 0 deletions(-)

GNU C Library master sources

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]