Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-6]: src/libexec/ld.elf_so/arch/alpha Pull up revision 1.9 (requ...



details:   https://anonhg.NetBSD.org/src/rev/4f6ba6ba0bf5
branches:  netbsd-1-6
changeset: 529578:4f6ba6ba0bf5
user:      he <he%NetBSD.org@localhost>
date:      Sat Nov 30 14:22:19 2002 +0000

description:
Pull up revision 1.9 (requested by thorpej in ticket #774):
  There is no need to do an imb after each call to the binder,
  because we only patch the GOT, not the PLT.  However, do
  an imb when setting up the PLT thunk, just in case.

diffstat:

 libexec/ld.elf_so/arch/alpha/rtld_start.S |  7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diffs (21 lines):

diff -r 1e3649f1fe97 -r 4f6ba6ba0bf5 libexec/ld.elf_so/arch/alpha/rtld_start.S
--- a/libexec/ld.elf_so/arch/alpha/rtld_start.S Sat Nov 30 14:21:52 2002 +0000
+++ b/libexec/ld.elf_so/arch/alpha/rtld_start.S Sat Nov 30 14:22:19 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rtld_start.S,v 1.8 2001/12/14 21:25:23 thorpej Exp $   */
+/*     $NetBSD: rtld_start.S,v 1.8.2.1 2002/11/30 14:22:19 he Exp $    */
 
 /*
  * Copyright 1996 Matt Thomas <matt%3am-software.com@localhost>
@@ -167,11 +167,6 @@
        ldq     gp, 160(sp)                                     ;       \
        /* XXX LDGP? */                                                 \
                                                                        \
-       /*                                                              \
-        * We've patched the PLT; sync the I-stream.                    \
-        */                                                             \
-       imb                                                     ;       \
-                                                                       \
        /* Pop the stack frame and turn control to the destination. */  \
        lda     sp, 168(sp)                                     ;       \
        jmp     zero, (pv)



Home | Main Index | Thread Index | Old Index