Restore backwards compatibility for binaries referencing the main
Obj_Entry.
This commit is contained in:
parent
dcf56c99e1
commit
d306de736d
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: rtld.h,v 1.87 2010/01/16 10:37:51 skrll Exp $ */
|
||||
/* $NetBSD: rtld.h,v 1.88 2010/01/17 08:04:20 skrll Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 1996 John D. Polstra.
|
||||
@ -130,7 +130,6 @@ typedef struct Struct_Obj_Entry {
|
||||
caddr_t entry; /* Entry point */
|
||||
const Elf_Phdr *__junk001;
|
||||
size_t pathlen; /* Pathname length */
|
||||
void *ehdr;
|
||||
|
||||
/* Items from the dynamic section. */
|
||||
Elf_Addr *pltgot; /* PLTGOT table */
|
||||
@ -195,6 +194,8 @@ typedef struct Struct_Obj_Entry {
|
||||
Objlist dagmembers; /* DAG has these members (%) */
|
||||
dev_t dev; /* Object's filesystem's device */
|
||||
ino_t ino; /* Object's inode number */
|
||||
|
||||
void *ehdr;
|
||||
} Obj_Entry;
|
||||
|
||||
#if defined(_RTLD_SOURCE)
|
||||
|
Loading…
x
Reference in New Issue
Block a user