https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107971
--- Comment #4 from Alexander Pick <cont...@alexander-pick.com> --- Thanks a lot for the explanation. Do you think that it is worth reporting it to binutils as the text in the link also says that there should be a warning unless the option to have an executable stack is explicitly specified? In the test case there is no such warning. I also tried to link the objects with LD directly - same result and also no warning.