Skip to content

Commit

Permalink
Merge branch 'devel1'
Browse files Browse the repository at this point in the history
  • Loading branch information
fautomat committed Jun 18, 2024
2 parents 0b70ba9 + c2cd8a7 commit 0642914
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sources/startup/init_shared.c
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ __LibOpen(struct Library *_masterlib asm("a6")) {
*(long*)(t + to) -= diff;
--count;
}
CacheClearU();

// reload a4 for the child library
asm volatile(
Expand Down Expand Up @@ -292,6 +293,9 @@ char const * __ResolveSymbols(long *p asm("a0"), struct Library *childLib asm("a
void **to = (void**) *p++;
r = __so_xlib_init(name, to);
}

CacheClearU();

asm volatile("move.l (a7)+,a4" : "=r"(a4));
return r;
}
Expand Down

0 comments on commit 0642914

Please sign in to comment.