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 Remove unneeded cruft from _r...



details:   https://anonhg.NetBSD.org/src/rev/d809e5d2bed3
branches:  trunk
changeset: 536162:d809e5d2bed3
user:      mycroft <mycroft%NetBSD.org@localhost>
date:      Tue Sep 10 02:52:33 2002 +0000

description:
Remove unneeded cruft from _rtld_start.

diffstat:

 libexec/ld.elf_so/arch/powerpc/rtld_start.S |  11 ++---------
 1 files changed, 2 insertions(+), 9 deletions(-)

diffs (32 lines):

diff -r b85289db8518 -r d809e5d2bed3 libexec/ld.elf_so/arch/powerpc/rtld_start.S
--- a/libexec/ld.elf_so/arch/powerpc/rtld_start.S       Tue Sep 10 02:24:51 2002 +0000
+++ b/libexec/ld.elf_so/arch/powerpc/rtld_start.S       Tue Sep 10 02:52:33 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rtld_start.S,v 1.5 2002/09/10 02:24:51 mycroft Exp $   */
+/*     $NetBSD: rtld_start.S,v 1.6 2002/09/10 02:52:33 mycroft Exp $   */
 
 /*-
  * Copyright (C) 1998  Tsubai Masanari
@@ -45,13 +45,6 @@
 
        bl      _GLOBAL_OFFSET_TABLE_@local-4
        mflr    11                      # r11 = (real) GOT
-       subi    3,11,4                  # r3 = _GLOBAL_OFFSET_TABLE_-4
-
-       dcbst   0,3                     # sync i-cache with d-cache
-       sync
-       icbi    0,3
-       isync
-
        lwz     10,_GLOBAL_OFFSET_TABLE_@got(11)
                                        # the linker thought GOT were ...
        subf    9,10,11                 # r9 = displacement
@@ -63,7 +56,7 @@
        add     3,3,9                   # add the displacement
        stw     3,0(11)
        addi    11,11,4                 # r11++
-       cmpl    0,11,8                  # done?
+       cmplw   0,11,8                  # done?
        blt     1b
 
        lwz     4,16(1)



Home | Main Index | Thread Index | Old Index