-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Aloha!
Niels Möller wrote:
Martin Storsjö martin@martin.st writes:
Your C code snippet seemed to use .short
Ok, I've now changed gcm-hash8.asm to also use .short.
I just tested a clean clone and it fails on the gcm-hash8.s due do the final section is being set to .rodata in the asm file. I changed it to __TEXT,__const and then it builds. Patch below.
diff --git a/x86_64/gcm-hash8.asm b/x86_64/gcm-hash8.asm index 60f444d..d33dfea 100644 - --- a/x86_64/gcm-hash8.asm +++ b/x86_64/gcm-hash8.asm @@ -188,7 +188,7 @@ ALIGN(16) EPILOGUE(_nettle_gcm_hash8)
define(<W>, <0x$2$1>) - - .section .rodata + .section __TEXT,__const ALIGN(2) .Lshift_table: .short W(00,00),W(01,c2),W(03,84),W(02,46),W(07,08),W(06,ca),W(04,8c),W(05,4e)
- -- Med vänlig hälsning, Yours
Joachim Strömbergson - Alltid i harmonisk svängning. ======================================================================== Joachim Strömbergson Secworks AB joachim@secworks.se ========================================================================