Mach-O: improve objdump -P load output.
[binutils-gdb.git] / binutils / ChangeLog
1 2014-04-16 Tristan Gingold <gingold@adacore.com>
2
3 * od-macho.c (dump_header): Display sizeofcmds in decimal too.
4 (dump_segment): Reformat output.
5 (dump_dyld_info): Also display end offsets.
6 (dump_load_command): Add IDX argument, display commands size
7 and offset, reformat display.
8 (dump_load_commands): Adjust for added argument.
9
10 2014-04-07 Alan Modra <amodra@gmail.com>
11
12 PR binutils/16811
13 * objcopy.c (copy_object): Error if no sections.
14
15 2014-04-03 Markus Trippelsdorf <markus@trippelsdorf.de>
16
17 PR binutils/14698
18 ar.c: Set plugin_target early if plugins are supported.
19 nm.c: Likewise.
20
21 2014-04-03 Tristan Gingold <gingold@adacore.com>
22
23 * od-macho.c (printf_uint64): New function.
24 (dump_load_command, dump_obj_compact_unwind): Use it.
25 (dump_exe_compact_unwind): Display personality functions.
26
27 2014-04-02 Tristan Gingold <gingold@adacore.com>
28
29 * od-macho.c (OPT_TWOLEVEL_HINTS): New macro.
30 (options): Add entry for twolevel_hints.
31 (dump_data_in_code): Fix error message.
32 (dump_twolevel_hints): New function.
33 (dump_load_command): Handle prebound dylib, prebind cksum
34 and twolevel hints.
35 (mach_o_dump): Handle twolevel hints.
36
37 2014-04-01 Tristan Gingold <gingold@adacore.com>
38
39 * od-macho.c (OPT_DATA_IN_CODE): New macro.
40 (options): Add entry for data in code.
41 (mach_o_help): Ditto.
42 (data_in_code_kind_name): New array.
43 (dump_data_in_code): New function.
44 (dump_load_command): Handle data in code.
45 (mach_o_dump): Ditto.
46 (dump_header): Display a terminal newline.
47
48 2014-03-27 Tristan Gingold <gingold@adacore.com>
49
50 * od-macho.c (dump_load_command): Display value for
51 BFD_MACH_O_LC_DYLD_ENVIRONMENT. Handle BFD_MACH_O_LC_DATA_IN_CODE
52 and BFD_MACH_O_LC_DYLIB_CODE_SIGN_DRS.
53
54 2014-03-27 Tristan Gingold <gingold@adacore.com>
55
56 * od-macho.c (OPT_FUNCTION_STARTS): New macro.
57 (options): Add entry for function_starts.
58 (mach_o_help): Ditto.
59 (disp_segment_prot): New function.
60 (dump_section_map): Call disp_segment_prot.
61 (dump_function_starts): New function.
62 (dump_obj_compact_unwind): Fix ouput indentation.
63 (dump_exe_compact_unwind): Fix ouput indentation.
64 (mach_o_dump): Handle function_starts.
65
66 2014-03-26 Tristan Gingold <gingold@adacore.com>
67
68 * od-macho.c (bfd_mach_o_cpu_name): Add BFD_MACH_O_CPU_TYPE_ARM64.
69
70 2014-03-24 Tristan Gingold <gingold@adacore.com>
71
72 * objdump.c (load_specific_debug_section): Set address of section.
73
74 2014-03-24 Tristan Gingold <gingold@adacore.com>
75
76 * od-macho.c (dump_unwind_encoding_x86): Set the factor.
77 (dump_exe_compact_unwind): Change the condition. Improve
78 indentation.
79
80 2014-03-20 Nick Clifton <nickc@redhat.com>
81
82 * readelf.c (process_version_sections): Fix off-by-one error in
83 previous delta.
84
85 2014-03-19 Nick Clifton <nickc@redhat.com>
86
87 PR binutils/16723
88 * readelf.c (process_version_sections): Prevent an infinite loop
89 when the vn_next field is zero but there are still entries to be
90 processed.
91
92 2014-03-17 Tristan Gingold <gingold@adacore.com>
93
94 * od-macho.c (dump_section_header): Renames of dump_section.
95 (dump_segment): Adjust after renaming.
96 (OPT_COMPACT_UNWIND): Define.
97 (options): Add compact unwind.
98 (mach_o_help): Document compact_unwind.
99 (unwind_x86_64_regs, unwind_x86_regs): New arrays.
100 (dump_unwind_encoding_x86, dump_unwind_encoding)
101 (dump_obj_compact_unwind, dump_exe_compact_unwind)
102 (dump_section_content): New functions.
103 (mach_o_dump): Handle compact unwind.
104
105 2014-03-17 Tristan Gingold <gingold@adacore.com>
106
107 * od-macho.c (dump_load_command): Handle lazy load dylib.
108
109 2014-03-14 Anthony Green <green@moxielogic.com>
110
111 * objcopy.c (copy_object): Check fwrite return code.
112
113 2014-03-14 Meador Inge <meadori@codesourcery.com>
114
115 * dwarf.c (strnlen): Move prototype ...
116 * sysdep.h (strnlen): ... to here.
117
118 2014-03-12 Nick Clifton <nickc@redhat.com>
119
120 PR binutils/16652
121 * doc/binutils.texi (ar cmdline): Move --plugin command line
122 option to after the command option.
123
124 2014-03-12 Dmitry Gorbachev <d.g.gorbachev@gmail.com>
125
126 PR binutils/16567
127 * deflex.l: Add noinput and nounput options.
128
129 2014-03-12 Alan Modra <amodra@gmail.com>
130
131 * Makefile.in: Regenerate.
132 * doc/Makefile.in: Regenerate.
133
134 2014-03-06 Nick Clifton <nickc@redhat.com>
135
136 PR binutils/16664
137 * readelf.c (process_attributes): Add checks for corrupt
138 attribute section names.
139
140 2014-03-05 Alan Modra <amodra@gmail.com>
141
142 Update copyright years.
143
144 2014-03-03 Alan Modra <amodra@gmail.com>
145
146 * README: Add "Copyright Notices" paragraph.
147
148 2014-02-11 Cary Coutant <ccoutant@google.com>
149
150 * binutils/dwarf.c (read_and_display_attr_value): Don't warn
151 for zero-length attribute value.
152
153 2014-02-10 Alan Modra <amodra@gmail.com>
154
155 * po/binutils.pot: Regenerate.
156
157 2014-02-06 Andrew Pinski <apinski@cavium.com>
158
159 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_OCTEON3 case.
160
161 2014-02-06 Cary Coutant <ccoutant@google.com>
162
163 PR binutils/16444
164 * readelf.c (print_gnu_note): Add support for NT_GNU_GOLD_VERSION.
165
166 2014-01-08 H.J. Lu <hongjiu.lu@intel.com>
167
168 * version.c (print_version): Update copyright year to 2014.
169
170 2014-01-07 Tom Tromey <tromey@redhat.com>
171
172 * bucomm.c (fatal, non_fatal): Replace obsolete VA_* macros with
173 stdarg macros.
174 * dlltool.c (inform): Replace obsolete VA_* macros with stdarg
175 macros.
176 * dllwrap.c (inform, warn): Replace obsolete VA_* macros with
177 stdarg macros.
178
179 2014-01-07 Tom Tromey <tromey@redhat.com>
180
181 * coffgrok.h (coff_ofile): Don't use PARAMS.
182 * nlmheader.y (strerror): Don't use PARAMS.
183
184 For older changes see ChangeLog-2013
185 \f
186 Copyright (C) 2014 Free Software Foundation, Inc.
187
188 Copying and distribution of this file, with or without modification,
189 are permitted in any medium without royalty provided the copyright
190 notice and this notice are preserved.
191
192 Local Variables:
193 mode: change-log
194 left-margin: 8
195 fill-column: 74
196 version-control: never
197 End: