[PATCH v3 04/18] LD/testsuite: Expand archive verification to `--whole-archive' feature

Jan Beulich jbeulich@suse.com
Thu Dec 4 15:59:03 GMT 2025


On 20.11.2025 11:56, Maciej W. Rozycki wrote:
> --- binutils-gdb.orig/ld/testsuite/ld-archive/archive.exp
> +++ binutils-gdb/ld/testsuite/ld-archive/archive.exp
> @@ -35,7 +35,7 @@ set old_ldflags $LDFLAGS
>  
>  # Prevent our otherwise unused data symbols from being GC'd on XCOFF targets.
>  if { [is_xcoff_format] } {
> -    append LDFLAGS " -bexpall"
> +    append LDFLAGS " -bexpfull"
>  }

Without this change I would have approved the whole thing. As this looks to affect
existing testing, and as nothing is being said in the description towards the
modification, I fear I have to ask for clarification.

Jan


More information about the Binutils mailing list