[PATCH v2] _bfd_mips_elf_final_link: notify user about wrong .reginfo size
One of assertions in _bfd_mips_elf_final_link could be triggered by
a combination of input files and a linker script. This happens when
either the input doesn't contain .reginfo section or when this section
is oversized. This patch replaces the assertion with a more useful
* elfxx-mips.c (_bfd_mips_elf_final_link): Notify user when
.reginfo section has wrong size.
bfd/ChangeLog | 5 +++++
bfd/elfxx-mips.c | 10 +++++++++-
2 files changed, 14 insertions(+), 1 deletion(-)
Re: [PATCH v2] _bfd_mips_elf_final_link: notify user about wrong .reginfo size
Thank you for the updated patch. I have updated its heading to have the
sentence capitalised as I previously requested, i.e.:
_bfd_mips_elf_final_link: Notify user about wrong .reginfo size
and committed your change. When submitting further changes please omit
any ChangeLog updates from the patch itself as they tend to apply wrongly
or not at all; the committer will extract entries from the description and
apply them where appropriate (also in the future we may have a GIT hook to
do that automatically).
This change was small enough not to require a legal procedure to be
followed before it could be accepted for inclusion. If you wish to
continue contributing to our project, then please let me know and I will
tell you what to do next.
Thank you for your contribution. I will follow up with test cases soon.