Skip to content

Commit 757c9f7

Browse files
committed
Execute build/refresh.sh.
1 parent 6cca12a commit 757c9f7

7 files changed

+13
-5
lines changed

build/coff/sha256-portable-x86_64.s

+1
Original file line numberDiff line numberDiff line change
@@ -1668,6 +1668,7 @@ blst_sha256_block_data_order:
16681668
.LSEH_end_blst_sha256_block_data_order:
16691669

16701670
#ifndef __BLST_PORTABLE__
1671+
.section .rdata
16711672
.p2align 6
16721673

16731674
K256:

build/coff/sha256-x86_64.s

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.comm __blst_platform_cap,4
2-
.text
32

3+
.section .rdata
44
.p2align 6
55

66
K256:
@@ -25,6 +25,7 @@ K256:
2525
.long 0x03020100,0x0b0a0908,0xffffffff,0xffffffff
2626
.long 0xffffffff,0xffffffff,0x03020100,0x0b0a0908
2727
.byte 83,72,65,50,53,54,32,98,108,111,99,107,32,116,114,97,110,115,102,111,114,109,32,102,111,114,32,120,56,54,95,54,52,44,32,67,82,89,80,84,79,71,65,77,83,32,98,121,32,64,100,111,116,45,97,115,109,0
28+
.text
2829
.globl blst_sha256_block_data_order_shaext
2930

3031
.def blst_sha256_block_data_order_shaext; .scl 2; .type 32; .endef

build/elf/sha256-portable-x86_64.s

+1
Original file line numberDiff line numberDiff line change
@@ -1664,6 +1664,7 @@ blst_sha256_block_data_order:
16641664
.size blst_sha256_block_data_order,.-blst_sha256_block_data_order
16651665

16661666
#ifndef __BLST_PORTABLE__
1667+
.section .rodata
16671668
.align 64
16681669
.type K256,@object
16691670
K256:

build/elf/sha256-x86_64.s

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.comm __blst_platform_cap,4
2-
.text
32

3+
.section .rodata
44
.align 64
55
.type K256,@object
66
K256:
@@ -25,6 +25,7 @@ K256:
2525
.long 0x03020100,0x0b0a0908,0xffffffff,0xffffffff
2626
.long 0xffffffff,0xffffffff,0x03020100,0x0b0a0908
2727
.byte 83,72,65,50,53,54,32,98,108,111,99,107,32,116,114,97,110,115,102,111,114,109,32,102,111,114,32,120,56,54,95,54,52,44,32,67,82,89,80,84,79,71,65,77,83,32,98,121,32,64,100,111,116,45,97,115,109,0
28+
.text
2829
.globl blst_sha256_block_data_order_shaext
2930
.hidden blst_sha256_block_data_order_shaext
3031
.type blst_sha256_block_data_order_shaext,@function

build/mach-o/sha256-portable-x86_64.s

+1
Original file line numberDiff line numberDiff line change
@@ -1664,6 +1664,7 @@ L$rounds_16_xx:
16641664

16651665

16661666
#ifndef __BLST_PORTABLE__
1667+
.section __TEXT,__const
16671668
.p2align 6
16681669

16691670
K256:

build/mach-o/sha256-x86_64.s

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.comm ___blst_platform_cap,4
2-
.text
32

3+
.section __TEXT,__const
44
.p2align 6
55

66
K256:
@@ -25,6 +25,7 @@ K256:
2525
.long 0x03020100,0x0b0a0908,0xffffffff,0xffffffff
2626
.long 0xffffffff,0xffffffff,0x03020100,0x0b0a0908
2727
.byte 83,72,65,50,53,54,32,98,108,111,99,107,32,116,114,97,110,115,102,111,114,109,32,102,111,114,32,120,56,54,95,54,52,44,32,67,82,89,80,84,79,71,65,77,83,32,98,121,32,64,100,111,116,45,97,115,109,0
28+
.text
2829
.globl _blst_sha256_block_data_order_shaext
2930
.private_extern _blst_sha256_block_data_order_shaext
3031

build/win64/sha256-x86_64.asm

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
OPTION DOTNAME
22
_DATA SEGMENT
33
COMM __blst_platform_cap:DWORD:1
4-
_DATA ENDS
5-
.text$ SEGMENT ALIGN(256) 'CODE'
64

5+
_DATA ENDS
6+
.rdata SEGMENT READONLY ALIGN(256)
77
ALIGN 64
88

99
K256::
@@ -31,6 +31,8 @@ DB 83,72,65,50,53,54,32,98,108,111,99,107,32,116,114,97
3131
DB 110,115,102,111,114,109,32,102,111,114,32,120,56,54,95,54
3232
DB 52,44,32,67,82,89,80,84,79,71,65,77,83,32,98,121
3333
DB 32,64,100,111,116,45,97,115,109,0
34+
.rdata ENDS
35+
.text$ SEGMENT ALIGN(256) 'CODE'
3436
PUBLIC blst_sha256_block_data_order_shaext
3537

3638

0 commit comments

Comments
 (0)