aboutsummaryrefslogtreecommitdiff
path: root/ltrace-elf.h
diff options
context:
space:
mode:
authorPetr Machata <pmachata@redhat.com>2012-02-23 18:50:37 +0100
committerPetr Machata <pmachata@redhat.com>2012-04-19 01:34:03 +0200
commit17476b7bfac0e1cb68f9a1dbdb65dab2ac2160c6 (patch)
tree0e4bc7e54d69d91afe0f79536333cf7cf1f823fc /ltrace-elf.h
parent5e463e029c5b6bb4eb5176ab62ee97d5399524fe (diff)
downloadltrace-17476b7bfac0e1cb68f9a1dbdb65dab2ac2160c6.tar.gz
Drop ELF_MAX_SEGMENTS, simplify iteration through dynamic entries
Diffstat (limited to 'ltrace-elf.h')
-rw-r--r--ltrace-elf.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/ltrace-elf.h b/ltrace-elf.h
index afd818c..de5538a 100644
--- a/ltrace-elf.h
+++ b/ltrace-elf.h
@@ -43,7 +43,6 @@ struct ltelf {
struct arch_ltelf_data arch;
};
-#define ELF_MAX_SEGMENTS 50
#define LTE_PLT_EXECUTABLE 2
#define PLTS_ARE_EXECUTABLE(lte) (((lte)->lte_flags & LTE_PLT_EXECUTABLE) != 0)