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