[PATCH master 0/3] Fix GCC 11 THUMB2 relocate_to_current_adr miscompile

Marco Felsch m.felsch at pengutronix.de
Thu Oct 13 04:52:14 PDT 2022


Hi Ahmad,
On 22-10-13, Ahmad Fatoum wrote:
> TL;DR: GCC can prove that variables aren't supposed to overlap and as
> such it generated code than readded get_runtime_offset() on top of an
> already relocated linker-defined variable's address.
> See PATCH 2/3 for a disassembly of the affected code. Board code can
> be similarly micompiled, but that's a fix for another day.

I didn't received a 2/3 nor a 1/3 yet. Does it stuck somewhere?

Regards,
  Marco



More information about the barebox mailing list