binutils-gdb/binutils/ChangeLog
Alan Modra 5063a42103 Report an error on objcopy/strip of sectionless binaries
All strip operations require section headers to be present, as do most
objcopy operations.  BFD is seriously confused by objects without
section info.  The error message added here is similar to the error
on attempting to strip/objcopy a zero length object.

	PR binutils/16811
	* objcopy.c (copy_object): Error if no sections.
2014-04-07 13:59:31 +09:30

189 lines
5.4 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

2014-04-07 Alan Modra <amodra@gmail.com>
PR binutils/16811
* objcopy.c (copy_object): Error if no sections.
2014-04-03 Markus Trippelsdorf <markus@trippelsdorf.de>
PR binutils/14698
ar.c: Set plugin_target early if plugins are supported.
nm.c: Likewise.
2014-04-03 Tristan Gingold <gingold@adacore.com>
* od-macho.c (printf_uint64): New function.
(dump_load_command, dump_obj_compact_unwind): Use it.
(dump_exe_compact_unwind): Display personality functions.
2014-04-02 Tristan Gingold <gingold@adacore.com>
* od-macho.c (OPT_TWOLEVEL_HINTS): New macro.
(options): Add entry for twolevel_hints.
(dump_data_in_code): Fix error message.
(dump_twolevel_hints): New function.
(dump_load_command): Handle prebound dylib, prebind cksum
and twolevel hints.
(mach_o_dump): Handle twolevel hints.
2014-04-01 Tristan Gingold <gingold@adacore.com>
* od-macho.c (OPT_DATA_IN_CODE): New macro.
(options): Add entry for data in code.
(mach_o_help): Ditto.
(data_in_code_kind_name): New array.
(dump_data_in_code): New function.
(dump_load_command): Handle data in code.
(mach_o_dump): Ditto.
(dump_header): Display a terminal newline.
2014-03-27 Tristan Gingold <gingold@adacore.com>
* od-macho.c (dump_load_command): Display value for
BFD_MACH_O_LC_DYLD_ENVIRONMENT. Handle BFD_MACH_O_LC_DATA_IN_CODE
and BFD_MACH_O_LC_DYLIB_CODE_SIGN_DRS.
2014-03-27 Tristan Gingold <gingold@adacore.com>
* od-macho.c (OPT_FUNCTION_STARTS): New macro.
(options): Add entry for function_starts.
(mach_o_help): Ditto.
(disp_segment_prot): New function.
(dump_section_map): Call disp_segment_prot.
(dump_function_starts): New function.
(dump_obj_compact_unwind): Fix ouput indentation.
(dump_exe_compact_unwind): Fix ouput indentation.
(mach_o_dump): Handle function_starts.
2014-03-26 Tristan Gingold <gingold@adacore.com>
* od-macho.c (bfd_mach_o_cpu_name): Add BFD_MACH_O_CPU_TYPE_ARM64.
2014-03-24 Tristan Gingold <gingold@adacore.com>
* objdump.c (load_specific_debug_section): Set address of section.
2014-03-24 Tristan Gingold <gingold@adacore.com>
* od-macho.c (dump_unwind_encoding_x86): Set the factor.
(dump_exe_compact_unwind): Change the condition. Improve
indentation.
2014-03-20 Nick Clifton <nickc@redhat.com>
* readelf.c (process_version_sections): Fix off-by-one error in
previous delta.
2014-03-19 Nick Clifton <nickc@redhat.com>
PR binutils/16723
* readelf.c (process_version_sections): Prevent an infinite loop
when the vn_next field is zero but there are still entries to be
processed.
2014-03-17 Tristan Gingold <gingold@adacore.com>
* od-macho.c (dump_section_header): Renames of dump_section.
(dump_segment): Adjust after renaming.
(OPT_COMPACT_UNWIND): Define.
(options): Add compact unwind.
(mach_o_help): Document compact_unwind.
(unwind_x86_64_regs, unwind_x86_regs): New arrays.
(dump_unwind_encoding_x86, dump_unwind_encoding)
(dump_obj_compact_unwind, dump_exe_compact_unwind)
(dump_section_content): New functions.
(mach_o_dump): Handle compact unwind.
2014-03-17 Tristan Gingold <gingold@adacore.com>
* od-macho.c (dump_load_command): Handle lazy load dylib.
2014-03-14 Anthony Green <green@moxielogic.com>
* objcopy.c (copy_object): Check fwrite return code.
2014-03-14 Meador Inge <meadori@codesourcery.com>
* dwarf.c (strnlen): Move prototype ...
* sysdep.h (strnlen): ... to here.
2014-03-12 Nick Clifton <nickc@redhat.com>
PR binutils/16652
* doc/binutils.texi (ar cmdline): Move --plugin command line
option to after the command option.
2014-03-12 Dmitry Gorbachev <d.g.gorbachev@gmail.com>
PR binutils/16567
* deflex.l: Add noinput and nounput options.
2014-03-12 Alan Modra <amodra@gmail.com>
* Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.
2014-03-06 Nick Clifton <nickc@redhat.com>
PR binutils/16664
* readelf.c (process_attributes): Add checks for corrupt
attribute section names.
2014-03-05 Alan Modra <amodra@gmail.com>
Update copyright years.
2014-03-03 Alan Modra <amodra@gmail.com>
* README: Add "Copyright Notices" paragraph.
2014-02-11 Cary Coutant <ccoutant@google.com>
* binutils/dwarf.c (read_and_display_attr_value): Don't warn
for zero-length attribute value.
2014-02-10 Alan Modra <amodra@gmail.com>
* po/binutils.pot: Regenerate.
2014-02-06 Andrew Pinski <apinski@cavium.com>
* readelf.c (get_machine_flags): Handle E_MIPS_MACH_OCTEON3 case.
2014-02-06 Cary Coutant <ccoutant@google.com>
PR binutils/16444
* readelf.c (print_gnu_note): Add support for NT_GNU_GOLD_VERSION.
2014-01-08 H.J. Lu <hongjiu.lu@intel.com>
* version.c (print_version): Update copyright year to 2014.
2014-01-07 Tom Tromey <tromey@redhat.com>
* bucomm.c (fatal, non_fatal): Replace obsolete VA_* macros with
stdarg macros.
* dlltool.c (inform): Replace obsolete VA_* macros with stdarg
macros.
* dllwrap.c (inform, warn): Replace obsolete VA_* macros with
stdarg macros.
2014-01-07 Tom Tromey <tromey@redhat.com>
* coffgrok.h (coff_ofile): Don't use PARAMS.
* nlmheader.y (strerror): Don't use PARAMS.
For older changes see ChangeLog-2013
Copyright (C) 2014 Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
Local Variables:
mode: change-log
left-margin: 8
fill-column: 74
version-control: never
End: