mirror of
https://github.com/LIV2/libnix.git
synced 2025-12-06 00:23:08 +00:00
clear the cache after stub copy/init to resolve 68060 issues
This commit is contained in:
parent
b2a7283210
commit
c2cd8a78cc
@ -199,6 +199,7 @@ __LibOpen(struct Library *_masterlib asm("a6")) {
|
||||
*(long*)(t + to) -= diff;
|
||||
--count;
|
||||
}
|
||||
CacheClearU();
|
||||
|
||||
// reload a4 for the child library
|
||||
asm volatile(
|
||||
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user