diff --git a/libexec/ld.elf_so/arch/powerpc/rtld_start.S b/libexec/ld.elf_so/arch/powerpc/rtld_start.S index 744a9bfe2b9f..961146cb6649 100644 --- a/libexec/ld.elf_so/arch/powerpc/rtld_start.S +++ b/libexec/ld.elf_so/arch/powerpc/rtld_start.S @@ -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 @@ _rtld_start: 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 ...