[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/26141] -fvisibility=hidden generates JUMP11 relocations on ARM
From: |
jason at zx2c4 dot com |
Subject: |
[Bug gas/26141] -fvisibility=hidden generates JUMP11 relocations on ARM |
Date: |
Mon, 22 Jun 2020 21:32:45 +0000 |
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.
- [Bug gas/26141] New: -fvisibility=hidden generates JUMP11 relocations on ARM, jason at zx2c4 dot com, 2020/06/19
- [Bug gas/26141] -fvisibility=hidden generates JUMP11 relocations on ARM, jason at zx2c4 dot com, 2020/06/19
- [Bug gas/26141] -fvisibility=hidden generates JUMP11 relocations on ARM, jason at zx2c4 dot com, 2020/06/19
- [Bug gas/26141] -fvisibility=hidden generates JUMP11 relocations on ARM, nickc at redhat dot com, 2020/06/22
- [Bug gas/26141] -fvisibility=hidden generates JUMP11 relocations on ARM, jason at zx2c4 dot com, 2020/06/22
- [Bug gas/26141] -fvisibility=hidden generates JUMP11 relocations on ARM,
jason at zx2c4 dot com <=
- [Bug gas/26141] -fvisibility=hidden generates JUMP11 relocations on ARM, nickc at redhat dot com, 2020/06/23
- [Bug gas/26141] -fvisibility=hidden generates JUMP11 relocations on ARM, nickc at redhat dot com, 2020/06/23
- [Bug gas/26141] -fvisibility=hidden generates JUMP11 relocations on ARM, jason at zx2c4 dot com, 2020/06/23
- [Bug gas/26141] -fvisibility=hidden generates JUMP11 relocations on ARM, jason at zx2c4 dot com, 2020/06/24
- [Bug gas/26141] -fvisibility=hidden generates JUMP11 relocations on ARM, cvs-commit at gcc dot gnu.org, 2020/06/25
- [Bug gas/26141] -fvisibility=hidden generates JUMP11 relocations on ARM, nickc at redhat dot com, 2020/06/25
- [Bug gas/26141] -fvisibility=hidden generates JUMP11 relocations on ARM, jason at zx2c4 dot com, 2020/06/25