Add an option to objcopy to change the alignment of sections.
[deliverable/binutils-gdb.git] / binutils / ChangeLog
index 15160763870083e80d5cdf3f71ef1003aea5abbd..1148e9d990b175256a1b84d46fef10f430c61a18 100644 (file)
@@ -1,3 +1,54 @@
+2019-08-28  Niklas Gürtler  <profclonk@gmail.com>
+
+       PR 24942
+       * objcopy.c (SECTION_CONTEXT_SET_ALIGNMENT): New constant.
+       (struct section_list): Add alignment field.
+       (command_line_switch): Add OPTION_SET_SECTION_ALIGNMENT.
+       (copy_options): Add --set-section-alignment.
+       (copy_usage): Describe --set-section-alignment.
+       (find_section_list): Initialise the alignment field.
+       (setup_section): Handle the alignment field.
+       (copy_main): Handle OPTION_SET_SECTION_ALIGNMENT.
+       * doc/binutils.texi: Document the new feature.
+       * NEWS: Mention the new feature.
+
+2019-08-28  Nick Clifton  <nickc@redhat.com>
+
+       PR 24931
+       * objdump.c (source_comment): New static variable.
+       (option_values): Add OPTION_SOURCE_COMMENT.
+       (long_opions): Add --source-comment.
+       (print_line): If source comment is set, use it as a prefix to the
+       source code line.
+       (main): Handle OPTION_SOURCE_COMMENT.
+       * doc/binutils.texi: Document the new option.
+       * NEWS: Mention the new feature.
+       * testsuite/binutils-all/objdump.exp (test_objdump_S): Add tests
+       of the -S and --source-comment options.
+
+2019-08-27  Nick Clifton  <nickc@redhat.com>
+
+       PR 24510
+       * dwarf.c (MAX_CU_NESTING): New constant.
+       (level_type_signed): New static array.
+       (skip_attr_bytes): New function.
+       (get_type_signedness): New function.
+       (read_and_print_leb128): New function.
+       (display_discr_list): New function.
+       (read_and_display_attr_value): Add start parameter.
+       Use new functions when handling DW_AT_type and DW_AT_discr_list.
+       (read_and_display_attr): Add start parameter.  Pass to
+       read_and_display_attr_value.
+       (process_debug_info): Update call to read_and_display_attr.
+       (display_formatted_table): Likewise.
+       (display_debug_lines_decoded): Likewise.  Also add start
+       parameter.
+       (display_debug_lines): Likewise.
+       * testsuite/binutils-all/dwarf-attributes.S: Update discrimination
+       lists.
+       * testsuite/binutils-all/dwarf-attributes.W: Update expected
+       output.
+
 2019-08-26  Alan Modra  <amodra@gmail.com>
 
        PR 24938
This page took 0.025345 seconds and 4 git commands to generate.