Set symbol type for global functions on ARM

Fixes ARM thumb support on Debian armhf
This commit is contained in:
pooler 2012-06-03 01:06:26 +02:00
parent 003d1f1f84
commit eb808402f2
2 changed files with 9 additions and 0 deletions

View file

@ -294,6 +294,9 @@
.align 2
.globl scrypt_core
.globl _scrypt_core
#ifdef __ELF__
.type scrypt_core, %function
#endif
scrypt_core:
_scrypt_core:
stmfd sp!, {r4-r11, lr}

View file

@ -110,6 +110,9 @@
.align 2
.globl sha256_transform
.globl _sha256_transform
#ifdef __ELF__
.type sha256_transform, %function
#endif
sha256_transform:
_sha256_transform:
stmfd sp!, {r4-r11, lr}
@ -232,6 +235,9 @@ sha256_transform_k_over:
.align 2
.globl sha256d_ms
.globl _sha256d_ms
#ifdef __ELF__
.type sha256d_ms, %function
#endif
sha256d_ms:
_sha256d_ms:
stmfd sp!, {r4-r11, lr}