[binutils-gdb] elf: Return error on unsorted symbol table if not allowed

Maciej W. Rozycki macro@orcam.me.uk
Fri Oct 24 19:11:30 GMT 2025


On Tue, 23 Sep 2025, H.J. Lu via Binutils-cvs wrote:

> diff --git a/bfd/elflink.c b/bfd/elflink.c
> index 66982f82b94..54f0d6e957e 100644
> --- a/bfd/elflink.c
> +++ b/bfd/elflink.c
> @@ -9188,11 +9194,12 @@ set_symbol_value (bfd *bfd_with_globals,
>    if (h == NULL)
>      {
>        /* FIXMEL What should we do ?  */
> -      return;
> +      return false;

 Shouldn't that FIXMEL (sic!) comment be removed now, now that we handle 
the error situation correctly?

  Maciej


More information about the Binutils mailing list