diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-02-06 16:58:33 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-02-06 16:58:33 +0000 |
commit | 8dbed6ef1fa28826b6c6c09cafcecf2189b826a8 (patch) | |
tree | 0fd98824e9f90f00643a4e4a2df5fbca0a465509 | |
parent | Sync with HEAD (diff) | |
download | rtems-8dbed6ef1fa28826b6c6c09cafcecf2189b826a8.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.
-rw-r--r-- | cpukit/ChangeLog | 7 | ||||
-rw-r--r-- | cpukit/libnetworking/netinet/in_cksum_i386.h | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 758dab60c4..fcd86b5c9e 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,10 @@ +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. + 2007-12-21 Joel Sherrill <joel.sherrill@OARcorp.com> PR 1268/cpukit 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)) |