diff options
author | emaste <emaste@FreeBSD.org> | 2016-01-05 15:55:45 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2016-01-05 15:55:45 +0000 |
commit | 189b511555b2c1ae5860054f62f0baacd2b4d01e (patch) | |
tree | 5c596b40b8c4a6c6507634ad5db83747374bde17 /libexec/rtld-elf/rtld.h | |
parent | a30b72d57510edb7c82952836b9c70c107879ef1 (diff) | |
download | FreeBSD-src-189b511555b2c1ae5860054f62f0baacd2b4d01e.zip FreeBSD-src-189b511555b2c1ae5860054f62f0baacd2b4d01e.tar.gz |
rtld: populate DT_DEBUG iff DYNAMIC segment is writable
rtld.h was accidentally missed in r293201
Diffstat (limited to 'libexec/rtld-elf/rtld.h')
-rw-r--r-- | libexec/rtld-elf/rtld.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libexec/rtld-elf/rtld.h b/libexec/rtld-elf/rtld.h index 72a632e..f151db0 100644 --- a/libexec/rtld-elf/rtld.h +++ b/libexec/rtld-elf/rtld.h @@ -264,6 +264,7 @@ typedef struct Struct_Obj_Entry { bool valid_hash_sysv : 1; /* A valid System V hash hash tag is available */ bool valid_hash_gnu : 1; /* A valid GNU hash tag is available */ bool dlopened : 1; /* dlopen()-ed (vs. load statically) */ + bool writable_dynamic : 1; /* PT_DYNAMIC is writable */ struct link_map linkmap; /* For GDB and dlinfo() */ Objlist dldags; /* Object belongs to these dlopened DAGs (%) */ |