[PATCH] Add -Wtrampolines to CFLAGS.

Mark Wielaard mark@klomp.org
Wed Nov 21 12:12:00 GMT 2018

On Mon, 2018-11-19 at 11:54 +0100, Mark Wielaard wrote:
> 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.

Pushed to master.

More information about the Elfutils-devel mailing list