Question: BFD_FAIL
Ian Lance Taylor
iant@google.com
Wed Jul 25 20:14:00 GMT 2007
msnyder@sonic.net writes:
> Are we meant to assume that BFD_FAIL does not return?
That would be an unwise assumption. As you have seen, it does
return.
> void
> _bfd_set_gp_value (bfd *abfd, bfd_vma v)
> {
> if (! abfd)
> BFD_FAIL ();
> if (abfd->format != bfd_object)
> return;
Yep, looks wrong. Came in here:
2003-05-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
* bfd.c (_bfd_get_gp_value): Prevent illegal access for abfd null
pointers.
(_bfd_set_gp_value): Likewise.
Ian
More information about the Binutils
mailing list