[PATCH v3] elf: Always append ".COUNT" to local symbols

Alan Modra amodra@gmail.com
Thu May 6 02:15:45 GMT 2021

On Wed, May 05, 2021 at 06:03:07PM -0700, H.J. Lu via Binutils wrote:
> Here is the v3 patch to always append ".COUNT" to local symbols
> to avoid potential conflicts with existing local symbol "XXX.COUNT".

Good.  OK, but only after you run the testsuite over many targets.

> 	* testsuite/ld-elf/pr27825-1.d: New file.
> 	* testsuite/ld-elf/pr27825-1a.s: Likewise.
> 	* testsuite/ld-elf/pr27825-1b.s: Likewise.
> 	* testsuite/ld-elf/pr27825-2.d: Likewise.
> 	* testsuite/ld-elf/pr27825-2a.s: Likewise.
> 	* testsuite/ld-elf/pr27825-2b.s: Likewise.

I'd rather not have to fix this up later.

Alan Modra
Australia Development Lab, IBM

More information about the Binutils mailing list