diff options
Diffstat (limited to 'libelf/libelfP.h')
| -rw-r--r-- | libelf/libelfP.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libelf/libelfP.h b/libelf/libelfP.h index b58f3fe8..326c624b 100644 --- a/libelf/libelfP.h +++ b/libelf/libelfP.h @@ -236,6 +236,8 @@ struct Elf_Scn char *data_base; /* The converted data of the section. */ char *zdata_base; /* The uncompressed data of the section. */ + size_t zdata_size; /* If zdata_base != NULL, the size of data. */ + size_t zdata_align; /* If zdata_base != NULL, the addralign. */ struct Elf_ScnList *list; /* Pointer to the section list element the data is in. */ @@ -597,6 +599,10 @@ extern void * __libelf_compress (Elf_Scn *scn, size_t hsize, int ei_data, extern void * __libelf_decompress (void *buf_in, size_t size_in, size_t size_out) internal_function; +extern void * __libelf_decompress_elf (Elf_Scn *scn, + size_t *size_out, size_t *addralign) + internal_function; + extern void __libelf_reset_rawdata (Elf_Scn *scn, void *buf, size_t size, size_t align, Elf_Type type) |
