arm: turn on -Wl,--fatal-warnings
In b238210c0172e771b1302364273016ad1fabafb8, we added
-Wl,--warn-shared-textrel to TARGET_GLOBAL_LDFLAGS. This generated
a warning whenever we created a shared library with a text
relocation. At the time, we wrote:
Emit a warning when the static linker detects a shared library
has text relocations. Text relocations make it harder to
share pages across processes, and make it harder to use
certain memory protection features in, for example, SELinux.
This warning will turn into an error in a future change
All code which uses text relocations has either been fixed, or
we've temporarily worked around the issue so the code can still
This reverts commit 4dc781657b7aa2385cc6ffedc8f3841abdcfd5f6.
1 file changed