]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Only build libc-do-syscall.S in Thumb mode.
authorKhem Raj <raj.khem@gmail.com>
Wed, 15 Feb 2012 22:09:44 +0000 (22:09 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Wed, 15 Feb 2012 22:09:44 +0000 (22:09 +0000)
ChangeLog.arm
sysdeps/unix/sysv/linux/arm/eabi/libc-do-syscall.S

index 75c8f54cf0f079cdf0c6a654fbb9c33f93572899..a690d10eb8b309c1f46e966be116a6a7bcbee01b 100644 (file)
@@ -1,3 +1,8 @@
+2012-02-15  Khem Raj  <raj.khem@gmail.com>
+
+       * sysdeps/unix/sysv/linux/arm/eabi/libc-do-syscall.S: Disable
+       contents unless __thumb__.
+
 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
 
        * sysdeps/arm/crti.S, sysdeps/arm/crtn.S: New files, based on
index 0fca96939a95e32b77287654e6a10022dd1623d6..3d3792a9be5d6aa82ae00ca0578fc279e7df790f 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2010 Free Software Foundation, Inc.
+/* Copyright (C) 2010-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -25,6 +25,7 @@
    ARM unwind tables for register to register moves, the actual opcodes
    are not defined.  */
 
+#if defined(__thumb__)
        .thumb
        .syntax unified
        .hidden __libc_do_syscall
@@ -44,3 +45,5 @@ ENTRY (__libc_do_syscall)
        pop     {r7, pc}
        .fnend
 END (__libc_do_syscall)
+
+#endif /* __thumb__ */