arm: turn on -Wl,--fatal-warnings
Third time's the charm. :-)
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 942167dab8345c420b205ce9b9b6b4fc779a7583.
1 file changed