https://sourceware.org/bugzilla/show_bug.cgi?id=26141

--- Comment #3 from Jason A. Donenfeld <jason at zx2c4 dot com> ---
Hi Nick,

Thanks for looking into this. I've uploaded a test script to reproduce the
issue: https://sourceware.org/bugzilla/attachment.cgi?id=12644

You can see at the end of the script:

+ readelf -a linux-5.7.5/drivers/net/wireguard/wireguard.ko
+ grep R_ARM_THM_JUMP11
0000359e  00025166 R_ARM_THM_JUMP11  000030e9   wg_packet_send_staged_

The kernel module loader then sees R_ARM_THM_JUMP11 and refuses to load it,
because it doesn't do JUMP11 relocations. Removing the -fvisibility=hidden line
restores the correct behavior of not adding those relocations.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to