diff options
| author | Mark Wielaard <[email protected]> | 2018-11-19 11:46:46 +0100 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2018-11-21 12:30:12 +0100 |
| commit | f5810ec76caed5155c27c2ed3d0ba2b3f0d4ad22 (patch) | |
| tree | 63fa7eeda9f38e99499819fbcfe063c45a6cab01 /libelf/elf_getdata.c | |
| parent | c93f060df3648f0e219ed8d041045d91bbc9dc70 (diff) | |
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 <[email protected]>
Diffstat (limited to 'libelf/elf_getdata.c')
0 files changed, 0 insertions, 0 deletions
