RFC: Unify overflow checking
Wed Apr 23 07:00:00 GMT 2008
From: Daniel Jacobowitz <email@example.com>
Date: Tue, 22 Apr 2008 10:07:55 -0400
> Does anyone remember why bfd_check_overflow and _bfd_relocate_contents
> have different overflow checks? It looks to me as if the ones in
> _bfd_relocate_contents are always appropriate, and bfd_check_overflow
> is simply stale. This (untested so far) patch unifies them.
I think this is definitely something that should go through the
testsuite at least most of the ELF backends before being commited.
It looks fine to me personally, but I bet it will trigger some
obscure regression on some ELF target.
More information about the Binutils