[PATCH 3/3] ld: Cleanup sframe_decoder_init_func_bfdinfo use of cookie->rel

Andreas Schwab schwab@suse.de
Tue Feb 25 13:20:00 GMT 2025


How about replacing the two assertions (the one inside the loop and the
one after the loop) with a single assertion before the loop:

  BFD_ASSERT (cookie->rels + fde_count == cookie->relend);

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."


More information about the Binutils mailing list