aboutsummaryrefslogtreecommitdiff
path: root/ltrace-elf.h
diff options
context:
space:
mode:
authorPetr Machata <pmachata@redhat.com>2012-04-07 01:24:08 +0200
committerPetr Machata <pmachata@redhat.com>2012-04-19 01:38:02 +0200
commit18c801c3f29081d9de517815df89bc1bbf8e2188 (patch)
treef26fb9c35397438497832e7fb07ec075da2ec7c1 /ltrace-elf.h
parent0092820afcd45fe045ccc294b061bce8da00a1f2 (diff)
downloadltrace-18c801c3f29081d9de517815df89bc1bbf8e2188.tar.gz
Drop the rest of LS_TOPLT_POINT support
If any other architecture needs it, we'll add it back in some form. But now that we have callbacks on breakpoints, it might be possible to do it differently, without explicit support.
Diffstat (limited to 'ltrace-elf.h')
-rw-r--r--ltrace-elf.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/ltrace-elf.h b/ltrace-elf.h
index 4a27598..758c1d0 100644
--- a/ltrace-elf.h
+++ b/ltrace-elf.h
@@ -22,6 +22,7 @@ struct ltelf {
size_t dynsym_count;
const char *dynstr;
GElf_Addr plt_addr;
+ GElf_Word plt_flags;
size_t plt_size;
Elf_Data *relplt;
Elf_Data *plt_data;
@@ -33,7 +34,6 @@ struct ltelf {
Elf_Data *opd;
GElf_Addr *opd_addr;
size_t opd_size;
- int lte_flags;
GElf_Addr dyn_addr;
size_t dyn_sz;
size_t relplt_size;
@@ -43,10 +43,6 @@ struct ltelf {
struct arch_ltelf_data arch;
};
-#define LTE_PLT_EXECUTABLE 2
-
-#define PLTS_ARE_EXECUTABLE(lte) (((lte)->lte_flags & LTE_PLT_EXECUTABLE) != 0)
-
int open_elf(struct ltelf *lte, const char *filename);
/* XXX is it possible to put breakpoints in VDSO and VSYSCALL