X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=binutils%2FChangeLog;h=f7cac1ef95110ce637d6ef820a4a002d018a9e5b;hb=4212b42d795628dcc36bcffc7cf16175f7698305;hp=faa9b786120f7f65765ab58c1e341b6d82dcafd9;hpb=a43942db49b07a457ee4f960d0f118b23641ec38;p=deliverable%2Fbinutils-gdb.git diff --git a/binutils/ChangeLog b/binutils/ChangeLog index faa9b78612..f7cac1ef95 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,271 @@ +2016-07-16 Alan Modra + + * elfcomm.h (HOST_WIDEST_INT): Move to.. + * sysdep.h: ..here. + * od-macho.c: Don't include libbfd.h. Do include dwarf.h + (dump_dyld_info_rebase): Use read_leb128 rather than + read_unsigned_leb128. + (dump_dyld_info_bind, dump_dyld_info_export_1): Likewise. + (dump_segment_split_info): Likewise. + (dump_dyld_info): Rename vars to avoid shadowing dwarf.h enums. + (dump_load_command): Likewise. + +2016-07-16 Alan Modra + + * ar.c: Don't include libbfd.h. + * objcopy.c: Likewise. + * bucomm.c (bfd_get_archive_filename): Use xmalloc rather than + bfd_malloc. + +2016-07-15 Alan Modra + + * testsuite/binutils-all/remove-relocs-01.s: Use .dc.a, not .word. + +2016-07-14 Andrew Burgess + + * doc/binutils.texi (objcopy): Document 'remove-relocations'. + (strip): Likewise. + * objcopy.c (SECTION_CONTEXT_REMOVE_RELOCS): Define. + (enum command_line_switch): Add 'OPTION_REMOVE_RELOCS'. + (struct option strip_options): Add 'remove-relocations'. + (struct option copy_options): Likewise. + (copy_usage): Likewise. + (strip_usage): Likewise. + (handle_remove_relocations_option): New function. + (discard_relocations): New function. + (handle_remove_section_option): New function. + (copy_relocations_in_section): Use discard_relocations. + (strip_main): Use handle_remove_section_option for + 'remove-section', and handle 'remove-relocations' option. + (copy_main): Likewise. + * testsuite/binutils-all/objcopy.exp: Run new tests. + * testsuite/binutils-all/remove-relocs-01.d: New file. + * testsuite/binutils-all/remove-relocs-01.s: New file. + * testsuite/binutils-all/remove-relocs-02.d: New file. + * testsuite/binutils-all/remove-relocs-03.d: New file. + * testsuite/binutils-all/remove-relocs-04.d: New file. + * testsuite/binutils-all/remove-relocs-05.d: New file. + * testsuite/binutils-all/remove-relocs-06.d: New file. + * NEWS: Mention new option. + +2016-07-14 Andrew Burgess + + * objcopy.c (find_section_list): Handle section patterns starting + with '!' being a non-matching pattern. + * doc/binutils.texi (objcopy): Give example of using '!' with + --remove-section and --only-section. + (strip): Give example of using '!' with --remove-section. + * testsuite/binutils-all/data-sections.s: New file. + * testsuite/binutils-all/only-section-01.d: New file. + * testsuite/binutils-all/remove-section-01.d: New file. + * testsuite/binutils-all/objcopy.exp: Run new tests. + * NEWS: Mention new feature. + +2016-07-09 Alan Modra + + PR binutils/20337 + * objdump.c (compare_symbols): For ELF, sort same value/type + symbols according to size. + +2016-07-05 Andre Vieria + + * objdump.c (dump_section_header): Rename SEC_ELF_NOREAD + to SEC_ELF_NOREAD. + * readelf.c (get_elf_section_flags): Rename ARM_NOREAD to + ARM_PURECODE and SHF_ARM_NOREAD to SHF_ARM_PURECODE. + (process_section_headers): Rename noread to purecode. + + * section.c (SEC_ELF_NOREAD): Rename to ... + (SEC_ELF_PURECODE): ... this. + +2016-07-01 Nick Clifton + + * prdbg.c (pr_enum_type): Use a buffer big enough to hold an + extremely large decimal value. + (pr_range_type): Likewise. + (pr_array_type): Likewise. + (pr_struct_field): Likewise. + (pr_class_baseclass): Likewise. + (pr_class_method_variant): Likewise. + (pr_tag_type): Likewise. + (pr_int_constant): Likewise. + (pr_typed_constant): Likewise. + (pr_variable): Likewise. + (pr_function_parameter): Likewise. + (pr_start_block): Likewise. + (pr_lineno): Likewise. + (pr_end_block): Likewise. + (tg_enum_type): Likewise. + (tg_int_constant): Likewise. + (tg_typed_constant): Likewise. + (tg_start_block): Likewise. + +2016-07-01 Nick Clifton + + * testsuite/binutils-all/objcopy.exp + (objcopy_test_without_global_symbol): Expect this test to fail on + the AArch64 and ARM targets, since they preserve their mapping + symbols. + +2016-07-01 Tristan Gingold + + * NEWS: Add marker for 2.27. + +2016-07-30 Tristan Gingold + + * doc/binutils.texi (objdump): Fix mis-placement. + +2016-06-28 Nick Clifton + + * testsuite/binutils-all/ar.exp: Relax previous restriction on + Alpha targets. Allow ELF based Alpha targets. + +2016-06-28 Maciej W. Rozycki + + * testsuite/binutils-all/ar.exp: Use `supports_gnu_unique' with + the `unique_symbol' test. + +2016-06-28 Alan Modra + + PR 20304 + * objdump.c (objdump_print_symname): Don't attempt to retrieve + version info from synthetic symbols. + +2016-06-24 Alan Modra + + * objcopy.c (find_section_rename): Forward declare. Remove + ibfd and sec_ptr param. Add old_name param. Allow for NULL + returned_flags. Move read of section name and flags to.. + (setup_section): ..here. Update find_section_rename call. + (filter_symbols): Rename section symbols for renamed sections. + (copy_object): Call filter_symbols when renamed sections. + * testsuite/lib/binutils-common.exp (is_bad_symtab): New. + * testsuite/binutils-all/update-section.exp: Revert 96037eb0 + mips xfail. + * testsuite/binutils-all/objcopy.exp (copy_executable): Use + is_bad_symtab. + (localize-hidden-1): xfail if is_bad_symtab. + * testsuite/binutils-all/readelf.exp: Use is_bad_symtab to select + between mips/tmips. + +2016-06-24 Alan Modra + + * objdump.c (struct print_file_list): Add "max_printed". + (try_print_file_open): Init new field. + (show_line): Don't show 5 context lines when redisplaying source. + +2016-06-22 Nick Clifton + + * testsuite/binutils-all/ar.exp: Skip tests for Alpha target. + Skip bfdtest1 tests for tic30 target. + * testsuite/binutils-all/arm/objdump.exp: Skip for aout arm + target. + * testsuite/binutils-all/compress.exp: Expect some tests to fail + on the nds32. + * testsuite/binutils-all/copy-3.d: Skip for go32 targets. + * testsuite/binutils-all/copy-4.d: Skip for AIX and linuxecoff + targets. + * testsuite/binutils-all/nm.exp: Treat beos based targets as ELF + targets. + * testsuite/binutils-all/objcopy.exp: Only run reverse bytes tests + if the bintest.o file was created. Use the + get_standard_section_names proc to get the name of the data + section. + * testsuite/binutils-all/objdump.exp: Update regexps to allow for + RX section names. + * testsuite/binutils-all/readelf.exp: Use + get_standard_section_names proc to get the name of the data + section. + * testsuite/binutils-all/readelf.r: Allow for non standard text + section names. + * testsuite/binutils-all/readelf.s: Update regexps for tilepro. + * testsuite/binutils-all/size.exp: Allow for non standard section + names. + * testsuite/binutils-all/update-section.exp: Expect comapre 1vs4 + to fail on mips targets. + * testsuite/lib/utils-lib.exp (default_binutils_run): Use + get_standard_section_names proc. + (run_dump_test): Likewise. + (proc get_standard_section_names): New proc. + +2016-06-22 Nick Clifton + + * readelf.c (dynamic_section_mips_val): Increase size of timebuf. + (process_mips_specific): Likewise. + (process_gnu_liblist): Likewise. + +2016-06-21 Graham Markall + + * readelf.c (decode_ARC_machine_flags): Remove E_ARC_MACH_NPS400 + case. + +2016-06-15 Nick Clifton + + * readelf.c (is_24bit_abs_reloc): Add support for R_FT32_20 + reloc. + +2016-06-14 John Baldwin + + * objcopy.c (do_elf_stt_common): Use correct type. + +2016-06-14 Alan Modra + + * ar.c: Expand uses of bfd_my_archive. + * size.c: Likewise. + +2016-06-14 Alan Modra + + PR ld/20241 + * bucomm.c (bfd_get_archive_filename): Return file name within thin + archive. + +2016-06-02 Nick Clifton + + PR 20089 + * objcopy.c (group_signature): Fail if the input symbol table has + not been loaded, or if the sh_info field of the group header is 0. + + * dwarf.c (display_debug_frames): Do not display any + interpretation if the block consists solely of DW__CFA_NOPs. + +2016-05-31 Alan Modra + + * objcopy.c: Formatting, whitespace throughout. + (copy_main): Init newsym->othersym. + (parse_symflags): Make len a size_t. Adjust uses. + +2016-05-25 H.J. Lu + + PR binutils/14625 + * NEWS: Mention --enable-64-bit-archive. + +2016-05-18 Nick Clifton + + PR 20096 + * objcopy.c (copy_relocations_in_section): Also check for the + symbol pointed to by sym_ptr_ptr being NULL. + +2016-05-18 Maciej W. Rozycki + + * testsuite/binutils-all/mips/mixed-mips16-micromips.d: New test. + * testsuite/binutils-all/mips/mixed-mips16-micromips.s: New test + source. + * testsuite/binutils-all/mips/mips.exp: Run the new test. + +2016-05-18 Nick Clifton + + * po/sv.po: Updated Swedish translation. + +2016-05-18 Maciej W. Rozycki + + * readelf.c (dynamic_section_mips_val) + + + + + : Use the + `d_val' rather than `d_ptr' member of the dynamic entry. + 2016-05-17 Maciej W. Rozycki * testsuite/lib/binutils-common.exp (supports_gnu_unique): New