diff mbox

[uclibc-ng-devel] uClibc-ng - small C library for embedded systems branch master updated. v1.0.17-2-gbbd7151

Message ID 20160808044514.E507710117@helium.openadk.org
State Not Applicable
Headers show

Commit Message

wbx Aug. 8, 2016, 4:45 a.m. UTC
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 "uClibc-ng - small C library for embedded systems".

The branch, master has been updated
       via  bbd7151f7980c7d075fe652331f01d3aadc73e42 (commit)
      from  9213ad631513d0e67d9d31465c9cdb3f3dde0399 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit bbd7151f7980c7d075fe652331f01d3aadc73e42
Author: Waldemar Brodkorb <wbx@uclibc-ng.org>
Date:   Mon Aug 8 06:41:03 2016 +0200

    arm: fix compile in thumb mode
    
    Fix a regression introduced by commit
    0550ecce0e6580c5ad34e9a9a39ff18ccf8774f9
    
    Reported by Buildroot developers.
    
    Embedded test must be extented to ARMv7 thumb2 builds to
    find such regressions next time. It wasn't triggered by a
    cortex-m4 ARM noMMU build.

-----------------------------------------------------------------------

Summary of changes:
 libc/sysdeps/linux/arm/bits/syscalls.h | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)



hooks/post-receive
diff mbox

Patch

diff --git a/libc/sysdeps/linux/arm/bits/syscalls.h b/libc/sysdeps/linux/arm/bits/syscalls.h
index 5b30564..6c62a9e 100644
--- a/libc/sysdeps/linux/arm/bits/syscalls.h
+++ b/libc/sysdeps/linux/arm/bits/syscalls.h
@@ -43,6 +43,9 @@ 
    })									\
 )
 
+#define INTERNAL_SYSCALL_ARM(name, err, nr, args...)           \
+	INTERNAL_SYSCALL_NCS(__ARM_NR_##name, err, nr, args)
+
 #if defined(__thumb__)
 /* We can't use push/pop inside the asm because that breaks
    unwinding (ie. thread cancellation).
@@ -83,10 +86,6 @@ 
      }									\
      (int) __internal_sys_result; }) \
 )
-
-#undef INTERNAL_SYSCALL_ARM
-#define INTERNAL_SYSCALL_ARM(name, err, nr, args...)           \
-	INTERNAL_SYSCALL_NCS(__ARM_NR_##name, err, nr, args)
 #endif
 
 #define INTERNAL_SYSCALL_ERROR_P(val, err) \