[PATCH] microblaze: don't index the local symbol cache with a global symbol index
Sam Price
thesamprice@gmail.com
Mon Aug 10 05:36:33 GMT 2026
Please see attached patch file.
microblaze_elf_relax_section() was copied from
sh_elf_relax_delete_bytes() in 2009 (7ba29e2a41) but the copy dropped
a bounds check that was already present in the sh original. This adds
the missing two-line guard from bfd/elf32-sh.c:1227-1228, preventing
an out-of-bounds read that silently corrupts relocation addends.
--
Sincerely,
Sam Price
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-microblaze-don-t-index-the-local-symbol-cache-with-a.patch
Type: application/octet-stream
Size: 17267 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20260810/d107a42d/attachment-0001.obj>
More information about the Binutils
mailing list