https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82131
--- Comment #2 from Ian Lance Taylor <ian at airs dot com> --- I have not been able to create this. Are you using GNU ld or the gold linker? I've tried both and for me it works either way, but it might help to know. Can you find out why it is getting a segmentation violation on the call instruction? Is the problem that the stack pointer has become invalid?