chiark / gitweb /
symm/rijndael-x86ish-aesni.S: Decorate `rijndael_rcon' correctly.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 26 May 2016 08:26:09 +0000 (09:26 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 26 Jun 2016 11:14:42 +0000 (12:14 +0100)
I don't think I've tested this on 32-bit Windows, which is the only
platform I'm currently supporting which needs nontrivial symbol
decoration.

symm/rijndael-x86ish-aesni.S

index 0b295e57cfed054b0ec0761f04fc4e58594908e1..09543172f47ee95a1b4e51512a01378552071c7b 100644 (file)
@@ -197,7 +197,7 @@ FUNC(rijndael_setup_x86ish_aesni)
 
        // Find the round constants.
        ldgot   ecx
-       leaext  RCON, rijndael_rcon, ecx
+       leaext  RCON, F(rijndael_rcon), ecx
 
        // Prepare for the main loop.
        lea     SI, [CTX + w]