]> git.proxmox.com Git - mirror_qemu.git/commit
pc-bios/s390-ccw/Makefile: Use -z noexecstack to silence linker warning
authorThomas Huth <thuth@redhat.com>
Thu, 22 Jun 2023 13:08:22 +0000 (15:08 +0200)
committerThomas Huth <thuth@redhat.com>
Thu, 29 Jun 2023 18:45:12 +0000 (20:45 +0200)
commit442ef32ee5b6059a8f247fb2def9d449578d0a89
tree3a7475a8872f105042d04702a354675e79b9a2c1
parent0c2a6e124228caf776647050cfbba4faedf950fb
pc-bios/s390-ccw/Makefile: Use -z noexecstack to silence linker warning

Recent versions of ld complain when linking the s390-ccw bios:

 /usr/bin/ld: warning: start.o: missing .note.GNU-stack section implies
              executable stack
 /usr/bin/ld: NOTE: This behaviour is deprecated and will be removed in
              a future version of the linker

We can silence the warning by telling the linker to mark the stack
as not executable.

Message-Id: <20230622130822.396793-1-thuth@redhat.com>
Acked-by: Christian Borntraeger <borntraeger@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
pc-bios/s390-ccw/Makefile