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