OSDN Git Service

Merge "Fix assembler warnings."
authorChristopher Ferris <cferris@google.com>
Thu, 25 May 2017 01:32:03 +0000 (01:32 +0000)
committerandroid-build-merger <android-build-merger@google.com>
Thu, 25 May 2017 01:32:03 +0000 (01:32 +0000)
am: 1143a62977

Change-Id: Iea37406fe631e0754499d6448773f1e7a010af86

17 files changed:
libc/arch-arm/cortex-a15/bionic/__strcat_chk.S
libc/arch-arm/cortex-a15/bionic/__strcpy_chk.S
libc/arch-arm/cortex-a15/bionic/memcpy.S
libc/arch-arm/cortex-a15/bionic/memset.S
libc/arch-arm/cortex-a15/bionic/strcmp.S
libc/arch-arm/cortex-a53/bionic/__strcat_chk.S
libc/arch-arm/cortex-a53/bionic/__strcpy_chk.S
libc/arch-arm/cortex-a53/bionic/memcpy.S
libc/arch-arm/cortex-a7/bionic/__strcat_chk.S
libc/arch-arm/cortex-a7/bionic/__strcpy_chk.S
libc/arch-arm/cortex-a7/bionic/memcpy.S
libc/arch-arm/cortex-a7/bionic/memset.S
libc/arch-arm/denver/bionic/__strcat_chk.S
libc/arch-arm/denver/bionic/__strcpy_chk.S
libc/arch-arm/denver/bionic/memcpy.S
libc/arch-arm/krait/bionic/__strcat_chk.S
libc/arch-arm/krait/bionic/__strcpy_chk.S

index da40f6c..ca29715 100644 (file)
     .thumb
     .thumb_func
 
+    // To avoid warning about deprecated instructions, add an explicit
+    // arch. The code generated is exactly the same.
+    .arch armv7-a
+
 // Get the length of src string, then get the source of the dst string.
 // Check that the two lengths together don't exceed the threshold, then
 // do a memcpy of the data.
index 026adcc..2679c02 100644 (file)
     .thumb
     .thumb_func
 
+    // To avoid warning about deprecated instructions, add an explicit
+    // arch. The code generated is exactly the same.
+    .arch armv7-a
+
 // Get the length of the source string first, then do a memcpy of the data
 // instead of a strcpy.
 ENTRY(__strcpy_chk)
index 9407a08..7ad0093 100644 (file)
         .syntax unified
         .fpu    neon
 
+        // To avoid warning about deprecated instructions, add an explicit
+        // arch. The code generated is exactly the same.
+        .arch armv7-a
+
 ENTRY(__memcpy_chk)
         cmp r2, r3
         bls memcpy
index 2542f3f..4b4388e 100644 (file)
         .fpu        neon
         .syntax     unified
 
+        // To avoid warning about deprecated instructions, add an explicit
+        // arch. The code generated is exactly the same.
+        .arch armv7-a
+
 ENTRY(__memset_chk)
         cmp         r2, r3
         bls         memset
index 5c8914b..d8993d5 100644 (file)
         .thumb_func
 #endif
 
+        // To avoid warning about deprecated instructions, add an explicit
+        // arch. The code generated is exactly the same.
+        .arch armv7-a
+
 ENTRY(strcmp)
       /* Use LDRD whenever possible.  */
 
index da40f6c..ca29715 100644 (file)
     .thumb
     .thumb_func
 
+    // To avoid warning about deprecated instructions, add an explicit
+    // arch. The code generated is exactly the same.
+    .arch armv7-a
+
 // Get the length of src string, then get the source of the dst string.
 // Check that the two lengths together don't exceed the threshold, then
 // do a memcpy of the data.
index 026adcc..2679c02 100644 (file)
     .thumb
     .thumb_func
 
+    // To avoid warning about deprecated instructions, add an explicit
+    // arch. The code generated is exactly the same.
+    .arch armv7-a
+
 // Get the length of the source string first, then do a memcpy of the data
 // instead of a strcpy.
 ENTRY(__strcpy_chk)
index 9407a08..7ad0093 100644 (file)
         .syntax unified
         .fpu    neon
 
+        // To avoid warning about deprecated instructions, add an explicit
+        // arch. The code generated is exactly the same.
+        .arch armv7-a
+
 ENTRY(__memcpy_chk)
         cmp r2, r3
         bls memcpy
index da40f6c..ca29715 100644 (file)
     .thumb
     .thumb_func
 
+    // To avoid warning about deprecated instructions, add an explicit
+    // arch. The code generated is exactly the same.
+    .arch armv7-a
+
 // Get the length of src string, then get the source of the dst string.
 // Check that the two lengths together don't exceed the threshold, then
 // do a memcpy of the data.
index 026adcc..2679c02 100644 (file)
     .thumb
     .thumb_func
 
+    // To avoid warning about deprecated instructions, add an explicit
+    // arch. The code generated is exactly the same.
+    .arch armv7-a
+
 // Get the length of the source string first, then do a memcpy of the data
 // instead of a strcpy.
 ENTRY(__strcpy_chk)
index 9407a08..7ad0093 100644 (file)
         .syntax unified
         .fpu    neon
 
+        // To avoid warning about deprecated instructions, add an explicit
+        // arch. The code generated is exactly the same.
+        .arch armv7-a
+
 ENTRY(__memcpy_chk)
         cmp r2, r3
         bls memcpy
index e4fb1b4..72ee613 100644 (file)
         .fpu        neon
         .syntax     unified
 
+        // To avoid warning about deprecated instructions, add an explicit
+        // arch. The code generated is exactly the same.
+        .arch armv7-a
+
 ENTRY(__memset_chk)
         cmp         r2, r3
         bls         memset
index 9f7db59..d4f651c 100644 (file)
     .thumb
     .thumb_func
 
+    // To avoid warning about deprecated instructions, add an explicit
+    // arch. The code generated is exactly the same.
+    .arch armv7-a
+
 // Get the length of src string, then get the source of the dst string.
 // Check that the two lengths together don't exceed the threshold, then
 // do a memcpy of the data.
index 9b7ea91..9295a00 100644 (file)
     .thumb
     .thumb_func
 
+    // To avoid warning about deprecated instructions, add an explicit
+    // arch. The code generated is exactly the same.
+    .arch armv7-a
+
 // Get the length of the source string first, then do a memcpy of the data
 // instead of a strcpy.
 ENTRY(__strcpy_chk)
index d4e0fb4..743c74b 100644 (file)
         .syntax unified
         .fpu    neon
 
+        // To avoid warning about deprecated instructions, add an explicit
+        // arch. The code generated is exactly the same.
+        .arch armv7-a
+
 ENTRY(__memcpy_chk)
         cmp     r2, r3
         bls     memcpy
index a46ff98..32fa82d 100644 (file)
     .thumb
     .thumb_func
 
+    // To avoid warning about deprecated instructions, add an explicit
+    // arch. The code generated is exactly the same.
+    .arch armv7-a
+
 // Get the length of src string, then get the source of the dst string.
 // Check that the two lengths together don't exceed the threshold, then
 // do a memcpy of the data.
index 9c2f66a..ca4cf7f 100644 (file)
     .thumb
     .thumb_func
 
+    // To avoid warning about deprecated instructions, add an explicit
+    // arch. The code generated is exactly the same.
+    .arch armv7-a
+
 // Get the length of the source string first, then do a memcpy of the data
 // instead of a strcpy.
 ENTRY(__strcpy_chk)