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 Restore backwards compatibility for binari...



details:   https://anonhg.NetBSD.org/src/rev/4c0809f4d26c
branches:  trunk
changeset: 750856:4c0809f4d26c
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun Jan 17 08:04:20 2010 +0000

description:
Restore backwards compatibility for binaries referencing the main
Obj_Entry.

diffstat:

 libexec/ld.elf_so/rtld.h |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 399b0ffdb353 -r 4c0809f4d26c libexec/ld.elf_so/rtld.h
--- a/libexec/ld.elf_so/rtld.h  Sun Jan 17 04:15:41 2010 +0000
+++ b/libexec/ld.elf_so/rtld.h  Sun Jan 17 08:04:20 2010 +0000
@@ -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 @@
        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 @@
        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)



Home | Main Index | Thread Index | Old Index