]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - binutils/ChangeLog
bfd/
[thirdparty/binutils-gdb.git] / binutils / ChangeLog
1 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
2
3 * aclocal.m4: Regenerate.
4 * configure: Regenerate.
5 * config.in: Regenerate.
6 * Makefile.in: Regenerate.
7
8 2012-05-17 Daniel Richard G. <skunk@iskunk.org>
9 Nick Clifton <nickc@redhat.com>
10
11 PR 14072
12 * configure.in: Add check that sysdep.h has been included before
13 any system header files.
14 * configure: Regenerate.
15 * config.in: Regenerate.
16 * unwind-ia64.h: Include config.h.
17
18 2012-05-17 Alan Modra <amodra@gmail.com>
19
20 * dwarf.c (process_debug_info): Display abbrev offset in hex.
21 (display_debug_abbrev): Show offset of abbrev.
22
23 2012-05-17 Alan Modra <amodra@gmail.com>
24
25 * dwarf.c (display_debug_ranges): Don't report more than one use
26 of the same range set as an overlap.
27
28 2012-05-16 Daniel Richard G. <skunk@iskunk.org>
29
30 PR binutils/13558
31 * Makefile.am (CFILES): Add syslex_wrap.c.
32 (sysinfo): Depend upon syslex_wrap.o.
33 (syslex_wrap.o): New rule.
34 (syslex.o): Delete rule.
35 * syslex_wrap.c: New file.
36 * Makefile.in: Regenerate.
37
38 2012-05-15 James Murray <jsm@jsm-net.demon.co.uk>
39
40 * readelf.c (get_machine_name): Update m68hc12 entry.
41
42 2012-05-13 H.J. Lu <hongjiu.lu@intel.com>
43
44 * objdump.c (disassemble_bytes): Print addend as signed.
45 (dump_reloc_set): Likewise.
46
47 2012-05-04 Sterling Augustine <saugustine@google.com>
48 Cary Coutant <ccoutant@google.com>
49
50 * doc/binutils.texi: Add --dwarf-check option.
51 * dwarf.c (dwarf_check): New global flag.
52 (fetch_indexed_string): New function.
53 (fetch_indexed_value): New function.
54 (get_FORM_name): Add DW_FORM_GNU_str_index and DW_FORM_GNU_addr_index.
55 (decode_location_expression): Add DW_OP_GNU_addr_index.
56 (read_and_display_attr_value): Add DW_FORM_GNU_str_index,
57 DW_FORM_GNU_addr_index, DW_AT_GNU_addr_base, and DW_AT_GNU_ranges_base.
58 (get_AT_name): Add new attributes for Fission.
59 (process_debug_info): Load new debug sections for Fission.
60 (load_debug_info): Check for .debug_info.dwo section.
61 (display_loc_list, display_loc_list_dwo): New functions.
62 (display_debug_loc): Move logic to above two functions.
63 (display_debug_info): Choose abbrev section based on info section.
64 (display_debug_types): Likewise.
65 (display_trace_info): Likewise.
66 (comp_addr_base): New function.
67 (display_debug_addr): New function.
68 (display_debug_str_offsets): New function.
69 (display_debug_ranges): Allow missing range lists. Suppress
70 diagnostics if dwarf_check not set.
71 (debug_displays): Add column to select abbrev section.
72 * dwarf.h (enum dwarf_section_display_enum): Add new debug sections
73 for Fission.
74 (struct dwarf_section): Add abbrev_sec field.
75 (struct dwarf_section_display): New type.
76 (debug_info): Add addr_base, ranges_base fields.
77 (dwarf_check): New global variable.
78 * objdump.c (usage): Add --dwarf-check option.
79 (enum option_values): Add OPTION_DWARF_CHECK.
80 (long_options): Add --dwarf-check.
81 (main): Likewise.
82 * readelf.c (OPTION_DWARF_CHECK): New macro.
83 (options): Add --dwarf-check.
84 (parse_args): Likewise.
85 (process_section_headers): Use const_strneq instead of
86 streq.
87
88 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
89
90 PR binutils/14088
91 * readelf.c (dump_relocations): Always display addend as
92 signed hex number.
93
94 2012-05-11 Daniel Richard G. <skunk@iskunk.org>
95
96 PR binutils/14028
97 * configure.in: Invoke ACX_HEADER_STRING.
98 * configure: Regenerate.
99 * config.in: Regenerate.
100 * sysdep.h: If STRINGS_WITH_STRING is defined then include both
101 string.h and strings.h.
102
103 2012-05-10 Jakub Jelinek <jakub@redhat.com>
104
105 * dwarf.c (read_and_display_attr_value): Don't look up tag from
106 abbrev for DW_FORM_ref_addr.
107
108 2012-05-08 Sean Keys <skeys@ipdatasys.com>
109
110 * binutils/MAINTAINERS: Added my entry to the maintainers secion.
111
112 2012-05-08 Cary Coutant <ccoutant@google.com>
113
114 * doc/binutils.texi (objcopy): Add --strip-dwo, --extract-dwo options.
115 (strip): Add --strip-dwo option.
116 * objcopy.c (enum strip_action): Add STRIP_DWO, STRIP_NONDWO.
117 (enum command_line_switch): Add OPTION_EXTRACT_DWO, OPTION_STRIP_DWO.
118 (strip_options): Add --strip-dwo option.
119 (copy_options): Add --extract-dwo, --strip-dwo options.
120 (copy_usage): Likewise.
121 (strip_usage): Add --strip-dwo option.
122 (is_dwo_section): New function.
123 (is_strip_section_1): Check for DWO sections.
124 (copy_object): Check for --strip-dwo, --extract-dwo options.
125 (copy_relocations_in_section): Discard relocations for DWO sections.
126 Discard entire relocation section when no relocations.
127 (strip_main): Add --strip-dwo option.
128 (copy_main): Add --strip-dwo, --extract-dwo options.
129
130 2012-05-08 Alan Modra <amodra@gmail.com>
131
132 * Makefile.am (check_DEJAGNU): Export LC_ALL=C in place of other
133 LC and LANG environment vars.
134 * Makefile.in: Regenerate.
135
136 2012-05-07 Tom Tromey <tromey@redhat.com>
137
138 * dwarf.c (get_TAG_name): Use get_DW_TAG_name.
139 (get_FORM_name): Use get_DW_FORM_name.
140 (get_AT_name): Use get_DW_AT_name.
141
142 2012-05-07 Alan Modra <amodra@gmail.com>
143
144 * Makefile.am (check-DEJAGNU): Clear LC_COLLATE, LC_ALL and LANG.
145 * Makefile.in: Regenerate.
146
147 2012-05-05 Alan Modra <amodra@gmail.com>
148
149 * dlltool.c (make_one_lib_file): Use bfd_und_section_ptr.
150
151 2012-05-03 Sean Keys <skeys@ipdatasys.com>
152
153 * readelf.c: Add support for XGATE.
154
155 2012-05-02 Nick Clifton <nickc@redhat.com>
156
157 * po/vi.po: Updated Vietnamese translation.
158 * po/it.po: New Italian translation.
159 * configure.in (ALL_LINGUAS): Add it.
160 * configure: Regenerate.
161
162 2012-05-01 Nick Clifton <nickc@redhat.com>
163
164 PR binutils/13121
165 * rescoff.c: Rename 'finfo' to 'flaginfo' to avoid conflicts with
166 AIX system headers.
167
168 2012-04-25 Cary Coutant <ccoutant@google.com>
169
170 * doc/binutils.texi: Add -D/--enable-deterministic-archives option
171 to strip and objcopy.
172 * objcopy.c (deterministic): New global variable.
173 (strip_options): Add --enable-deterministic-archives.
174 (copy_options): Likewise.
175 (copy_usage): Likewise.
176 (strip_usage): Likewise.
177 (copy_archive): When stripping all, don't add archive map; set
178 deterministic output when requested.
179 (strip_main): Add -D/--enable-deterministic-archives option.
180 (copy_main): Likewise.
181
182 2012-04-12 H.J. Lu <hongjiu.lu@intel.com>
183
184 PR binutils/13947
185 * objcopy.c (copy_object): Call copy_relocations_in_section
186 before copy_section.
187 (skip_section): New.
188 (copy_relocations_in_section): Likewise.
189 (copy_section): Use skip_section. Don't copy relocations here.
190
191 2012-04-11 Ryan Mansfield <rmansfield@qnx.com>
192
193 * objdump.c (dump_bfd): If defaulting to dwarf call
194 dwarf_select_sections_all to enable displays.
195
196 2012-04-06 Roland McGrath <mcgrathr@google.com>
197
198 * configure.in (AC_CHECK_HEADERS): Add locale.h.
199 * config.in: Regenerate.
200 * configure: Regenerate.
201
202 2012-04-05 Nick Clifton <nickc@redhat.com>
203
204 * configure.in (AC_CHECK_FUNCS): Add setlocale.
205 (AM_LC_MESSAGES): Add.
206 * aclocal.m4: Regenerate.
207 * config.in: Regenerate.
208 * configure: Regenerate.
209
210 2012-03-30 Nick Clifton <nickc@redhat.com>
211
212 PR binutils/13925
213 * stabs.c (stab_demangle_v3_arglist): Cope with the demangler
214 returning an empty context for a function with no arguments.
215
216 2012-03-28 Tom Tromey <tromey@redhat.com>
217
218 * dwarf.c (display_gdb_index): Handle index version 6.
219
220 2012-03-07 Nick Clifton <nickc@redhat.com>
221
222 * readelf.c (is_16bit_abs_reloc): Add detection of R_MN10300_16.
223
224 2012-02-29 Jeff Law <law@redhat.com>
225
226 * doc/binutils.texi (c++filt): Fix typos.
227
228 2012-02-24 Kai Tietz <ktietz@redhat.com>
229
230 PR binutils/13710
231 * defparse.y (keyword_as_name): Disable LIBRARY
232 keyword.
233 * doc/binutils.texi: Document LIBRARY exception.
234
235 2012-02-21 Kai Tietz<ktietz@redhat.com>
236
237 PR binutils/13682
238 * NEWS: Mention new feature.
239 * dlltool.c (i386_x64_dljtab): New stub-code for x64
240 delayed-load feature.
241 (i386_x64_trampoline): New trampoline-code for x64
242 delayed-load feature.
243 (make_one_lib_file): Add support for x64 delayed-load
244 feature.
245 (make_delay_head): Likewis
246
247 2012-02-20 Namhyung Kim <namhyung.kim@lge.com>
248
249 * objdump.c (slurp_file): Close file if fstat fails.
250
251 2012-02-14 Cary Coutant <ccoutant@google.com>
252
253 * dwarf.c (dwarf_vmatoa64): New function.
254 (read_and_display_attr_value): Print 8-byte forms as single hex
255 numbers.
256 (process_debug_info): Print type signatures as single hex numbers.
257 * elfcomm.c (byte_get_64): New function.
258 * elfcomm.h (byte_get_64): New function.
259
260 2012-02-11 Kai Tietz <ktietz@redhat.com>
261
262 PR binutils/13657
263 * defparse.y (%union): New type id_const.
264 (opt_name2): New rule.
265 (keyword_as_name): New rule.
266 (opt_name): Adjust rule.
267 (opt_import_name): Likewise.
268 (opt_equal_name): Likewise.
269
270 2012-02-11 Kai Tietz <ktietz@redhat.com>
271
272 PR binutils/13297
273 * resrc.c (write_rc_dialog_control): Omit text dump for
274 EDITTEXT, COMBOBOX, LISTBOX, and SCROLLBAR.
275
276 2012-02-09 Alan Modra <amodra@gmail.com>
277
278 * sysdep.h: Include sys/stat.h here.
279 * ar.c: Don't include headers already included by sysdep.h.
280 * bucomm.c: Likewise.
281 * budbg.h: Likewise.
282 * dlltool.h: Likewise.
283 * elfedit.c: Likewise.
284 * nlmconv.c: Likewise.
285 * objcopy.c: Likewise.
286 * objdump.c: Likewise.
287 * objdump.h: Likewise.
288 * readelf.c: Likewise.
289 * rename.c: Likewise.
290 * resrc.c: Likewise.
291 * strings.c: Likewise.
292 * windres.c: Likewise.
293 * od-macho.c: Ensure #include sysdep.h is first.
294 * od-xcoff.c: Likewise.
295 * dllwrap.c: Remove alloca pragma handled by sysdep.h, and
296 remove duplicate headers.
297 * dlltool.c: Likewise and ensure #include sysdep.h is first.
298
299 2012-02-01 Nick Clifton <nickc@redhat.com>
300
301 PR binutils/13493
302 * ar.c (ranlib_main): Process --plugin option.
303 * doc/binutils.texi: Document --plugin support for ranlib.
304
305 2012-02-01 Nick Clifton <nickc@redhat.com>
306
307 PR binutils/13482
308 * readelf.c (process_corefile_note_segment): Fix off-by-one errors
309 verifying the contents of a note.
310
311 2012-01-26 Nick Clifton <nickc@redhat.com>
312
313 PR binutils/13622
314 * readelf.c (process_section_groups): If there are no section
315 headers do not scan for section groups.
316 (process_note_sections): Likewise for note sections.
317
318 2012-01-20 Tristan Gingold <gingold@adacore.com>
319
320 * od-macho.c (OPT_SEG_SPLIT_INFO): New macro.
321 (options): Add an entry for seg_split_info.
322 (mach_o_help): Document it.
323 (dump_segment_split_info): New function.
324 (dump_load_command): Handle seg_split_info.
325
326 2012-01-19 Tristan Gingold <gingold@adacore.com>
327
328 * dwarf.c (process_extended_line_op): Add a cast to silent a
329 warning.
330
331 2012-01-19 Tristan Gingold <gingold@adacore.com>
332
333 * dwarf.c (process_extended_line_op): Reindent define_file output.
334 Detect define_file opcode length mismatch.
335 (display_debug_lines_decoded): Add an entry in file_table for each
336 define_file opcode.
337 Ignore DW_LNE_set_discriminator and DW_LNE_HP_set_sequence.
338 Display extended opcode for unhandle opcode.
339
340 2012-01-17 Alan Modra <amodra@gmail.com>
341
342 * version.c (print_version): Update copyright message year.
343
344 2012-01-16 Alan Modra <amodra@gmail.com>
345
346 PR binutils/13593
347 * nm.c (OPTION_SIZE_SORT): Define.
348 (long_options): Don't set no_sort, sort_numerically or
349 sort_by_size directly.
350 (main): Instead set the flags here, making them mutually exclusive.
351
352 2012-01-10 Tristan Gingold <gingold@adacore.com>
353
354 * objdump.c (display_object_bfd): Renamed from ...
355 (display_bfd): ... this.
356 (display_any_bfd): New function.
357 (display_file): Split. Handle nested archives.
358
359 2012-01-09 Roland McGrath <mcgrathr@google.com>
360
361 * configure.in: Use AM_ZLIB.
362 * configure: Regenerated.
363
364 2012-01-06 Nick Clifton <nickc@redhat.com>
365
366 * po/ru.po: Updated Russian translation.
367
368 2012-01-04 Tristan Gingold <gingold@adacore.com>
369
370 * od-macho.c (dump_load_command): Handle fvmlib.
371
372 2012-01-04 Tristan Gingold <gingold@adacore.com>
373
374 * od-macho.c: Update copyright year.
375 (dump_load_command): Handle BFD_MACH_O_LC_ENCRYPTION_INFO.
376
377 For older changes see ChangeLog-2011
378 \f
379 Local Variables:
380 mode: change-log
381 left-margin: 8
382 fill-column: 74
383 version-control: never
384 End: