diff options
author | miod <> | 2014-05-01 20:41:57 +0000 |
---|---|---|
committer | miod <> | 2014-05-01 20:41:57 +0000 |
commit | b50ffe0abb81ba96ef17c8c01090ec62b6cf6827 (patch) | |
tree | 8ddaf2e15d020815e09f89ff7c414e294c688d12 | |
parent | 731ac4ae6c4e15ad6891ca0d8a94573d31a90041 (diff) | |
download | openbsd-b50ffe0abb81ba96ef17c8c01090ec62b6cf6827.tar.gz openbsd-b50ffe0abb81ba96ef17c8c01090ec62b6cf6827.tar.bz2 openbsd-b50ffe0abb81ba96ef17c8c01090ec62b6cf6827.zip |
Fix include filename to get register name aliases under BSD
-rw-r--r-- | src/lib/libcrypto/bn/asm/alpha-mont.pl | 7 | ||||
-rw-r--r-- | src/lib/libcrypto/modes/asm/ghash-alpha.pl | 7 | ||||
-rw-r--r-- | src/lib/libcrypto/sha/asm/sha1-alpha.pl | 7 | ||||
-rw-r--r-- | src/lib/libssl/src/crypto/bn/asm/alpha-mont.pl | 7 | ||||
-rw-r--r-- | src/lib/libssl/src/crypto/modes/asm/ghash-alpha.pl | 7 | ||||
-rw-r--r-- | src/lib/libssl/src/crypto/sha/asm/sha1-alpha.pl | 7 |
6 files changed, 6 insertions, 36 deletions
diff --git a/src/lib/libcrypto/bn/asm/alpha-mont.pl b/src/lib/libcrypto/bn/asm/alpha-mont.pl index 03596e2014..41700d5bd5 100644 --- a/src/lib/libcrypto/bn/asm/alpha-mont.pl +++ b/src/lib/libcrypto/bn/asm/alpha-mont.pl | |||
@@ -41,12 +41,7 @@ $j="s4"; | |||
41 | $m1="s5"; | 41 | $m1="s5"; |
42 | 42 | ||
43 | $code=<<___; | 43 | $code=<<___; |
44 | #ifdef __linux__ | 44 | #include <machine/asm.h> |
45 | #include <asm/regdef.h> | ||
46 | #else | ||
47 | #include <asm.h> | ||
48 | #include <regdef.h> | ||
49 | #endif | ||
50 | 45 | ||
51 | .text | 46 | .text |
52 | 47 | ||
diff --git a/src/lib/libcrypto/modes/asm/ghash-alpha.pl b/src/lib/libcrypto/modes/asm/ghash-alpha.pl index aa36029386..b6d6ea5a62 100644 --- a/src/lib/libcrypto/modes/asm/ghash-alpha.pl +++ b/src/lib/libcrypto/modes/asm/ghash-alpha.pl | |||
@@ -245,12 +245,7 @@ ___ | |||
245 | }} | 245 | }} |
246 | 246 | ||
247 | $code=<<___; | 247 | $code=<<___; |
248 | #ifdef __linux__ | 248 | #include <machine/asm.h> |
249 | #include <asm/regdef.h> | ||
250 | #else | ||
251 | #include <asm.h> | ||
252 | #include <regdef.h> | ||
253 | #endif | ||
254 | 249 | ||
255 | .text | 250 | .text |
256 | 251 | ||
diff --git a/src/lib/libcrypto/sha/asm/sha1-alpha.pl b/src/lib/libcrypto/sha/asm/sha1-alpha.pl index 6c4b9251fd..44720c418c 100644 --- a/src/lib/libcrypto/sha/asm/sha1-alpha.pl +++ b/src/lib/libcrypto/sha/asm/sha1-alpha.pl | |||
@@ -225,12 +225,7 @@ ___ | |||
225 | } | 225 | } |
226 | 226 | ||
227 | $code=<<___; | 227 | $code=<<___; |
228 | #ifdef __linux__ | 228 | #include <machine/asm.h> |
229 | #include <asm/regdef.h> | ||
230 | #else | ||
231 | #include <asm.h> | ||
232 | #include <regdef.h> | ||
233 | #endif | ||
234 | 229 | ||
235 | .text | 230 | .text |
236 | 231 | ||
diff --git a/src/lib/libssl/src/crypto/bn/asm/alpha-mont.pl b/src/lib/libssl/src/crypto/bn/asm/alpha-mont.pl index 03596e2014..41700d5bd5 100644 --- a/src/lib/libssl/src/crypto/bn/asm/alpha-mont.pl +++ b/src/lib/libssl/src/crypto/bn/asm/alpha-mont.pl | |||
@@ -41,12 +41,7 @@ $j="s4"; | |||
41 | $m1="s5"; | 41 | $m1="s5"; |
42 | 42 | ||
43 | $code=<<___; | 43 | $code=<<___; |
44 | #ifdef __linux__ | 44 | #include <machine/asm.h> |
45 | #include <asm/regdef.h> | ||
46 | #else | ||
47 | #include <asm.h> | ||
48 | #include <regdef.h> | ||
49 | #endif | ||
50 | 45 | ||
51 | .text | 46 | .text |
52 | 47 | ||
diff --git a/src/lib/libssl/src/crypto/modes/asm/ghash-alpha.pl b/src/lib/libssl/src/crypto/modes/asm/ghash-alpha.pl index aa36029386..b6d6ea5a62 100644 --- a/src/lib/libssl/src/crypto/modes/asm/ghash-alpha.pl +++ b/src/lib/libssl/src/crypto/modes/asm/ghash-alpha.pl | |||
@@ -245,12 +245,7 @@ ___ | |||
245 | }} | 245 | }} |
246 | 246 | ||
247 | $code=<<___; | 247 | $code=<<___; |
248 | #ifdef __linux__ | 248 | #include <machine/asm.h> |
249 | #include <asm/regdef.h> | ||
250 | #else | ||
251 | #include <asm.h> | ||
252 | #include <regdef.h> | ||
253 | #endif | ||
254 | 249 | ||
255 | .text | 250 | .text |
256 | 251 | ||
diff --git a/src/lib/libssl/src/crypto/sha/asm/sha1-alpha.pl b/src/lib/libssl/src/crypto/sha/asm/sha1-alpha.pl index 6c4b9251fd..44720c418c 100644 --- a/src/lib/libssl/src/crypto/sha/asm/sha1-alpha.pl +++ b/src/lib/libssl/src/crypto/sha/asm/sha1-alpha.pl | |||
@@ -225,12 +225,7 @@ ___ | |||
225 | } | 225 | } |
226 | 226 | ||
227 | $code=<<___; | 227 | $code=<<___; |
228 | #ifdef __linux__ | 228 | #include <machine/asm.h> |
229 | #include <asm/regdef.h> | ||
230 | #else | ||
231 | #include <asm.h> | ||
232 | #include <regdef.h> | ||
233 | #endif | ||
234 | 229 | ||
235 | .text | 230 | .text |
236 | 231 | ||