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