summaryrefslogtreecommitdiffstats
path: root/libelf/ChangeLog
diff options
context:
space:
mode:
Diffstat (limited to 'libelf/ChangeLog')
-rw-r--r--libelf/ChangeLog60
1 files changed, 60 insertions, 0 deletions
diff --git a/libelf/ChangeLog b/libelf/ChangeLog
index 5c3c0b27..e026fbe6 100644
--- a/libelf/ChangeLog
+++ b/libelf/ChangeLog
@@ -21,6 +21,66 @@
* Makefile.am: Link libelf agaist libgnu.a if requested.
+2018-11-16 Mark Wielaard <[email protected]>
+
+ * libebl.h (__elf32_msize): Mark with const attribute.
+ (__elf64_msize): Likewise.
+
+2018-11-13 Mark Wielaard <[email protected]>
+
+ * elf_getdata.c (__libelf_set_rawdata_wrlock): Explicitly set the
+ alignment of SHF_COMPRESSED data to the alignment of ELF_T_CHDR.
+ * elf_compress.c (elf_compress): After compression set sh_addralign
+ to the alignment of ELF_T_CHDR.
+
+2018-11-09 Mark Wielaard <[email protected]>
+
+ * elf_compress_gnu.c (elf_compress_gnu): Use elf_getdata.
+
+2018-11-12 Mark Wielaard <[email protected]>
+
+ * elf-knowledge.c (ELF_NOTE_GNU_BUILD_ATTRIBUTE_PREFIX): New define.
+ (NT_GNU_BUILD_ATTRIBUTE_{OPEN,FUNC}): Likewise.
+ (GNU_BUILD_ATTRIBUTE_TYPE_{NUMERIC,STRING,BOOL_TRUE,BOOL_FALSE}):
+ Likewise.
+ (GNU_BUILD_ATTRIBUTE_{VERSION,STACK_PROT,RELRO,STACK_SIZE,TOOL,ABI,
+ PIC,SHORT_ENUM}): Likewise.
+
+2018-11-09 Mark Wielaard <[email protected]>
+
+ * elf_compress.c (__libelf_reset_rawdata): Make rawdata change
+ explicit by calling __libelf_set_data_list.
+ * elf_getdata.c (convert_data): Don't convert if type is ELF_T_BYTE
+ even if endianness is different.
+
+2018-10-18 Mark Wielaard <[email protected]>
+
+ * libelf.h (Elf_Type): Add ELF_T_NHDR8.
+ * libelfP.h (__libelf_data_type): Add align argument.
+ (NOTE_ALIGN): Split into...
+ (NOTE_ALIGN4): ... and ...
+ (NOTE_ALIGN8): this.
+ * elf32_xlatetom.c (xlatetom): Recognize both ELF_T_NHDR and
+ ELF_T_NHDR8.
+ * elf_compress.c (elf_compress): Pass zdata_align to
+ __libelf_data_type.
+ * elf_compress_gnu.c (elf_compress_gnu): Pass sh_addralign to
+ __libelf_data_type.
+ * elf_getdata.c (shtype_map): Add ELF_T_NHDR8.
+ (__libelf_data_type): Take align as extra argument, use it to
+ determine Elf_Type.
+ (__libelf_set_rawdata_wrlock): Recognize ELF_T_NHDR8. Pass align to
+ __libelf_data_type.
+ * gelf_fsize.c (__libelf_type_sizes): Add ELF_T_NHDR8.
+ * gelf_getnote.c (gelf_getnote): Use Elf_Type of Elf_Data to calculate
+ padding.
+ * gelf_xlate.c (__elf_xfctstom): Set ELF_T_NHDR to elf_cvt_note4,
+ add ELF_T_NHDR8.
+ * note_xlate.h (elf_cvt_note): Take nhdr8 argument and use it to
+ determine padding.
+ (elf_cvt_note4): New function.
+ (elf_cvt_note8): Likewise.
+
2018-09-13 Mark Wielaard <[email protected]>
* elf32_updatefile.c (updatemmap): Use shnum, not ehdr->e_shnum.