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 KNF
details: https://anonhg.NetBSD.org/src/rev/9bb05286392a
branches: trunk
changeset: 583628:9bb05286392a
user: skrll <skrll%NetBSD.org@localhost>
date: Mon Aug 15 10:52:42 2005 +0000
description:
KNF
diffstat:
libexec/ld.elf_so/arch/alpha/alpha_reloc.c | 5 ++---
libexec/ld.elf_so/arch/sparc/mdreloc.c | 6 +++---
libexec/ld.elf_so/arch/sparc64/mdreloc.c | 8 ++++----
libexec/ld.elf_so/arch/vax/mdreloc.c | 6 +++---
libexec/ld.elf_so/arch/x86_64/mdreloc.c | 6 +++---
5 files changed, 15 insertions(+), 16 deletions(-)
diffs (101 lines):
diff -r 83ef6a62b912 -r 9bb05286392a libexec/ld.elf_so/arch/alpha/alpha_reloc.c
--- a/libexec/ld.elf_so/arch/alpha/alpha_reloc.c Mon Aug 15 06:41:06 2005 +0000
+++ b/libexec/ld.elf_so/arch/alpha/alpha_reloc.c Mon Aug 15 10:52:42 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: alpha_reloc.c,v 1.26 2005/06/08 00:19:18 fair Exp $ */
+/* $NetBSD: alpha_reloc.c,v 1.27 2005/08/15 10:52:42 skrll Exp $ */
/*
* Copyright (c) 2001 Wasabi Systems, Inc.
@@ -78,8 +78,7 @@
void _rtld_relocate_nonplt_self(Elf_Dyn *, Elf_Addr);
caddr_t _rtld_bind(const Obj_Entry *, Elf_Word);
static inline int _rtld_relocate_plt_object(const Obj_Entry *,
- const Elf_Rela *, Elf_Addr *tp);
-
+ const Elf_Rela *, Elf_Addr *);
void
_rtld_setup_pltgot(const Obj_Entry *obj)
diff -r 83ef6a62b912 -r 9bb05286392a libexec/ld.elf_so/arch/sparc/mdreloc.c
--- a/libexec/ld.elf_so/arch/sparc/mdreloc.c Mon Aug 15 06:41:06 2005 +0000
+++ b/libexec/ld.elf_so/arch/sparc/mdreloc.c Mon Aug 15 10:52:42 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mdreloc.c,v 1.35 2005/01/09 14:58:15 martin Exp $ */
+/* $NetBSD: mdreloc.c,v 1.36 2005/08/15 10:52:42 skrll Exp $ */
/*-
* Copyright (c) 1999, 2002 The NetBSD Foundation, Inc.
@@ -134,8 +134,8 @@
void _rtld_bind_start(void);
void _rtld_relocate_nonplt_self(Elf_Dyn *, Elf_Addr);
caddr_t _rtld_bind(const Obj_Entry *, Elf_Word);
-static inline int _rtld_relocate_plt_object(const Obj_Entry *obj,
- const Elf_Rela *rela, Elf_Addr *tp);
+static inline int _rtld_relocate_plt_object(const Obj_Entry *,
+ const Elf_Rela *, Elf_Addr *);
void
_rtld_setup_pltgot(const Obj_Entry *obj)
diff -r 83ef6a62b912 -r 9bb05286392a libexec/ld.elf_so/arch/sparc64/mdreloc.c
--- a/libexec/ld.elf_so/arch/sparc64/mdreloc.c Mon Aug 15 06:41:06 2005 +0000
+++ b/libexec/ld.elf_so/arch/sparc64/mdreloc.c Mon Aug 15 10:52:42 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mdreloc.c,v 1.35 2005/01/05 09:16:03 martin Exp $ */
+/* $NetBSD: mdreloc.c,v 1.36 2005/08/15 10:52:42 skrll Exp $ */
/*-
* Copyright (c) 2000 Eduardo Horvath.
@@ -222,9 +222,9 @@
#define JMPL_l0_o0 0x91c42000
#define MOV_g1_o1 0x92100001
-void _rtld_install_plt(Elf_Word *pltgot, Elf_Addr proc);
-static inline int _rtld_relocate_plt_object(const Obj_Entry *obj,
- const Elf_Rela *rela, Elf_Addr *tp);
+void _rtld_install_plt(Elf_Word *, Elf_Addr);
+static inline int _rtld_relocate_plt_object(const Obj_Entry *,
+ const Elf_Rela *, Elf_Addr *);
void
_rtld_install_plt(Elf_Word *pltgot, Elf_Addr proc)
diff -r 83ef6a62b912 -r 9bb05286392a libexec/ld.elf_so/arch/vax/mdreloc.c
--- a/libexec/ld.elf_so/arch/vax/mdreloc.c Mon Aug 15 06:41:06 2005 +0000
+++ b/libexec/ld.elf_so/arch/vax/mdreloc.c Mon Aug 15 10:52:42 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mdreloc.c,v 1.18 2005/07/24 08:02:23 skrll Exp $ */
+/* $NetBSD: mdreloc.c,v 1.19 2005/08/15 10:52:42 skrll Exp $ */
#include <sys/types.h>
#include <sys/stat.h>
@@ -9,8 +9,8 @@
void _rtld_bind_start(void);
void _rtld_relocate_nonplt_self(Elf_Dyn *, Elf_Addr);
caddr_t _rtld_bind(const Obj_Entry *, Elf_Word);
-static inline int _rtld_relocate_plt_object(const Obj_Entry *obj,
- const Elf_Rela *rela, Elf_Addr *tp);
+static inline int _rtld_relocate_plt_object(const Obj_Entry *,
+ const Elf_Rela *, Elf_Addr *);
void
_rtld_setup_pltgot(const Obj_Entry *obj)
diff -r 83ef6a62b912 -r 9bb05286392a libexec/ld.elf_so/arch/x86_64/mdreloc.c
--- a/libexec/ld.elf_so/arch/x86_64/mdreloc.c Mon Aug 15 06:41:06 2005 +0000
+++ b/libexec/ld.elf_so/arch/x86_64/mdreloc.c Mon Aug 15 10:52:42 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mdreloc.c,v 1.24 2005/07/17 05:57:21 skrll Exp $ */
+/* $NetBSD: mdreloc.c,v 1.25 2005/08/15 10:52:42 skrll Exp $ */
/*
* Copyright (c) 2001 Wasabi Systems, Inc.
@@ -84,8 +84,8 @@
void _rtld_bind_start(void);
void _rtld_relocate_nonplt_self(Elf_Dyn *, Elf_Addr);
caddr_t _rtld_bind(const Obj_Entry *, Elf_Word);
-static inline int _rtld_relocate_plt_object(const Obj_Entry *obj,
- const Elf_Rela *rela, Elf_Addr *tp);
+static inline int _rtld_relocate_plt_object(const Obj_Entry *,
+ const Elf_Rela *, Elf_Addr *);
void
_rtld_setup_pltgot(const Obj_Entry *obj)
Home |
Main Index |
Thread Index |
Old Index