diff options
author | Roland McGrath <roland@redhat.com> | 2008-09-30 06:35:35 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 2008-09-30 06:35:35 +0000 |
commit | 9cf28e4f899f97ecdc983a0af8e2be62f3d69058 (patch) | |
tree | df4ddf5910d2854a66e71081fd4753acb1ebd6d8 /libelf/libelfP.h | |
parent | bb48a2702b6db50614fbbf08b02a1c7d83e28ecf (diff) | |
download | elfutils-9cf28e4f899f97ecdc983a0af8e2be62f3d69058.tar.gz |
libdwfl/
2008-09-29 Roland McGrath <roland@redhat.com>
* segment.c (insert): Must realloc DWFL->lookup_module here too.
(dwfl_report_segment): Clear DWFL->lookup_module before insert calls.
Diffstat (limited to 'libelf/libelfP.h')
-rw-r--r-- | libelf/libelfP.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libelf/libelfP.h b/libelf/libelfP.h index 1dc331fc..4cab3f38 100644 --- a/libelf/libelfP.h +++ b/libelf/libelfP.h @@ -460,7 +460,7 @@ extern int __libelf_version_initialized attribute_hidden; version, binary class, and type. */ extern const uint_fast8_t __libelf_type_aligns[EV_NUM - 1][ELFCLASSNUM - 1][ELF_T_NUM] attribute_hidden; # define __libelf_type_align(class, type) \ - (__libelf_type_aligns[LIBELF_EV_IDX][class][type] ?: 1) + (__libelf_type_aligns[LIBELF_EV_IDX][class - 1][type] ?: 1) #else # define __libelf_type_align(class, type) 1 #endif |