bfd/elf/mn10300 "dangerous error"
DJ Delorie
dj@redhat.com
Mon Jul 18 19:35:00 GMT 2005
in elf-m10300.c we have code like this:
case bfd_reloc_dangerous:
msg = _("internal error: dangerous error");
goto common_error;
common_error:
if (!((*info->callbacks->warning)
(info, msg, name, input_bfd, input_section,
rel->r_offset)))
return FALSE;
break;
Why doesn't bfd_reloc_dangerous invoke the dangerous_reloc callback?
The way it is now, dangerous relocs let the linker succeed, because
they're only warnings.
More information about the Binutils
mailing list