Set symbol type for global functions on ARM
Fixes ARM thumb support on Debian armhf
This commit is contained in:
parent
003d1f1f84
commit
eb808402f2
2 changed files with 9 additions and 0 deletions
|
@ -294,6 +294,9 @@
|
||||||
.align 2
|
.align 2
|
||||||
.globl scrypt_core
|
.globl scrypt_core
|
||||||
.globl _scrypt_core
|
.globl _scrypt_core
|
||||||
|
#ifdef __ELF__
|
||||||
|
.type scrypt_core, %function
|
||||||
|
#endif
|
||||||
scrypt_core:
|
scrypt_core:
|
||||||
_scrypt_core:
|
_scrypt_core:
|
||||||
stmfd sp!, {r4-r11, lr}
|
stmfd sp!, {r4-r11, lr}
|
||||||
|
|
|
@ -110,6 +110,9 @@
|
||||||
.align 2
|
.align 2
|
||||||
.globl sha256_transform
|
.globl sha256_transform
|
||||||
.globl _sha256_transform
|
.globl _sha256_transform
|
||||||
|
#ifdef __ELF__
|
||||||
|
.type sha256_transform, %function
|
||||||
|
#endif
|
||||||
sha256_transform:
|
sha256_transform:
|
||||||
_sha256_transform:
|
_sha256_transform:
|
||||||
stmfd sp!, {r4-r11, lr}
|
stmfd sp!, {r4-r11, lr}
|
||||||
|
@ -232,6 +235,9 @@ sha256_transform_k_over:
|
||||||
.align 2
|
.align 2
|
||||||
.globl sha256d_ms
|
.globl sha256d_ms
|
||||||
.globl _sha256d_ms
|
.globl _sha256d_ms
|
||||||
|
#ifdef __ELF__
|
||||||
|
.type sha256d_ms, %function
|
||||||
|
#endif
|
||||||
sha256d_ms:
|
sha256d_ms:
|
||||||
_sha256d_ms:
|
_sha256d_ms:
|
||||||
stmfd sp!, {r4-r11, lr}
|
stmfd sp!, {r4-r11, lr}
|
||||||
|
|
Loading…
Reference in a new issue