Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/libexec/ld.elf_so/arch/powerpc syncicache is needed...
details: https://anonhg.NetBSD.org/src/rev/a01700638f53
branches: trunk
changeset: 473138:a01700638f53
user: tsubai <tsubai%NetBSD.org@localhost>
date: Fri May 21 08:00:11 1999 +0000
description:
syncicache is needed...
diffstat:
libexec/ld.elf_so/arch/powerpc/rtld_start.S | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 6d50e1f89d5e -r a01700638f53 libexec/ld.elf_so/arch/powerpc/rtld_start.S
--- a/libexec/ld.elf_so/arch/powerpc/rtld_start.S Fri May 21 06:37:39 1999 +0000
+++ b/libexec/ld.elf_so/arch/powerpc/rtld_start.S Fri May 21 08:00:11 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rtld_start.S,v 1.2 1999/04/18 19:40:07 ws Exp $ */
+/* $NetBSD: rtld_start.S,v 1.3 1999/05/21 08:00:11 tsubai Exp $ */
/*-
* Copyright (C) 1998 Tsubai Masanari
@@ -50,6 +50,11 @@
lwz 4,0(3)
add 3,3,4 # r3 = _GLOBAL_OFFSET_TABLE_ - 4
+ dcbst 0,3 # sync i-cache with d-cache
+ sync
+ icbi 0,3
+ isync
+
addi 11,3,4 # r11 = (real) GOT
lwz 10,_GLOBAL_OFFSET_TABLE_@got(11)
# the linker thought GOT were ...
Home |
Main Index |
Thread Index |
Old Index