[PATCH] ld/aarch64: prune a PE/COFF test

Maciej W. Rozycki macro@orcam.me.uk
Fri Aug 8 21:59:13 GMT 2025


On Fri, 8 Aug 2025, Jan Beulich wrote:

> Expecting ___tls_end__ there is entirely random, when there are multiple
> symbols all at the same address. Help objdump to pick the intended
> symbol, by making it global and giving it a type.
> ---
> v2: New (split out and re-worked).
> 
> --- a/ld/testsuite/ld-pe/pe-aarch64.d
> +++ b/ld/testsuite/ld-pe/pe-aarch64.d
> @@ -6,7 +6,7 @@
>  
>  Disassembly of section .text:
>  
> -0000000140001000 <___tls_end__>:
> +0000000140001000 <_start>:

 Does the symbol reported here have any meaning for this test?  What's the 
purpose of the test?  The usual approach is just to match anything with 
disassembly:

0000000140001000 <[^>]*>:

and if you want to examine the symbol table too, then have the `-t' option 
supplied along with corresponding patterns for the extra output produced.

 FWIW,

  Maciej


More information about the Binutils mailing list