summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-11-27 15:10:37 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-11-27 15:10:37 +0000
commitcf7ebcf9b0a8e90653482e58c5381c5c9c9662cf (patch)
treed083f0911fa8b60ec40ae66850ed6e7245ed56fc /cpukit
parent2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-cf7ebcf9b0a8e90653482e58c5381c5c9c9662cf.tar.bz2
2007-11-27 Joel Sherrill <joel.sherrill@OARcorp.com>
* libnetworking/netinet/in_cksum.c: ARM optimized version does not support Thumb.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/ChangeLog5
-rw-r--r--cpukit/libnetworking/netinet/in_cksum.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index 7a1e8be427..43e396d8bb 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,3 +1,8 @@
+2007-11-27 Joel Sherrill <joel.sherrill@OARcorp.com>
+
+ * libnetworking/netinet/in_cksum.c: ARM optimized version does not
+ support Thumb.
+
2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* telnetd/pty.c, telnetd/telnetd.c, telnetd/telnetd.h: Style clean up.
diff --git a/cpukit/libnetworking/netinet/in_cksum.c b/cpukit/libnetworking/netinet/in_cksum.c
index 833ac44357..dd01e6241d 100644
--- a/cpukit/libnetworking/netinet/in_cksum.c
+++ b/cpukit/libnetworking/netinet/in_cksum.c
@@ -42,8 +42,9 @@
*/
-#if (defined(__GNUC__) && defined(__arm__))
+#if (defined(__GNUC__) && (defined(__arm__) && !defined(__thumb__)))
+/* This currently does not support Thumb assembly */
#include "in_cksum_arm.h"
#elif (defined(__GNUC__) && defined(__i386__))