[PATCH] pru: bfd: Correct default to no execstack

Nick Clifton nickc@redhat.com
Mon Nov 14 13:52:00 GMT 2022


Hi Dimitar,

> Data and instruction memories are strictly separated, so it is not
> possible to execute instructions from the stack memory on PRU.
> 
> I don't see any difference in testsuite results with or without this
> change.
> 
> Ok for trunk?
> 
> bfd/ChangeLog:
> 
> 	* elf32-pru.c (elf_backend_default_execstack): Define as 0.
> 
> ld/ChangeLog:
> 
> 	* testsuite/ld-elf/elf.exp (target_defaults_to_execstack):
> 	Return 0 for pru.

Approved - please apply.

Cheers
   Nick



More information about the Binutils mailing list