Skip to contentSkip to conversation

crypto: crc32c-pclmul: use .rodata instead of .rotata

PATCH In review Nicolas Iooss 2 participants 2 messages Sep 20, 2015 – Sep 21, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 crypto: crc32c-pclmul: use .rodata instead of .rotata

Module crc32c-intel uses a special read-only data section named .rotata. This section is defined for K_table, and its name seems to be a spelling mistake for .rodata.

Fixes 473946e674eb ("crypto: crc32c-pclmul - Shrink K_table to 32-bit words")
---
 arch/x86/crypto/crc32c-pcl-intel-asm_64.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/crypto/crc32c-pcl-intel-asm_64.S +1 -1
index 225be06edc80..4fe27e074194 100644
@@ -330,7 +330,7 @@ ENDPROC(crc_pcl)
 	## PCLMULQDQ tables
 	## Table is 128 entries x 2 words (8 bytes) each
 	################################################################
-.section	.rotata, "a", %progbits
+.section	.rodata, "a", %progbits
 .align 8
 K_table:
 	.long 0x493c7d27, 0x00000001
Signature · 1 line
2.5.2
maintainer
#1 lore raw
Quoted 6 lines · Nicolas Iooss

Module crc32c-intel uses a special read-only data section named .rotata. This section is defined for K_table, and its name seems to be a spelling mistake for .rodata.

Fixes 473946e674eb ("crypto: crc32c-pclmul - Shrink K_table to 32-bit words")

Patch applied.

Signature · 3 lines
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt