[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/12532] arm: gas may assemble b to locally-defined, preemptible
From: |
jason at zx2c4 dot com |
Subject: |
[Bug gas/12532] arm: gas may assemble b to locally-defined, preemptible global symbol as "b.n" |
Date: |
Thu, 18 Jun 2020 23:55:53 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=12532
Jason A. Donenfeld <jason at zx2c4 dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jason at zx2c4 dot com
--- Comment #9 from Jason A. Donenfeld <jason at zx2c4 dot com> ---
This problem still exists on binutils 2.33 when -fvisibility=hidden is passed
to cflags. I imagine this is so due to some conflicting code where the forced
B.W is only generated for static functions, since non-static ones will be
relocated differently, but then because of -fvisibility=hidden, they get
treated like statics, only B is used instead of the forced B.W, causing this
issue to crop up again.
OpenWRT experienced this when including WireGuard on a new board. I fixed it
like this:
https://git.zx2c4.com/wireguard-linux-compat/commit/?id=178cdfffb99f2fd6fb4a5bfd2f9319461d93f53b
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug gas/12532] arm: gas may assemble b to locally-defined, preemptible global symbol as "b.n",
jason at zx2c4 dot com <=