Module Name: src Committed By: matt Date: Sun Jan 16 15:56:37 UTC 2011
Modified Files: src/libexec/ld.elf_so: rtld.h Log Message: Move powerpc gotptr to the end to preserve binary compatibility. To generate a diff of this commit: cvs rdiff -u -r1.98 -r1.99 src/libexec/ld.elf_so/rtld.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/libexec/ld.elf_so/rtld.h diff -u src/libexec/ld.elf_so/rtld.h:1.98 src/libexec/ld.elf_so/rtld.h:1.99 --- src/libexec/ld.elf_so/rtld.h:1.98 Sun Jan 16 01:22:29 2011 +++ src/libexec/ld.elf_so/rtld.h Sun Jan 16 15:56:37 2011 @@ -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 {