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 Move powerpc gotptr to the end to preserve...



details:   https://anonhg.NetBSD.org/src/rev/ef889af1ea91
branches:  trunk
changeset: 760905:ef889af1ea91
user:      matt <matt%NetBSD.org@localhost>
date:      Sun Jan 16 15:56:37 2011 +0000

description:
Move powerpc gotptr to the end to preserve binary compatibility.

diffstat:

 libexec/ld.elf_so/rtld.h |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 7b4d66c4114c -r ef889af1ea91 libexec/ld.elf_so/rtld.h
--- a/libexec/ld.elf_so/rtld.h  Sun Jan 16 14:16:03 2011 +0000
+++ b/libexec/ld.elf_so/rtld.h  Sun Jan 16 15:56:37 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rtld.h,v 1.98 2011/01/16 01:22:29 matt Exp $    */
+/*     $NetBSD: rtld.h,v 1.99 2011/01/16 15:56:37 matt Exp $    */
 
 /*
  * Copyright 1996 John D. Polstra.
@@ -167,9 +167,6 @@
        Elf_Word        symtabno;       /* Number of dynamic symbols */
        Elf_Word        gotsym;         /* First dynamic symbol in GOT */
 #endif
-#ifdef __powerpc__
-       Elf_Addr       *gotptr;         /* GOT table (secure-plt only) */
-#endif
 
        const Elf_Symindx *buckets;     /* Hash table buckets array */
        unsigned long   unused1;        /* Used to be nbuckets */
@@ -234,6 +231,9 @@
        size_t          pathlen;        /* Pathname length */
        STAILQ_HEAD(, Struct_Name_Entry) names; /* List of names for this object we
                                                   know about. */
+#ifdef __powerpc__
+       Elf_Addr       *gotptr;         /* GOT table (secure-plt only) */
+#endif
 } Obj_Entry;
 
 typedef struct Struct_DoneList {



Home | Main Index | Thread Index | Old Index