rtld.h (ddab7ee80aeeaf519a0e0bb5bf2944f5ebbaa44f) rtld.h (757686b11510174fffffec96b816204c8d659fba)
1/*-
2 * Copyright 1996, 1997, 1998, 1999, 2000 John D. Polstra.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 108 unchanged lines hidden (view full) ---

117 * It looks at "next" and "mapbase" at least. Don't add new members
118 * near the front, until this can be straightened out.
119 */
120typedef struct Struct_Obj_Entry {
121 /*
122 * These two items have to be set right for compatibility with the
123 * original ElfKit crt1.o.
124 */
1/*-
2 * Copyright 1996, 1997, 1998, 1999, 2000 John D. Polstra.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 108 unchanged lines hidden (view full) ---

117 * It looks at "next" and "mapbase" at least. Don't add new members
118 * near the front, until this can be straightened out.
119 */
120typedef struct Struct_Obj_Entry {
121 /*
122 * These two items have to be set right for compatibility with the
123 * original ElfKit crt1.o.
124 */
125 Elf_Word magic; /* Magic number (sanity check) */
126 Elf_Word version; /* Version number of struct format */
125 Elf_Size magic; /* Magic number (sanity check) */
126 Elf_Size version; /* Version number of struct format */
127
128 struct Struct_Obj_Entry *next;
129 char *path; /* Pathname of underlying file (%) */
130 char *origin_path; /* Directory path of origin file */
131 int refcount;
132 int dl_refcount; /* Number of times loaded by dlopen */
133
134 /* These items are computed by map_object() or by digest_phdr(). */

--- 118 unchanged lines hidden ---
127
128 struct Struct_Obj_Entry *next;
129 char *path; /* Pathname of underlying file (%) */
130 char *origin_path; /* Directory path of origin file */
131 int refcount;
132 int dl_refcount; /* Number of times loaded by dlopen */
133
134 /* These items are computed by map_object() or by digest_phdr(). */

--- 118 unchanged lines hidden ---