[committed] exec-stack warning for test which wants executable stacks
Jeff Law
jeffreyalaw@gmail.com
Mon Apr 25 15:30:59 GMT 2022
On 4/25/2022 9:26 AM, Nick Clifton wrote:
> Hi Jeff,
>
> Just FYI - I am also looking at adding in another warning. This
> time for
> when the linker creates a PT_LOAD segment which has all of the RWX
> flags
> set. At the moment my testing seems to show that it only causes
> problems
> when a custom linker script is used that defines its own program
> headers
> and does not provide separate headers for code and data.
That also sounds quite reasonable. My biggest worry would be the
embedded targets which have their own linker scripts -- but like the
executable stack warning, I think you should go for it and we'll deal
with the fallout.
jeff
More information about the Gcc
mailing list