Make this more likely to compile with ld.elf_so changes. (But this is
untested.)
This commit is contained in:
parent
26208b5e57
commit
bbe4b07983
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: mdreloc.c,v 1.8 1999/03/01 18:59:31 christos Exp $ */
|
||||
/* $NetBSD: mdreloc.c,v 1.9 1999/11/07 08:08:15 mycroft Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1999 The NetBSD Foundation, Inc.
|
||||
@ -41,6 +41,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#include "rtldenv.h"
|
||||
#include "debug.h"
|
||||
@ -161,7 +162,7 @@ static int reloc_target_bitmask[] = {
|
||||
|
||||
int
|
||||
_rtld_relocate_nonplt_object(obj, rela, dodebug)
|
||||
const Obj_Entry *obj;
|
||||
Obj_Entry *obj;
|
||||
const Elf_RelA *rela;
|
||||
bool dodebug;
|
||||
{
|
||||
@ -263,7 +264,7 @@ _rtld_relocate_nonplt_object(obj, rela, dodebug)
|
||||
|
||||
int
|
||||
_rtld_relocate_plt_object(obj, rela, addrp, bind_now, dodebug)
|
||||
const Obj_Entry *obj;
|
||||
Obj_Entry *obj;
|
||||
const Elf_RelA *rela;
|
||||
caddr_t *addrp;
|
||||
bool bind_now;
|
||||
|
Loading…
Reference in New Issue
Block a user