* reloc.cc (Sized_relobj_file::do_read_relocs): Ignore empty reloc
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
1c10be1e
AM
12011-05-30 Alan Modra <amodra@gmail.com>
2
3 PR binutils/12820
4 * Makefile.am (bin_PROGRAMS): Move BUILD_INSTALL_MISC to..
5 (bin_SCRIPTS): ..here.
6 (EXTRA_SCRIPTS): Define.
7 (EXTRA_DIST): Add embedspu.sh.
8 (DISTCLEANFILES): Add embedspu.
9 (embedspu): Depend on Makefile. Replace sed "s" command with "c".
10 * Makefile.in: Regenerate.
11
51d0d03f
JJ
122011-05-25 Jakub Jelinek <jakub@redhat.com>
13
14 * dwarf.c (loc_offsets): New variable.
15 (loc_offsets_compar): New routine.
16 (display_debug_loc): Handle loc_offsets not being in ascending order
17 and also a single .debug_loc entry being used multiple times.
18
0ba0c2b3
NC
192011-05-18 Nick Clifton <nickc@redhat.com>
20
21 PR binutils/12753
22 * nm.c (filter_symbols): Treat unique symbols as global symbols.
23 * doc/binutils.texi (nm): Mention that some lowercase letters
24 actually indicate global symbols.
25
429628a5
TG
262011-05-15 Tristan Gingold <gingold@adacore.com>
27
28 * od-xcoff.c: New file.
29 * objdump.h: New file.
30 * objdump.c: Include objdump.h
31 (dump_private_options, objdump_private_vectors): New variables.
32 (usage): Mention -P/--private. Display handled options.
33 (long_options): Add -P/--private.
34 (dump_target_specific): New function.
35 (dump_bfd): Handle dump_private_options.
36 (main): Handle -P.
37 * doc/binutils.texi (objdump): Document -P/--private.
38 * configure.in (OBJDUMP_PRIVATE_VECTORS, OBJDUMP_PRIVATE_OFILES):
39 New variables, compute them.
40 (od_vectors): Add vectors for private dumpers. Make them uniq.
41 (OBJDUMP_DEFS): Add OBJDUMP_PRIVATE_VECTORS.
42 * Makefile.am (HFILES): Add objdump.h
43 (CFILES): Add od-xcoff.c
44 (OBJDUMP_PRIVATE_OFILES): New variable.
45 (objdump_DEPENDENCIES): Append OBJDUMP_PRIVATE_OFILES.
46 (objdump_LDADD): Ditto.
47 (EXTRA_objdump_SOURCES): Define.
48 * Makefile.in: Regenerate.
49 * configure: Regenerate.
50
7e665af3
TG
512011-05-10 Tristan Gingold <gingold@adacore.com>
52
53 * dwarf.c (process_extended_line_op): Dump unknown records.
54
19094d10
AM
552011-05-07 Alan Modra <amodra@gmail.com>
56
44bbc88a 57 PR binutils/12632
19094d10
AM
58 * objcopy.c (copy_archive): Check bfd_openw result in unknown object
59 case. Rewrite without goto.
60
1cd48f98
JJ
612011-05-03 Jakub Jelinek <jakub@redhat.com>
62
0892011d
JJ
63 * dwarf.c (decode_location_expression): Handle DW_OP_GNU_const_type,
64 DW_OP_GNU_regval_type, DW_OP_GNU_deref_type, DW_OP_GNU_convert
65 and DW_OP_GNU_reinterpret.
66
1cd48f98
JJ
67 * MAINTAINERS: Add myself as DWARF2 maintainer.
68
4510857d
AM
692011-05-02 Alan Modra <amodra@gmail.com>
70
71 PR binutils/12720
72 Revert the following change
73 Michael Snyder <msnyder@vmware.com>
74 * ar.c (move_members): Plug memory leak.
75 (delete_members): Plug memory leak.
76
fd2f0033
TT
772011-04-28 Tom Tromey <tromey@redhat.com>
78
79 * NEWS: Add note about --dwarf-depth, --dwarf-start, and
80 dwarf-mode.el.
81 * objdump.c (suppress_bfd_header): New global.
82 (usage): Update.
83 (OPTION_DWARF_DEPTH, OPTION_DWARF_START): New constants.
84 (options): Add dwarf-depth and dwarf-start entries.
85 (dump_bfd): Use suppress_bfd_header.
86 (main): Handle OPTION_DWARF_START, OPTION_DWARF_DEPTH.
87 * doc/binutils.texi (objcopy): Document --dwarf-depth and
88 --dwarf-start.
89 (readelf): Likewise.
90 * dwarf-mode.el: New file.
91 * dwarf.c (dwarf_cutoff_level, dwarf_start_die): New globals.
92 (read_and_display_attr_value): Also check debug_info_p.
93 (process_debug_info): Handle dwarf_start_die and
94 dwarf_cutoff_level.
95 * dwarf.h (dwarf_cutoff_level, dwarf_start_die): Declare.
96 * readelf.c (usage): Update.
97 (OPTION_DWARF_DEPTH): New macro.
98 (OPTION_DWARF_START): Likewise.
99 (options): Add dwarf-depth and dwarf-start entries.
100 (parse_args): Handle OPTION_DWARF_START and OPTION_DWARF_DEPTH.
101
6adc060c
JK
1022011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
103
104 * dwarf.c (display_gdb_index): Support version 5, warn on version 4.
105
43294ab7
TG
1062011-04-27 Tristan Gingold <gingold@adacore.com>
107
108 * dwarf.c (process_extended_line_op): Handle
109 DW_LNE_HP_source_file_correlation.
110
b4e7b885
NC
1112011-04-27 Nick Clifton <nickc@redhat.com>
112
113 * po/da.po: Updated Danish translation.
114
c6a9fc58
TT
1152011-04-21 Tom Tromey <tromey@redhat.com>
116
117 * readelf.c (print_stapsdt_note): New function.
118 (process_note): Use it.
119
70616151
TT
1202011-04-21 Tom Tromey <tromey@redhat.com>
121
122 * readelf.c (get_stapsdt_note_type): New function.
123 (process_note): Recognize "stapsdt" notes.
124
2aee03ae
TT
1252011-04-21 Tom Tromey <tromey@redhat.com>
126
127 * readelf.c (process_corefile_note_segment): Change header field
128 widths.
129 (process_note): Change field widths.
130
664f90a3
TT
1312011-04-21 Tom Tromey <tromey@redhat.com>
132
133 * readelf.c (print_gnu_note): New function.
134 (process_note): Use it.
135
4161fbb0
JZ
1362011-04-21 Jie Zhang <jzhang918@gmail.com>
137
138 * MAINTAINERS: Update my email address.
139
7f880bc3 1402011-04-11 Kai Tietz <ktietz@redhat.com>
ec25acb3
NC
141
142 * windres.c (usage): Add new --preprocessor-arg option.
143 (option_values): Add new OPTION_PREPROCESSOR_ARG enumerator.
144 (option long_options): Add preprocessor-arg option.
145 (main): Handle it.
146 * doc/binutils.texi: Add documentation for --preprocessor-arg
147 option.
148 * NEWS: Add line about new --preprocessor-arg option for windres.
149
894e93a8
NC
1502011-04-08 John Marino <binutils@marino.st>
151
152 * arlex.l: Prevent redefinition of YY_NO_UNPUT.
153 * syslex.l: Likewise.
154
fa197c1c
PB
1552011-04-07 Paul Brook <paul@codesourcery.com>
156
157 * readelf.c (arm_section_get_word): Handle C6000 relocations.
158 (decode_tic6x_unwind_regmask, decode_arm_unwind_bytecode,
159 decode_tic6x_unwind_bytecode, expand_prel31): New functions.
160 (decode_arm_unwind): Split out common code from ARM specific bits.
161 (dump_arm_unwind): Use expand_prel31.
162 (arm_process_unwind): Handle SHT_C6000_UNWIND sections.
163 (process_unwind): Add SHT_C6000_UNWIND.
164
8c5fc800
JM
1652011-04-06 Joseph Myers <joseph@codesourcery.com>
166
167 * configure.in (thumb-*-pe*): Remove.
168 * configure: Regenerate.
169
a8aa951d
SA
1702011-04-05 Sterling Augustine <augustine.sterling@gmail.com>
171
172 * MAINTAINERS: Update my email address.
173
1e99536a
L
1742011-04-03 H.J. Lu <hongjiu.lu@intel.com>
175
176 PR binutils/12632
177 * objcopy.c (copy_unknown_object): Make the archive element
178 readable.
179
bf03e632
DM
1802011-04-03 David S. Miller <davem@davemloft.net>
181
182 * objdump.c (dump_reloc_set): Output R_SPARC_OLO10 relocations
183 accurately, rather than how they are represented internally.
184
545f57c6
TG
1852011-03-31 Tristan Gingold <gingold@adacore.com>
186
187 * makefile.vms (readelf.exe): New target.
188
083faca9
TG
1892011-03-31 Tristan Gingold <gingold@adacore.com>
190
191 * makefile.vms (DEBUG_OBJS): Add elfcomm.obj.
192
ac145307
BS
1932011-03-31 Bernd Schmidt <bernds@codesourcery.com>
194
195 * readelf.c (get_symbol_index_type): Handle SCOM for TIC6X.
196 (dump_relocations): Likewise.
197
00e98fc7
TG
1982011-03-31 Tristan Gingold <gingold@adacore.com>
199
200 * readelf.c (get_ia64_vms_note_type): New function.
201 (print_ia64_vms_note): Ditto.
202 (process_note): Recognize VMS/ia64 specific notes.
203 Display them.
204 (process_corefile_note_segment): Decode VMS notes.
205
877c169d
CM
2062011-03-30 Catherine Moore <clm@codesourcery.com>
207
208 * addr2line.c (translate_addresses): Sign extend the pc
209 if sign_extend_vma is enabled.
210
2842702f
NC
2112011-03-30 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
212
213 * readelf.c (process_gnu_liblist): Stop memory leak.
214
9382dad2
AM
2152011-03-29 Alan Modra <amodra@gmail.com>
216
217 * coffdump.c: Include bfd_stdint.h
218
fbe3e2c8
PM
2192011-03-28 Pierre Muller <muller@ics.u-strasbg.fr>
220
221 * coffdump.c (coff_dump): Correct spelling error.
222 (show_usage): Replace SYSROFF by COFF.
223
1a9911c3
PM
2242011-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
225
226 * coffdump.c (dump_coff_scope): Use double typecast for pointer P
227 to allow compilation for all targets.
228
49e7b350
NC
2292011-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
230
231 * dwarf.c (process_debug_info): Use offset_size to determine
232 the bit-size of the computation unit's offset.
767221a9
NC
233 (decode_location_expression): Use dwarf_vmatoa function to display
234 DW_OP_addr OP.
235 (process_debug_info): Use dwarf_vma type for local variables
236 length and type_offset.
49e7b350 237
68187828
NC
2382011-03-25 Michael Snyder <msnyder@vmware.com>
239
240 * strings.c (print_strings): Plug memory leak.
6a696910 241 * ar.c (move_members): Plug memory leak.
a1bc0327 242 (delete_members): Plug memory leak.
8e4850a9 243 (write_archive): Plug memory leak.
cd37dafc
NC
244 * ieee.c (ieee_add_bb11): Plug memory leak.
245 (ieee_function_type): Likewise.
246 (ieee_class_baseclass): Likewise.
09192bc7
NC
247 * prdbg.c (pr_function_type): Close memory leaks.
248 (pr_method_type): Likewise.
249 (tg_class_static_member): Likewise.
250 (tg_class_method_variant): Likewise.
251 (tg_class_static_method_variant): Likewise.
1fcab1af 252 * stabs.c (parse_stab_enum_type): Fix memory leaks.
4b41844b
NC
253 (parse_stab_struct_type): Likewise.
254 (parse_stab_struct_fields): Likewise.
255 (parse_stab_one_struct_field): Likewise.
256 (parse_stab_members): Likewise.
257 (stab_demangle_qualified): Likewise.
258 * objdump.c (dump_reloc_set): Free malloced memory.
c48d800e 259 * bucomm.c (make_tempname): Stop memory leak.
68187828 260
467c65bc
NC
2612011-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
262
263 Replace bfd_vma type and analog types by dwarf_vma and analogs.
264 Use dwarf specific print functions to display these type values.
265 * dwarf.h (dwarf_signed_vma): New type;
266 (DWARF2_External_LineInfo): Replace bfd_vma by dwarf_vma.
267 (DWARF2_External_PubNames): Likewise.
268 (DWARF2_External_CompUnit): Likewise.
269 (DWARF2_External_ARange): Likewise.
270 (read_leb128): Change return type to dwarf_vma.
271 * dwarf.c (print_dwarf_vma): Use __MINGW32__ conditional and
272 check byte_size values.
273 (dwarf_vmatoa): Change parameter type to dwarf_vma.
274 (dwarf_svmatoa): New static function.
275 (read_leb128): Change return type to dwarf_vma.
276 (read_sleb128): New static function.
277 (struct State_Machine_Registers): Change address field type to
278 dwarf_vma.
279 (process_extended_line_op): Adapt to type changes.
280 (fetch_indirect_string): Likewise.
281 (idisplay_block): Likewise.
282 (decode_location_expression): Likewise.
283 (read_and_display_attr_value): Likewise.
284 (process_debug_info): Likewise.
285 (display_debug_lines_raw): Likewise.
286 (display_debug_lines_decoded): Likewise.
287 (SLEB macro): Use new read_sleb128 function.
288
c60ce34a
AM
2892011-03-17 Alan Modra <amodra@gmail.com>
290
291 PR 12590
292 * ar.c (ranlib_main): Init arg_index properly.
293 (usage): Describe --target.
294
629e7ca8
JJ
2952011-03-16 Jakub Jelinek <jakub@redhat.com>
296
297 * dwarf.c (dw_TAG_name): Handle DW_TAG_GNU_call_site_parameter.
298 (read_and_display_attr_value): Handle DW_AT_GNU_call_site_data_value,
299 DW_AT_GNU_call_site_target and DW_AT_GNU_call_site_target_clobbered.
300 (get_AT_name): Handle DW_AT_GNU_call_site_value,
301 DW_AT_GNU_call_site_data_value, DW_AT_GNU_call_site_target,
302 DW_AT_GNU_call_site_target_clobbered, DW_AT_GNU_tail_call,
303 DW_AT_GNU_all_tail_call_sites, DW_AT_GNU_all_call_sites and
304 DW_AT_GNU_all_source_call_sites.
305 (decode_location_expression) <case DW_OP_GNU_entry_value>: Adjust
306 handling.
307
3082011-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
309
310 * dwarf.c (get_TAG_name): Handle DW_TAG_GNU_call_site.
311 (decode_location_expression): Handle DW_OP_GNU_entry_value.
312 (read_and_display_attr_value): Handle DW_AT_GNU_call_site_value.
313 (get_AT_name): Likewise.
314
497b9b32
MS
3152011-03-14 Michael Snyder <msnyder@vmware.com>
316
0cbf3531
MS
317 * objcopy.c (set_pe_subsystem): Free subsystem.
318
c30fe01d
MS
319 * wrstabs.c (stab_start_struct_type): Close memory leak.
320
0429c154
MS
321 * readelf.c (process_version_sections): Free symbols.
322
497b9b32
MS
323 * nm.c (display_rel_file): Free symsizes.
324
8f7e76d0
NC
3252011-03-10 Nick Clifton <nickc@redhat.com>
326
327 * readelf.c (get_machine_name): Update EM_V850 entry.
328
505f1412
MF
3292011-03-03 Mike Frysinger <vapier@gentoo.org>
330
331 * objdump.c (usage): Fix single typo.
332 * po/bg.po, po/binutils.pot, po/da.po, po/es.po, po/fi.po,
333 po/fr.po, po/id.po, po/ja.po, po/ru.po, po/vi.po: Likewise.
334
5115b233
AM
3352011-03-01 Akos Pasztory <akos.pasztory@gmail.com>
336
337 PR binutils/12523
338 * readelf.c (process_object): Clear dynamic_info_DT_GNU_HASH.
339
8b6efd89
KT
3402011-02-28 Kai Tietz <kai.tietz@onevision.com>
341
342 * debug.c (debug_start_source): Use filename_(n)cmp.
343 * ieee.c (ieee_finish_compilation_unit): Likewise.
344 (ieee_lineno): Likewise.
345 * nlmconv.c (main): Likewise.
346 * objcopy.c (strip_main): Likewise.
347 (copy_main): Likewise.
348 * objdump.c (show_line): Likewise.
349 (dump_reloc_set): Likewise.
350 * srconv.c (main): Likewise.
351 * wrstabs.c (stab_lineno): Likewise.
352
61865e30
NC
3532011-02-24 Zachary T Welch <zwelch@codesourcery.com>
354
355 * readelf.c (decode_arm_unwind): Implement decoding of remaining
356 ARM unwind instructions (i.e. VFP/NEON and Intel Wireless MMX).
357
47704ddf
KT
3582011-02-23 Kai Tietz <kai.tietz@onevision.com>
359
360 * dwarf.c (read_leb128): Use bfd_vma instead of
361 long type.
362 (dwarf_vmatoa): New helper routine.
363 (process_extended_line_op): Use for adr bfd_vma
364 type and print those typed values via BFD_VMA_FMT
365 or via dwarf_vmatoa for localized prints.
366 (fetch_indirect_string): Adjust offset's type.
367 (decode_location_expression): Adjust argument types
368 and uvalue type.
369 (read_and_display_attr_value): Likewise.
370 (read_and_display_attr): Likewise.
371 (decode_location_expression): Adjust printf format.
372 (process_debug_info): Likewise.
373 (display_debug_lines_raw): Likewise.
374 (display_debug_lines_decoded): Likewise.
375 (display_debug_pubnames): Likewise.
376 (display_debug_loc): Likewise.
377 (display_debug_aranges): Likewise.
378 * dwarf.h (DWARF2_External_LineInfo,
379 DWARF2_Internal_LineInfo, DWARF2_External_PubNames,
380 DWARF2_Internal_PubNames, DWARF2_External_CompUnit,
381 DWARF2_Internal_CompUnit, DWARF2_External_ARange,
382 DWARF2_Internal_ARange): Added..
383 (read_leb128): Adjust return type.
384
822ce8ee
RW
3852011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
386
387 * configure: Regenerate.
388
82f2dbf7
NC
3892011-02-08 Nick Clifton <nickc@redhat.com>
390
391 PR binutils/12467
392 * readelf.c (process_program_headers): Issue a warning if there
393 are no program headers but the file header has a non-zero program
394 header offset.
395 (process_section_headers): Issue a warning if there are no section
396 headers but the file header has a non-zero section header offset.
397 (process_section_groups): Reword the no section message so that it
398 can be distinguished from the one issued by process_section_headers.
399
6ec8b48e
JK
4002011-01-26 Jan Kratochvil <jan.kratochvil@redhat.com>
401 Doug Evans <dje@google.com>
402
403 * dwarf.c (display_gdb_index): Support version 4, warn on version 3.
404
293c573e
MR
4052011-01-19 Maciej W. Rozycki <macro@codesourcery.com>
406
407 * readelf.c (process_object): Free dynamic_section after use.
408
2b52916e
L
4092011-01-18 H.J. Lu <hongjiu.lu@intel.com>
410
411 PR binutils/12408
412 * readelf.c (process_archive): Free and reset dump_sects
413 after processing each archive member.
414
7a88bc9c
AS
4152011-01-11 Andreas Schwab <schwab@redhat.com>
416
417 * readelf.c (print_symbol): Handle symbol characters as unsigned.
418 Whitespace fixes.
419
f7465604
NC
4202011-01-10 Nick Clifton <nickc@redhat.com>
421
422 * po/da.po: Updated Danish translation.
423
9849fbfc
NC
4242011-01-06 Vladimir Siminov <sv@sw.ru>
425
426 * bucomm.c (get_file_size): Check for negative sizes and issue a
427 warning message if encountered.
428
0db46eb4
L
4292011-01-01 H.J. Lu <hongjiu.lu@intel.com>
430
431 * version.c (print_version): Update copyright to 2011.
432
9e9e0820 433For older changes see ChangeLog-2010
252b5132
RH
434\f
435Local Variables:
436mode: change-log
437left-margin: 8
438fill-column: 74
439version-control: never
440End:
This page took 0.495543 seconds and 4 git commands to generate.