Thanks for the email. Is this a recent change, which ld version is this? I use 2.38 which is current Ubuntu one on 22.04 LTS.
On Mon, 2022-12-05 at 15:43 +0100, Andreas Schwab wrote: > On Dez 05 2022, Alexander Pick wrote: > > > There is also no warning that the stack is executable during the > > process. > > /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse- > linux/bin/ld: warning: test2.o: missing .note.GNU-stack section > implies executable stack > /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse- > linux/bin/ld: NOTE: This behaviour is deprecated and will be removed > in a future version of the linker >