diff options
author | jdp <jdp@FreeBSD.org> | 1999-08-30 01:54:13 +0000 |
---|---|---|
committer | jdp <jdp@FreeBSD.org> | 1999-08-30 01:54:13 +0000 |
commit | 3e8e2eed47d9851854f20f21c338340dd059810d (patch) | |
tree | c08e1c0e928782fcbf639b9566d64f1e81937ee2 /libexec/rtld-elf/rtld.h | |
parent | 7a67a7ee048e83361dbd4afda5c84ff0b8646542 (diff) | |
download | FreeBSD-src-3e8e2eed47d9851854f20f21c338340dd059810d.zip FreeBSD-src-3e8e2eed47d9851854f20f21c338340dd059810d.tar.gz |
Get the actual pathname of the dynamic linker from the executable's
PT_INTERP program header entry, to ensure that gdb always finds
the right dynamic linker.
Use obj->relocbase to simplify a few calculations where appropriate.
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 ab26d01..0cdbe4c 100644 --- a/libexec/rtld-elf/rtld.h +++ b/libexec/rtld-elf/rtld.h @@ -99,6 +99,7 @@ typedef struct Struct_Obj_Entry { caddr_t entry; /* Entry point */ const Elf_Phdr *phdr; /* Program header if it is mapped, else NULL */ size_t phsize; /* Size of program header in bytes */ + const char *interp; /* Pathname of the interpreter, if any */ /* Items from the dynamic section. */ Elf_Addr *pltgot; /* PLT or GOT, depending on architecture */ |