summaryrefslogtreecommitdiffstats
path: root/libelf/elf_getdata.c
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2018-11-19 11:46:46 +0100
committerMark Wielaard <[email protected]>2018-11-21 12:30:12 +0100
commitf5810ec76caed5155c27c2ed3d0ba2b3f0d4ad22 (patch)
tree63fa7eeda9f38e99499819fbcfe063c45a6cab01 /libelf/elf_getdata.c
parentc93f060df3648f0e219ed8d041045d91bbc9dc70 (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