> On Dec 12, 2018, at 5:12 PM, Uecker, Martin > <martin.uec...@med.uni-goettingen.de> wrote: >> ... >> I've not seen such an alternative implementation (-fno-trampolines is >> ignored on all targets I tried), > > It was implemented for Ada. But here is a patch to also > activate it for C: > > https://gcc.gnu.org/ml/gcc-patches/2018-12/msg00853.html > > With this patch one can use nested functions in C without > having an executable stack. That's interesting, because the internals manual (section 18.11, "Support for nested functions") clearly implies that it's already supported so long as the target defines the necessary macros / target hooks. Though admittedly the documentation is a bit muddled. I've been wanting to use this, since executable stacks really need to be avoided on pdp11. paul
- [ping] Change static chain to r11 on aarch64 Olivier Hainque
- Re: [ping] Change static chain to r11 on aar... Richard Earnshaw (lists)
- Re: [ping] Change static chain to r11 on... Olivier Hainque
- Re: [ping] Change static chain to r1... Wilco Dijkstra
- Re: [ping] Change static chain t... Uecker, Martin
- Re: [ping] Change static ch... Wilco Dijkstra
- Re: [ping] Change stati... Uecker, Martin
- Re: [ping] Change s... Paul Koning
- Re: [ping] Change s... Wilco Dijkstra
- Re: [ping] Change s... Uecker, Martin
- Re: [ping] Change s... Wilco Dijkstra
- Re: [ping] Change stati... Segher Boessenkool
- Re: [ping] Change stati... Hans-Peter Nilsson
- Re: [ping] Change s... Wilco Dijkstra
- Re: [ping] Change s... Hans-Peter Nilsson
- Re: [ping] Change s... Hans-Peter Nilsson
- Re: [ping] Change s... Olivier Hainque
- Re: [ping] Change s... Wilco Dijkstra