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