Hi Martin, > Does a non-executable stack actually improve security?
Absolutely, it's like closing your front door rather than just leave it open for anyone. > For the alternative implementation using (custom) function > descriptors (-fno-trampolines) the static chain becomes > part of the ABI or not? I've not seen such an alternative implementation (-fno-trampolines is ignored on all targets I tried), but it wouldn't affect the ABI since you can only take the address of a nested function when you're the parent function. Wilco