diff options
author | imp <imp@FreeBSD.org> | 2008-04-04 20:59:26 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2008-04-04 20:59:26 +0000 |
commit | ab840fe874374f3f4afe7ea4b7288127e4690a79 (patch) | |
tree | bd5448ef61276b8447bde82b8d4e0a807873e873 /libexec/rtld-elf/rtld.h | |
parent | 64685606b60037cb77dad276001feb59198bab4f (diff) | |
download | FreeBSD-src-ab840fe874374f3f4afe7ea4b7288127e4690a79.zip FreeBSD-src-ab840fe874374f3f4afe7ea4b7288127e4690a79.tar.gz |
MFp4: Add mips support for dynamic linking.
This code came from the merged mips2 and Juniper mips repositories.
Warner Losh, Randall Seager, Oleksandr Tymoshenko and Olivier Houchard
worked to merge, debug and integrate this code. This code may also
contain code derived from NetBSD.
Diffstat (limited to 'libexec/rtld-elf/rtld.h')
-rw-r--r-- | libexec/rtld-elf/rtld.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libexec/rtld-elf/rtld.h b/libexec/rtld-elf/rtld.h index c7be5235..c76bc76 100644 --- a/libexec/rtld-elf/rtld.h +++ b/libexec/rtld-elf/rtld.h @@ -178,6 +178,11 @@ typedef struct Struct_Obj_Entry { const Elf_Sym *symtab; /* Symbol table */ const char *strtab; /* String table */ unsigned long strsize; /* Size in bytes of string table */ +#ifdef __mips__ + Elf_Word local_gotno; /* Number of local GOT entries */ + Elf_Word symtabno; /* Number of dynamic symbols */ + Elf_Word gotsym; /* First dynamic symbol in GOT */ +#endif const Elf_Verneed *verneed; /* Required versions. */ Elf_Word verneednum; /* Number of entries in verneed table */ |