package/elf2flt: remove broken patch
Remove broken elf2flt patch: package/elf2flt/0003-elf2flt-fix-.eh_frame-section-handling.patch The patch modifies main(), but does not perform a similar change in output_relocs(), which might cause sectionp in output_relocs() to be initialized with an invalid address, causing random memory to be overwritten. This leads to a segfault when linking e.g. busybox for m68k. We cannot perform a similar change in output_relocs(), since at this point in time, data_len will always be non-zero. Revert this patch completely, so that we can add a working patch. Note that even with this patch reverted, elf2flt is still broken on archs like m68k and xtensa, resulting in the fatal error: ERROR: text=0x3bab8 overlaps data=0x33f60 ? Signed-off-by:Niklas Cassel <niklas.cassel@wdc.com> Signed-off-by:
Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Loading
Please register or sign in to comment