]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - binutils/ChangeLog
2008-12-09 Andrew Stubbs <ams@codesourcery.com>
[thirdparty/binutils-gdb.git] / binutils / ChangeLog
1 2008-12-09 Andrew Stubbs <ams@codesourcery.com>
2
3 * readelf.c (arm_attr_tag_CPU_arch): Add "v6-M" and "v6S-M".
4 (arm_attr_tag_WMMX_arch): Add "WMMXv2".
5 (arm_attr_tag_NEON_arch): Rename to ...
6 (arm_attr_tag_Advanced_SIMD_arch): ... official name.
7 (arm_attr_tag_ABI_PCS_config): Rename to ...
8 (arm_attr_tag_PCS_config): ... official name.
9 (arm_attr_tag_ABI_PCS_RO_DATA): Rename to ...
10 (arm_attr_tag_ABI_PCS_RO_data): ... official name.
11 (arm_attr_tag_ABI_FP_denormal): Add "Sign only".
12 (arm_attr_tag_CPU_unaligned_access): New array.
13 (arm_attr_tag_T2EE_use): New array.
14 (arm_attr_tag_Virtualization_use): New array.
15 (arm_attr_tag_MPextension_use): New array.
16 (arm_attr_publ): NEON_arch -> Advanced_SIMD_arch.
17 ABI_PCS_config -> PCS_config.
18 ABI_PCS_RO_DATA -> ABI_PCS_RO_data.
19 Add CPU_unaligned_access, nodefaults, also_compatible_with,
20 T2EE_use, conformance, Virtualization_use and MPextension_use.
21 (display_arm_attribute): Handle Tag_nodefaults and
22 Tag_also_compatible_with.
23
24 2008-12-04 Ben Elliston <bje@au.ibm.com>
25
26 * doc/binutils.texi (objdump): Update booke documentation.
27 * NEWS: Document user-visible changes to command line options.
28
29 2008-12-04 Nick Clifton <nickc@redhat.com>
30
31 * objdump.c (dump_reloc_set): Append "()" to symbol names which
32 have the BSF_INDIRECT_FUNCTION type.
33 * readelf.c (print_symbol): Fix handling of negative widths.
34 (dump_relocations): Append "()" to symbol names which have the
35 STT_IFUNC type. Display negative offsets as a positive number with
36 a "-" prefix.
37 (get_symbol_type): Return "IFUNC" for STT_IFUNC symbols.
38 * doc/binutils.texi: Document 'i' symbol type.
39
40 2008-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
41
42 * strings.c (main): New variable `s'. Have string_min parsing
43 call fatal for invalid input strings.
44
45 2008-11-25 Nick Clifton <nickc@redhat.com>
46
47 PR7044
48 * dlltool.c (run): Use formatting string to avoid compile time
49 warning.
50 (gen_exp_file): Check return value from fread.
51 * windmc.c (main): Check return value from fread.
52
53 2008-11-21 Sterling Augustine <sterling@tensilica.com>
54
55 * MAINTAINERS: Take over from Bob Wilson as Xtensa maintainer.
56
57 2008-11-19 Nick Clifton <nickc@redhat.com>
58
59 * doc/fdl.texi: Update to v1.3
60 * doc/binutils.texinfo: Change license to v1.3.
61
62 2008-11-18 Catherine Moore <clm@codesourcery.com>
63
64 * readelf.c (arm_attr_tag_ABI_FP_16bit_format): New.
65 (arm_attr_tag_VFP_HP_extension): New.
66 (arm_attr_public_tag arm_attr_public_tags): Support
67 new attributes.
68
69 2008-11-17 Nick Clifton <nickc@redhat.com>
70
71 * version.c (print_version): Update copyright year.
72
73 2008-11-16 Danny Smith <dannysmith@usesr.sourceforge.net>
74
75 * dlltool.c (identify_search_section): Cast argument, not return
76 value, of xstrdup to 'char*'.
77
78 2008-11-15 Charles Wilson <cygwin@cwilson.fastmail.fm>
79
80 Added --identify option to dlltool.
81 * binutils/dlltool.c: Add new global variables
82 identify_imp_name and identify_dll_name.
83 (identify_dll_for_implib, identify_search_archive,
84 identify_search_member, identify_process_section_p,
85 identify_search_section): New functions.
86 (usage): Added --identify.
87 (long_options): Added --identify.
88 (main): Handle --identify option.
89 * binutils/doc/binutils.texi: Document --identify.
90
91 2008-11-14 Tristan Gingold <gingold@adacore.com>
92
93 Remove outdated mach-o specific tests.
94 * objdump.c (load_debug_section): Remove mach-o specific test.
95 (mach_o_uncompressed_dwarf_sections): Removed.
96 (mach_o_compressed_dwarf_sections): Removed.
97 (generic_uncompressed_dwarf_sections): Removed.
98 (generic_compressed_dwarf_sections): Removed.
99 (check_mach_o_dwarf): Removed.
100 (dump_dwarf): Remove call to check_mach_o_dwarf.
101
102 2008-11-14 Tristan Gingold <gingold@adacore.com>
103
104 * configure.com: Get version from configure.in of bfd.
105 * makefile.vms-in (DEBUG_OBJS): Add dwarf.obj.
106 (CFLAGS): Update flags.
107
108 2008-11-13 Hans-Peter Nilsson <hp@axis.com>
109 Alan Modra <amodra@bigpond.net.au>
110
111 * nm.c (filter_symbols): Only call memcpy when from != to.
112
113 2008-11-10 Tristan Gingold <gingold@adacore.com>
114 Alan Modra <amodra@bigpond.net.au>
115
116 * objdump.c (disassemble_bytes): Don't skip leading zeros when
117 end of section calculation overflows.
118
119 2008-11-07 Prafulla Thakare <prafulla.thakare@kpitcummins.com>
120
121 * MAINTAINERS: Take over from Anil Paranjpe as H8300 maintainer.
122
123 2008-10-31 Alan Modra <amodra@bigpond.net.au>
124
125 * po/id.po: New file.
126 * configure.in (ALL_LINGUAS): Add id.
127 * configure: Regenerate.
128
129 2008-10-21 Alan Modra <amodra@bigpond.net.au>
130
131 * windmc.c (res_alloc): Remove unnecessary cast.
132 * windres.c (res_alloc, reswr_alloc): Likewise.
133
134 2008-10-20 Nick Clifton <nickc@redhat.com>
135
136 * readelf.c: Tidy up code formatting.
137
138 2008-10-10 Nathan Froyd <froydnj@codesourcery.com>
139
140 * readelf.c (display_power_gnu_attribute): Decode
141 Tag_GNU_Power_ABI_Struct_Return.
142
143 2008-10-10 Alan Modra <amodra@bigpond.net.au>
144
145 * embedspu.sh: Pass -Wa,-noexecstack to $CC.
146
147 2008-10-09 Kai Tietz <kai.tietz@onevision.com>
148
149 * dlltool.c (PAGE_SIZE): Make sure it has bfd_vma type.
150 (PAGE_MASK): Likewise.
151 (sfunc): Change to address size of bfd_vma for base-file.
152 (flush_page): Likewise.
153 (gen_exp_file): Likewise.
154
155 2008-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
156
157 * readelf.c (process_section_headers): Do not cut the section names and
158 types if running with --wide.
159
160 2008-10-06 Tom Tromey <tromey@redhat.com>
161
162 * dwarf.c (display_debug_frames): Change text for uniformity.
163 (process_debug_info): Likewise.
164 (display_debug_aranges): Likewise. Indent address output.
165 (display_debug_pubnames): Print offset in hex.
166
167 2008-10-02 Andrew Paprocki <andrew@ishiboo.com>
168
169 PR 6934
170 * stabs.c (parse_stab_string): Parse and ignore =Y<name> strings
171 generated by the SUNPro C++ compiler.
172
173 2008-09-30 Andrew Paprocki <andrew@ishiboo.com>
174
175 PR 6922
176 * stabs.c (parse_stab_sun_builtin_type): Parse, but ignore SUN's
177 'b' and 'v' extensions.
178
179 2008-09-29 Peter O'Gorman <pogma@thewrittenword.com>
180 Steve Ellcey <sje@cup.hp.com>
181
182 * configure: Regenerate for new libtool.
183 * aclocal.m4: Ditto.
184 * Makefile.in: Ditto.
185 * doc/Makefile.in: Ditto.
186
187 2008-09-28 Alan Modra <amodra@bigpond.net.au>
188
189 * objcopy.c (setup_section): Set elf_group_id.
190
191 2008-09-24 Richard Henderson <rth@redhat.com>
192
193 * dwarf.c (size_of_encoded_value, get_encoded_value): Move up.
194 (decode_location_expression): Add section parameter. Handle
195 DW_OP_GNU_encoded_addr.
196 (read_and_display_attr_value): Update decode_location_expression call.
197 (display_debug_loc, display_debug_frames): Likewise.
198
199 2008-09-25 Alan Modra <amodra@bigpond.net.au>
200
201 PR 6913
202 * dwarf.c (print_dwarf_vma): Don't call printf without format string.
203
204 2008-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
205
206 Suppress warnings on NONE relocations to discarded sections.
207 * readelf.c (is_none_reloc): New function.
208 (debug_apply_relocations): Ignore is_none_reloc() relocations.
209
210 2008-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
211
212 Fix loading large elf64 binaries on 32bit hosts.
213 * configure.in: Call AC_SYS_LARGEFILE.
214 * config.in: Regenerate.
215 * configure: Regenerate.
216
217 2008-09-11 Alan Modra <amodra@bigpond.net.au>
218
219 * po/sv.po: Update.
220
221 2008-09-08 Tristan Gingold <gingold@adacore.com>
222
223 * BRANCHES: Add 2.18 and 2.19 release branches.
224
225 2008-09-08 Tristan Gingold <gingold@adacore.com>
226
227 * NEWS: Add a marker for the 2.19 features.
228
229 2008-09-05 Daniel Jacobowitz <dan@codesourcery.com>
230
231 * readelf.c (load_specific_debug_section): New function, from
232 load_debug_section.
233 (load_debug_section): Use load_specific_debug_section.
234 (display_debug_section): Use load_specific_debug_section. Check for
235 multiple sections with the same name.
236
237 2008-08-28 Tristan Gingold <gingold@adacore.com>
238
239 * objdump.c (dump_stabs): Add sections for Darwin.
240
241 2008-08-25 Alan Modra <amodra@bigpond.net.au>
242
243 * sysdep.h: Include "binary-io.h".
244 (O_BINARY): Don't define here.
245 * bin2c.c (O_BINARY, O_TEXT, SET_BINARY): Don't define here.
246 * strings.c: Likewise.
247 (main): Remove #ifdef SET_BINARY.
248 * Makefile.am: Run "make dep-am"
249 * Makefile.in: Regenerate.
250
251 2008-08-24 Alan Modra <amodra@bigpond.net.au>
252
253 * configure.in: Update a number of obsolete autoconf macros.
254 * configure: Regenerate.
255 * aclocal.m4: Regenerate.
256
257 2008-08-21 Richard Henderson <rth@redhat.com>
258
259 * readelf.c (is_32bit_pcrel_reloc): Fix hppa entry.
260 (is_64bit_pcrel_reloc): New.
261 (debug_apply_relocations): Use it. Handle hppa pcrel bias.
262
263 2008-08-15 Alan Modra <amodra@bigpond.net.au>
264
265 PR 6526
266 * configure.in: Invoke AC_USE_SYSTEM_EXTENSIONS.
267 * Makefile.in: Regenerate.
268 * aclocal.m4: Regenerate.
269 * config.in: Regenerate.
270 * configure: Regenerate.
271 * doc/Makefile.in: Regenerate.
272
273 2008-08-09 Alan Modra <amodra@bigpond.net.au>
274
275 PR 6615
276 * rename.c (smart_rename): Punctuate error messages.
277
278 2008-08-08 Richard Sandiford <rdsandiford@googlemail.com>
279 Daniel Jacobowitz <dan@codesourcery.com>
280 Catherine Moore <clm@codesourcery.com>
281 Mark Shinwell <shinwell@codesourcery.com>
282
283 * readelf.c (get_mips_symbol_other): Handle STO_MIPS_PLT and
284 STO_MIPS_PIC.
285 (slurp_rela_relocs, slurp_rel_relocs): Handle MIPS ELF64 here.
286 (dump_relocations, debug_apply_relocations): Don't handle it here.
287 (get_mips_dynamic_type): Handle DT_MIPS_PLTGOT and DT_MIPS_RWPLT.
288 (print_mips_pltgot_entry): New function.
289 (process_mips_specific): Dump the PLT GOT.
290
291 2008-08-08 Alan Modra <amodra@bigpond.net.au>
292
293 * readelf.c (is_64bit_abs_reloc): Return true for R_MIPS_64.
294
295 2008-08-06 Alan Modra <amodra@bigpond.net.au>
296
297 PR 6774
298 * objcopy.c (copy_object): Don't setup_bfd_headers when extract_symbol.
299 (setup_section): Don't zero vma and lma when extract_symbol.
300 (copy_section): Discard relocations when extract_symbol.
301 * doc/binutils.texi: Update --extract-symbol description.
302
303 2008-08-04 Alan Modra <amodra@bigpond.net.au>
304
305 * Makefile.am (POTFILES.in): Set LC_ALL=C.
306 * Makefile.in: Regenerate.
307
308 2008-08-04 Markus Weiss <weissms@aros.org>
309
310 * readelf.c (get_osabi_name <ELFOSABI_AROS>): Change name.
311
312 2008-08-01 H.J. Lu <hongjiu.lu@intel.com>
313
314 * dwarf.c (dwarf_regnames_i386): Remove AVX registers.
315 (dwarf_regnames_x86_64): Likewise.
316
317 2008-07-30 Alan Modra <amodra@bigpond.net.au>
318
319 * dlltool.c, dwarf.c, objdump.c, readelf.c, resrc.c, resres.c,
320 windmc.c: Silence gcc warnings.
321
322 2008-07-28 Alan Modra <amodra@bigpond.net.au>
323
324 * readelf.c (print_vma): Typo fix.
325
326 2008-07-28 Alan Modra <amodra@bigpond.net.au>
327
328 PR 6769
329 * readelf.c (print_dec_vma, print_hex_vma): Delete.
330 (print_vma): Use BFD_VMA_FMT.
331 * size.c (size_number, rprint_number): Likewise.
332
333 2008-07-26 Michael Eager <eager@eagercon.com>
334
335 * readelf.c (display_power_gnu_attribute): Display
336 single-precision hard float.
337
338 2008-07-21 Luis Machado <luisgpm@br.ibm.com>
339
340 * readelf.c (get_note_type): Handle VSX notes.
341
342 2008-07-15 H.J. Lu <hongjiu.lu@intel.com>
343
344 * objdump.c (load_debug_section): Initialize section_is_compressed
345 for gcc 3.4/ia64.
346 * readelf.c (load_debug_section): Likewise.
347
348 2008-07-12 Jie Zhang <jie.zhang@analog.com>
349
350 Revert
351 2008-07-12 Jie Zhang <jie.zhang@analog.com>
352 * readelf.c (get_machine_flags): Deal with Blackfin specific
353 flags.
354
355 2008-07-12 Jie Zhang <jie.zhang@analog.com>
356
357 * readelf.c (get_machine_flags): Deal with Blackfin specific
358 flags.
359
360 2008-07-09 Craig Silverstein <csilvers@google.com>
361
362 * config.in: Add HAVE_ZLIB_H
363 * configure.in: Add test for libz and zlib.h
364 * configure: Regenerate.
365 * dwarf.c (debug_displays): Add .zdebug_* strings.
366 * dwarf.h (struct dwarf_section): Add fields uncompressed_namd
367 and compressed_name.
368 * objdump.c (load_debug_section): Call
369 bfd_uncompress_section_contents when loading a compressed
370 section.
371 (dump_dwarf_section): Recognize compressed section name.
372 (mach_o_dwarf_sections): Rename as
373 mach_o_uncompressed_dwarf_sections.
374 (mach_o_compressed_dwarf_sections): New variable.
375 (generic_dwarf_section): Rename as
376 generic_uncompressed_dwarf_sections.
377 (generic_compressed_dwarf_sections): New variable.
378 (check_mach_o_dwarf): Save and restore
379 mach_o_compressed_dwarf_sections.
380 * readelf.c: Add #include for config.h and zlib.h
381 (process_section_headers): Recognize compressed section name.
382 (uncompress_section_contents): New function.
383 (load_debug_section): Call uncompress_section_contents when
384 loading a compressed section.
385 (display_debug_section): Recognize compressed section name.
386
387 2008-07-07 Alan Modra <amodra@bigpond.net.au>
388
389 * objdump.c (find_symbol_for_address): Prefer symbols in current
390 section.
391
392 2008-07-07 Alan Modra <amodra@bigpond.net.au>
393
394 * ieee.c (write_ieee_debugging_info): Use bfd_make_section_with_flags.
395 * nlmconv.c (main, powerpc_build_stubs): Likewise.
396 * rescoff.c (write_coff_file): Likewise.
397 * resres.c (write_res_file): Likewise.
398 * windmc.c (windmc_write_bin): Likewise.
399
400 2008-06-18 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
401
402 * readelf.c (guess_is_rela): Add EM_CR16_OLD.
403 (dump_relocations): Likewise.
404 (get_machine_name): Likewise.
405 (is_32bit_abs_reloc): Likewise.
406
407 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
408
409 * configure: Regenerate.
410
411 2008-06-12 DJ Delorie <dj@redhat.com>
412
413 * readelf.c (guess_is_rela): Add EM_M32C_OLD.
414 (dump_relocations): Likewise.
415 (process_section_headers): Likewise.
416 (is_32bit_abs_reloc): Likewise.
417 (is_16bit_abs_reloc): Likewise.
418
419 2008-06-12 Nick Clifton <nickc@redhat.com>
420
421 PR binutils/6483
422 * objdump.c (dump_bfd): If the -g option found no STABS or IEEE
423 debug information to display, try dumping DWARF information
424 instead.
425 * rddbg.c (read_debugging_info): Add a parameter to suppress the
426 display of a warning message when no debug information is found.
427 * budbg.h (read_debugging_info): Update prototype.
428 * objcopy.c (copy_object): Continue to allow read_debugging_info
429 to produce warning messages.
430 * doc/binutils.texi (--debugging): Document new behaviour of the
431 -g/--debugging option.
432
433 2008-06-10 Ben Elliston <bje@gnu.org>
434
435 * MAINTAINERS: Remove myself as m68k maintainer.
436
437 2008-05-14 Alan Modra <amodra@bigpond.net.au>
438
439 * Makefile.in: Regenerate.
440 * doc/Makefile.in: Regenerate.
441
442 2008-05-12 Alan Modra <amodra@bigpond.net.au>
443
444 * embedspu.sh: Test for presence of ._ea by looking at section
445 table rather than looking at relocs. Correct toe_addr substitution.
446
447 2008-05-08 Alan Modra <amodra@bigpond.net.au>
448
449 * embedspu.sh: Take note of R_SPU_PPU32/64 relocs without a symbol,
450 and if present, put image in ".data.speelf". Put program handle
451 in ".data.spehandle".
452
453 2008-05-01 Nick Clifton <nickc@redhat.com>
454
455 * readelf.c (print_symbol): Add code to display non-printing
456 characters.
457
458 2008-04-30 John Heidemann <johnh@isi.edu>
459
460 * doc/binutils.texi (strings): Add "unicode" to the documentation
461 of strings in order to make explicit that it supports this
462 feature.
463
464 2008-04-30 Alan Modra <amodra@bigpond.net.au>
465
466 * readelf.c (process_program_headers): Correct section in segment
467 display.
468
469 2008-04-28 M Thomas <mthomas@rhrk.uni-kl.de>
470 Nick Clifton <nickc@redhat.com>
471
472 PR binutils/6449
473 * objdump.c (slurp_file): Open the file in binary mode.
474 * ar.c: Remove conditional definition of O_BINARY.
475 * bin2.c: Likewise.
476 * rename.c: Likewise.
477 * strings.c: Likewise.
478 * sysdep.h: Add conditional definition of O_BINARY.
479
480 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
481
482 * aclocal.m4: Regenerate.
483 * configure: Regenerate.
484
485 2008-04-16 Jean-Yves Lefort <jylefort@brutele.be>
486
487 PR binutils/6034
488 * objcopy.c (stuct symlist): Rename to
489 is_specified_symbol_predicate_data.
490 (strip_specific_list): Rename to strip_specific_htab.
491 (strip_unneeded_list): Rename to strip_unneeded_htab.
492 (keep_specific_list): Rename to keep_specific_htab.
493 (localize_specific_list): Rename to localize_specific_htab.
494 (globalize_specific_list): Rename to globalize_specific_htab.
495 (keepglobal_specific_list): Rename to keepglobal_specific_htab.
496 (weaken_specific_list): Rename to weaken_specific_htab.
497 (eq_string): New function.
498 (create_symbol_htab): New function.
499 (create_symbol_htabs): New function.
500 (add_specific_symbol): Change to use hash tables.
501 (is_specified_symbol_predicate): New function.
502 (is_specified_symbol): Use hash table lookup.
503 (is_strip_section): Update to use new functions and hash tables.
504 (filter_symbols): Likewise.
505 (copy_object): Likewise.
506 (copy_section): Likewise.
507 (strip_main): Likewise.
508 (copy_main): Likewise.
509 (main): Likewise.
510
511 2008-04-14 David S. Miller <davem@davemloft.net>
512
513 * readelf.c (get_gnu_elf_note_type): Recognize NT_GNU_GOLD_VERSION.
514
515 2008-04-11 Torleif Sandnes <torleif.sandnes@gmail.com>
516
517 * dwarf.c (display_debug_lines): Rename to
518 display_debug_lines_raw.
519 (display_debug_lines_decoded): New function. Displays the
520 interpreted contents of a .debug_line section.
521 (display_debug_lines): New function: Selects either a raw dump or
522 a decoded dump (or both) as requested by the user.
523 * dwarf.h (do_debug_lines_decoded): New extern.
524 * readelf.c: Add support for -wL or --debug-dump=decodedline
525 option to display the decoded contents of a .debug_line section.
526 * doc/binutils.texi: Document the new option.
527 * NEWS: Mention the new feature.
528
529 2008-04-08 Alan Modra <amodra@bigpond.net.au>
530
531 * dwarf.c: Remove trailing whitespace throughout file.
532
533 2008-04-04 Nick Clifton <nickc@redhat.com>
534
535 * po/sk.po: Updated Slovak translation.
536
537 2008-04-03 H.J. Lu <hongjiu.lu@intel.com>
538
539 * dwarf.c (dwarf_regnames_i386): Add AVX registers.
540 (dwarf_regnames_x86_64): Likewise.
541
542 2008-03-27 Cary Coutant <ccoutant@google.com>
543
544 Add support for thin archives.
545 * ar.c (make_thin_archive): New global flag.
546 (map_over_members): Deal with full pathnames in thin archives.
547 (usage, main): Add 'T' option for building thin archives.
548 (replace_members): Pass thin archive flag to ar_emul_append.
549 * arsup.c (ar_open): Initialize new flag.
550 * binemul.c (ar_emul_append): Add new parameter for
551 flattening nested archives.
552 (do_ar_emul_default_append): New function.
553 (ar_emul_default_append): Factored out recursive code.
554 * binutils/binemul.h (ar_emul_default_append): Add new parameter.
555 (struct bin_emulation_xfer_struct): New parameter for ar_append.
556 * dlltool.c (gen_lib_file): Initialize thin archive flag.
557 * emul_aix.c (ar_emul_aix_internal): Add new flatten
558 parameter, currently unimplemented.
559 All callers changed.
560 * objcopy.c (copy_archive): Preserve thin archive flag.
561 * doc/binutils.texi: Update ar documentation.
562 * NEWS: Mention the new feature.
563
564 2008-03-20 H.J. Lu <hongjiu.lu@intel.com>
565
566 * readelf.c (process_mips_specific): Declare addr_size as int.
567
568 2008-03-20 Richard Sandiford <rsandifo@nildram.co.uk>
569
570 * readelf.c (print_mips_got_entry): New function.
571 (process_mips_specific): Print GOT information.
572
573 2008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
574
575 * aclocal.m4: Regenerate.
576 * configure: Likewise.
577 * Makefile.in: Likewise.
578 * doc/Makefile.in: Likewise.
579
580 2008-03-16 Brian Dessent <brian@dessent.net>
581
582 * rcparse.y (resid): Allow control text to span multiple lines.
583
584 2008-03-13 Alan Modra <amodra@bigpond.net.au>
585
586 * readelf.c: Use %u throughout when printing sh_link or sh_info,
587 %lu when printing sh_addralign.
588 (process_version_sections): Use identical formats when printing
589 all offset and sh_link fields.
590
591 2008-03-13 Alan Modra <amodra@bigpond.net.au>
592
593 * Makefile.am: Run "make dep-am".
594 * Makefile.in: Regenerate.
595 * doc/Makefile.in: Regenerate.
596 * configure: Regenerate.
597
598 2008-03-12 Alan Modra <amodra@bigpond.net.au>
599
600 PR 5900
601 * readelf.c (SECTION_HEADER_INDEX, SECTION_HEADER_NUM): Delete.
602 Remove use throughout file.
603 (SECTION_HEADER): Likewise.
604 (dump_relocations): Don't adjust st_shndx for reserved range.
605 (process_file_header): Mask SHN_XINDEX to values seen in external
606 elf structs. Simplify valid section index tests.
607 (get_32bit_elf_symbols, get_64bit_elf_symbols): Mask SHN_XINDEX.
608 Map reserved st_shndx to internal form.
609 (process_section_groups): Test that group symbol st_shndx is in
610 range, not just non-zero. Delete reserved range check.
611 (get_symbol_index_type): Mask "type" to 16 bits when printing PRC,
612 OS or RSV.
613
614 2008-03-09 Paul Brook <paul@codesourcery.com>
615
616 * readelf.c (arm_attr_tag_VFP_arch): Add "VFPv3-D16".
617
618 2008-03-03 James E. Wilson <wilson@tuliptree.org>
619
620 * MAINTAINERS: Update my email address.
621
622 2008-03-03 Nick Clifton <nickc@redhat.com>
623
624 * dwarf.c (decode_location_expression): Handle
625 DW_OP_PGI_omp_thread_num.
626
627 2008-03-01 Alan Modra <amodra@bigpond.net.au>
628
629 * objdump.c (objdump_print_addr): Initialise "sym".
630
631 2008-02-27 Justin Pryzby <justinpryzby@users.sourceforge.net>
632 Nick Clifton <nickc@redhat.com>
633
634 * ar.c (usage): Mention -t command line switch.
635 * doc/binutils.texi (ranlib): Document -t command line switch.
636
637 2008-02-26 Nick Clifton <nickc@redhat.com>
638
639 * objdump.c (objdump_print_addr): If displaying file offsets, show
640 the offset even if there are no symbols available.
641 (dump_section): Display nothing if none of the section is going to
642 be dumped. Display the file offset, if requested, of the location
643 from where the dump starts.
644 * doc/binutils.texi (objdump): Mention that dumping via the -s
645 switch is also affected by the -F option.
646
647 2008-02-26 Nick Clifton <nickc@redhat.com>
648
649 Re-apply this patch which was accidentally deleted:
650 2006-05-16 Carlos O'Donell <carlos@codesourcery.com>
651
652 * doc/binutils.texi: Use "Binutils Index" for index name.
653
654 2008-02-22 Nick Clifton <nickc@redhat.com>
655
656 * objdump.c (display_file_offsets): New variable.
657 (long_options): Add -F/--file-offsets.
658 (objdump_print_addr_with_sym): If displaying file offsets, print
659 the offset of the given address.
660 (disassemble_bytes): If displaying file offsets, tell the user how
661 many zeroes are skipped and the file offset of the point where
662 dumping resumes.
663 (disassemble_section): Only display the name of the section if
664 data is going to be dumped from it.
665 (main): Handle new option. Produce error messages if the start or
666 stop addresses do not make sense.
667 * doc/binutils.texi: Document the new feature.
668 * NEWS: Mention the new feature.
669
670 2008-02-15 Chu Li <chul@cn.fujitsu.com>
671 Nick Clifton <nickc@redhat.com>
672
673 PR binutils/5713
674 * strings.c (integer_arg): Delete function.
675 (string_min): Initialise to 4.
676 (main): Use strtoul to parse integer arguments.
677 Move check for an invalid string length to after all the arguments
678 have been parsed.
679 (usage): Use indentation to indicate that -<n> is a another form
680 of the --bytes= command line option.
681
682 2008-02-12 Nick Clifton <nickc@redhat.com>
683
684 * dlltool.c (mcore_elf_cache_filename): Add a const qualifier to
685 the argument.
686 (scan_obj_filename): Do not drop the const qualifier when calling
687 mcore_elf_cache_filename.
688 (struct fname_cache): Add const qualifier to filename field.
689
690 2008-02-08 H.J. Lu <hongjiu.lu@intel.com>
691
692 PR binutils/5713
693 * strings.c (main): Set string_min to 4 if it is <= 0.
694
695 2008-02-07 Alan Modra <amodra@bigpond.net.au>
696
697 * objdump.c (main): Don't pass unadorned NULL to concat.
698
699 2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
700
701 PR 5715
702 * configure: Regenerated.
703
704 2008-02-03 Adam Nemet <anemet@caviumnetworks.com>
705
706 * readelf.c (get_machine_flags): Handle Octeon.
707
708 2008-01-30 Tristan Gingold <gingold@adacore.com>
709
710 * readelf.c (dump_relocations): Decode OpenVMS-specific sections.
711 (get_ia64_dynamic_type): Decode OpenVMS-specific tags.
712 (get_dynamic_type): Handle IA64-specific tags.
713 (get_ia64_section_type_name): Handle OpenVMS-specific sections.
714 (get_section_type_name): Handle OS-specific sections (and
715 particularly IA64 OpenVMS one).
716 (get_elf_section_flags): Makes flags static. Add entries for IA64 and
717 decode them.
718
719 2008-01-29 Nick Clifton <nickc@redhat.com>
720
721 * dwarf.c (print_dwarf_vma): New function. Display the value of a
722 dwarf_vma type at a specified precision. Use mingw field type
723 specifier if necessary.
724 (display_debug_loc): Use dwarf_vma type for begin and end values.
725 Use print_dwarf_vma to display their values. Use byte_get_signed
726 in order to correctly detect the -1 escape value.
727 (display_debug_aranges): Likewise.
728 (display_debug_ranges): Likewise.
729
730 2008-01-29 Alan Modra <amodra@bigpond.net.au>
731
732 * dwarf.c (display_debug_loc): Correct test for base address
733 entry when 64-bit host dumping 32-bit object.
734
735 2008-01-29 Alan Modra <amodra@bigpond.net.au>
736
737 * MAINTAINERS: Remove myself as ix86 maintainer. Add for SPU.
738
739 2008-01-28 Nick Clifton <nickc@redhat.com>
740
741 PR binutils/5529
742 * rclex.c (yylex): Also allow the hypen character.
743
744 2008-01-28 H.J. Lu <hongjiu.lu@intel.com>
745
746 * dwarf.c: Include "elf/common.h".
747 (eh_addr_size): Changed to int.
748 (dwarf_regnames_i386): New.
749 (dwarf_regnames_x86_64): Likewise.
750 (dwarf_regnames): Likewise.
751 (dwarf_regnames_count): Likewise.
752 (init_dwarf_regnames): Likewise.
753 (regname): Likewise.
754 (frame_display_row): Properly support different address size.
755 Call regname to get register name.
756 (display_debug_frames): Call regname to get register name.
757 Display DW_CFA_def_cfa_register as DW_CFA_def_cfa_register
758 instead of DW_CFA_def_cfa_reg.
759
760 * dwarf.h (init_dwarf_regnames): New.
761
762 * objdump.c: Include "elf-bfd.h".
763 (dump_dwarf): Call init_dwarf_regnames on ELF input.
764
765 * readelf.c (guess_is_rela): Change argument to int.
766 (parse_args): Remove the undocumented upper case options for
767 -wX.
768 (process_file_header): Call init_dwarf_regnames.
769
770 2008-01-25 DJ Delorie <dj@redhat.com>
771
772 * readelf.c (process_section_headers): Add m16c handler.
773 (is_16bit_abs_reloc): Recognize R_M32C_16.
774
775 2008-01-25 Kai Tietz <kai.tietz@onevision.com>
776
777 * prdbg.c: Correct formatter style use.
778 * readelf.c: Likewise.
779 * strings.c: Likewise.
780
781 2008-01-25 Nick Clifton <nickc@redhat.com>
782
783 * po/ru.po: Updated Russian translation.
784
785 2008-01-17 H.J. Lu <hjl.tools@gmail.com>
786
787 * MAINTAINERS: Update my email address.
788
789 2008-01-14 Nick Clifton <nickc@redhat.com>
790
791 * dwarf.c (process_debug_info): Include the CU offset and corrupt
792 version value when reporting unrecognised DWARF version numbers.
793 (load_debug_info): Remember a failed attempt to load and parse the
794 .debug_info section and do not repeat such attempts.
795 (display_debug_lines): Check the return value from load_debug_info
796 and return whilst displaying a warning message if the load failed.
797 (display_debug_loc): Likewise.
798 (display_debug_ranges): Likewise.
799 (DEBUG_INFO_UNAVAILABLE): Value stored in num_debug_info_entries
800 when the .debug_info section could not be loaded/parsed.
801 (process_debug_info): Display the length of the compilation unit
802 in hex, so that it corresponds with the offsets that will follow.
803 Tell the user if the length was 32-bit or 64-bit.
804 If a DIE abbreviation could not be found, tell the user the offset
805 of the DIE.
806 (free_debug_memory): Do not attempt to free any entries in the
807 debug_information array if num_debug_info_entries is set to
808 DEBUG_INFO_UNAVAILABLE.
809
810 2008-01-10 Andreas Schwab <schwab@suse.de>
811
812 * readelf.c (is_64bit_abs_reloc): Handle R_S390_64.
813
814 2008-01-09 Jakub Zawadzki <darkjames@darkjames.ath.cx>
815
816 PR binutils/55326
817 * bucomm.c (list_supported_architectures): Free architecture list
818 after use.
819 * windres.c (set_endianess): Likewise.
820 * windmc.c (set_endianess): Likewise.
821
822 2008-01-08 Kai Tietz <kai.tietz@onevision.com>
823
824 PR binutils/5529
825 * binutils/rclex.c: (yylex): Add ':', '_', '\\', and '/' to post
826 characters for name tokens.
827
828 2008-01-04 Greg McGary <greg@mcgary.org>
829
830 * prdbg.c (print_vma): Print as long long, if host supports it.
831
832 2008-01-03 Nick Clifton <nickc@redhat.com>
833
834 * dwarf.c (read_and_display_attr_value): Prefix values that are
835 displayed in hexadecimal with 0x.
836 For the DW_AT_import attribute display the abbreviation number and
837 tag of the imported DIE.
838 (process_debug_info): Warn about lengths that reserved by the
839 DWARF3 specification.
840 Provide more information when corrupted DIEs are detected.
841 Warn if DIE corruption makes the sibling level negative.
842
843 For older changes see ChangeLog-2007
844 \f
845 Local Variables:
846 mode: change-log
847 left-margin: 8
848 fill-column: 74
849 version-control: never
850 End: