From 7e8817466f02b215d7714cb0f179a6f79f05b98b Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Thu, 21 Jun 2018 22:58:01 +0200 Subject: 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. --- src/crypto/poly1305-x86_64.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -.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 -- cgit v1.2.3-59-g8ed1b