]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
bpabi.S: Add EABI alignment attributes to objects.
authorRichard Earnshaw <rearnsha@arm.com>
Sat, 17 Apr 2010 15:34:25 +0000 (15:34 +0000)
committerRichard Earnshaw <rearnsha@gcc.gnu.org>
Sat, 17 Apr 2010 15:34:25 +0000 (15:34 +0000)
* 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

gcc/ChangeLog
gcc/config/arm/bpabi-v6m.S
gcc/config/arm/bpabi.S
gcc/config/arm/crti.asm
gcc/config/arm/crtn.asm
gcc/config/arm/lib1funcs.asm
gcc/config/arm/libunwind.S

index 700faedc68d4cbb76607acf71e713fcd87a12e22..3653f88a75e68652e801789b9b88a1578d1aedd2 100644 (file)
@@ -1,3 +1,12 @@
+2010-04-17  Richard Earnshaw  <rearnsha@arm.com>
+
+       * 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.
+
 2010-04-17  Richard Earnshaw  <rearnsha@arm.com>
 
        * arm-protos.h (tune_params): New structure.
index 75d50d967a7894fe8e6cee2a365159e8398df25b..db1d0ed2529113a9c6fa4e7d81041408baa8f0d1 100644 (file)
    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
index ccc569e982180ea35e61753249856dea450bcdf6..10e0f95654d284052f7a14a90df1e726887d1ccc 100644 (file)
    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
 
 ARM_FUNC_START aeabi_lcmp
index 310d7840deefb2c0e51c831d9fc397ddc52f332d..bda56c56fe8703fdbb8e7c9133f5cd3b62fa41ff 100644 (file)
 #else
 #define TYPE(x)
 #endif
+#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__ */
 
        # Note - this macro is complemented by the FUNC_END macro
        # in crtn.asm.  If you change this macro you must also change
index 006b7d5260a0ddce097c7bea6994bf0f41eefaf4..e4d59803ad1e7f98be315f920f97b985a60732fc 100644 (file)
 .previous
 #endif
 
+#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__ */
+
 # This file just makes sure that the .fini and .init sections do in
 # fact return.  Users may put any desired instructions in those sections.
 # This file is the last thing linked into any executable.
index cd64da35860e70a2ac920acd2ed9566d4b58afb1..34aa23e6979c6b11b0846cb932c746f136ee4399 100644 (file)
@@ -31,10 +31,10 @@ see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
 
 #ifdef __ARM_EABI__
 /* Some attributes that are common to all routines in this file.  */
-       /* Tag_ABI_align8_needed: This code does not require 8-byte
+       /* Tag_ABI_align_needed: This code does not require 8-byte
           alignment from the caller.  */
        /* .eabi_attribute 24, 0  -- default setting.  */
-       /* Tag_ABI_align8_preserved: This code preserves 8-byte 
+       /* Tag_ABI_align_preserved: This code preserves 8-byte
           alignment in any callee.  */
        .eabi_attribute 25, 1
 #endif /* __ARM_EABI__ */
index 800e7e0caa9ac7a6e31594e4df4ab48991a44c9e..b04e41731fadaeafad831a30744862322b2ab2d8 100644 (file)
 .previous
 #endif
 
+#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__ */
+
 #ifndef __symbian__
 
 #include "lib1funcs.asm"