On Fri, Jun 30, 2023 at 11:05 AM Tom Rini <tr...@konsulko.com> wrote:

> I think this breaks x86, without updating their linker scripts at least.

What about this instead?

--- a/common/spl/spl_legacy.c
+++ b/common/spl/spl_legacy.c
@@ -19,7 +19,7 @@
 static void spl_parse_legacy_validate(uintptr_t start, uintptr_t size)
 {
  uintptr_t spl_start = (uintptr_t)_start;
- uintptr_t spl_end = (uintptr_t)__bss_end;
+ uintptr_t spl_end = (uintptr_t)_image_binary_end;
  uintptr_t end = start + size;

Reply via email to