This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch roland/arm created. glibc-2.21-11-g1a15b14
- From: roland at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 6 Feb 2015 18:50:43 -0000
- Subject: GNU C Library master sources branch roland/arm created. glibc-2.21-11-g1a15b14
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 has been created
at 1a15b146c0c3b15e5e953c39fcf22e968a218330 (commit)
- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=1a15b146c0c3b15e5e953c39fcf22e968a218330
commit 1a15b146c0c3b15e5e953c39fcf22e968a218330
Author: Roland McGrath <roland@hack.frob.com>
Date: Fri Feb 6 10:50:26 2015 -0800
ARM: Add missing sfi_breg in LDR_GLOBAL macro.
diff --git a/ChangeLog b/ChangeLog
index 942eacd..a1ec5ef 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2015-02-06 Roland McGrath <roland@hack.frob.com>
+ * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
+ Use sfi_breg on ldr.
+ [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
+ Likewise.
+
* sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
unconditionally nowadays. This included the only reference to
diff --git a/sysdeps/arm/sysdep.h b/sysdeps/arm/sysdep.h
index eaa4b94..9bbd009 100644
--- a/sysdeps/arm/sysdep.h
+++ b/sysdeps/arm/sysdep.h
@@ -198,7 +198,7 @@
# define LDR_GLOBAL(R, T, SYMBOL, CONSTANT) \
movw T, #:lower16:SYMBOL; \
movt T, #:upper16:SYMBOL; \
- ldr R, [T, $CONSTANT]
+ sfi_breg T, ldr R, [\B, $CONSTANT]
# elif defined (ARCH_HAS_T2) && defined (PIC) && ARM_PCREL_MOVW_OK
# define LDR_GLOBAL(R, T, SYMBOL, CONSTANT) \
movw R, #:lower16:_GLOBAL_OFFSET_TABLE_ - 97f - PC_OFS; \
@@ -212,7 +212,7 @@
97: add R, R, pc; \
98: LDST_PC_INDEXED (ldr, T, T, T); \
LDST_INDEXED (ldr, R, T, R, T); \
- ldr R, [R, $CONSTANT]
+ sfi_breg R, ldr R, [\B, $CONSTANT]
# else
# define LDR_GLOBAL(R, T, SYMBOL, CONSTANT) \
ldr T, 99f; \
-----------------------------------------------------------------------
hooks/post-receive
--
GNU C Library master sources