Add -Wtrampolines to CFLAGS.
authorMark Wielaard <mark@klomp.org>
Mon, 19 Nov 2018 10:46:46 +0000 (11:46 +0100)
committerMark Wielaard <mark@klomp.org>
Wed, 21 Nov 2018 11:30:12 +0000 (12:30 +0100)
commitf5810ec76caed5155c27c2ed3d0ba2b3f0d4ad22
tree63fa7eeda9f38e99499819fbcfe063c45a6cab01
parentc93f060df3648f0e219ed8d041045d91bbc9dc70
Add -Wtrampolines to CFLAGS.

elfutils uses nested functions a lot. This is fine unless one takes the
address of such a nested function. When taking the address of a nested
function a trampoline is generated that on some systems require the stack
to be executable. That is bad. We never want to generate such trampolines.
Add -Wtrampolines to CLAGS to make sure we don't.

Signed-off-by: Mark Wielaard <mark@klomp.org>
config/ChangeLog
config/eu.am