aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/sancov_plugin.c
diff options
context:
space:
mode:
authorTianjia Zhang <[email protected]>2021-10-15 11:47:33 +0800
committerHerbert Xu <[email protected]>2021-10-22 20:23:01 +0800
commitf8690a4b5a1b64f74ae5c4f7c4ea880d8a8e1a0d (patch)
tree08b5cad3694f9b1ed638c7e76be58f978cbaab32 /scripts/gcc-plugins/sancov_plugin.c
parent0e14ef38669ce4faa80589247fe8ed8a3780f414 (diff)
crypto: x86/sm4 - Fix invalid section entry size
This fixes the following warning: vmlinux.o: warning: objtool: elf_update: invalid section entry size The size of the rodata section is 164 bytes, directly using the entry_size of 164 bytes will cause errors in some versions of the gcc compiler, while using 16 bytes directly will cause errors in the clang compiler. This patch correct it by filling the size of rodata to a 16-byte boundary. Fixes: a7ee22ee1445 ("crypto: x86/sm4 - add AES-NI/AVX/x86_64 implementation") Fixes: 5b2efa2bb865 ("crypto: x86/sm4 - add AES-NI/AVX2/x86_64 implementation") Reported-by: Peter Zijlstra <[email protected]> Reported-by: Abaci Robot <[email protected]> Signed-off-by: Tianjia Zhang <[email protected]> Tested-by: Heyuan Shi <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions