Source-Changes-HG archive

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

[src/trunk]: src/sys/kern backout part of execsw/LKM changes: netbsd_elf32_s...



details:   https://anonhg.NetBSD.org/src/rev/3010a1d184b4
branches:  trunk
changeset: 499754:3010a1d184b4
user:      mrg <mrg%NetBSD.org@localhost>
date:      Tue Nov 28 13:10:41 2000 +0000

description:
backout part of execsw/LKM changes:  netbsd_elf32_signature() is used by
the compat/netbsd32 code so de-static it again.

diffstat:

 sys/kern/exec_elf32.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 2b10fd39cd0f -r 3010a1d184b4 sys/kern/exec_elf32.c
--- a/sys/kern/exec_elf32.c     Tue Nov 28 13:07:27 2000 +0000
+++ b/sys/kern/exec_elf32.c     Tue Nov 28 13:10:41 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: exec_elf32.c,v 1.58 2000/11/21 00:37:56 jdolecek Exp $ */
+/*     $NetBSD: exec_elf32.c,v 1.59 2000/11/28 13:10:41 mrg Exp $      */
 
 /*-
  * Copyright (c) 1994 The NetBSD Foundation, Inc.
@@ -93,7 +93,7 @@
 void   ELFNAME(load_psection)(struct exec_vmcmd_set *, struct vnode *,
            const Elf_Phdr *, Elf_Addr *, u_long *, int *, int);
 
-static int ELFNAME2(netbsd,signature)(struct proc *, struct exec_package *,
+int ELFNAME2(netbsd,signature)(struct proc *, struct exec_package *,
     Elf_Ehdr *);
 int ELFNAME2(netbsd,probe)(struct proc *, struct exec_package *,
     void *, char *, vaddr_t *);
@@ -641,7 +641,7 @@
        return ENOEXEC;
 }
 
-static int
+int
 ELFNAME2(netbsd,signature)(struct proc *p, struct exec_package *epp,
     Elf_Ehdr *eh)
 {



Home | Main Index | Thread Index | Old Index