aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/arm/bpabi-v6m.S
diff options
context:
space:
mode:
authorRichard Earnshaw <rearnsha@arm.com>2010-04-17 15:34:25 +0000
committerRichard Earnshaw <rearnsha@gcc.gnu.org>2010-04-17 15:34:25 +0000
commit6f0668cf3ca454e6b63e4adb5112707facb5834b (patch)
tree09377ffdcae03300a7a994b1d96b0edc65ccf809 /gcc/config/arm/bpabi-v6m.S
parentf5631ae6907cd200d8a9be082bf5450b1dfe52f9 (diff)
downloadgcc-6f0668cf3ca454e6b63e4adb5112707facb5834b.zip
gcc-6f0668cf3ca454e6b63e4adb5112707facb5834b.tar.gz
gcc-6f0668cf3ca454e6b63e4adb5112707facb5834b.tar.bz2
bpabi.S: Add EABI alignment attributes to objects.
* arm/bpabi.S: Add EABI alignment attributes to objects. * arm/bpabi-v6m.S: Likewise. * arm/crti.asm: Likewise. * arm/crtn.asm: Likewise. * arm/lib1funcs.asm: Likewise. * arm/libunwind.S: Likewise. From-SVN: r158470
Diffstat (limited to 'gcc/config/arm/bpabi-v6m.S')
-rw-r--r--gcc/config/arm/bpabi-v6m.S10
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/config/arm/bpabi-v6m.S b/gcc/config/arm/bpabi-v6m.S
index 75d50d9..db1d0ed 100644
--- a/gcc/config/arm/bpabi-v6m.S
+++ b/gcc/config/arm/bpabi-v6m.S
@@ -22,6 +22,16 @@
see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
<http://www.gnu.org/licenses/>. */
+#ifdef __ARM_EABI__
+/* Some attributes that are common to all routines in this file. */
+ /* Tag_ABI_align_needed: This code does not require 8-byte
+ alignment from the caller. */
+ /* .eabi_attribute 24, 0 -- default setting. */
+ /* Tag_ABI_align_preserved: This code preserves 8-byte
+ alignment in any callee. */
+ .eabi_attribute 25, 1
+#endif /* __ARM_EABI__ */
+
#ifdef L_aeabi_lcmp
FUNC_START aeabi_lcmp