diff options
| author | Konstantin Belousov <kib@FreeBSD.org> | 2018-11-04 00:32:28 +0000 |
|---|---|---|
| committer | Konstantin Belousov <kib@FreeBSD.org> | 2018-11-04 00:32:28 +0000 |
| commit | 561991144e4291605948bef275045b5f85a5b121 (patch) | |
| tree | 2c2f33378a4a488bc4b64f1e380fbd91537a262a /libexec/rtld-elf/rtld.h | |
| parent | 32a8ec8bdd442930f409b36f716077ee91117467 (diff) | |
Remove Obj_Entry textsize member.
It is unused after r340102, and more important, I do not see how to
define textsize in both practically useful and correct way, for binaries
with more that one executable segments.
Sponsored by: The FreeBSD Foundation
Notes
svn path=/head/; revision=340107
Diffstat (limited to 'libexec/rtld-elf/rtld.h')
| -rw-r--r-- | libexec/rtld-elf/rtld.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libexec/rtld-elf/rtld.h b/libexec/rtld-elf/rtld.h index 7e5663e8245c..650c6dbb8229 100644 --- a/libexec/rtld-elf/rtld.h +++ b/libexec/rtld-elf/rtld.h @@ -151,7 +151,6 @@ typedef struct Struct_Obj_Entry { /* These items are computed by map_object() or by digest_phdr(). */ caddr_t mapbase; /* Base address of mapped region */ size_t mapsize; /* Size of mapped region in bytes */ - size_t textsize; /* Size of text segment in bytes */ Elf_Addr vaddrbase; /* Base address in shared object file */ caddr_t relocbase; /* Relocation constant = mapbase - vaddrbase */ const Elf_Dyn *dynamic; /* Dynamic section */ |
