1 2009-09-01 H.J. Lu <hongjiu.lu@intel.com>
3 * version.c (print_version): Change to "Copyright 2009".
5 2009-09-01 Tristan Gingold <gingold@adacore.com>
7 * makefile.vms-in: Remove unused VERSION variable. Remove unused
9 * configure.com: Ported to Itanium VMS. Create build.com DCL script.
11 2009-08-29 Martin Thuresson <martin@mtme.org>
13 * nlmconv.c (main): Rename variable new to new_name.
15 2009-08-28 H.J. Lu <hongjiu.lu@intel.com>
17 * Makefile.am (sysinfo$(EXEEXT_FOR_BUILD)): Replace
18 CFLAGS/LDFLAGS with CFLAGS_FOR_BUILD/LDFLAGS_FOR_BUILD.
20 (sysinfo.o): Likewise.
21 (bin2c$(EXEEXT_FOR_BUILD)): Likewise.
22 * Makefile.in: Regenerated.
24 2009-08-27 Dave Korn <dave.korn.cygwin@gmail.com>
26 * doc/binutils.texi (--only-keep-debug): Relocate stray para here ...
27 (--subsystem): ... from here.
29 2009-08-24 Cary Coutant <ccoutant@google.com>
31 * objdump.c (find_symbol_for_address): Avoid costly call to
34 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
36 * Makefile.am (am__skiplex, am__skipyacc): New.
37 * Makefile.in: Regenerate.
39 2009-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
41 * Makefile.am (syslex.o): Depend on sysinfo.h config.h.
42 * Makefile.in: Regenerate.
44 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
46 * Makefile.am (AM_CPPFLAGS): Renamed from ...
48 (bin2c$(EXEEXT_FOR_BUILD): Adjust rule.
49 (installcheck-local): Renamed from ...
50 (installcheck): ... this.
51 * Makefile.in: Regenerate.
53 * Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add no-dist and
55 (MKDEP, CLEANFILES): Remove now-unneeded variables.
56 (DEP, DEP1, dep.sed, dep, dep-in, dep-am): Remove.
57 (mkdep section): Remove.
58 (BUILT_SOURCES): New variable, list $(GENERATED_HFILES).
59 (EXTRA_ar_SOURCES): New, list $(CFILES).
60 (syslex.o): Depend on syslex.c.
61 (sysinfo.o): Depend on sysinfo.c.
62 (arparse.h, defparse.h, nlmheaders.h rcparse.h mcparse.h):
63 Remove dependencies, now tracked by automake.
64 (srconv.o): Depend on sysroff.c.
65 (objdump.o, arparse.o, arlex.o, sysroff.o, defparse.o, deflex.o)
66 (nlmheader.o, rcparse.o, mcparse.o, rclex.o, mclex.o, dlltool.o)
67 (rescoff.o, nlmconv.o): Rewrite using automake-style dependency
68 tracking rules; only list the dependency upon the primary source
69 file, but no included headers.
70 * Makefile.in: Regenerate.
72 * Makefile.am (install-pdf, install-pdf-recursive, install-html)
73 (install-html-recursive): Remove.
74 * Makefile.in: Regenerate.
75 * doc/Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
76 (html__strip_dir, install-html, install-html-am): Remove.
77 * doc/Makefile.in: Regenerate.
79 * Makefile.in: Regenerate.
80 * aclocal.m4: Likewise.
81 * config.in: Likewise.
82 * configure: Likewise.
83 * doc/Makefile.in: Likewise.
85 2009-08-17 Nick Clifton <nickc@redhat.com>
87 * readelf.c (is_32bit_abs_reloc): Treat R_PARISC_SECREL32 as a
88 32-bit absolute reloc for the purposes of processing debug
91 2009-08-10 Daniel Gutson <dgutson@codesourcery.com>
93 * readelf.c (get_arm_section_type_name): Added support for
96 2009-08-03 H.J. Lu <hongjiu.lu@intel.com>
99 * objcopy.c (strip_main): Check return from smart_rename.
100 (copy_main): Likewise.
102 2009-07-27 Nick Clifton <nickc@redhat.com>
105 * objdump.c (dump_section_header): Skip sections that we are
108 2009-07-25 H.J. Lu <hongjiu.lu@intel.com>
110 * readelf.c (guess_is_rela): Handle EM_L1OM.
111 (dump_relocations): Likewise.
112 (get_machine_name): Likewise.
113 (get_section_type_name): Likewise.
114 (get_elf_section_flags): Likewise.
115 (get_symbol_index_type): Likewise.
116 (is_32bit_abs_reloc): Likewise.
117 (is_32bit_pcrel_reloc): Likewise.
118 (is_64bit_abs_reloc): Likewise.
119 (is_64bit_pcrel_reloc): Likewise.
120 (is_none_reloc): Likewise.
122 2009-07-23 Ulrich Drepper <drepper@redhat.com>
124 * readelf.c (get_symbol_binding): For Linux targeted files return
125 UNIQUE for symbols with the STB_GNU_UNIQUE binding.
126 * doc/binutils.texi: Document the meaning of the 'u' symbol
127 binding in the output of nm and objdump --syms.
129 2009-07-20 H.J. Lu <hongjiu.lu@intel.com>
131 * NEWS: Mention --insn-width.
133 * objdump.c (insn_width): New.
134 (usage): Display --insn-width.
135 (option_values): Add OPTION_INSN_WIDTH.
136 (long_options): Add --insn-width.
137 (disassemble_bytes): Handle insn_width.
138 (main): Handle OPTION_INSN_WIDTH.
140 * doc/binutils.texi: Document --insn-width.
142 2009-07-17 Nick Clifton <nickc@redhat.com>
144 * dwarf.c (display_debug_lines): If do_debug_lines has not been
145 set then default to displaying raw .debug_line section contents.
147 2009-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
149 Support unordered .debug_info references to .debug_ranges.
150 * dwarf.c (struct range_entry, range_entry_compar): New.
151 (display_debug_ranges): Remove variables last_offset, first, j,
152 seen_first_offset, use_debug_info and next. New variables
153 range_entries and range_entry_fill. Create the sorted copy
154 range_entries. Remove the FIXME error on detected unordered references.
155 * dwarf.h (debug_info <range_lists>): New comment.
157 2009-07-14 Nick Clifton <nickc@redhat.com>
160 * README: Document use of LDFLAGS="--static".
162 2009-07-10 H.J. Lu <hongjiu.lu@intel.com>
164 * Makefile.am: Run "make dep-am".
165 * Makefile.in: Regenerated.
167 2009-07-10 Tom Tromey <tromey@redhat.com>
169 * Makefile.am (dwarf.o): Refer to dwarf2.h, not elf/dwarf2.h.
170 * Makefile.in: Rebuild.
171 * dwarf.c: Include dwarf2.h, not elf/dwarf2.h.
173 2009-07-06 Tristan Gingold <gingold@adacore.com>
175 * objdump.c (dump_dwarf_section): Handle .eh_frame like other dwarf
177 * dwarf.h (struct dwarf_section_display): Remove eh_frame field.
178 * dwarf.c (debug_displays): Adjust for removed field.
180 2009-07-03 Jakub Jelinek <jakub@redhat.com>
182 * dwarf.c (decode_location_expression): Handle DW_OP_stack_value
183 and DW_OP_implicit_value.
185 2009-07-01 Nick Clifton <nickc@redhat.com>
188 * rclex.c (handle_quotes): Do not complain about whitespace
189 separating quoted strings.
190 (rclex_string): Ignore whitespace when looking for a new opening
191 quote following a closing quote.
193 2009-06-27 H.J. Lu <hongjiu.lu@intel.com>
196 * bucomm.c (get_file_size): Return -1 on error.
198 * objcopy.c (copy_file): Report empty file.
200 2009-06-23 Nick Clifton <nickc@redhat.com>
202 * dwarf.c (display_debug_lines_raw): Include the name of the
203 section in warning message.
204 (struct debug_display): Enable reloc processing for .debug_line
205 and .debug_ranges sections.
207 * readelf.c: Add --relocated-dump command line option to dump the
208 relocated contents of a specified section.
209 (request_dump): New function.
210 (parse_args): Use it.
211 (dump_section_as_bytes): Add parameter to indicate whether the
212 contents should be relocated.
213 (target_specific_reloc_handling): Add code for a R_MN10300_16
214 reloc found after a R_MN10300_SYM_DIFF reloc.
215 (debug_apply_relocations): Rename to apply_relocations.
216 (get_section_contents): New function. Replaces common code found
217 in dump_section_as_strings and dump_section_as_bytes.
218 * doc/binutils.texi: Document new command line option.
219 * NEWS: Mention the new feature.
221 2009-06-22 Nick Clifton <nickc@redhat.com>
223 * readelf.c (target_specific_reloc_handling): New function:
224 Processes relocs in a target specific manner.
225 (debug_apply_relocations): Use the new function.
226 * dwarf.c (display_debug_loc): End the dump with a blank line.
227 (struct debug_display): Enable reloc processing for .debug_aranges
228 and .debug_loc sections.
230 2009-06-19 Nick Clifton <nickc@redhat.com>
232 * ar.c (usage): Do not use #ifdef inside _("...).
233 * nm.c (usage): Likewise.
235 2009-06-18 Nick Clifton <nickc@redhat.com>
238 * objdump.c (disassemble_bytes): Set the
239 USER_SPECIFIED_MACHINE_TYPE flag in the disassemble_info structure
240 if the user has invoked the -m switch.
241 * doc/binutils.texi: Document the additional behaviour of
242 objdump's -m switch for ARM targets.
244 2009-06-18 Dave Korn <dave.korn.cygwin@gmail.com>
246 * configure.in: Merge cegcc and mingw32ce target name changes from
249 2007-12-25 Pedro Alves <pedro_alves@portugalmail.pt>
251 * configure.in: Add arm*-*-cegcc* and arm*-*-mingw32ce* targets.
252 * configure: Regenerate.
254 2009-06-15 Nick Clifton <nickc@redhat.com>
257 * objdump.c (disassemble_bytes): Set the DISASSEMBLE_DATA bit in
258 the flags field of the disassemble_info structure if the -D switch
261 2009-06-12 Homer Xing <homer.xing@yahoo.com>
263 * NEWS: Mention new feature added to gprof.
265 2009-06-12 John Reiser <jreiser@BitWagon.com>
267 * readelf.c (process_symbol_table): Set gnubuckets to NULL after
268 freeing it and before returning.
270 2009-06-12 Jakub Jelinek <jakub@redhat.com>
272 * readelf.c (process_symbol_table): Don't return early if
273 .hash/.gnu.hash is empty/unusable and not -D.
275 2009-06-09 Tom Bramer <tjb@postpro.net>
278 * winduni.c (wind_MultiByteToWideChar): Do not pass MB_PRECOMPOSED
279 to MultiByteToWideChar when using the CP_UTF8 or CO_UTF7 types.
281 2009-06-04 Alan Modra <amodra@bigpond.net.au>
283 * strings.c (main): Delay parsing of decimal digits.
285 2009-06-04 Alan Modra <amodra@bigpond.net.au>
287 * dep-in.sed: Don't use \n in replacement part of s command.
288 * Makefile.am (DEP1): LC_ALL for uniq.
290 * Makefile.in: Regenerate.
292 2009-06-03 Tristan Gingold <gingold@adacore.com>
294 * MAINTAINERS: Add myself as Mach-O maintainer.
296 2009-06-01 Alan Modra <amodra@bigpond.net.au>
299 * doc/binutils.texi (nm): Correct -S description.
301 2009-05-28 Nick Clifton <nickc@redhat.com>
303 * po/da.po: Updated Danish translation.
305 2009-05-28 Nick Clifton <nickc@redhat.com>
307 * readelf.c (display_debug_section): Do not display debug sections
308 with the NOBITS section type.
310 2009-05-27 Rafael Avila de Espindola <espindola@google.com>
312 * aclocal.m4: Include ../config/plugins.m4.
313 * configure.in: Use AC_PLUGINS.
314 * configure: Regenerate.
315 * Makefile.in: Regenerate.
316 * doc/Makefile.in: Regenerate.
318 2009-05-27 Rafael Avila de Espindola <espindola@google.com>
320 * ar.c (main): Call bfd_plugin_set_program_name.
321 * nm.c (main): Call bfd_plugin_set_program_name.
323 2009-05-27 Nathan Sidwell <nathan@codesourcery.com>
325 * sysdump.c (tab): Use puts rather than two printfs.
327 2009-05-26 Nick Clifton <nickc@redhat.com>
329 * po/id.po: Updated Indonesian translation.
330 * po/binutils.pot: Updated template file.
332 2009-05-26 Rafael Avila de Espindola <espindola@google.com>
334 * ar.c: Include plugin.h.
335 (main): Handle the --plugin option.
336 * nm.c: Include plugin.h.
337 (OPTION_PLUGIN): New.
338 (long_options): Add plugin.
339 (main): Handle OPTION_PLUGIN.
340 * NEWS: Mention the new feature.
341 * doc/binutils: Documement the new command line options.
342 * configure.in: Check for --enable-plugins.
343 * configure: Regenerate.
345 2009-05-26 Alan Modra <amodra@bigpond.net.au>
347 * dep-in.sed: Output one filename per line with all lines having
348 continuation backslash. Prefix first line with "A", following
350 * Makefile.am (DEP): Don't use dep.sed here.
351 (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
353 * Makefile.in: Regenerate.
355 2009-05-25 Tristan Gingold <gingold@adacore.com>
357 * makefile.vms-in: Fix CFLAGS, add addr2line.exe target.
359 * configure.com: Fix it: handle alloca and define TARGET in config.h.
361 2009-05-22 Alan Modra <amodra@bigpond.net.au>
363 * Makefile.am: Run "make dep-am".
364 * Makefile.in: Regenerate.
366 2009-05-12 Alan Modra <amodra@bigpond.net.au>
368 * objcopy.c (set_long_section_mode): Check input_bfd is coff
369 before accessing coff specific fields of bfd.
371 2009-05-09 Dave Korn <dave.korn.cygwin@gmail.com>
373 * MAINTAINERS: Add myself as PE/COFF co-maintainer.
375 2009-05-08 Kai Tietz <kai.tietz@onevision.com>
377 * winduni.c (iconv_onechar): Only define when HAVE_ICONV
378 is defined, but not when __CYGWIN__ or _WIN32 are defined.
379 See wind_iconv_cp for call logic of this local funtion.
381 2009-05-05 Guillaume Duhamel <guillaume.duhamel@gmail.com>
384 * winduni.c: Replace test of HAVE_ICONV_H with a test of
386 (iconv_onechar): Use ICONV_CONST instead of "const".
387 (wind_MultiByteToWideChar): Initialise local strings.
389 2009-04-30 Nick Clifton <nickc@redhat.com>
391 * readelf.c (dump_relocations): Display a relocation against an
392 ifunc symbol as if it were a function invocation.
393 (get_symbol_type): Handle STT_GNU_IFUNC.
395 2009-04-29 Anthony Green <green@moxielogic.com>
397 * NEWS: Tweak verilog support description.
399 2009-04-29 Alan Modra <amodra@bigpond.net.au>
400 Denis Scherbakov <denis_scherbakov@yahoo.com>
402 * readelf.c (slurp_ia64_unwind_table): Correct 64-bit unwind table
403 read, and merge with 32-bit case.
405 2009-04-27 Anthony Green <green@moxielogic.com>
407 * NEWS: Mention verilog support added to bfd.
409 2009-04-27 H.J. Lu <hongjiu.lu@intel.com>
411 * objcopy.c (copy_object): Copy pe_opthdr before changing PE
414 2009-04-24 Cary Coutant <ccoutant@google.com>
416 * dwarf.c (process_extended_line_op): Add DW_LNE_set_discriminator.
417 Add missing newlines to HP extensions.
419 2009-04-17 H.J. Lu <hongjiu.lu@intel.com>
421 * objcopy.c (set_pe_subsystem): Replace efi-rom with sal-rtd.
422 * doc/binutils.texi: Likewise.
424 2009-04-17 H.J. Lu <hongjiu.lu@intel.com>
427 * objcopy.c: Include coff/i386.h and coff/pe.h.
428 (pe_file_alignment): New.
429 (pe_heap_commit): Likewise.
430 (pe_heap_reserve): Likewise.
431 (pe_image_base): Likewise.
432 (pe_section_alignment): Likewise.
433 (pe_stack_commit): Likewise.
434 (pe_stack_reserve): Likewise.
435 (pe_subsystem): Likewise.
436 (pe_major_subsystem_version): Likewise.
437 (pe_minor_subsystem_version): Likewise.
438 (set_pe_subsystem): Likewise.
439 (convert_efi_target): Likewise.
440 (command_line_switch): Add OPTION_FILE_ALIGNMENT,
441 OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT,
442 OPTION_STACK and OPTION_SUBSYSTEM.
443 (copy_options): Likewise.
444 (copy_usage): Add --file-alignment, --heap, --image-base,
445 --section-alignment, --stack and --subsystem.
446 (copy_object): Set up PE parameters.
447 (copy_main): Process Add OPTION_FILE_ALIGNMENT,
448 OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT,
449 OPTION_STACK and OPTION_SUBSYSTEM. Convert EFI target to
452 * NEWS: Mention --file-alignment, --heap, --image-base,
453 --section-alignment, --stack and --subsystem command line
456 * doc/binutils.texi: Document --file-alignment, --heap,
457 --image-base, --section-alignment, --stack and --subsystem
458 command line options for objcopy.
460 2009-04-15 Anthony Green <green@moxielogic.com>
462 * MAINTAINERS: Add myself as Moxie port maintainer.
464 2009-04-14 Dave Korn <dave.korn.cygwin@gmail.com>
466 * objcopy.c (enum long_section_name_handling): New enum type.
467 (enum command_line_switch): Add OPTION_LONG_SECTION_NAMES.
468 (copy_options[]): Add entry for --long-section-names option.
469 (copy_usage): Document it.
470 (set_long_section_mode): New subroutine.
471 (copy_file): Call it.
472 (copy_main): Accept OPTION_LONG_SECTION_NAMES and parse arg.
473 * doc/binutils.texi: Update objcopy documentation with details
476 2009-04-01 Dave Korn <dave.korn.cygwin@gmail.com>
478 * dlltool.c (set_dll_name_from_def): Accept new second arg that
479 indicates if we are building DLL or EXE, and use it to add a
480 default suffix to the output filename when none is already present.
481 (def_name): Indicate we are building an EXE when calling it.
482 (def_library): Indicate we are building a DLL when calling it.
484 2009-04-01 Jari Aalto <jari.aalto@cante.net>
487 * doc/binutils.texi (strings): Document the -V alias for the
489 * strings.c (usage): Likewise.
491 2009-03-31 Nick Clifton <nickc@redhat.com>
494 * configure.in: Import Solaris specific largefile test from
496 * configure: Regenerate.
498 2009-03-30 Richard Sandiford <rdsandiford@googlemail.com>
500 * MAINTAINERS: Add self.
502 2009-03-27 Nick Clifton <nickc@redhat.com>
504 * dwarf.c (display_debug_ranges): Add the base address to the
505 displayed values for 'Begin' and 'End'.
507 2009-03-25 Ryan Mansfield <rmansfield@qnx.com>
509 * readelf.c (process_file_header): Don't report a corrupt string
510 table index if it is zero.
512 2009-03-19 H.J. Lu <hongjiu.lu@intel.com>
514 * dwarf.c (dwarf_regnames): Moved before frame_need_space.
515 (dwarf_regnames_count): Likewise.
516 (frame_need_space): Return int.
517 (display_debug_frames): Check invalid registers.
519 2009-03-19 H.J. Lu <hongjiu.lu@intel.com>
521 * readelf.c (debug_apply_relocations): Check relocations
522 against STT_SECTION symbol.
524 2009-03-18 H.J. Lu <hongjiu.lu@intel.com>
526 * readelf.c (debug_apply_relocations): Allow relocations
527 against function symbols.
529 2009-03-18 Alan Modra <amodra@bigpond.net.au>
531 * sysdep.h: Include alloca-conf.h instead of config.h and remove
532 existing #if's handling alloca.
533 * Makefile.am: Run "make dep-am".
534 * Makefile.in: Regenerate.
536 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
538 * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
539 * configure.in: Likewise.
540 * configure: Regenerate.
542 2009-03-13 H.J. Lu <hongjiu.lu@intel.com>
545 * objcopy.c (copy_object): Clear HAS_RELOC when stripping all.
547 2009-03-11 Chris Demetriou <cgd@google.com>
549 * ar.c (deterministic): New global variable.
550 (main): Recognize new 'D' option, which enables 'deterministic mode'.
551 (usage): Document new 'D' option.
552 (write_archive): Set BFD_DETERMINISTIC_OUTPUT in output archive's
553 flags if deterministic mode was requested.
554 * doc/binutils.texi (ar): Document deterministic mode ('D' option).
556 2009-03-09 H.J. Lu <hongjiu.lu@intel.com>
559 * objcopy.c (filter_symbols): Properly handle common symbols
562 2009-03-06 Nick Clifton <nickc@redhat.com>
564 * po/es.po: Updated Spanish translation.
566 2009-03-05 Nick Clifton <nickc@redhat.com>
568 * objdump.c (disassemble_section): If the computed next offset is
569 not beyond the current offset then just continue to the end.
571 2009-03-04 Tristan Gingold <gingold@adacore.com>
573 * MAINTAINERS: Add myself as VMS maintainer.
575 2009-03-03 Nick Clifton <nickc@redhat.com>
577 * readelf.c: Update formatting.
579 2009-03-03 Alan Modra <amodra@bigpond.net.au>
581 * Makefile.am: Run "make dep-am".
582 * Makefile.in: Regenerate.
584 2009-03-03 Alan Modra <amodra@bigpond.net.au>
586 * objdump.c (disassemble_section): Mask address before sign extending.
588 2009-03-02 Sebastian Biallas <sb@biallas.net>
590 * ieee.c (parse_ieee_ty): Add support for undocumented 'v' type.
591 (parse_ieee_bb): Set the filename if it has not already been
594 2009-03-02 Cary Coutant <ccoutant@google.com>
596 * readelf.c (adjust_relative_path): New function.
597 (struct archive_info): New type.
598 (setup_archive): New function.
599 (release_archive): New function.
600 (setup_nested_archive): New function.
601 (get_archive_member_name): New function.
602 (get_archive_member_name_at): New function.
603 (make_qualified_name): New function.
604 (process_archive): Factor out code for reading archive index and
605 long filename table to setup_archive. Add support for thin archives.
607 2009-03-02 Nick Clifton <nickc@redhat.com>
609 * po/sk.po: Updated Slovak translation.
611 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
613 * configure: Regenerate.
615 2009-02-23 Cary Coutant <ccoutant@google.com>
617 * objdump.c (load_specific_debug_section): New function, from
619 (load_debug_section): Use load_specific_debug_section.
620 (dump_dwarf_section): Likewise.
622 2009-02-23 Cary Coutant <ccoutant@google.com>
624 * readelf.c (parse_args): Select all sections explicitly for -w.
626 2009-02-09 Kai Tietz <kai.tietz@onevision.com>
628 * windres.c (set_endianess): Copy name without leading '-'.
630 2009-02-09 Tristan Gingold <gingold@adacore.com>
632 * NEWS: Mention feature match between objdump and readelf for dumping
635 * doc/binutils.texi (objdump): Document -W/--dwarf improvments to
638 * objdump.c (usage): Update documentation for -W/--dwarf.
639 (enum option_values): Add OPTION_DWARF.
640 (long_options): --dwarf can accept arguments.
641 (dump_dwarf_section): Also check enabled field.
642 (main): Option -W can accept arguments, code moved to
643 dwarf.c and call dwarf_select_sections_all instead.
644 * readelf.c (process_section_headers): Remove do_debug_lines_decoded.
645 (parse_args): Move code to...
646 * dwarf.c (dwarf_select_sections_by_letters,
647 dwarf_select_sections_by_names): : ...here (new functions).
648 (do_debug_lines_decoded): Remove and replaced by ...
649 (FLAG_DEBUG_LINES_RAW, FLAG_DEBUG_LINES_DECODED): ... new macros.
650 (display_debug_lines): Adjust for previous change.
651 (dwarf_select_sections_all): New function.
652 (debug_displays): Add initializer for enabled field.
653 * dwarf.h (do_debug_lines_decoded): Remove.
654 Add prototypes for the new functions.
655 (struct dwarf_section_display): Add enabled field.
657 2009-02-06 Nick Clifton <nickc@redhat.com>
659 * po/vi.po: Updated Vietnamese translation.
661 2009-02-03 Sandip Matte <sandip@rmicorp.com>
663 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_XLR.
665 2009-02-03 H.J. Lu <hongjiu.lu@intel.com>
667 * NEWS: Move --as-needed change to ...
670 2009-02-03 Carlos O'Donell <carlos@codesourcery.com>
672 * configure.in: AC_SUBST pdfdir.
673 * Makefile.am: Add install-pdf, install-pdf-am,
674 and install-pdf-recursive targets.
675 * doc/Makefile.am: Define pdf__strip_dir. Add
676 install-pdf and install-pdf-am targets.
677 * po/Make-in: Add install-pdf target.
678 * configure: Regenerate.
679 * Makefile.in: Regenerate.
680 * doc/Makefile.in: Regenerate.
682 2009-02-03 H.J. Lu <hongjiu.lu@intel.com>
685 * NEWS: Mention --prefix=PREFIX and --prefix-strip=LEVEL.
687 * doc/binutils.texi: Document --prefix=PREFIX and
688 --prefix-strip=LEVEL.
690 * objdump.c: Include "filenames.h".
692 (prefix_strip): Likewise.
693 (prefix_length): Likewise.
694 (usage): Add --prefix=PREFIX and --prefix-strip=LEVEL.
695 (option_values): Add OPTION_PREFIX and OPTION_PREFIX_STRIP.
696 (long_options): Likewise.
697 (show_line): Handle prefix and prefix_strip.
698 (main): Handle OPTION_PREFIX and OPTION_PREFIX_STRIP.
700 * readelf.c (PATH_MAX): Moved to ...
703 2009-01-31 Alan Modra <amodra@bigpond.net.au>
705 * NEWS: Mention --as-needed change.
707 2009-01-29 Alan Modra <amodra@bigpond.net.au>
710 * bucomm.c (bfd_nonfatal_message): Use bfd_get_archive_filename.
711 (bfd_get_archive_filename): Constify param.
712 * bucomm.h (bfd_get_archive_filename): Update prototype.
713 * objcopy.c (RETURN_NONFATAL): Delete.
714 (copy_unknown_object): Don't call bfd_get_archive_filename for
715 bfd_nonfatal_message filename, instead just pass bfd.
716 (copy_object): Likewise.
717 (copy_archive, copy_file): Likewise. Expand RETURN_NONFATAL. On
718 bfd_close errors, do not pass the bfd to bfd_nonfatal_message.
719 (setup_bfd_headers): Fix error message.
721 2009-01-27 Nick Clifton <nickc@redhat.com>
724 * objdump.c (disassemble_section): When the target uses signed
725 addresses make sure that we compute signed values.
727 2009-01-27 Nick Clifton <nickc@redhat.com>
729 * MAINTAINERS: Remove Thiemo Seufer's name from the list of MIPS
732 2009-01-26 Nick Clifton <nickc@redhat.com>
735 * dlltool.c (xlate): When strip text after the @ sign, look for
736 the last one not the first one.
738 2009-01-16 Alan Modra <amodra@bigpond.net.au>
740 * configure.in (commonbfdlib): Delete.
741 * configure: Regenerate.
743 2008-01-14 Charles Wilson <cygwin@cwilson.fastmail.fm>
745 Cleanup code related to --identify option.
747 * binutils/dlltool.c (file scope): Removed globals identify_ms,
748 identify_member_contains_symname_result,
749 identify_dll_name_list_head, and identify_dll_name_list_tail.
750 Renamed existing typedef dll_name_list_type to
751 dll_name_list_node_type.
752 Added new typedefs dll_name_list_type, symname_search_data_type,
753 and identify_data_type.
754 (identify_append_dll_name_to_list): Renamed to...
755 (dll_name_list_append): ...here. Changed signature to accept list
756 argument rather than use global.
757 (identify_count_dll_name_list): Renamed to...
758 (dll_name_list_count): ...here. Changed signature to accept list
759 argument rather than use global.
760 (identify_print_dll_name_list): Renamed to...
761 (dll_name_list_print): ...here. Changed signature to accept list
762 argument rather than use global.
763 (identify_free_dll_name_list): Renamed to...
764 (dll_name_list_free_contents): ...here.
765 (dll_name_list_free): New function.
766 (dll_name_list_create): New function.
767 (identify_process_section_p): Changed signature to accept
768 ms_style_implib argument rather than use global.
769 (identify_member_contains_symname): Expect incoming void * data to
770 be symname_search_data_type.
771 (identify_dll_for_implib): Use new functions dll_name_list_create
772 and dll_name_list_free. Use new types symname_search_data_type
773 and identify_data_type to communicate with search routines.
774 (identify_search_section): Expect incoming void * data to be
775 identify_data_type. Use its contents rather than global
778 2009-01-13 Charles Wilson <cygwin@cwilson.fastmail.fm>
780 Add --identify-strict option. Handle ms-style implibs:
782 * dlltool.c (file scope): Added new globals identify_ms and
783 identify_strict. New typedef dll_name_list_type, and globals
784 identify_dll_name_list_head and identify_dll_name_list_tail. Added
785 new global identify_member_contains_symname_result.
786 (identify_append_dll_name_to_list): New function.
787 (identify_count_dll_name_list): New function.
788 (identify_print_dll_name_list): New function.
789 (identify_free_dll_name_list): New function.
790 (identify_search_archive): Changed signature to take function
791 pointer to operation to apply to each member, and data to pass on
793 (identify_search_member): Changed signature to accept user data
795 (identify_member_contains_symname): New function.
796 (identify_dll_for_implib): Rewrite. Now determines whether implib
797 is ms- or binutils- style, before searching sections for
798 dllname. Allows multiple dllnames.
799 (identify_process_section_p): Search alternate section for dllname
800 when implib is ms-style.
801 (identify_search_section): Add additional conditions to excludes
802 candidate sections from consideration.
803 (usage): Added --identify-strict.
804 (long_options): Added --identify-strict.
805 (main): Handle --identify-strict option.
806 * doc/binutils.texi: Document --identify-strict option.
807 * NEWS: Document --identify and --identify-strict options.
809 2009-01-13 Alan Modra <amodra@bigpond.net.au>
812 * doc/binutils.texi (objdump -R): Note effect of -d or -D.
814 2009-01-13 Alan Modra <amodra@bigpond.net.au>
816 * objdump.c (disassemble_section): Don't assume non-instruction
817 data if object symbol at given address is in different section.
819 2009-01-12 Kai Tietz <kai.tietz@onevision.com>
821 * dlltool.c (create_for_pep): New.
822 (flush_page): Use create_for_pep instead of using
823 macro DLLTOOL_MX86_64 clause.
824 (generate_idata_ofile): Likewise.
825 (make_one_lib_file): Likewise.
826 (make_head): Likewise.
827 (make_tail): Likewise.
828 (main): Initialize create_for_pep.
830 2009-01-08 Kai Tietz <kai.tietz@onevision.com>
832 * dlltool.c (use_nul_prefixed_import_tables): New.
833 (make_head): Make prefix leading zero prefix element for
834 idata$4 and idata$5 dependent to new flag.
835 (usage): Add new option --use-nul-prefixed-import-tables.
836 (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
837 (long_options): Add --use-nul-prefixed-import-tables.
839 * doc/binutils.texi: Add new option documentation for
840 --use-nul-prefixed-import-tables.
841 * NEWS: Add new option.
843 2009-01-06 Kai Tietz <kai.tietz@onevision.com>
845 * windres.c (set_endianess): Get architecture name
846 for internal target names like "pe-arm-wince-little".
847 (find_arch_match): New helper.
848 * ChangeLog: Reset it.
849 * ChangeLog-2008: Moved old ChangeLog.
851 For older changes see ChangeLog-2008
857 version-control: never