Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 6 Aug 2012 13:19:19 +0200
From: Szabolcs Nagy <nsz@...t70.net>
To: musl@...ts.openwall.com
Subject: Re: noexecstack

* Rich Felker <dalias@...ifal.cx> [2012-08-06 05:37:42 -0400]:
> > ld -z noexecstack
> 
> This should work for libc.so. Is there a way to do it for all the .o
> files in libc.a without having to add the option to every application,
> though?
> 

it seems gnu as has an undocumented --noexecstack flag for this

  gcc -Wa,--noexecstack -c foo.s

adds the .notes.GNU-stack section

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.