diff options
| author | John Polstra <jdp@FreeBSD.org> | 1999-09-05 21:12:53 +0000 |
|---|---|---|
| committer | John Polstra <jdp@FreeBSD.org> | 1999-09-05 21:12:53 +0000 |
| commit | 825316056ad19f44325cac4c1f7776a897736c72 (patch) | |
| tree | 4a1986ad5d771a57807ea6408b802a959c0a5099 | |
| parent | 9555e59a1ead019b9eb141bef39a88cf5c061163 (diff) | |
Notes
| -rw-r--r-- | libexec/rtld-elf/rtld.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/libexec/rtld-elf/rtld.h b/libexec/rtld-elf/rtld.h index 0cdbe4c44328..c63e7d08836b 100644 --- a/libexec/rtld-elf/rtld.h +++ b/libexec/rtld-elf/rtld.h @@ -70,6 +70,10 @@ typedef struct Struct_Needed_Entry { * * Items marked with "(%)" are dynamically allocated, and must be freed * when the structure is destroyed. + * + * CAUTION: It appears that the JDK port peeks into these structures. + * It looks at "next" and "mapbase" at least. Don't add new members + * near the front, until this can be straightened out. */ typedef struct Struct_Obj_Entry { /* @@ -80,12 +84,7 @@ typedef struct Struct_Obj_Entry { Elf_Word version; /* Version number of struct format */ struct Struct_Obj_Entry *next; - Objlist dldags; /* Object belongs to these dlopened DAGs (%) */ - Objlist dagmembers; /* DAG has these members (%) */ char *path; /* Pathname of underlying file (%) */ - dev_t dev; /* Object's filesystem's device */ - ino_t ino; /* Object's inode number */ - unsigned long mark; /* Set to "curmark" to avoid repeat visits */ int refcount; int dl_refcount; /* Number of times loaded by dlopen */ @@ -133,6 +132,11 @@ typedef struct Struct_Obj_Entry { bool traced; /* Already printed in ldd trace output */ struct link_map linkmap; /* for GDB */ + Objlist dldags; /* Object belongs to these dlopened DAGs (%) */ + Objlist dagmembers; /* DAG has these members (%) */ + dev_t dev; /* Object's filesystem's device */ + ino_t ino; /* Object's inode number */ + unsigned long mark; /* Set to "curmark" to avoid repeat visits */ } Obj_Entry; #define RTLD_MAGIC 0xd550b87a |
