[PATCH] bfd: xtensa: fix __stop_SECTION literal drop,
Nick Clifton
nickc@redhat.com
Wed Oct 5 11:15:37 GMT 2022
Hi Alexey,
> Literals placement algorithm may drop __stop_SECTION symbol as
> duplicated because it is not initialized yet and we can not differ it
> from __start_SECTION symbol at this stage. Both symbols will be
> initialized a bit later.
> This workaround prevented start_stop symbols from equality in compare
> function
> ---
> bfd/elf32-xtensa.c | 7 +++++++
> ld/testsuite/ld-xtensa/startstop.d | 6 ++++++
> ld/testsuite/ld-xtensa/startstop.s | 16 ++++++++++++++++
> ld/testsuite/ld-xtensa/xtensa.exp | 2 ++
Patch approved - please apply.
Cheers
Nick
More information about the Binutils
mailing list