OSDN Git Service

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