Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
compat-openssl098.4153
bswap-s390x-fix.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bswap-s390x-fix.diff of Package compat-openssl098.4153
Index: crypto/md32_common.h =================================================================== --- crypto/md32_common.h.orig 2007-11-11 14:34:05.000000000 +0100 +++ crypto/md32_common.h 2010-02-18 16:41:26.000000000 +0100 @@ -241,11 +241,11 @@ #ifndef PEDANTIC # if defined(__GNUC__) && __GNUC__>=2 && !defined(OPENSSL_NO_ASM) && !defined(OPENSSL_NO_INLINE_ASM) # if defined(__s390x__) -# define HOST_c2l(c,l) ({ asm ("lrv %0,0(%1)" \ - :"=r"(l) : "r"(c)); \ +# define HOST_c2l(c,l) ({ asm ("lrv %0,%1" \ + :"=d" (l) : "m" (*(unsigned int*)c)); \ (c)+=4; (l); }) -# define HOST_l2c(l,c) ({ asm ("strv %0,0(%1)" \ - : : "r"(l),"r"(c) : "memory"); \ +# define HOST_l2c(l,c) ({ asm ("strv %1,%0" \ + : "=m" (*(unsigned int*)c) : "d" (l)); \ (c)+=4; (l); }) # endif # endif
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor