johnsonm@redhat.com ("Michael K. Johnson") writes:
[... Disabling execshield for certain binaries ...] If you build something with gas directly, you can pass the --execstack option to gas; otherwise, use the compiler argument -Wa,--execstack to tell the compiler to tell gas to request an executable stack.
Thanks. Have I to do this for every source-file, or just once for each binary? What is with the '-z execstack' option for ld?
Alternatively, if you have assembler sources, you can also add .section .note.GNU-stack,"x"; .previous to the assembler source; that's what the --execstack option does.
Have I to be carefully when executing 'strip -R.note' on such binaries?
Enrico