_rtld_bind_start() is not used in MI code, so declare it in the MD code.

This commit is contained in:
mycroft 2002-09-12 20:20:58 +00:00
parent bf04efbfda
commit 547bc13b97
13 changed files with 30 additions and 21 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: alpha_reloc.c,v 1.15 2002/09/11 18:18:37 mycroft Exp $ */
/* $NetBSD: alpha_reloc.c,v 1.16 2002/09/12 20:20:59 mycroft Exp $ */
/*
* Copyright (c) 2001 Wasabi Systems, Inc.
@ -72,6 +72,8 @@
#define adbg(x) /* nothing */
#endif
void _rtld_bind_start(void);
void _rtld_bind_start_old(void);
void _rtld_relocate_nonplt_self(Elf_Dyn *, Elf_Addr);
void

View File

@ -1,4 +1,4 @@
/* $NetBSD: mdreloc.c,v 1.12 2002/09/11 22:28:33 mycroft Exp $ */
/* $NetBSD: mdreloc.c,v 1.13 2002/09/12 20:20:59 mycroft Exp $ */
#include <sys/types.h>
#include <sys/stat.h>
@ -6,6 +6,7 @@
#include "debug.h"
#include "rtld.h"
void _rtld_bind_start(void);
void _rtld_relocate_nonplt_self(Elf_Dyn *, Elf_Addr);
void

View File

@ -1,4 +1,4 @@
/* $NetBSD: hppa_reloc.c,v 1.11 2002/09/06 15:17:56 mycroft Exp $ */
/* $NetBSD: hppa_reloc.c,v 1.12 2002/09/12 20:20:59 mycroft Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@ -50,6 +50,8 @@
#define hdbg(x) /* nothing */
#endif
void _rtld_bind_start(void);
/*
* In the runtime architecture (ABI), PLABEL function
* pointers are distinguished from normal function

View File

@ -1,4 +1,4 @@
/* $NetBSD: mdreloc.c,v 1.12 2002/09/11 17:23:25 mycroft Exp $ */
/* $NetBSD: mdreloc.c,v 1.13 2002/09/12 20:21:00 mycroft Exp $ */
#include <sys/types.h>
#include <sys/stat.h>
@ -6,6 +6,7 @@
#include "debug.h"
#include "rtld.h"
void _rtld_bind_start(void);
void _rtld_relocate_nonplt_self(Elf_Dyn *, Elf_Addr);
void

View File

@ -1,4 +1,4 @@
/* $NetBSD: mdreloc.c,v 1.11 2002/09/11 20:45:52 mycroft Exp $ */
/* $NetBSD: mdreloc.c,v 1.12 2002/09/12 20:21:00 mycroft Exp $ */
#include <sys/types.h>
#include <sys/stat.h>
@ -6,6 +6,7 @@
#include "debug.h"
#include "rtld.h"
void _rtld_bind_start(void);
void _rtld_relocate_nonplt_self(Elf_Dyn *, Elf_Addr);
void

View File

@ -1,4 +1,4 @@
/* $NetBSD: mips_reloc.c,v 1.21 2002/09/12 18:43:17 mycroft Exp $ */
/* $NetBSD: mips_reloc.c,v 1.22 2002/09/12 20:21:00 mycroft Exp $ */
/*
* Copyright 1997 Michael L. Hitch <mhitch@montana.edu>
@ -36,6 +36,7 @@
#include "debug.h"
#include "rtld.h"
void _rtld_bind_start(void);
void _rtld_relocate_nonplt_self(Elf_Dyn *, Elf_Addr);
caddr_t _rtld_bind_mips(Elf_Word, Elf_Addr, Elf_Addr, Elf_Addr);

View File

@ -1,4 +1,4 @@
/* $NetBSD: ppc_reloc.c,v 1.22 2002/09/11 21:14:08 mycroft Exp $ */
/* $NetBSD: ppc_reloc.c,v 1.23 2002/09/12 20:21:01 mycroft Exp $ */
/*-
* Copyright (C) 1998 Tsubai Masanari
@ -46,6 +46,7 @@ void _rtld_powerpc_pltresolve __P((Elf_Word, Elf_Word));
((u_int32_t)(x) + 0x10000) : (u_int32_t)(x)) >> 16)
#define l(x) ((u_int32_t)(x) & 0xffff)
void _rtld_bind_start(void);
void _rtld_relocate_nonplt_self(Elf_Dyn *, Elf_Addr);
/*

View File

@ -1,4 +1,4 @@
/* $NetBSD: mdreloc.c,v 1.10 2002/09/11 14:19:30 junyoung Exp $ */
/* $NetBSD: mdreloc.c,v 1.11 2002/09/12 20:21:01 mycroft Exp $ */
#include <sys/types.h>
#include <sys/stat.h>
@ -6,6 +6,8 @@
#include "debug.h"
#include "rtld.h"
void _rtld_bind_start(void);
void
_rtld_setup_pltgot(const Obj_Entry *obj)
{

View File

@ -1,4 +1,4 @@
/* $NetBSD: mdreloc.c,v 1.24 2002/09/11 19:11:05 mycroft Exp $ */
/* $NetBSD: mdreloc.c,v 1.25 2002/09/12 20:21:01 mycroft Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@ -160,6 +160,7 @@ static const int reloc_target_bitmask[] = {
};
#define RELOC_VALUE_BITMASK(t) (reloc_target_bitmask[t])
void _rtld_bind_start(void);
void _rtld_relocate_nonplt_self(Elf_Dyn *, Elf_Addr);
int

View File

@ -1,4 +1,4 @@
/* $NetBSD: mdreloc.c,v 1.18 2002/09/11 19:46:41 mycroft Exp $ */
/* $NetBSD: mdreloc.c,v 1.19 2002/09/12 20:21:01 mycroft Exp $ */
/*-
* Copyright (c) 2000 Eduardo Horvath.
@ -205,6 +205,7 @@ static const long reloc_target_bitmask[] = {
#define HIVAL(v, s) (((v) >> (s)) & 0x003fffff)
#define LOVAL(v) ((v) & 0x000003ff)
void _rtld_bind_start(void);
void _rtld_relocate_nonplt_self(Elf_Dyn *, Elf_Addr);
int

View File

@ -1,4 +1,4 @@
/* $NetBSD: mdreloc.c,v 1.10 2002/09/11 14:19:31 junyoung Exp $ */
/* $NetBSD: mdreloc.c,v 1.11 2002/09/12 20:21:02 mycroft Exp $ */
#include <sys/types.h>
#include <sys/stat.h>
@ -6,6 +6,8 @@
#include "debug.h"
#include "rtld.h"
void _rtld_bind_start(void);
void
_rtld_setup_pltgot(const Obj_Entry *obj)
{

View File

@ -1,4 +1,4 @@
/* $NetBSD: mdreloc.c,v 1.15 2002/09/06 15:17:59 mycroft Exp $ */
/* $NetBSD: mdreloc.c,v 1.16 2002/09/12 20:21:02 mycroft Exp $ */
/*
* Copyright (c) 2001 Wasabi Systems, Inc.
@ -81,6 +81,8 @@
#include "debug.h"
#include "rtld.h"
void _rtld_bind_start(void);
void
_rtld_setup_pltgot(const Obj_Entry *obj)
{

View File

@ -1,4 +1,4 @@
/* $NetBSD: rtld.h,v 1.45 2002/09/06 15:17:54 mycroft Exp $ */
/* $NetBSD: rtld.h,v 1.46 2002/09/12 20:20:58 mycroft Exp $ */
/*
* Copyright 1996 John D. Polstra.
@ -232,9 +232,6 @@ extern Objlist _rtld_list_global;
extern Objlist _rtld_list_main;
extern Elf_Sym _rtld_sym_zero;
/* rtld_start.S */
void _rtld_bind_start __P((void));
/* rtld.c */
void _rtld_error __P((const char *, ...))
__attribute__((__format__(__printf__,1,2)));
@ -300,11 +297,6 @@ const void *_rtld_function_descriptor_function __P((const void *));
void _rtld_setup_pltgot __P((const Obj_Entry *));
#if defined(__alpha__)
/* rtld_start.S */
void _rtld_bind_start_old __P((void));
#endif
#if defined(__hppa__)
/* rtld_start.S */
void __rtld_setup_hppa_pltgot __P((const Obj_Entry *, Elf_Addr *));