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