[PATCH v1 1/1] ld: microblaze: ignore rwx segments
Michael Eager
eager@eagercon.com
Wed Oct 4 15:39:49 GMT 2023
On 9/27/23 22:57, Neal Frager via Binutils wrote:
> The linker will generate warnings if it is creating an executable
> stack or a segment with all three read, write and execute permissions.
> These settings are not appropriate for all targets including
> MicroBlaze.
>
> Signed-off-by: Neal Frager <neal.frager@amd.com>
> ---
> ld/configure.tgt | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/ld/configure.tgt b/ld/configure.tgt
> index ff0aaaae257..3aa595ef130 100644
> --- a/ld/configure.tgt
> +++ b/ld/configure.tgt
> @@ -55,6 +55,7 @@ if test "${ac_default_ld_warn_rwx_segments}" = unset; then
> cris-*-* | crisv32-*-* | \
> hppa*-*-* | \
> mips*-*-* | \
> + microblaze*-*-* | \
> sparc*-*-* | \
> v850*-*-*)
> ac_default_ld_warn_rwx_segments=0
Committed.
--
Michael Eager
More information about the Binutils
mailing list