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