diff options
Diffstat (limited to 'libelf/libelfP.h')
| -rw-r--r-- | libelf/libelfP.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libelf/libelfP.h b/libelf/libelfP.h index 1b93da88..11ef5989 100644 --- a/libelf/libelfP.h +++ b/libelf/libelfP.h @@ -306,6 +306,9 @@ struct Elf /* Reference counting for the descriptor. */ int ref_count; + /* Structure returned by 'elf_getarhdr'. */ + Elf_Arhdr elf_ar_hdr; + /* Lock to handle multithreaded programs. */ rwlock_define (,lock); @@ -323,7 +326,6 @@ struct Elf read from the file. */ search_tree rawchunk_tree; /* Tree and lock for elf_getdata_rawchunk results. */ - Elf_Arhdr elf_ar_hdr; /* Structure returned by 'elf_getarhdr'. */ unsigned int scnincr; /* Number of sections allocate the last time. */ int ehdr_flags; /* Flags (dirty) for ELF header. */ @@ -344,7 +346,6 @@ struct Elf read from the file. */ search_tree rawchunk_tree; /* Tree and lock for elf_getdata_rawchunk results. */ - Elf_Arhdr elf_ar_hdr; /* Structure returned by 'elf_getarhdr'. */ unsigned int scnincr; /* Number of sections allocate the last time. */ int ehdr_flags; /* Flags (dirty) for ELF header. */ @@ -371,7 +372,6 @@ struct Elf read from the file. */ search_tree rawchunk_tree; /* Tree and lock for elf_getdata_rawchunk results. */ - Elf_Arhdr elf_ar_hdr; /* Structure returned by 'elf_getarhdr'. */ unsigned int scnincr; /* Number of sections allocate the last time. */ int ehdr_flags; /* Flags (dirty) for ELF header. */ @@ -397,7 +397,7 @@ struct Elf int64_t offset; /* Offset in file we are currently at. elf_next() advances this to the next member of the archive. */ - Elf_Arhdr elf_ar_hdr; /* Copy of current archive member's structure + Elf_Arhdr cur_ar_hdr; /* Copy of current archive member's structure returned by 'elf_getarhdr'. */ struct ar_hdr ar_hdr; /* Header read from file. */ char ar_name[16]; /* NUL terminated ar_name of elf_ar_hdr. */ |
