Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/crypto add non-ELF .align
details: https://anonhg.NetBSD.org/src/rev/fcf45b57516b
branches: trunk
changeset: 539256:fcf45b57516b
user: itohy <itohy%NetBSD.org@localhost>
date: Tue Nov 12 03:03:10 2002 +0000
description:
add non-ELF .align
diffstat:
sys/crypto/blowfish/arch/i386/bf_cbc.S | 18 +++++++++++++++++-
sys/crypto/des/arch/i386/des_cbc.S | 34 +++++++++++++++++++++++++++++++++-
2 files changed, 50 insertions(+), 2 deletions(-)
diffs (162 lines):
diff -r 070cf65733a2 -r fcf45b57516b sys/crypto/blowfish/arch/i386/bf_cbc.S
--- a/sys/crypto/blowfish/arch/i386/bf_cbc.S Tue Nov 12 02:10:13 2002 +0000
+++ b/sys/crypto/blowfish/arch/i386/bf_cbc.S Tue Nov 12 03:03:10 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bf_cbc.S,v 1.1 2001/09/09 11:01:01 tls Exp $ */
+/* $NetBSD: bf_cbc.S,v 1.2 2002/11/12 03:03:10 itohy Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay%cryptsoft.com@localhost)
* All rights reserved.
@@ -162,7 +162,11 @@
movl %eax, (%edi)
movl %ebx, 4(%edi)
jmp .L003finish
+#ifdef __ELF__
.align 16
+#else
+.align 4
+#endif
.L000decrypt:
andl $4294967288, %ebp
movl 16(%esp), %eax
@@ -244,7 +248,11 @@
movb %cl, (%esi)
.L019djend:
jmp .L003finish
+#ifdef __ELF__
.align 16
+#else
+.align 4
+#endif
.L003finish:
movl 60(%esp), %ecx
addl $24, %esp
@@ -255,7 +263,11 @@
popl %ebx
popl %ebp
ret
+#ifdef __ELF__
.align 16
+#else
+.align 4
+#endif
.L004cbc_enc_jmp_table:
.long 0
.long .L012ej1
@@ -265,7 +277,11 @@
.long .L007ej5
.long .L006ej6
.long .L005ej7
+#ifdef __ELF__
.align 16
+#else
+.align 4
+#endif
.L023cbc_dec_jmp_table:
.long 0
.long .L022dj1
diff -r 070cf65733a2 -r fcf45b57516b sys/crypto/des/arch/i386/des_cbc.S
--- a/sys/crypto/des/arch/i386/des_cbc.S Tue Nov 12 02:10:13 2002 +0000
+++ b/sys/crypto/des/arch/i386/des_cbc.S Tue Nov 12 03:03:10 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: des_cbc.S,v 1.1 2001/09/09 11:01:02 tls Exp $ */
+/* $NetBSD: des_cbc.S,v 1.2 2002/11/12 03:03:11 itohy Exp $ */
/* Copyright (C) 1995-1997 Eric Young (eay%cryptsoft.com@localhost)
* All rights reserved.
@@ -148,7 +148,11 @@
movl %eax, (%edi)
movl %ebx, 4(%edi)
jmp .L007finish
+#ifdef __ELF__
.align 16
+#else
+.align 4
+#endif
.L004decrypt:
andl $4294967288, %ebp
movl 20(%esp), %eax
@@ -214,7 +218,11 @@
movb %cl, (%esi)
.L023djend:
jmp .L007finish
+#ifdef __ELF__
.align 16
+#else
+.align 4
+#endif
.L007finish:
movl 64(%esp), %ecx
addl $28, %esp
@@ -225,7 +233,11 @@
popl %ebx
popl %ebp
ret
+#ifdef __ELF__
.align 16
+#else
+.align 4
+#endif
.L008cbc_enc_jmp_table:
.long 0
.long .L016ej1
@@ -235,7 +247,11 @@
.long .L011ej5
.long .L010ej6
.long .L009ej7
+#ifdef __ELF__
.align 16
+#else
+.align 4
+#endif
.L027cbc_dec_jmp_table:
.long 0
.long .L026dj1
@@ -336,7 +352,11 @@
movl %eax, (%edi)
movl %ebx, 4(%edi)
jmp .L031finish
+#ifdef __ELF__
.align 16
+#else
+.align 4
+#endif
.L028decrypt:
andl $4294967288, %ebp
movl 24(%esp), %eax
@@ -402,7 +422,11 @@
movb %cl, (%esi)
.L047djend:
jmp .L031finish
+#ifdef __ELF__
.align 16
+#else
+.align 4
+#endif
.L031finish:
movl 76(%esp), %ecx
addl $32, %esp
@@ -413,7 +437,11 @@
popl %ebx
popl %ebp
ret
+#ifdef __ELF__
.align 16
+#else
+.align 4
+#endif
.L032cbc_enc_jmp_table:
.long 0
.long .L040ej1
@@ -423,7 +451,11 @@
.long .L035ej5
.long .L034ej6
.long .L033ej7
+#ifdef __ELF__
.align 16
+#else
+.align 4
+#endif
.L051cbc_dec_jmp_table:
.long 0
.long .L050dj1
Home |
Main Index |
Thread Index |
Old Index