[PATCH 1/8] LD/testsuite: Add tests for archive handling

Jan Beulich jbeulich@suse.com
Fri Oct 17 12:57:26 GMT 2025


On 27.09.2025 01:53, Maciej W. Rozycki wrote:
> From: Maciej W. Rozycki <macro@redhat.com>
> 
> Add basic verification for archives to work, regular and thin, in the 
> link.  Refer to PR binutils/33484 and PR binutils/33485 for targets that 
> fail these basic checks, where `ar' fails to add subsequent members to 
> the archive or fails to add symbols from subsequent members to the map 
> respectively, for thin archives.
> 
> NB symbol names chosen such as to avoid a clash with Z80 CPU registers.
> ---
>  ld/testsuite/ld-archive/a.s         |    4 +
>  ld/testsuite/ld-archive/abc.nd      |    7 ++
>  ld/testsuite/ld-archive/abc.s       |    7 ++
>  ld/testsuite/ld-archive/abcde.nd    |   11 +++
>  ld/testsuite/ld-archive/abcde.s     |    7 ++
>  ld/testsuite/ld-archive/archive.exp |  100 ++++++++++++++++++++++++++++++++++++
>  ld/testsuite/ld-archive/b.s         |    4 +
>  ld/testsuite/ld-archive/c.s         |    4 +
>  ld/testsuite/ld-archive/d.s         |    4 +
>  9 files changed, 148 insertions(+)

Okay.

Jan


More information about the Binutils mailing list