diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-06-21 22:58:01 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-06-22 04:09:39 +0200 |
commit | 8fff7fa74a04892fe13cfc932f66f29330901930 (patch) | |
tree | c8461eeec6f6aa247725be74ac7bc8e0e3b9b460 | |
parent | 0b6b96af63ae3ebd2159725e9015a83b075a62c4 (diff) |
poly1305: give linker the correct constant data section size
Otherwise these constants will be merged wrong or excluded, and we'll
wind up with wrong calculations. While bfd (the normal kernel linker)
doesn't seem to mind, recent versions of gold do bad things.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r-- | src/crypto/poly1305-x86_64.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/poly1305-x86_64.S b/src/crypto/poly1305-x86_64.S index 3ab21ea..7c1b736 100644 --- a/src/crypto/poly1305-x86_64.S +++ b/src/crypto/poly1305-x86_64.S @@ -7,7 +7,7 @@ #include <linux/linkage.h> -.section .rodata.cst192.Lconst, "aM", @progbits, 32 +.section .rodata.cst192.Lconst, "aM", @progbits, 192 .align 64 .Lconst: .long 0x0ffffff,0,0x0ffffff,0,0x0ffffff,0,0x0ffffff,0 |