Fix building with x86-64 medium and large memory models
authorJussi Kivilinna <jussi.kivilinna@iki.fi>
Sat, 13 May 2017 14:53:27 +0000 (17:53 +0300)
committerJussi Kivilinna <jussi.kivilinna@iki.fi>
Sat, 13 May 2017 14:53:27 +0000 (17:53 +0300)
commit434d4f2af39033fc626044ba9a060da298522293
tree40e3530a502fdc6b144b17b61c46f9f4e361f280
parent9b651fb632f3697e70685c9ee340ab0cb2274bdf
Fix building with x86-64 medium and large memory models

* cipher/cast5-amd64.S [HAVE_COMPATIBLE_GCC_WIN64_PLATFORM_AS]
(GET_EXTERN_POINTER): Load 64-bit address instead of 32-bit.
* cipher/rijndael.c (do_encrypt, do_decrypt)
[USE_AMD64_ASM && !HAVE_COMPATIBLE_GCC_AMD64_PLATFORM_AS]: Load
table pointer through register instead of generic reference.
--

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
cipher/cast5-amd64.S
cipher/rijndael.c