diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-02-06 16:59:31 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-02-06 16:59:31 +0000 |
commit | 4273e70b1cc17952a22382d7c4a5acc5e088b556 (patch) | |
tree | 479dc8c7aef2243fa52f08f411e61f86c6c58e3b /cpukit/libnetworking/netinet | |
parent | Bump GCC_RPMREL. (diff) | |
download | rtems-4273e70b1cc17952a22382d7c4a5acc5e088b556.tar.bz2 |
2008-02-06 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1277/networking
* libnetworking/netinet/in_cksum_i386.h: Use q instead of r in
constraint for assembly language. This restricts the register choice
to the a-d registers.
Diffstat (limited to 'cpukit/libnetworking/netinet')
-rw-r--r-- | cpukit/libnetworking/netinet/in_cksum_i386.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libnetworking/netinet/in_cksum_i386.h b/cpukit/libnetworking/netinet/in_cksum_i386.h index a64bd57832..1c287d84b8 100644 --- a/cpukit/libnetworking/netinet/in_cksum_i386.h +++ b/cpukit/libnetworking/netinet/in_cksum_i386.h @@ -24,7 +24,7 @@ #define ADDC(n) __asm__ volatile \ ("adcl " #n "(%2), %0" : "=r" (sum) : "0" (sum), "r" (w)) #define LOAD(n) __asm__ volatile \ - ("movb " #n "(%1), %0" : "=r" (junk) : "r" (w)) + ("movb " #n "(%1), %0" : "=q" (junk) : "r" (w)) #define MOP __asm__ volatile \ ("adcl $0, %0" : "=r" (sum) : "0" (sum)) |