Menu

#85 */*.S: add non-executable GNU stack marking on ELF-linux

Unstable_(example)
closed
None
5
2022-08-08
2022-08-06
No

/.S: add non-executable GNU stack marking on ELF-linux

binutils-2.39 enabed a few warning by default
(https://sourceware.org/pipermail/binutils/2022-August/122246.html):

The ELF linker will now generate a warning message if the stack is made executable.

Let's suppress the warnings in assembly files by adding non-executables
stack markings. This fixes at least systemd build which uses '-Wl,--fatal-warnings':

https://github.com/systemd/systemd/issues/24226
1 Attachments

Discussion

  • Nigel Croxon

    Nigel Croxon - 2022-08-08
    • status: open --> closed
    • assigned_to: Nigel Croxon
     
  • Nigel Croxon

    Nigel Croxon - 2022-08-08

    Thank you for the patch

    commit 803b49c40bb0b720b90d9c31d372911f1b946aa7
    Author: Sergei Trofimovich slyich@gmail.com
    Date: Sat Aug 6 11:16:29 2022 +0100

    */*.S: add non-executable GNU stack marking on ELF-linux
    
     

Log in to post a comment.