diff options
author | miod <> | 2023-02-02 20:12:05 +0000 |
---|---|---|
committer | miod <> | 2023-02-02 20:12:05 +0000 |
commit | 1a5678df965e311208c6fae9eb6a9b38ee493226 (patch) | |
tree | 2300acca7eeb3a29e55ff715508723d016d98f01 | |
parent | cea09ef9db2c57982c7c7d5eb3808c823c8e16ba (diff) | |
download | openbsd-1a5678df965e311208c6fae9eb6a9b38ee493226.tar.gz openbsd-1a5678df965e311208c6fae9eb6a9b38ee493226.tar.bz2 openbsd-1a5678df965e311208c6fae9eb6a9b38ee493226.zip |
Remove AIX toc data after every function. NFC
-rw-r--r-- | src/lib/libcrypto/aes/asm/aes-ppc.pl | 25 | ||||
-rw-r--r-- | src/lib/libcrypto/bn/asm/ppc-mont.pl | 5 | ||||
-rw-r--r-- | src/lib/libcrypto/bn/asm/ppc.pl | 30 | ||||
-rwxr-xr-x | src/lib/libcrypto/sha/asm/sha1-ppc.pl | 8 | ||||
-rwxr-xr-x | src/lib/libcrypto/sha/asm/sha512-ppc.pl | 5 |
5 files changed, 2 insertions, 71 deletions
diff --git a/src/lib/libcrypto/aes/asm/aes-ppc.pl b/src/lib/libcrypto/aes/asm/aes-ppc.pl index 91a46f60ed..bc93603669 100644 --- a/src/lib/libcrypto/aes/asm/aes-ppc.pl +++ b/src/lib/libcrypto/aes/asm/aes-ppc.pl | |||
@@ -118,9 +118,7 @@ LAES_Te: | |||
118 | addi $Tbl0,$Tbl0,`128-8` | 118 | addi $Tbl0,$Tbl0,`128-8` |
119 | mtlr r0 | 119 | mtlr r0 |
120 | blr | 120 | blr |
121 | .long 0 | 121 | .space `64-12*4` |
122 | .byte 0,12,0x14,0,0,0,0,0 | ||
123 | .space `64-9*4` | ||
124 | LAES_Td: | 122 | LAES_Td: |
125 | mflr r0 | 123 | mflr r0 |
126 | bcl 20,31,\$+4 | 124 | bcl 20,31,\$+4 |
@@ -128,9 +126,7 @@ LAES_Td: | |||
128 | addi $Tbl0,$Tbl0,`128-64-8+2048+256` | 126 | addi $Tbl0,$Tbl0,`128-64-8+2048+256` |
129 | mtlr r0 | 127 | mtlr r0 |
130 | blr | 128 | blr |
131 | .long 0 | 129 | .space `128-64-12*4` |
132 | .byte 0,12,0x14,0,0,0,0,0 | ||
133 | .space `128-64-9*4` | ||
134 | ___ | 130 | ___ |
135 | &_data_word( | 131 | &_data_word( |
136 | 0xc66363a5, 0xf87c7c84, 0xee777799, 0xf67b7b8d, | 132 | 0xc66363a5, 0xf87c7c84, 0xee777799, 0xf67b7b8d, |
@@ -472,9 +468,6 @@ Lenc_done: | |||
472 | mtlr r0 | 468 | mtlr r0 |
473 | addi $sp,$sp,$FRAME | 469 | addi $sp,$sp,$FRAME |
474 | blr | 470 | blr |
475 | .long 0 | ||
476 | .byte 0,12,4,1,0x80,18,3,0 | ||
477 | .long 0 | ||
478 | 471 | ||
479 | .align 5 | 472 | .align 5 |
480 | Lppc_AES_encrypt: | 473 | Lppc_AES_encrypt: |
@@ -617,8 +610,6 @@ Lenc_loop: | |||
617 | xor $s2,$s2,$t2 | 610 | xor $s2,$s2,$t2 |
618 | xor $s3,$s3,$t3 | 611 | xor $s3,$s3,$t3 |
619 | blr | 612 | blr |
620 | .long 0 | ||
621 | .byte 0,12,0x14,0,0,0,0,0 | ||
622 | 613 | ||
623 | .align 4 | 614 | .align 4 |
624 | Lppc_AES_encrypt_compact: | 615 | Lppc_AES_encrypt_compact: |
@@ -762,8 +753,6 @@ Lenc_compact_done: | |||
762 | xor $s2,$s2,$t2 | 753 | xor $s2,$s2,$t2 |
763 | xor $s3,$s3,$t3 | 754 | xor $s3,$s3,$t3 |
764 | blr | 755 | blr |
765 | .long 0 | ||
766 | .byte 0,12,0x14,0,0,0,0,0 | ||
767 | 756 | ||
768 | .globl .AES_decrypt | 757 | .globl .AES_decrypt |
769 | .align 7 | 758 | .align 7 |
@@ -906,9 +895,6 @@ Ldec_done: | |||
906 | mtlr r0 | 895 | mtlr r0 |
907 | addi $sp,$sp,$FRAME | 896 | addi $sp,$sp,$FRAME |
908 | blr | 897 | blr |
909 | .long 0 | ||
910 | .byte 0,12,4,1,0x80,18,3,0 | ||
911 | .long 0 | ||
912 | 898 | ||
913 | .align 5 | 899 | .align 5 |
914 | Lppc_AES_decrypt: | 900 | Lppc_AES_decrypt: |
@@ -1051,8 +1037,6 @@ Ldec_loop: | |||
1051 | xor $s2,$s2,$t2 | 1037 | xor $s2,$s2,$t2 |
1052 | xor $s3,$s3,$t3 | 1038 | xor $s3,$s3,$t3 |
1053 | blr | 1039 | blr |
1054 | .long 0 | ||
1055 | .byte 0,12,0x14,0,0,0,0,0 | ||
1056 | 1040 | ||
1057 | .align 4 | 1041 | .align 4 |
1058 | Lppc_AES_decrypt_compact: | 1042 | Lppc_AES_decrypt_compact: |
@@ -1353,11 +1337,6 @@ Ldec_compact_done: | |||
1353 | xor $s2,$s2,$t2 | 1337 | xor $s2,$s2,$t2 |
1354 | xor $s3,$s3,$t3 | 1338 | xor $s3,$s3,$t3 |
1355 | blr | 1339 | blr |
1356 | .long 0 | ||
1357 | .byte 0,12,0x14,0,0,0,0,0 | ||
1358 | |||
1359 | .asciz "AES for PPC, CRYPTOGAMS by <appro\@openssl.org>" | ||
1360 | .align 7 | ||
1361 | ___ | 1340 | ___ |
1362 | 1341 | ||
1363 | $code =~ s/\`([^\`]*)\`/eval $1/gem; | 1342 | $code =~ s/\`([^\`]*)\`/eval $1/gem; |
diff --git a/src/lib/libcrypto/bn/asm/ppc-mont.pl b/src/lib/libcrypto/bn/asm/ppc-mont.pl index f9b6992ccc..293343619e 100644 --- a/src/lib/libcrypto/bn/asm/ppc-mont.pl +++ b/src/lib/libcrypto/bn/asm/ppc-mont.pl | |||
@@ -322,11 +322,6 @@ Lcopy: ; copy or in-place refresh | |||
322 | $POP r31,`-1*$SIZE_T`($tj) | 322 | $POP r31,`-1*$SIZE_T`($tj) |
323 | mr $sp,$tj | 323 | mr $sp,$tj |
324 | blr | 324 | blr |
325 | .long 0 | ||
326 | .byte 0,12,4,0,0x80,12,6,0 | ||
327 | .long 0 | ||
328 | |||
329 | .asciz "Montgomery Multiplication for PPC, CRYPTOGAMS by <appro\@openssl.org>" | ||
330 | ___ | 325 | ___ |
331 | 326 | ||
332 | $code =~ s/\`([^\`]*)\`/eval $1/gem; | 327 | $code =~ s/\`([^\`]*)\`/eval $1/gem; |
diff --git a/src/lib/libcrypto/bn/asm/ppc.pl b/src/lib/libcrypto/bn/asm/ppc.pl index 34e38d8f6a..c9b7f9477d 100644 --- a/src/lib/libcrypto/bn/asm/ppc.pl +++ b/src/lib/libcrypto/bn/asm/ppc.pl | |||
@@ -389,9 +389,6 @@ $data=<<EOF; | |||
389 | $ST r9,`6*$BNSZ`(r3) #r[6]=c1 | 389 | $ST r9,`6*$BNSZ`(r3) #r[6]=c1 |
390 | $ST r10,`7*$BNSZ`(r3) #r[7]=c2 | 390 | $ST r10,`7*$BNSZ`(r3) #r[7]=c2 |
391 | blr | 391 | blr |
392 | .long 0 | ||
393 | .byte 0,12,0x14,0,0,0,2,0 | ||
394 | .long 0 | ||
395 | 392 | ||
396 | # | 393 | # |
397 | # NOTE: The following label name should be changed to | 394 | # NOTE: The following label name should be changed to |
@@ -816,9 +813,6 @@ $data=<<EOF; | |||
816 | 813 | ||
817 | 814 | ||
818 | blr | 815 | blr |
819 | .long 0 | ||
820 | .byte 0,12,0x14,0,0,0,2,0 | ||
821 | .long 0 | ||
822 | 816 | ||
823 | # | 817 | # |
824 | # NOTE: The following label name should be changed to | 818 | # NOTE: The following label name should be changed to |
@@ -969,9 +963,6 @@ $data=<<EOF; | |||
969 | $ST r10,`6*$BNSZ`(r3) #r[6]=c1 | 963 | $ST r10,`6*$BNSZ`(r3) #r[6]=c1 |
970 | $ST r11,`7*$BNSZ`(r3) #r[7]=c2 | 964 | $ST r11,`7*$BNSZ`(r3) #r[7]=c2 |
971 | blr | 965 | blr |
972 | .long 0 | ||
973 | .byte 0,12,0x14,0,0,0,3,0 | ||
974 | .long 0 | ||
975 | 966 | ||
976 | # | 967 | # |
977 | # NOTE: The following label name should be changed to | 968 | # NOTE: The following label name should be changed to |
@@ -1507,9 +1498,6 @@ $data=<<EOF; | |||
1507 | $ST r12,`14*$BNSZ`(r3) #r[14]=c3; | 1498 | $ST r12,`14*$BNSZ`(r3) #r[14]=c3; |
1508 | $ST r10,`15*$BNSZ`(r3) #r[15]=c1; | 1499 | $ST r10,`15*$BNSZ`(r3) #r[15]=c1; |
1509 | blr | 1500 | blr |
1510 | .long 0 | ||
1511 | .byte 0,12,0x14,0,0,0,3,0 | ||
1512 | .long 0 | ||
1513 | 1501 | ||
1514 | # | 1502 | # |
1515 | # NOTE: The following label name should be changed to | 1503 | # NOTE: The following label name should be changed to |
@@ -1557,9 +1545,6 @@ Lppcasm_sub_adios: | |||
1557 | subfze r3,r0 # if carry bit is set then r3 = 0 else -1 | 1545 | subfze r3,r0 # if carry bit is set then r3 = 0 else -1 |
1558 | andi. r3,r3,1 # keep only last bit. | 1546 | andi. r3,r3,1 # keep only last bit. |
1559 | blr | 1547 | blr |
1560 | .long 0 | ||
1561 | .byte 0,12,0x14,0,0,0,4,0 | ||
1562 | .long 0 | ||
1563 | 1548 | ||
1564 | # | 1549 | # |
1565 | # NOTE: The following label name should be changed to | 1550 | # NOTE: The following label name should be changed to |
@@ -1602,9 +1587,6 @@ Lppcasm_add_mainloop: | |||
1602 | Lppcasm_add_adios: | 1587 | Lppcasm_add_adios: |
1603 | addze r3,r0 #return carry bit. | 1588 | addze r3,r0 #return carry bit. |
1604 | blr | 1589 | blr |
1605 | .long 0 | ||
1606 | .byte 0,12,0x14,0,0,0,4,0 | ||
1607 | .long 0 | ||
1608 | 1590 | ||
1609 | # | 1591 | # |
1610 | # NOTE: The following label name should be changed to | 1592 | # NOTE: The following label name should be changed to |
@@ -1717,9 +1699,6 @@ Lppcasm_div8: | |||
1717 | Lppcasm_div9: | 1699 | Lppcasm_div9: |
1718 | or r3,r8,r0 | 1700 | or r3,r8,r0 |
1719 | blr | 1701 | blr |
1720 | .long 0 | ||
1721 | .byte 0,12,0x14,0,0,0,3,0 | ||
1722 | .long 0 | ||
1723 | 1702 | ||
1724 | # | 1703 | # |
1725 | # NOTE: The following label name should be changed to | 1704 | # NOTE: The following label name should be changed to |
@@ -1758,9 +1737,6 @@ Lppcasm_sqr_mainloop: | |||
1758 | bdnz- Lppcasm_sqr_mainloop | 1737 | bdnz- Lppcasm_sqr_mainloop |
1759 | Lppcasm_sqr_adios: | 1738 | Lppcasm_sqr_adios: |
1760 | blr | 1739 | blr |
1761 | .long 0 | ||
1762 | .byte 0,12,0x14,0,0,0,3,0 | ||
1763 | .long 0 | ||
1764 | 1740 | ||
1765 | # | 1741 | # |
1766 | # NOTE: The following label name should be changed to | 1742 | # NOTE: The following label name should be changed to |
@@ -1863,9 +1839,6 @@ Lppcasm_mw_REM: | |||
1863 | Lppcasm_mw_OVER: | 1839 | Lppcasm_mw_OVER: |
1864 | addi r3,r12,0 | 1840 | addi r3,r12,0 |
1865 | blr | 1841 | blr |
1866 | .long 0 | ||
1867 | .byte 0,12,0x14,0,0,0,4,0 | ||
1868 | .long 0 | ||
1869 | 1842 | ||
1870 | # | 1843 | # |
1871 | # NOTE: The following label name should be changed to | 1844 | # NOTE: The following label name should be changed to |
@@ -1988,9 +1961,6 @@ Lppcasm_maw_leftover: | |||
1988 | Lppcasm_maw_adios: | 1961 | Lppcasm_maw_adios: |
1989 | addi r3,r12,0 | 1962 | addi r3,r12,0 |
1990 | blr | 1963 | blr |
1991 | .long 0 | ||
1992 | .byte 0,12,0x14,0,0,0,4,0 | ||
1993 | .long 0 | ||
1994 | .align 4 | 1964 | .align 4 |
1995 | EOF | 1965 | EOF |
1996 | $data =~ s/\`([^\`]*)\`/eval $1/gem; | 1966 | $data =~ s/\`([^\`]*)\`/eval $1/gem; |
diff --git a/src/lib/libcrypto/sha/asm/sha1-ppc.pl b/src/lib/libcrypto/sha/asm/sha1-ppc.pl index 2140dd2f8d..85342b6a82 100755 --- a/src/lib/libcrypto/sha/asm/sha1-ppc.pl +++ b/src/lib/libcrypto/sha/asm/sha1-ppc.pl | |||
@@ -262,9 +262,6 @@ Ldone: | |||
262 | mtlr r0 | 262 | mtlr r0 |
263 | addi $sp,$sp,$FRAME | 263 | addi $sp,$sp,$FRAME |
264 | blr | 264 | blr |
265 | .long 0 | ||
266 | .byte 0,12,4,1,0x80,18,3,0 | ||
267 | .long 0 | ||
268 | ___ | 265 | ___ |
269 | 266 | ||
270 | # This is private block function, which uses tailored calling | 267 | # This is private block function, which uses tailored calling |
@@ -314,11 +311,6 @@ $code.=<<___; | |||
314 | addi $inp,$inp,`16*4` | 311 | addi $inp,$inp,`16*4` |
315 | bdnz- Lsha1_block_private | 312 | bdnz- Lsha1_block_private |
316 | blr | 313 | blr |
317 | .long 0 | ||
318 | .byte 0,12,0x14,0,0,0,0,0 | ||
319 | ___ | ||
320 | $code.=<<___; | ||
321 | .asciz "SHA1 block transform for PPC, CRYPTOGAMS by <appro\@fy.chalmers.se>" | ||
322 | ___ | 314 | ___ |
323 | 315 | ||
324 | $code =~ s/\`([^\`]*)\`/eval $1/gem; | 316 | $code =~ s/\`([^\`]*)\`/eval $1/gem; |
diff --git a/src/lib/libcrypto/sha/asm/sha512-ppc.pl b/src/lib/libcrypto/sha/asm/sha512-ppc.pl index b5649299dc..1f02cfdd56 100755 --- a/src/lib/libcrypto/sha/asm/sha512-ppc.pl +++ b/src/lib/libcrypto/sha/asm/sha512-ppc.pl | |||
@@ -309,9 +309,6 @@ Ldone: | |||
309 | mtlr r0 | 309 | mtlr r0 |
310 | addi $sp,$sp,$FRAME | 310 | addi $sp,$sp,$FRAME |
311 | blr | 311 | blr |
312 | .long 0 | ||
313 | .byte 0,12,4,1,0x80,18,3,0 | ||
314 | .long 0 | ||
315 | 312 | ||
316 | .align 4 | 313 | .align 4 |
317 | Lsha2_block_private: | 314 | Lsha2_block_private: |
@@ -378,8 +375,6 @@ $code.=<<___; | |||
378 | $ST $H,`7*$SZ`($ctx) | 375 | $ST $H,`7*$SZ`($ctx) |
379 | bne Lsha2_block_private | 376 | bne Lsha2_block_private |
380 | blr | 377 | blr |
381 | .long 0 | ||
382 | .byte 0,12,0x14,0,0,0,0,0 | ||
383 | .rodata | 378 | .rodata |
384 | Ltable: | 379 | Ltable: |
385 | ___ | 380 | ___ |