Re: [PATCH 1/2] Makefile: Link with -z noexectack

2023-02-24 Thread Tom Rini
On Tue, Feb 14, 2023 at 03:09:31PM -0500, Tom Rini wrote: > When moving to gcc-12.2 we started trying to quiet some of the new > linker warnings, that are not relevant to us. However, a > misunderstanding of the mechanics at play meant that I intentionally > omitted passing -z noexecstack to the l

Re: [PATCH 1/2] Makefile: Link with -z noexectack

2023-02-14 Thread Simon Glass
On Tue, 14 Feb 2023 at 13:09, Tom Rini wrote: > > When moving to gcc-12.2 we started trying to quiet some of the new > linker warnings, that are not relevant to us. However, a > misunderstanding of the mechanics at play meant that I intentionally > omitted passing -z noexecstack to the linker, whe

[PATCH 1/2] Makefile: Link with -z noexectack

2023-02-14 Thread Tom Rini
When moving to gcc-12.2 we started trying to quiet some of the new linker warnings, that are not relevant to us. However, a misunderstanding of the mechanics at play meant that I intentionally omitted passing -z noexecstack to the linker, when we do need to. Add this flag and in turn remove warning