These are the promised follow-up patches to the bfd_get_filename patch. These fix up a few spots that cast away const. Let me know what you think. Tom