summaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog149
1 files changed, 149 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index b0db6fbd..b6fd9d22 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -27,6 +27,155 @@
* ar.c: Open files in O_BINARY.
+2018-11-10 Mark Wielaard <mark@klomp.org>
+
+ * elflint.c (check_program_header): Allow PT_GNU_EH_FRAME segment
+ to be matched against SHT_X86_64_UNWIND section.
+
+2018-11-09 Mark Wielaard <mark@klomp.org>
+
+ * strip.c (remove_debug_relocations): Check if section is gnu
+ compressed and decompress and recompress it.
+
+2018-11-12 Mark Wielaard <mark@klomp.org>
+
+ * elflint.c (check_note_data): Recognize NT_GNU_BUILD_ATTRIBUTE_OPEN
+ and NT_GNU_BUILD_ATTRIBUTE_OPEN.
+ * readelf.c (handle_notes_data): Handle
+ ELF_NOTE_GNU_BUILD_ATTRIBUTE_PREFIX. Pass nhdr.n_namesz to
+ ebl_object_note.
+
+2018-11-11 Mark Wielaard <mark@klomp.org>
+
+ * readelf.c (handle_notes_data): Pass n_descsz to
+ ebl_object_note_type_name.
+ * elflint.c (check_note_data): Recognize NT_VERSION, add owner
+ name to unknown note error.
+
+2018-10-20 Mark Wielaard <mark@klomp.org>
+
+ * readelf.c (process_elf_file): Use dwelf_elf_begin to open pure_elf.
+
+2018-10-26 Mark Wielaard <mark@klomp.org>
+
+ * strip.c (OPT_RELOC_DEBUG_ONLY): New define.
+ (options): Add reloc-debug-sections-only.
+ (reloc_debug_only): New static bool.
+ (main): Check reloc_debug_only is the only strip option used.
+ (parse_opt): Handle OPT_RELOC_DEBUG_ONLY.
+ (handle_debug_relocs): New function.
+ (handle_elf): Add local variables lastsec_offset and lastsec_size.
+ Handle reloc_debug_only.
+
+2018-10-24 Mark Wielaard <mark@klomp.org>
+
+ * strip.c (handle_elf): Extract code to update shdrstrndx into...
+ (update_shdrstrndx): ... this new function.
+
+2018-10-24 Mark Wielaard <mark@klomp.org>
+
+ * strip.c (handle_elf): Extract code into separate functions...
+ (secndx_name): ... new function.
+ (get_xndxdata): Likewise.
+ (remove_debug_relocations): Likewise.
+
+2018-10-24 Mark Wielaard <mark@klomp.org>
+
+ * strip.c (handle_elf): Always copy over phdrs if there are any
+ and check phnum instead of e_type to determine whether to move
+ allocated sections.
+
+2018-11-02 Mark Wielaard <mark@klomp.org>
+
+ * unstrip.c (copy_elf): Add ELF_CHECK to make sure gelf_getehdr ()
+ doesn't return NULL.
+
+2018-10-18 Mark Wielaard <mark@klomp.org>
+
+ * elflint.c (check_note_data): Recognize NT_GNU_PROPERTY_TYPE_0.
+ (check_note): Use p_align to pass either ELF_T_NHDR or ELF_T_NHDR8 to
+ elf_getdata_rawchunk.
+ * readelf (handle_notes): Likewise.
+
+2018-10-24 Mark Wielaard <mark@klomp.org>
+
+ * addr2line.c (print_addrsym): Use elf_getshdrstrndx instead of
+ Ehdr field.
+
+2018-10-24 Mark Wielaard <mark@klomp.org>
+
+ * readelf.c (section_name): Remove ehdr argument, lookup shstrndx.
+ (print_debug_abbrev_section): Don't pass ehdr.
+ (print_debug_addr_section): Likewise.
+ (print_decoded_aranges_section): Likewise.
+ (print_debug_aranges_section): Likewise.
+ (print_debug_rnglists_section): Likewise.
+ (print_debug_ranges_section): Likewise.
+ (print_debug_units): Likewise.
+ (print_decoded_line_section): Likewise.
+ (print_debug_line_section): Likewise.
+ (print_debug_loclists_section): Likewise.
+ (print_debug_loc_section): Likewise.
+ (print_debug_macinfo_section): Likewise.
+ (print_debug_macro_section): Likewise.
+ (print_debug_pubnames_section): Likewise.
+ (print_debug_str_section): Liekwise.
+ (print_debug_str_offsets_section): Likewise.
+ (print_gdb_index_section): Likewise.
+
+2018-10-16 Mark Wielaard <mark@klomp.org>
+
+ * readelf.c (print_debug_frame_section): Make sure readp is never
+ greater than cieend.
+
+2018-10-19 Mark Wielaard <mark@klomp.org>
+
+ * dwfl_module_getdwarf.c (adjust_relocs): Check sh_entsize is not
+ zero.
+ (add_new_section_symbols): Likewise.
+ (copy_elided_sections): Likewise.
+
+2018-10-18 Mark Wielaard <mark@klomp.org>
+
+ * size.c (handle_ar): Only close elf if prefix was NULL.
+
+2018-10-18 Mark Wielaard <mark@klomp.org>
+
+ * arlib.c (arlib_add_symbols): Check that sh_entsize is not zero.
+
+2018-10-14 Mark Wielaard <mark@klomp.org>
+
+ * ar.c (do_oper_extract): Assume epoch if ar_date is bogus.
+
+2018-10-14 Mark Wielaard <mark@klomp.org>
+
+ * findtextrel.c (process_file): Check that sh_entsize is not zero.
+
+2018-10-13 Mark Wielaard <mark@klomp.org>
+
+ * readelf.c (print_debug_macro_section): Use elf_getdata. Print
+ decoded flag string.
+
+2018-10-19 Mark Wielaard <mark@klomp.org>
+
+ * unstrip.c (copy_elided_sections): Renumber group section indexes.
+
+2018-10-12 Mark Wielaard <mark@klomp.org>
+
+ * strip.c (handle_elf): Don't remove SHF_GROUP flag from sections.
+ Skip group section flag when renumbering section indexes.
+ * unstrip.c (struct section): Add sig field.
+ (compare_unalloc_sections): Take and use sig1 and sig2 as arguments.
+ (compare_sections): Pass signatures to compare_unalloc_sections.
+ (get_group_sig): New function.
+ (find_alloc_sections_prelink): Set signature.
+ (copy_elided_sections): Likewise and pass them on.
+ (find_unalloc_section): Take and pass signatures.
+
+2018-10-02 Andreas Schwab <schwab@suse.de>
+
+ * strip.c (handle_elf): Handle ADD/SUB relocation.
+
2018-09-13 Mark Wielaard <mark@klomp.org>
* readelf.c (print_shdr): Get number of section with elf_getshdrnum.