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