1 2009-12-18 Ulrich Weigand <uweigand@de.ibm.com>
3 * readelf.c (get_note_type): Handle NT_S390_HIGH_GPRS notes.
5 2009-12-11 Nick Clifton <nickc@redhat.com>
7 * Makefile.in: Regenerate.
8 * doc/Makefile.in: Regenerate.
9 * ar.c: Fix shadowed variable warnings.
11 * coffgrok.c: Likewise.
12 * configure: Likewise.
13 * dlltool.c: Likewise.
14 * dllwrap.c: Likewise.
17 * nlmconv.c: Likewise.
19 * objcopy.c: Likewise.
20 * objdump.c: Likewise.
22 * readelf.c: Likewise.
28 * sysdump.c: Likewise.
29 * sysinfo.y: Likewise.
30 * wrstabs.c: Likewise.
32 2009-12-10 Tristan Gingold <gingold@adacore.com>
34 * addr2line.c (pretty_print): New variable.
35 (long_options): Add an entry for -p/--pretty-print.
36 (usage): Document -p/--pretty-print.
37 (translate_addresses): Handle pretty_print. Reindent.
38 (main): Handle option -p.
39 * doc/binutils.texi (addr2line): Document -p/--pretty-print.
40 * NEWS: Mention new feature.
42 2009-12-09 Tristan Gingold <gingold@adacore.com>
44 * addr2line.c (translate_addresses): Display addresses
46 (with_addresses): New variable.
47 (long_options): Add option '-a'.
48 (usage): Add usage for option '-a'.
49 (main): Handle option '-a'.
50 * doc/binutils.texi (addr2line): Document option '-a'.
51 * NEWS: Mention new feature.
53 2009-12-08 Cary Coutant <ccoutant@google.com>
55 * dwarf.c (dwarf_select_sections_by_names): Handle pubtypes correctly.
56 (debug_displays): Remove duplicate entry for debug_pubtypes.
58 2009-12-03 David Daney <ddaney@caviumnetworks.com>
59 Adam Nemet <adambnemet@gmail.com>
61 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_OCTEON2 case.
63 2009-12-03 Nick Clifton <nickc@redhat.com>
66 * dwarf.c (do_debug_pubtypes): New variable.
67 (dwarf_select_sections_by_names): Handle .debug_pubtypes.
68 (dwarf_select_sections_by_letters): Add 't' for .debug_pubtype.
69 (dwarf_select_sections_all): Set do_debug_pubtypes.
70 (debug_displays): Add support for .debug_pubtypes.
71 * dwarf.h (do_debug_pubtypes): Export.
72 * objdump.c (usage): Add -wt or --dwarf=pubtypes.
73 * readelf.c (usage): Likewise.
74 (process_section_headers): Enable debug display if
75 do_debug_pubtypes is set.
76 * doc/binutils.texi: Document -wt/--dwarf=pubtypes option.
78 2009-12-02 Jerker Bäck <jerker.back@gmail.com>
81 * dlltool.c (PAGE_SIZE): Delete.
82 (PAGE_MASK): Provide default definition based on COFF_PAGE_SIZE.
83 Check for DLLTOOL_DEFAULT_MX86_64 and DLLTOOL_DEFAULT_I386.
85 2009-12-01 Joseph Myers <joseph@codesourcery.com>
87 * readelf.c (get_machine_name, get_osabi_name): Handle more
90 2009-11-30 Joseph Myers <joseph@codesourcery.com>
92 * configure: Regenerate.
94 2009-11-20 Nick Clifton <nickc@redhat.com>
96 * readelf.c: Include xc16x.h.
97 (dump_relocations): Handle relocations for the xc16x target.
98 (get_machine_name): Accept EM_C166 for xc16x targets.
99 (is_32bit_abs_reloc): Add support for xc16c 32-bit absolute reloc.
100 (is_16bit_abs_reloc): Add support for xc16c 16-bit absolute reloc.
101 (is_none_reloc): Add support for xc16c null reloc.
103 2009-11-20 Ben Elliston <bje@au.ibm.com>
105 * Makefile.am (syslex.o): Use $(NO_WERROR) not -Wno-error.
106 (sysinfo.o): Likewise.
107 * Makefile.in: Regenerate.
109 2009-11-19 Ben Elliston <bje@au.ibm.com>
111 * arlex.l: Enable noinput, nounput flex options.
112 * syslex.l: Likewise.
114 2009-11-17 Paul Brook <paul@codesourcery.com>
115 Daniel Jacobowitz <dan@codesourcery.com>
117 * readelf.c (arm_attr_tag_CPU_arch): Add v7E-M.
119 2009-11-16 Kai Tietz <kai.tietz@onevision.com>
121 * windmc.c (set_endianess): Use bfd_get_target_info.
122 * windres.c (set_endianess): Likewise.
123 (find_arch_match): Removed.
125 2009-11-11 Nick Clifton <nickc@redhat.com>
127 * po/id.po: Updated Indonesian translation.
129 2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
131 * configure.in: Stop checking for fopen64 and stat64.
132 * strings.c (file_off, file_open, statbuf, file_stat): Remove.
133 (strings_file): Change file_off to file_ptr, file_open to fopen,
134 statbuf to struct stat and file_stat to stat.
135 (get_char): Change parameter type file_off * to file_ptr *.
136 (print_strings): Change parameter and variable `start' type file_off to
138 * configure: Regenerate.
139 * config.in: Regenerate.
141 2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
143 * configure.in: Call ACX_LARGEFILE. Stop calling AC_PLUGINS,
144 AC_SYS_LARGEFILE and checking the Solaris largefile exception.
145 * aclocal.m4: Regenerate.
146 * configure: Regenerate.
148 2009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
150 * bucomm.c (get_file_size): Update comment for the error return value.
152 2009-11-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
154 * readelf.c (slurp_hppa_unwind_table): Don't relocate address twice.
156 2009-11-05 Kai Tietz <kai.tietz@onevision.com>
158 * dllwrap.c (is_leading_underscore): New variable.
159 (cpu_type): New enum type.
160 (which_cpu): New variable.
161 (usage): Add new options --no-leading-underscore
162 and --leading-underscore.
163 (long_options): Likewise.
164 (OPTION_NO_LEADING_UNDERSCORE): New define.
165 (OPTION_LEADING_UNDERSCORE): Likewise.
166 (main): Initialize which_host, pass new options
167 to dlltool, do underscoring dependent on
168 is_leading_underscore, and do '@12' decoration
171 2009-11-02 Paul Brook <paul@codesourcery.com>
173 * readelf.c (arm_attr_tag_VFP_arch): Add VFPv4 and VFPv4-D16.
175 2009-10-28 Kai Tietz <kai.tietz@onevision.com>
177 * dlltool.c (leading_underscore): New local variable.
178 (asm_prefix): Interpret leading_underscore.
180 (add_excludes): Use leading_underscore for making
182 (gen_exp_file): Use leading_underscore for internal
184 (usage): Add display of --no-leading-underscore and
185 --leading-underscore option.
186 (OPTION_NO_LEADING_UNDERSCORE): New.
187 (OPTION_LEADING_UNDERSCORE): New.
188 (long_options): Add --no-leading-underscore and
189 --leading-underscore option.
190 (main): Handle new options.
191 * doc/binutils.text: Add documentation of the options
192 --no-leading-underscore and --leading-underscore.
194 2009-10-23 Kai Tietz <kai.tietz@onevision.com>
196 * deflex.l: Allow '<' and '>' in ID names.
198 * defparse.y (EQUAL): New token constant.
199 (opt_import_name): New rule for emptry or '==' ID.
200 (expline): Add opt_import_name as last line element.
202 * dlltool.c (ifunct): New member its_name.
204 (append_import): Add its_name argument.
205 (defexports): Likewise.
206 (defimport): Likewise.
207 (scan_drectve_symbols): Adjust calls to def_exports.
208 (dump_def_info): Print new optinal import/export table
210 (generate_idata_ofile): Use its_name member.
211 (make_one_lib_file): Likewise.
212 (nfunc): Take its_name in account on sort.
213 * dlltool.h (def_exports): Add its_name as argument.
214 (def_import): Likewise.
215 * doc/binutils.texi: Add new def file syntax extension.
216 * deflex.l (EQUAL): Add rule for '=='.
217 * NEWS: Mention new feature.
219 2009-10-23 Thomas Cougnard <thomas.cougnard@gmail.com>
221 * readelf.c (dynamic_info): Correct size of array.
223 2009-10-21 Ben Elliston <bje@gnu.org>
225 * MAINTAINERS (BUILD SYSTEM, TESTSUITES): Remove myself.
227 2009-10-19 Jerker Bäck <jerker.back@gmail.com>
230 * prdbg.c (tg_end_struct_type): Warning fix.
233 * dlltool.c (dll_name_list_append): Declare variable at start
235 (dll_name_list_count, dll_name-list_print): Likewise.
237 2009-10-16 Doug Evans <dje@sebabeach.org>
239 * MAINTAINERS: Add myself as m32r maintainer.
241 2009-10-16 Jerker Bäck <jerker.back@gmail.com>
244 * Makefile.am (sysinfo.o, syslex.o): Place source file after all
245 command line switches.
246 * Makefile.in: Regenerate.
248 2009-10-16 Yann Droneaud <yann@droneaud.fr>
251 * dlltool.c (bfd_get_errmsg): New macro.
252 (scan_obj_file): Use it.
253 (make_one_lib_file): Use it.
255 (make_delay_head): Use it.
257 (gen_lib_file): Use it.
258 (identify_dll_for_implib): Use it.
259 (identify_search_archive): Use it.
261 2009-10-16 Nick Clifton <nickc@redhat.com>
263 * readelf.c (usage): Add mention of --debug-dump=frames-interp.
264 Wrap output to 80 columns.
265 * objdump.c (usage): Likewise.
266 * doc/binutils.texi (readelf): Add note about =frames-interp.
268 2009-10-01 Alan Modra <amodra@bigpond.net.au>
270 * addr2line.c (slurp_symtab): Don't use bfd_read_minisymbols.
272 2009-09-29 Nick Clifton <nickc@redhat.com>
274 * doc/binutils.texi (c++filt): Remove spurious description of
275 nonexistent --java command line switch for cxxfilt.
277 2009-09-29 DJ Delorie <dj@redhat.com>
279 * readelf.c: Add support for RX target.
280 * MAINTAINERS: Add DJ and NickC as maintainers for RX.
282 2009-09-28 Alan Modra <amodra@bigpond.net.au>
284 * configure.in: Don't invoke configure.tgt on $enable_targets.
285 * configure: Regenerate.
287 2009-09-28 Nick Clifton <nickc@redhat.com>
290 * readelf.c (get_elf_section_flags): Allow SHN_BEFORE and
291 SHN_AFTER section link values in x86 binaries.
292 (process_section_headers): Likewise.
294 2009-09-25 Dmitry Gorbachev <d.g.gorbachev@gmail.com>
297 * readelf.c: Remove duplicate declaration of variable do_wide.
298 * dwarf.h: Add export of do_wide.
300 2009-09-24 Cary Coutant <ccoutant@google.com>
302 * dwarf.c (get_TAG_name): Add missing DWARF-3 and new DWARF-4 tags.
303 (get_FORM_name): Add new DWARF-4 forms.
304 (read_and_display_attr_value): Add DW_FORM_ref_sig8, DW_LANG_Python.
305 (get_AT_name): Add new DWARF-4 and GNU-specific attributes.
306 (process_debug_info): Add do_types parameter; change all callers.
307 Add support for .debug_types sections.
308 (display_debug_types): New function.
309 (debug_displays): Add .debug_types section.
310 * readelf.c (process_section_headers): Add .debug_types section.
311 (display_debug_section): Simplify call to streq.
313 2009-09-25 Alan Modra <amodra@bigpond.net.au>
315 * readelf.c (print_dynamic_symbol): Format entries as for
317 (process_symbol_table): Use -7s format string for visibility.
319 2009-09-22 Richard Sandiford <rdsandiford@googlemail.com>
321 * objdump.c (disassemble_section): Use bfd_get_arch_size
322 instead of assuming that the address size is 32 bits.
324 2009-09-21 Alan Modra <amodra@bigpond.net.au>
326 * readelf.c (get_ppc_dynamic_type): Add TLSOPT.
327 (get_ppc64_dynamic_type): Likewise.
329 2009-09-18 Nick Clifton <nickc@redhat.com>
331 * po/es.po: Updated Spanish translation.
332 * po/vi.po: Updated Vietnamese translation.
334 2009-09-11 Paul Pluzhnikov <ppluzhnikov@google.com>
336 * readelf.c (process_version_sections, process_symbol_table):
337 Use symbolic constants.
339 2009-09-11 Nick Clifton <nickc@redhat.com>
341 * po/binutils.pot: Updated by the Translation project.
343 2009-09-11 Philippe De Muyter <phdm@macqel.be>
345 * obcopy.c (copy_object): New parameter `input_arch', architecture
346 of input file, if not specified in input file itself; all callers
347 updated; `binary_architecture' hack removed.
348 (copy_archive, copy_file): New parameter `input_arch', for
350 (copy_main): Accept `-B' (`--binary-architecture') option also
351 for any arch-less input ifile format, not only `binary'; remove
352 bfd_external_binary_architecture hack; instead, add `input_arch'
353 to calls to `copy_file'.
354 * windres.c, windmc.c : Obsolete and useless external references
355 to `bfd_external_binary_architecture' or `bfd_external_machine'
357 * doc/binutils.texi: Mention that -B parameter can be used for any
358 input file type which does not have its own architecture.
360 2009-09-10 Martin Thuresson <martin@mtme.org>
362 Update sources to compile cleanly with -Wc++-compat:
363 * addr2line.c (slurp_symtab): Fix casts. Introduce variable
364 minisyms to avoid aliasing varning.
366 (normalize): Use name del instead of delete.
367 (display_target_list,display_info_table): Change loop counter
369 * bucomm.c: Add casts.
370 * debug.c: Update function to use new names.
371 (struct debug_baseclass): Rename member from virtual to
373 (struct debug_type_s, struct debug_field_s, struct
374 debug_baseclass_s, struct debug_method_s, struct
375 debug_method_variant_s, struct debug_type_s): Rename struct from
376 avoid name collision.
377 * debug.h: Use new struct names.
378 * dwarf.c: Add casts.
379 (free_debug_memory): Change loop counter variable a to int.
381 (enum ieee_var_kind): Move to top level.
382 (ieee_class_baseclass): Rename parameter virtual to is_virtual.
383 (ieee_class_method_var): Rename variable virtual to is_virtual.
385 * objcopy.c: Add casts.
386 (copy_archive): Rename variable delete to del.
387 * objdump.c: Add casts.
388 (dump_dwarf_section): Change loop counter variable i to int.
389 * prdbg.c: Add casts.
390 (pr_class_baseclass,tg_class_baseclass): Rename parameters virtual
392 * readelf.c: Add casts.
393 (struct ia64_unw_table_entry,struct hppa_unw_table_entry): Move to
396 * stabs.c (parse_stab_type, parse_stab_range_type,
397 (parse_stab_cpp_abbrev): Rename parameter from typename to
399 (parse_stab_baseclasses): Rename variable virtual to is_virtual.
400 * strings.c: Add casts.
401 * wrstabs.c (stab_class_baseclass): Rename parameter virtual to
404 2009-09-09 Nick Clifton <nickc@redhat.com>
407 readelf.c (get_elf_section_flags): Add support for SHF_EXCLUDE and
409 (process_section_headers): Warn about out of range sh_link
410 values. When displaying detailed section header information
411 annote the SHN_BEFORE and SHN_AFTER values.
413 2009-09-08 Alan Modra <amodra@bigpond.net.au>
415 * dwarf.c (byte_get_little_endian): Handle size of 3.
416 (byte_get_big_endian): Likewise.
417 * readelf.c (byte_put_little_endian): Likewise.
418 (byte_put_big_endian): Likewise.
419 (is_24bit_abs_reloc): New function.
420 (is_none_reloc): Formatting.
421 (apply_relocations): Use is_24bit_abs_reloc. Handle pj and xtensa
424 2009-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
426 * readelf.c (is_none_reloc <EM_XTENSA_OLD>, is_none_reloc <EM_XTENSA>):
429 2009-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
431 * dwarf.c (process_debug_info): Support section padding abbrev codes.
433 2009-09-07 Tristan Gingold <gingold@adacore.com>
435 * po/binutils.pot: Regenerate.
437 2009-09-05 Jan Kratochvil <jan.kratochvil@redhat.com>
439 * Makefile.am (sysdump.o): Depend on sysroff.c.
440 * Makefile.in: Regenerate.
442 2009-09-05 Martin Thuresson <martin@mtme.org>
444 * ieee.c (ieee_read_cxx_misc, ieee_read_cxx_class,
445 ieee_read_reference): Rename variables named class to cxxclass.
447 2009-09-04 Tristan Gingold <gingold@adacore.com>
449 * BRANCHES: Add binutils-2_20-branch.
451 2009-09-04 Tristan Gingold <gingold@adacore.com>
453 * NEWS: Add marker for 2.20.
455 2009-09-04 Timo Kreuzer <timo.kreuzer@web.de>
457 * dlltool.c (delayimp_name): Add new global variable
458 (usage, long_options, main): Add new option "-y" / "--output-delaylib"
459 (struct mac): Add fields how_dljtab_size, how_dljtab_roff1,
460 how_dljtab_roff2, how_dljtab, trampoline.
461 (i386_dljtab): Add binary stub for x86 delay import.
462 (i386_trampoline): Add text assembly stub for x86 delay import.
463 (mtable): Add delay import data for M386 and MX86 only.
464 (make_delay_head): New function.
465 (make_one_lib_file): New arg delay creates delay-load import stub.
466 (gen_lib_file): New arg delay likewise.
467 (HOW_JTAB, HOW_JTAB_SIZE, HOW_JTAB_ROFF): New arg delay likewise.
468 (HOW_JTAB_ROFF2, HOW_JTAB_ROFF3): New macros for delay import.
469 (make_tail): Convert hard TABS embedded in strings to "\t" escapes.
470 * NEWS: Mention new feature. Also fix whitespace.
471 * doc/binutils.texi: Updated dlltool documentation.
473 2009-09-02 Tristan Gingold <gingold@adacore.com>
475 * configure.com: Do not copy makefile.vms-in to makefile.vms
476 * makefile.vms-in: Renamed to...
477 * makefile.vms: ... this usual name as it is not processed anymore.
478 Remove WRITE_DEBUG_OBJS (unused) and reorder object files for
481 2009-09-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
483 * Makefile.am (arparse.o, arlex.o, sysroff.o, defparse.o)
484 (deflex.o, nlmheaders.o, rcparse.o, mcparse.o): Supply correct
485 source file name for generated files which may be in $(srcdir).
486 * Makefile.in: Regenerate.
488 2009-09-01 H.J. Lu <hongjiu.lu@intel.com>
490 * version.c (print_version): Change to "Copyright 2009".
492 2009-09-01 Tristan Gingold <gingold@adacore.com>
494 * makefile.vms-in: Remove unused VERSION variable. Remove unused
496 * configure.com: Ported to Itanium VMS. Create build.com DCL script.
498 2009-08-29 Martin Thuresson <martin@mtme.org>
500 * nlmconv.c (main): Rename variable new to new_name.
502 2009-08-28 H.J. Lu <hongjiu.lu@intel.com>
504 * Makefile.am (sysinfo$(EXEEXT_FOR_BUILD)): Replace
505 CFLAGS/LDFLAGS with CFLAGS_FOR_BUILD/LDFLAGS_FOR_BUILD.
506 (syslex.o): Likewise.
507 (sysinfo.o): Likewise.
508 (bin2c$(EXEEXT_FOR_BUILD)): Likewise.
509 * Makefile.in: Regenerated.
511 2009-08-27 Dave Korn <dave.korn.cygwin@gmail.com>
513 * doc/binutils.texi (--only-keep-debug): Relocate stray para here ...
514 (--subsystem): ... from here.
516 2009-08-24 Cary Coutant <ccoutant@google.com>
518 * objdump.c (find_symbol_for_address): Avoid costly call to
521 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
523 * Makefile.am (am__skiplex, am__skipyacc): New.
524 * Makefile.in: Regenerate.
526 2009-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
528 * Makefile.am (syslex.o): Depend on sysinfo.h config.h.
529 * Makefile.in: Regenerate.
531 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
533 * Makefile.am (AM_CPPFLAGS): Renamed from ...
534 (INCLUDES): ... this.
535 (bin2c$(EXEEXT_FOR_BUILD): Adjust rule.
536 (installcheck-local): Renamed from ...
537 (installcheck): ... this.
538 * Makefile.in: Regenerate.
540 * Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add no-dist and
542 (MKDEP, CLEANFILES): Remove now-unneeded variables.
543 (DEP, DEP1, dep.sed, dep, dep-in, dep-am): Remove.
544 (mkdep section): Remove.
545 (BUILT_SOURCES): New variable, list $(GENERATED_HFILES).
546 (EXTRA_ar_SOURCES): New, list $(CFILES).
547 (syslex.o): Depend on syslex.c.
548 (sysinfo.o): Depend on sysinfo.c.
549 (arparse.h, defparse.h, nlmheaders.h rcparse.h mcparse.h):
550 Remove dependencies, now tracked by automake.
551 (srconv.o): Depend on sysroff.c.
552 (objdump.o, arparse.o, arlex.o, sysroff.o, defparse.o, deflex.o)
553 (nlmheader.o, rcparse.o, mcparse.o, rclex.o, mclex.o, dlltool.o)
554 (rescoff.o, nlmconv.o): Rewrite using automake-style dependency
555 tracking rules; only list the dependency upon the primary source
556 file, but no included headers.
557 * Makefile.in: Regenerate.
559 * Makefile.am (install-pdf, install-pdf-recursive, install-html)
560 (install-html-recursive): Remove.
561 * Makefile.in: Regenerate.
562 * doc/Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
563 (html__strip_dir, install-html, install-html-am): Remove.
564 * doc/Makefile.in: Regenerate.
566 * Makefile.in: Regenerate.
567 * aclocal.m4: Likewise.
568 * config.in: Likewise.
569 * configure: Likewise.
570 * doc/Makefile.in: Likewise.
572 2009-08-17 Nick Clifton <nickc@redhat.com>
574 * readelf.c (is_32bit_abs_reloc): Treat R_PARISC_SECREL32 as a
575 32-bit absolute reloc for the purposes of processing debug
578 2009-08-10 Daniel Gutson <dgutson@codesourcery.com>
580 * readelf.c (get_arm_section_type_name): Added support for
581 new sections headers.
583 2009-08-03 H.J. Lu <hongjiu.lu@intel.com>
586 * objcopy.c (strip_main): Check return from smart_rename.
587 (copy_main): Likewise.
589 2009-07-27 Nick Clifton <nickc@redhat.com>
592 * objdump.c (dump_section_header): Skip sections that we are
595 2009-07-25 H.J. Lu <hongjiu.lu@intel.com>
597 * readelf.c (guess_is_rela): Handle EM_L1OM.
598 (dump_relocations): Likewise.
599 (get_machine_name): Likewise.
600 (get_section_type_name): Likewise.
601 (get_elf_section_flags): Likewise.
602 (get_symbol_index_type): Likewise.
603 (is_32bit_abs_reloc): Likewise.
604 (is_32bit_pcrel_reloc): Likewise.
605 (is_64bit_abs_reloc): Likewise.
606 (is_64bit_pcrel_reloc): Likewise.
607 (is_none_reloc): Likewise.
609 2009-07-23 Ulrich Drepper <drepper@redhat.com>
611 * readelf.c (get_symbol_binding): For Linux targeted files return
612 UNIQUE for symbols with the STB_GNU_UNIQUE binding.
613 * doc/binutils.texi: Document the meaning of the 'u' symbol
614 binding in the output of nm and objdump --syms.
616 2009-07-20 H.J. Lu <hongjiu.lu@intel.com>
618 * NEWS: Mention --insn-width.
620 * objdump.c (insn_width): New.
621 (usage): Display --insn-width.
622 (option_values): Add OPTION_INSN_WIDTH.
623 (long_options): Add --insn-width.
624 (disassemble_bytes): Handle insn_width.
625 (main): Handle OPTION_INSN_WIDTH.
627 * doc/binutils.texi: Document --insn-width.
629 2009-07-17 Nick Clifton <nickc@redhat.com>
631 * dwarf.c (display_debug_lines): If do_debug_lines has not been
632 set then default to displaying raw .debug_line section contents.
634 2009-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
636 Support unordered .debug_info references to .debug_ranges.
637 * dwarf.c (struct range_entry, range_entry_compar): New.
638 (display_debug_ranges): Remove variables last_offset, first, j,
639 seen_first_offset, use_debug_info and next. New variables
640 range_entries and range_entry_fill. Create the sorted copy
641 range_entries. Remove the FIXME error on detected unordered references.
642 * dwarf.h (debug_info <range_lists>): New comment.
644 2009-07-14 Nick Clifton <nickc@redhat.com>
647 * README: Document use of LDFLAGS="--static".
649 2009-07-10 H.J. Lu <hongjiu.lu@intel.com>
651 * Makefile.am: Run "make dep-am".
652 * Makefile.in: Regenerated.
654 2009-07-10 Tom Tromey <tromey@redhat.com>
656 * Makefile.am (dwarf.o): Refer to dwarf2.h, not elf/dwarf2.h.
657 * Makefile.in: Rebuild.
658 * dwarf.c: Include dwarf2.h, not elf/dwarf2.h.
660 2009-07-06 Tristan Gingold <gingold@adacore.com>
662 * objdump.c (dump_dwarf_section): Handle .eh_frame like other dwarf
664 * dwarf.h (struct dwarf_section_display): Remove eh_frame field.
665 * dwarf.c (debug_displays): Adjust for removed field.
667 2009-07-03 Jakub Jelinek <jakub@redhat.com>
669 * dwarf.c (decode_location_expression): Handle DW_OP_stack_value
670 and DW_OP_implicit_value.
672 2009-07-01 Nick Clifton <nickc@redhat.com>
675 * rclex.c (handle_quotes): Do not complain about whitespace
676 separating quoted strings.
677 (rclex_string): Ignore whitespace when looking for a new opening
678 quote following a closing quote.
680 2009-06-27 H.J. Lu <hongjiu.lu@intel.com>
683 * bucomm.c (get_file_size): Return -1 on error.
685 * objcopy.c (copy_file): Report empty file.
687 2009-06-23 Nick Clifton <nickc@redhat.com>
689 * dwarf.c (display_debug_lines_raw): Include the name of the
690 section in warning message.
691 (struct debug_display): Enable reloc processing for .debug_line
692 and .debug_ranges sections.
694 * readelf.c: Add --relocated-dump command line option to dump the
695 relocated contents of a specified section.
696 (request_dump): New function.
697 (parse_args): Use it.
698 (dump_section_as_bytes): Add parameter to indicate whether the
699 contents should be relocated.
700 (target_specific_reloc_handling): Add code for a R_MN10300_16
701 reloc found after a R_MN10300_SYM_DIFF reloc.
702 (debug_apply_relocations): Rename to apply_relocations.
703 (get_section_contents): New function. Replaces common code found
704 in dump_section_as_strings and dump_section_as_bytes.
705 * doc/binutils.texi: Document new command line option.
706 * NEWS: Mention the new feature.
708 2009-06-22 Nick Clifton <nickc@redhat.com>
710 * readelf.c (target_specific_reloc_handling): New function:
711 Processes relocs in a target specific manner.
712 (debug_apply_relocations): Use the new function.
713 * dwarf.c (display_debug_loc): End the dump with a blank line.
714 (struct debug_display): Enable reloc processing for .debug_aranges
715 and .debug_loc sections.
717 2009-06-19 Nick Clifton <nickc@redhat.com>
719 * ar.c (usage): Do not use #ifdef inside _("...).
720 * nm.c (usage): Likewise.
722 2009-06-18 Nick Clifton <nickc@redhat.com>
725 * objdump.c (disassemble_bytes): Set the
726 USER_SPECIFIED_MACHINE_TYPE flag in the disassemble_info structure
727 if the user has invoked the -m switch.
728 * doc/binutils.texi: Document the additional behaviour of
729 objdump's -m switch for ARM targets.
731 2009-06-18 Dave Korn <dave.korn.cygwin@gmail.com>
733 * configure.in: Merge cegcc and mingw32ce target name changes from
736 2007-12-25 Pedro Alves <pedro_alves@portugalmail.pt>
738 * configure.in: Add arm*-*-cegcc* and arm*-*-mingw32ce* targets.
739 * configure: Regenerate.
741 2009-06-15 Nick Clifton <nickc@redhat.com>
744 * objdump.c (disassemble_bytes): Set the DISASSEMBLE_DATA bit in
745 the flags field of the disassemble_info structure if the -D switch
748 2009-06-12 Homer Xing <homer.xing@yahoo.com>
750 * NEWS: Mention new feature added to gprof.
752 2009-06-12 John Reiser <jreiser@BitWagon.com>
754 * readelf.c (process_symbol_table): Set gnubuckets to NULL after
755 freeing it and before returning.
757 2009-06-12 Jakub Jelinek <jakub@redhat.com>
759 * readelf.c (process_symbol_table): Don't return early if
760 .hash/.gnu.hash is empty/unusable and not -D.
762 2009-06-09 Tom Bramer <tjb@postpro.net>
765 * winduni.c (wind_MultiByteToWideChar): Do not pass MB_PRECOMPOSED
766 to MultiByteToWideChar when using the CP_UTF8 or CO_UTF7 types.
768 2009-06-04 Alan Modra <amodra@bigpond.net.au>
770 * strings.c (main): Delay parsing of decimal digits.
772 2009-06-04 Alan Modra <amodra@bigpond.net.au>
774 * dep-in.sed: Don't use \n in replacement part of s command.
775 * Makefile.am (DEP1): LC_ALL for uniq.
777 * Makefile.in: Regenerate.
779 2009-06-03 Tristan Gingold <gingold@adacore.com>
781 * MAINTAINERS: Add myself as Mach-O maintainer.
783 2009-06-01 Alan Modra <amodra@bigpond.net.au>
786 * doc/binutils.texi (nm): Correct -S description.
788 2009-05-28 Nick Clifton <nickc@redhat.com>
790 * po/da.po: Updated Danish translation.
792 2009-05-28 Nick Clifton <nickc@redhat.com>
794 * readelf.c (display_debug_section): Do not display debug sections
795 with the NOBITS section type.
797 2009-05-27 Rafael Avila de Espindola <espindola@google.com>
799 * aclocal.m4: Include ../config/plugins.m4.
800 * configure.in: Use AC_PLUGINS.
801 * configure: Regenerate.
802 * Makefile.in: Regenerate.
803 * doc/Makefile.in: Regenerate.
805 2009-05-27 Rafael Avila de Espindola <espindola@google.com>
807 * ar.c (main): Call bfd_plugin_set_program_name.
808 * nm.c (main): Call bfd_plugin_set_program_name.
810 2009-05-27 Nathan Sidwell <nathan@codesourcery.com>
812 * sysdump.c (tab): Use puts rather than two printfs.
814 2009-05-26 Nick Clifton <nickc@redhat.com>
816 * po/id.po: Updated Indonesian translation.
817 * po/binutils.pot: Updated template file.
819 2009-05-26 Rafael Avila de Espindola <espindola@google.com>
821 * ar.c: Include plugin.h.
822 (main): Handle the --plugin option.
823 * nm.c: Include plugin.h.
824 (OPTION_PLUGIN): New.
825 (long_options): Add plugin.
826 (main): Handle OPTION_PLUGIN.
827 * NEWS: Mention the new feature.
828 * doc/binutils: Documement the new command line options.
829 * configure.in: Check for --enable-plugins.
830 * configure: Regenerate.
832 2009-05-26 Alan Modra <amodra@bigpond.net.au>
834 * dep-in.sed: Output one filename per line with all lines having
835 continuation backslash. Prefix first line with "A", following
837 * Makefile.am (DEP): Don't use dep.sed here.
838 (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
840 * Makefile.in: Regenerate.
842 2009-05-25 Tristan Gingold <gingold@adacore.com>
844 * makefile.vms-in: Fix CFLAGS, add addr2line.exe target.
846 * configure.com: Fix it: handle alloca and define TARGET in config.h.
848 2009-05-22 Alan Modra <amodra@bigpond.net.au>
850 * Makefile.am: Run "make dep-am".
851 * Makefile.in: Regenerate.
853 2009-05-12 Alan Modra <amodra@bigpond.net.au>
855 * objcopy.c (set_long_section_mode): Check input_bfd is coff
856 before accessing coff specific fields of bfd.
858 2009-05-09 Dave Korn <dave.korn.cygwin@gmail.com>
860 * MAINTAINERS: Add myself as PE/COFF co-maintainer.
862 2009-05-08 Kai Tietz <kai.tietz@onevision.com>
864 * winduni.c (iconv_onechar): Only define when HAVE_ICONV
865 is defined, but not when __CYGWIN__ or _WIN32 are defined.
866 See wind_iconv_cp for call logic of this local funtion.
868 2009-05-05 Guillaume Duhamel <guillaume.duhamel@gmail.com>
871 * winduni.c: Replace test of HAVE_ICONV_H with a test of
873 (iconv_onechar): Use ICONV_CONST instead of "const".
874 (wind_MultiByteToWideChar): Initialise local strings.
876 2009-04-30 Nick Clifton <nickc@redhat.com>
878 * readelf.c (dump_relocations): Display a relocation against an
879 ifunc symbol as if it were a function invocation.
880 (get_symbol_type): Handle STT_GNU_IFUNC.
882 2009-04-29 Anthony Green <green@moxielogic.com>
884 * NEWS: Tweak verilog support description.
886 2009-04-29 Alan Modra <amodra@bigpond.net.au>
887 Denis Scherbakov <denis_scherbakov@yahoo.com>
889 * readelf.c (slurp_ia64_unwind_table): Correct 64-bit unwind table
890 read, and merge with 32-bit case.
892 2009-04-27 Anthony Green <green@moxielogic.com>
894 * NEWS: Mention verilog support added to bfd.
896 2009-04-27 H.J. Lu <hongjiu.lu@intel.com>
898 * objcopy.c (copy_object): Copy pe_opthdr before changing PE
901 2009-04-24 Cary Coutant <ccoutant@google.com>
903 * dwarf.c (process_extended_line_op): Add DW_LNE_set_discriminator.
904 Add missing newlines to HP extensions.
906 2009-04-17 H.J. Lu <hongjiu.lu@intel.com>
908 * objcopy.c (set_pe_subsystem): Replace efi-rom with sal-rtd.
909 * doc/binutils.texi: Likewise.
911 2009-04-17 H.J. Lu <hongjiu.lu@intel.com>
914 * objcopy.c: Include coff/i386.h and coff/pe.h.
915 (pe_file_alignment): New.
916 (pe_heap_commit): Likewise.
917 (pe_heap_reserve): Likewise.
918 (pe_image_base): Likewise.
919 (pe_section_alignment): Likewise.
920 (pe_stack_commit): Likewise.
921 (pe_stack_reserve): Likewise.
922 (pe_subsystem): Likewise.
923 (pe_major_subsystem_version): Likewise.
924 (pe_minor_subsystem_version): Likewise.
925 (set_pe_subsystem): Likewise.
926 (convert_efi_target): Likewise.
927 (command_line_switch): Add OPTION_FILE_ALIGNMENT,
928 OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT,
929 OPTION_STACK and OPTION_SUBSYSTEM.
930 (copy_options): Likewise.
931 (copy_usage): Add --file-alignment, --heap, --image-base,
932 --section-alignment, --stack and --subsystem.
933 (copy_object): Set up PE parameters.
934 (copy_main): Process Add OPTION_FILE_ALIGNMENT,
935 OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT,
936 OPTION_STACK and OPTION_SUBSYSTEM. Convert EFI target to
939 * NEWS: Mention --file-alignment, --heap, --image-base,
940 --section-alignment, --stack and --subsystem command line
943 * doc/binutils.texi: Document --file-alignment, --heap,
944 --image-base, --section-alignment, --stack and --subsystem
945 command line options for objcopy.
947 2009-04-15 Anthony Green <green@moxielogic.com>
949 * MAINTAINERS: Add myself as Moxie port maintainer.
951 2009-04-14 Dave Korn <dave.korn.cygwin@gmail.com>
953 * objcopy.c (enum long_section_name_handling): New enum type.
954 (enum command_line_switch): Add OPTION_LONG_SECTION_NAMES.
955 (copy_options[]): Add entry for --long-section-names option.
956 (copy_usage): Document it.
957 (set_long_section_mode): New subroutine.
958 (copy_file): Call it.
959 (copy_main): Accept OPTION_LONG_SECTION_NAMES and parse arg.
960 * doc/binutils.texi: Update objcopy documentation with details
963 2009-04-01 Dave Korn <dave.korn.cygwin@gmail.com>
965 * dlltool.c (set_dll_name_from_def): Accept new second arg that
966 indicates if we are building DLL or EXE, and use it to add a
967 default suffix to the output filename when none is already present.
968 (def_name): Indicate we are building an EXE when calling it.
969 (def_library): Indicate we are building a DLL when calling it.
971 2009-04-01 Jari Aalto <jari.aalto@cante.net>
974 * doc/binutils.texi (strings): Document the -V alias for the
976 * strings.c (usage): Likewise.
978 2009-03-31 Nick Clifton <nickc@redhat.com>
981 * configure.in: Import Solaris specific largefile test from
983 * configure: Regenerate.
985 2009-03-30 Richard Sandiford <rdsandiford@googlemail.com>
987 * MAINTAINERS: Add self.
989 2009-03-27 Nick Clifton <nickc@redhat.com>
991 * dwarf.c (display_debug_ranges): Add the base address to the
992 displayed values for 'Begin' and 'End'.
994 2009-03-25 Ryan Mansfield <rmansfield@qnx.com>
996 * readelf.c (process_file_header): Don't report a corrupt string
997 table index if it is zero.
999 2009-03-19 H.J. Lu <hongjiu.lu@intel.com>
1001 * dwarf.c (dwarf_regnames): Moved before frame_need_space.
1002 (dwarf_regnames_count): Likewise.
1003 (frame_need_space): Return int.
1004 (display_debug_frames): Check invalid registers.
1006 2009-03-19 H.J. Lu <hongjiu.lu@intel.com>
1008 * readelf.c (debug_apply_relocations): Check relocations
1009 against STT_SECTION symbol.
1011 2009-03-18 H.J. Lu <hongjiu.lu@intel.com>
1013 * readelf.c (debug_apply_relocations): Allow relocations
1014 against function symbols.
1016 2009-03-18 Alan Modra <amodra@bigpond.net.au>
1018 * sysdep.h: Include alloca-conf.h instead of config.h and remove
1019 existing #if's handling alloca.
1020 * Makefile.am: Run "make dep-am".
1021 * Makefile.in: Regenerate.
1023 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
1025 * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
1026 * configure.in: Likewise.
1027 * configure: Regenerate.
1029 2009-03-13 H.J. Lu <hongjiu.lu@intel.com>
1032 * objcopy.c (copy_object): Clear HAS_RELOC when stripping all.
1034 2009-03-11 Chris Demetriou <cgd@google.com>
1036 * ar.c (deterministic): New global variable.
1037 (main): Recognize new 'D' option, which enables 'deterministic mode'.
1038 (usage): Document new 'D' option.
1039 (write_archive): Set BFD_DETERMINISTIC_OUTPUT in output archive's
1040 flags if deterministic mode was requested.
1041 * doc/binutils.texi (ar): Document deterministic mode ('D' option).
1043 2009-03-09 H.J. Lu <hongjiu.lu@intel.com>
1046 * objcopy.c (filter_symbols): Properly handle common symbols
1047 in relocatable file.
1049 2009-03-06 Nick Clifton <nickc@redhat.com>
1051 * po/es.po: Updated Spanish translation.
1053 2009-03-05 Nick Clifton <nickc@redhat.com>
1055 * objdump.c (disassemble_section): If the computed next offset is
1056 not beyond the current offset then just continue to the end.
1058 2009-03-04 Tristan Gingold <gingold@adacore.com>
1060 * MAINTAINERS: Add myself as VMS maintainer.
1062 2009-03-03 Nick Clifton <nickc@redhat.com>
1064 * readelf.c: Update formatting.
1066 2009-03-03 Alan Modra <amodra@bigpond.net.au>
1068 * Makefile.am: Run "make dep-am".
1069 * Makefile.in: Regenerate.
1071 2009-03-03 Alan Modra <amodra@bigpond.net.au>
1073 * objdump.c (disassemble_section): Mask address before sign extending.
1075 2009-03-02 Sebastian Biallas <sb@biallas.net>
1077 * ieee.c (parse_ieee_ty): Add support for undocumented 'v' type.
1078 (parse_ieee_bb): Set the filename if it has not already been
1081 2009-03-02 Cary Coutant <ccoutant@google.com>
1083 * readelf.c (adjust_relative_path): New function.
1084 (struct archive_info): New type.
1085 (setup_archive): New function.
1086 (release_archive): New function.
1087 (setup_nested_archive): New function.
1088 (get_archive_member_name): New function.
1089 (get_archive_member_name_at): New function.
1090 (make_qualified_name): New function.
1091 (process_archive): Factor out code for reading archive index and
1092 long filename table to setup_archive. Add support for thin archives.
1094 2009-03-02 Nick Clifton <nickc@redhat.com>
1096 * po/sk.po: Updated Slovak translation.
1098 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1100 * configure: Regenerate.
1102 2009-02-23 Cary Coutant <ccoutant@google.com>
1104 * objdump.c (load_specific_debug_section): New function, from
1106 (load_debug_section): Use load_specific_debug_section.
1107 (dump_dwarf_section): Likewise.
1109 2009-02-23 Cary Coutant <ccoutant@google.com>
1111 * readelf.c (parse_args): Select all sections explicitly for -w.
1113 2009-02-09 Kai Tietz <kai.tietz@onevision.com>
1115 * windres.c (set_endianess): Copy name without leading '-'.
1117 2009-02-09 Tristan Gingold <gingold@adacore.com>
1119 * NEWS: Mention feature match between objdump and readelf for dumping
1122 * doc/binutils.texi (objdump): Document -W/--dwarf improvments to
1125 * objdump.c (usage): Update documentation for -W/--dwarf.
1126 (enum option_values): Add OPTION_DWARF.
1127 (long_options): --dwarf can accept arguments.
1128 (dump_dwarf_section): Also check enabled field.
1129 (main): Option -W can accept arguments, code moved to
1130 dwarf.c and call dwarf_select_sections_all instead.
1131 * readelf.c (process_section_headers): Remove do_debug_lines_decoded.
1132 (parse_args): Move code to...
1133 * dwarf.c (dwarf_select_sections_by_letters,
1134 dwarf_select_sections_by_names): : ...here (new functions).
1135 (do_debug_lines_decoded): Remove and replaced by ...
1136 (FLAG_DEBUG_LINES_RAW, FLAG_DEBUG_LINES_DECODED): ... new macros.
1137 (display_debug_lines): Adjust for previous change.
1138 (dwarf_select_sections_all): New function.
1139 (debug_displays): Add initializer for enabled field.
1140 * dwarf.h (do_debug_lines_decoded): Remove.
1141 Add prototypes for the new functions.
1142 (struct dwarf_section_display): Add enabled field.
1144 2009-02-06 Nick Clifton <nickc@redhat.com>
1146 * po/vi.po: Updated Vietnamese translation.
1148 2009-02-03 Sandip Matte <sandip@rmicorp.com>
1150 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_XLR.
1152 2009-02-03 H.J. Lu <hongjiu.lu@intel.com>
1154 * NEWS: Move --as-needed change to ...
1157 2009-02-03 Carlos O'Donell <carlos@codesourcery.com>
1159 * configure.in: AC_SUBST pdfdir.
1160 * Makefile.am: Add install-pdf, install-pdf-am,
1161 and install-pdf-recursive targets.
1162 * doc/Makefile.am: Define pdf__strip_dir. Add
1163 install-pdf and install-pdf-am targets.
1164 * po/Make-in: Add install-pdf target.
1165 * configure: Regenerate.
1166 * Makefile.in: Regenerate.
1167 * doc/Makefile.in: Regenerate.
1169 2009-02-03 H.J. Lu <hongjiu.lu@intel.com>
1172 * NEWS: Mention --prefix=PREFIX and --prefix-strip=LEVEL.
1174 * doc/binutils.texi: Document --prefix=PREFIX and
1175 --prefix-strip=LEVEL.
1177 * objdump.c: Include "filenames.h".
1179 (prefix_strip): Likewise.
1180 (prefix_length): Likewise.
1181 (usage): Add --prefix=PREFIX and --prefix-strip=LEVEL.
1182 (option_values): Add OPTION_PREFIX and OPTION_PREFIX_STRIP.
1183 (long_options): Likewise.
1184 (show_line): Handle prefix and prefix_strip.
1185 (main): Handle OPTION_PREFIX and OPTION_PREFIX_STRIP.
1187 * readelf.c (PATH_MAX): Moved to ...
1190 2009-01-31 Alan Modra <amodra@bigpond.net.au>
1192 * NEWS: Mention --as-needed change.
1194 2009-01-29 Alan Modra <amodra@bigpond.net.au>
1197 * bucomm.c (bfd_nonfatal_message): Use bfd_get_archive_filename.
1198 (bfd_get_archive_filename): Constify param.
1199 * bucomm.h (bfd_get_archive_filename): Update prototype.
1200 * objcopy.c (RETURN_NONFATAL): Delete.
1201 (copy_unknown_object): Don't call bfd_get_archive_filename for
1202 bfd_nonfatal_message filename, instead just pass bfd.
1203 (copy_object): Likewise.
1204 (copy_archive, copy_file): Likewise. Expand RETURN_NONFATAL. On
1205 bfd_close errors, do not pass the bfd to bfd_nonfatal_message.
1206 (setup_bfd_headers): Fix error message.
1208 2009-01-27 Nick Clifton <nickc@redhat.com>
1211 * objdump.c (disassemble_section): When the target uses signed
1212 addresses make sure that we compute signed values.
1214 2009-01-27 Nick Clifton <nickc@redhat.com>
1216 * MAINTAINERS: Remove Thiemo Seufer's name from the list of MIPS
1219 2009-01-26 Nick Clifton <nickc@redhat.com>
1222 * dlltool.c (xlate): When strip text after the @ sign, look for
1223 the last one not the first one.
1225 2009-01-16 Alan Modra <amodra@bigpond.net.au>
1227 * configure.in (commonbfdlib): Delete.
1228 * configure: Regenerate.
1230 2008-01-14 Charles Wilson <cygwin@cwilson.fastmail.fm>
1232 Cleanup code related to --identify option.
1234 * dlltool.c (file scope): Removed globals identify_ms,
1235 identify_member_contains_symname_result,
1236 identify_dll_name_list_head, and identify_dll_name_list_tail.
1237 Renamed existing typedef dll_name_list_type to
1238 dll_name_list_node_type.
1239 Added new typedefs dll_name_list_type, symname_search_data_type,
1240 and identify_data_type.
1241 (identify_append_dll_name_to_list): Renamed to...
1242 (dll_name_list_append): ...here. Changed signature to accept list
1243 argument rather than use global.
1244 (identify_count_dll_name_list): Renamed to...
1245 (dll_name_list_count): ...here. Changed signature to accept list
1246 argument rather than use global.
1247 (identify_print_dll_name_list): Renamed to...
1248 (dll_name_list_print): ...here. Changed signature to accept list
1249 argument rather than use global.
1250 (identify_free_dll_name_list): Renamed to...
1251 (dll_name_list_free_contents): ...here.
1252 (dll_name_list_free): New function.
1253 (dll_name_list_create): New function.
1254 (identify_process_section_p): Changed signature to accept
1255 ms_style_implib argument rather than use global.
1256 (identify_member_contains_symname): Expect incoming void * data to
1257 be symname_search_data_type.
1258 (identify_dll_for_implib): Use new functions dll_name_list_create
1259 and dll_name_list_free. Use new types symname_search_data_type
1260 and identify_data_type to communicate with search routines.
1261 (identify_search_section): Expect incoming void * data to be
1262 identify_data_type. Use its contents rather than global
1265 2009-01-13 Charles Wilson <cygwin@cwilson.fastmail.fm>
1267 Add --identify-strict option. Handle ms-style implibs:
1269 * dlltool.c (file scope): Added new globals identify_ms and
1270 identify_strict. New typedef dll_name_list_type, and globals
1271 identify_dll_name_list_head and identify_dll_name_list_tail. Added
1272 new global identify_member_contains_symname_result.
1273 (identify_append_dll_name_to_list): New function.
1274 (identify_count_dll_name_list): New function.
1275 (identify_print_dll_name_list): New function.
1276 (identify_free_dll_name_list): New function.
1277 (identify_search_archive): Changed signature to take function
1278 pointer to operation to apply to each member, and data to pass on
1280 (identify_search_member): Changed signature to accept user data
1282 (identify_member_contains_symname): New function.
1283 (identify_dll_for_implib): Rewrite. Now determines whether implib
1284 is ms- or binutils- style, before searching sections for
1285 dllname. Allows multiple dllnames.
1286 (identify_process_section_p): Search alternate section for dllname
1287 when implib is ms-style.
1288 (identify_search_section): Add additional conditions to excludes
1289 candidate sections from consideration.
1290 (usage): Added --identify-strict.
1291 (long_options): Added --identify-strict.
1292 (main): Handle --identify-strict option.
1293 * doc/binutils.texi: Document --identify-strict option.
1294 * NEWS: Document --identify and --identify-strict options.
1296 2009-01-13 Alan Modra <amodra@bigpond.net.au>
1299 * doc/binutils.texi (objdump -R): Note effect of -d or -D.
1301 2009-01-13 Alan Modra <amodra@bigpond.net.au>
1303 * objdump.c (disassemble_section): Don't assume non-instruction
1304 data if object symbol at given address is in different section.
1306 2009-01-12 Kai Tietz <kai.tietz@onevision.com>
1308 * dlltool.c (create_for_pep): New.
1309 (flush_page): Use create_for_pep instead of using
1310 macro DLLTOOL_MX86_64 clause.
1311 (generate_idata_ofile): Likewise.
1312 (make_one_lib_file): Likewise.
1313 (make_head): Likewise.
1314 (make_tail): Likewise.
1315 (main): Initialize create_for_pep.
1317 2009-01-08 Kai Tietz <kai.tietz@onevision.com>
1319 * dlltool.c (use_nul_prefixed_import_tables): New.
1320 (make_head): Make prefix leading zero prefix element for
1321 idata$4 and idata$5 dependent to new flag.
1322 (usage): Add new option --use-nul-prefixed-import-tables.
1323 (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
1324 (long_options): Add --use-nul-prefixed-import-tables.
1326 * doc/binutils.texi: Add new option documentation for
1327 --use-nul-prefixed-import-tables.
1328 * NEWS: Add new option.
1330 2009-01-06 Kai Tietz <kai.tietz@onevision.com>
1332 * windres.c (set_endianess): Get architecture name
1333 for internal target names like "pe-arm-wince-little".
1334 (find_arch_match): New helper.
1335 * ChangeLog: Reset it.
1336 * ChangeLog-2008: Moved old ChangeLog.
1338 For older changes see ChangeLog-2008
1344 version-control: never