1 2009-12-21 Alan Modra <amodra@gmail.com>
3 * MAINTAINERS: Update my email address.
5 2009-12-18 Ulrich Weigand <uweigand@de.ibm.com>
7 * readelf.c (get_note_type): Handle NT_S390_HIGH_GPRS notes.
9 2009-12-11 Nick Clifton <nickc@redhat.com>
11 * Makefile.in: Regenerate.
12 * doc/Makefile.in: Regenerate.
13 * ar.c: Fix shadowed variable warnings.
15 * coffgrok.c: Likewise.
16 * configure: Likewise.
17 * dlltool.c: Likewise.
18 * dllwrap.c: Likewise.
21 * nlmconv.c: Likewise.
23 * objcopy.c: Likewise.
24 * objdump.c: Likewise.
26 * readelf.c: Likewise.
32 * sysdump.c: Likewise.
33 * sysinfo.y: Likewise.
34 * wrstabs.c: Likewise.
36 2009-12-10 Tristan Gingold <gingold@adacore.com>
38 * addr2line.c (pretty_print): New variable.
39 (long_options): Add an entry for -p/--pretty-print.
40 (usage): Document -p/--pretty-print.
41 (translate_addresses): Handle pretty_print. Reindent.
42 (main): Handle option -p.
43 * doc/binutils.texi (addr2line): Document -p/--pretty-print.
44 * NEWS: Mention new feature.
46 2009-12-09 Tristan Gingold <gingold@adacore.com>
48 * addr2line.c (translate_addresses): Display addresses
50 (with_addresses): New variable.
51 (long_options): Add option '-a'.
52 (usage): Add usage for option '-a'.
53 (main): Handle option '-a'.
54 * doc/binutils.texi (addr2line): Document option '-a'.
55 * NEWS: Mention new feature.
57 2009-12-08 Cary Coutant <ccoutant@google.com>
59 * dwarf.c (dwarf_select_sections_by_names): Handle pubtypes correctly.
60 (debug_displays): Remove duplicate entry for debug_pubtypes.
62 2009-12-03 David Daney <ddaney@caviumnetworks.com>
63 Adam Nemet <adambnemet@gmail.com>
65 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_OCTEON2 case.
67 2009-12-03 Nick Clifton <nickc@redhat.com>
70 * dwarf.c (do_debug_pubtypes): New variable.
71 (dwarf_select_sections_by_names): Handle .debug_pubtypes.
72 (dwarf_select_sections_by_letters): Add 't' for .debug_pubtype.
73 (dwarf_select_sections_all): Set do_debug_pubtypes.
74 (debug_displays): Add support for .debug_pubtypes.
75 * dwarf.h (do_debug_pubtypes): Export.
76 * objdump.c (usage): Add -wt or --dwarf=pubtypes.
77 * readelf.c (usage): Likewise.
78 (process_section_headers): Enable debug display if
79 do_debug_pubtypes is set.
80 * doc/binutils.texi: Document -wt/--dwarf=pubtypes option.
82 2009-12-02 Jerker Bäck <jerker.back@gmail.com>
85 * dlltool.c (PAGE_SIZE): Delete.
86 (PAGE_MASK): Provide default definition based on COFF_PAGE_SIZE.
87 Check for DLLTOOL_DEFAULT_MX86_64 and DLLTOOL_DEFAULT_I386.
89 2009-12-01 Joseph Myers <joseph@codesourcery.com>
91 * readelf.c (get_machine_name, get_osabi_name): Handle more
94 2009-11-30 Joseph Myers <joseph@codesourcery.com>
96 * configure: Regenerate.
98 2009-11-20 Nick Clifton <nickc@redhat.com>
100 * readelf.c: Include xc16x.h.
101 (dump_relocations): Handle relocations for the xc16x target.
102 (get_machine_name): Accept EM_C166 for xc16x targets.
103 (is_32bit_abs_reloc): Add support for xc16c 32-bit absolute reloc.
104 (is_16bit_abs_reloc): Add support for xc16c 16-bit absolute reloc.
105 (is_none_reloc): Add support for xc16c null reloc.
107 2009-11-20 Ben Elliston <bje@au.ibm.com>
109 * Makefile.am (syslex.o): Use $(NO_WERROR) not -Wno-error.
110 (sysinfo.o): Likewise.
111 * Makefile.in: Regenerate.
113 2009-11-19 Ben Elliston <bje@au.ibm.com>
115 * arlex.l: Enable noinput, nounput flex options.
116 * syslex.l: Likewise.
118 2009-11-17 Paul Brook <paul@codesourcery.com>
119 Daniel Jacobowitz <dan@codesourcery.com>
121 * readelf.c (arm_attr_tag_CPU_arch): Add v7E-M.
123 2009-11-16 Kai Tietz <kai.tietz@onevision.com>
125 * windmc.c (set_endianess): Use bfd_get_target_info.
126 * windres.c (set_endianess): Likewise.
127 (find_arch_match): Removed.
129 2009-11-11 Nick Clifton <nickc@redhat.com>
131 * po/id.po: Updated Indonesian translation.
133 2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
135 * configure.in: Stop checking for fopen64 and stat64.
136 * strings.c (file_off, file_open, statbuf, file_stat): Remove.
137 (strings_file): Change file_off to file_ptr, file_open to fopen,
138 statbuf to struct stat and file_stat to stat.
139 (get_char): Change parameter type file_off * to file_ptr *.
140 (print_strings): Change parameter and variable `start' type file_off to
142 * configure: Regenerate.
143 * config.in: Regenerate.
145 2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
147 * configure.in: Call ACX_LARGEFILE. Stop calling AC_PLUGINS,
148 AC_SYS_LARGEFILE and checking the Solaris largefile exception.
149 * aclocal.m4: Regenerate.
150 * configure: Regenerate.
152 2009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
154 * bucomm.c (get_file_size): Update comment for the error return value.
156 2009-11-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
158 * readelf.c (slurp_hppa_unwind_table): Don't relocate address twice.
160 2009-11-05 Kai Tietz <kai.tietz@onevision.com>
162 * dllwrap.c (is_leading_underscore): New variable.
163 (cpu_type): New enum type.
164 (which_cpu): New variable.
165 (usage): Add new options --no-leading-underscore
166 and --leading-underscore.
167 (long_options): Likewise.
168 (OPTION_NO_LEADING_UNDERSCORE): New define.
169 (OPTION_LEADING_UNDERSCORE): Likewise.
170 (main): Initialize which_host, pass new options
171 to dlltool, do underscoring dependent on
172 is_leading_underscore, and do '@12' decoration
175 2009-11-02 Paul Brook <paul@codesourcery.com>
177 * readelf.c (arm_attr_tag_VFP_arch): Add VFPv4 and VFPv4-D16.
179 2009-10-28 Kai Tietz <kai.tietz@onevision.com>
181 * dlltool.c (leading_underscore): New local variable.
182 (asm_prefix): Interpret leading_underscore.
184 (add_excludes): Use leading_underscore for making
186 (gen_exp_file): Use leading_underscore for internal
188 (usage): Add display of --no-leading-underscore and
189 --leading-underscore option.
190 (OPTION_NO_LEADING_UNDERSCORE): New.
191 (OPTION_LEADING_UNDERSCORE): New.
192 (long_options): Add --no-leading-underscore and
193 --leading-underscore option.
194 (main): Handle new options.
195 * doc/binutils.text: Add documentation of the options
196 --no-leading-underscore and --leading-underscore.
198 2009-10-23 Kai Tietz <kai.tietz@onevision.com>
200 * deflex.l: Allow '<' and '>' in ID names.
202 * defparse.y (EQUAL): New token constant.
203 (opt_import_name): New rule for emptry or '==' ID.
204 (expline): Add opt_import_name as last line element.
206 * dlltool.c (ifunct): New member its_name.
208 (append_import): Add its_name argument.
209 (defexports): Likewise.
210 (defimport): Likewise.
211 (scan_drectve_symbols): Adjust calls to def_exports.
212 (dump_def_info): Print new optinal import/export table
214 (generate_idata_ofile): Use its_name member.
215 (make_one_lib_file): Likewise.
216 (nfunc): Take its_name in account on sort.
217 * dlltool.h (def_exports): Add its_name as argument.
218 (def_import): Likewise.
219 * doc/binutils.texi: Add new def file syntax extension.
220 * deflex.l (EQUAL): Add rule for '=='.
221 * NEWS: Mention new feature.
223 2009-10-23 Thomas Cougnard <thomas.cougnard@gmail.com>
225 * readelf.c (dynamic_info): Correct size of array.
227 2009-10-21 Ben Elliston <bje@gnu.org>
229 * MAINTAINERS (BUILD SYSTEM, TESTSUITES): Remove myself.
231 2009-10-19 Jerker Bäck <jerker.back@gmail.com>
234 * prdbg.c (tg_end_struct_type): Warning fix.
237 * dlltool.c (dll_name_list_append): Declare variable at start
239 (dll_name_list_count, dll_name-list_print): Likewise.
241 2009-10-16 Doug Evans <dje@sebabeach.org>
243 * MAINTAINERS: Add myself as m32r maintainer.
245 2009-10-16 Jerker Bäck <jerker.back@gmail.com>
248 * Makefile.am (sysinfo.o, syslex.o): Place source file after all
249 command line switches.
250 * Makefile.in: Regenerate.
252 2009-10-16 Yann Droneaud <yann@droneaud.fr>
255 * dlltool.c (bfd_get_errmsg): New macro.
256 (scan_obj_file): Use it.
257 (make_one_lib_file): Use it.
259 (make_delay_head): Use it.
261 (gen_lib_file): Use it.
262 (identify_dll_for_implib): Use it.
263 (identify_search_archive): Use it.
265 2009-10-16 Nick Clifton <nickc@redhat.com>
267 * readelf.c (usage): Add mention of --debug-dump=frames-interp.
268 Wrap output to 80 columns.
269 * objdump.c (usage): Likewise.
270 * doc/binutils.texi (readelf): Add note about =frames-interp.
272 2009-10-01 Alan Modra <amodra@bigpond.net.au>
274 * addr2line.c (slurp_symtab): Don't use bfd_read_minisymbols.
276 2009-09-29 Nick Clifton <nickc@redhat.com>
278 * doc/binutils.texi (c++filt): Remove spurious description of
279 nonexistent --java command line switch for cxxfilt.
281 2009-09-29 DJ Delorie <dj@redhat.com>
283 * readelf.c: Add support for RX target.
284 * MAINTAINERS: Add DJ and NickC as maintainers for RX.
286 2009-09-28 Alan Modra <amodra@bigpond.net.au>
288 * configure.in: Don't invoke configure.tgt on $enable_targets.
289 * configure: Regenerate.
291 2009-09-28 Nick Clifton <nickc@redhat.com>
294 * readelf.c (get_elf_section_flags): Allow SHN_BEFORE and
295 SHN_AFTER section link values in x86 binaries.
296 (process_section_headers): Likewise.
298 2009-09-25 Dmitry Gorbachev <d.g.gorbachev@gmail.com>
301 * readelf.c: Remove duplicate declaration of variable do_wide.
302 * dwarf.h: Add export of do_wide.
304 2009-09-24 Cary Coutant <ccoutant@google.com>
306 * dwarf.c (get_TAG_name): Add missing DWARF-3 and new DWARF-4 tags.
307 (get_FORM_name): Add new DWARF-4 forms.
308 (read_and_display_attr_value): Add DW_FORM_ref_sig8, DW_LANG_Python.
309 (get_AT_name): Add new DWARF-4 and GNU-specific attributes.
310 (process_debug_info): Add do_types parameter; change all callers.
311 Add support for .debug_types sections.
312 (display_debug_types): New function.
313 (debug_displays): Add .debug_types section.
314 * readelf.c (process_section_headers): Add .debug_types section.
315 (display_debug_section): Simplify call to streq.
317 2009-09-25 Alan Modra <amodra@bigpond.net.au>
319 * readelf.c (print_dynamic_symbol): Format entries as for
321 (process_symbol_table): Use -7s format string for visibility.
323 2009-09-22 Richard Sandiford <rdsandiford@googlemail.com>
325 * objdump.c (disassemble_section): Use bfd_get_arch_size
326 instead of assuming that the address size is 32 bits.
328 2009-09-21 Alan Modra <amodra@bigpond.net.au>
330 * readelf.c (get_ppc_dynamic_type): Add TLSOPT.
331 (get_ppc64_dynamic_type): Likewise.
333 2009-09-18 Nick Clifton <nickc@redhat.com>
335 * po/es.po: Updated Spanish translation.
336 * po/vi.po: Updated Vietnamese translation.
338 2009-09-11 Paul Pluzhnikov <ppluzhnikov@google.com>
340 * readelf.c (process_version_sections, process_symbol_table):
341 Use symbolic constants.
343 2009-09-11 Nick Clifton <nickc@redhat.com>
345 * po/binutils.pot: Updated by the Translation project.
347 2009-09-11 Philippe De Muyter <phdm@macqel.be>
349 * obcopy.c (copy_object): New parameter `input_arch', architecture
350 of input file, if not specified in input file itself; all callers
351 updated; `binary_architecture' hack removed.
352 (copy_archive, copy_file): New parameter `input_arch', for
354 (copy_main): Accept `-B' (`--binary-architecture') option also
355 for any arch-less input ifile format, not only `binary'; remove
356 bfd_external_binary_architecture hack; instead, add `input_arch'
357 to calls to `copy_file'.
358 * windres.c, windmc.c : Obsolete and useless external references
359 to `bfd_external_binary_architecture' or `bfd_external_machine'
361 * doc/binutils.texi: Mention that -B parameter can be used for any
362 input file type which does not have its own architecture.
364 2009-09-10 Martin Thuresson <martin@mtme.org>
366 Update sources to compile cleanly with -Wc++-compat:
367 * addr2line.c (slurp_symtab): Fix casts. Introduce variable
368 minisyms to avoid aliasing varning.
370 (normalize): Use name del instead of delete.
371 (display_target_list,display_info_table): Change loop counter
373 * bucomm.c: Add casts.
374 * debug.c: Update function to use new names.
375 (struct debug_baseclass): Rename member from virtual to
377 (struct debug_type_s, struct debug_field_s, struct
378 debug_baseclass_s, struct debug_method_s, struct
379 debug_method_variant_s, struct debug_type_s): Rename struct from
380 avoid name collision.
381 * debug.h: Use new struct names.
382 * dwarf.c: Add casts.
383 (free_debug_memory): Change loop counter variable a to int.
385 (enum ieee_var_kind): Move to top level.
386 (ieee_class_baseclass): Rename parameter virtual to is_virtual.
387 (ieee_class_method_var): Rename variable virtual to is_virtual.
389 * objcopy.c: Add casts.
390 (copy_archive): Rename variable delete to del.
391 * objdump.c: Add casts.
392 (dump_dwarf_section): Change loop counter variable i to int.
393 * prdbg.c: Add casts.
394 (pr_class_baseclass,tg_class_baseclass): Rename parameters virtual
396 * readelf.c: Add casts.
397 (struct ia64_unw_table_entry,struct hppa_unw_table_entry): Move to
400 * stabs.c (parse_stab_type, parse_stab_range_type,
401 (parse_stab_cpp_abbrev): Rename parameter from typename to
403 (parse_stab_baseclasses): Rename variable virtual to is_virtual.
404 * strings.c: Add casts.
405 * wrstabs.c (stab_class_baseclass): Rename parameter virtual to
408 2009-09-09 Nick Clifton <nickc@redhat.com>
411 readelf.c (get_elf_section_flags): Add support for SHF_EXCLUDE and
413 (process_section_headers): Warn about out of range sh_link
414 values. When displaying detailed section header information
415 annote the SHN_BEFORE and SHN_AFTER values.
417 2009-09-08 Alan Modra <amodra@bigpond.net.au>
419 * dwarf.c (byte_get_little_endian): Handle size of 3.
420 (byte_get_big_endian): Likewise.
421 * readelf.c (byte_put_little_endian): Likewise.
422 (byte_put_big_endian): Likewise.
423 (is_24bit_abs_reloc): New function.
424 (is_none_reloc): Formatting.
425 (apply_relocations): Use is_24bit_abs_reloc. Handle pj and xtensa
428 2009-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
430 * readelf.c (is_none_reloc <EM_XTENSA_OLD>, is_none_reloc <EM_XTENSA>):
433 2009-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
435 * dwarf.c (process_debug_info): Support section padding abbrev codes.
437 2009-09-07 Tristan Gingold <gingold@adacore.com>
439 * po/binutils.pot: Regenerate.
441 2009-09-05 Jan Kratochvil <jan.kratochvil@redhat.com>
443 * Makefile.am (sysdump.o): Depend on sysroff.c.
444 * Makefile.in: Regenerate.
446 2009-09-05 Martin Thuresson <martin@mtme.org>
448 * ieee.c (ieee_read_cxx_misc, ieee_read_cxx_class,
449 ieee_read_reference): Rename variables named class to cxxclass.
451 2009-09-04 Tristan Gingold <gingold@adacore.com>
453 * BRANCHES: Add binutils-2_20-branch.
455 2009-09-04 Tristan Gingold <gingold@adacore.com>
457 * NEWS: Add marker for 2.20.
459 2009-09-04 Timo Kreuzer <timo.kreuzer@web.de>
461 * dlltool.c (delayimp_name): Add new global variable
462 (usage, long_options, main): Add new option "-y" / "--output-delaylib"
463 (struct mac): Add fields how_dljtab_size, how_dljtab_roff1,
464 how_dljtab_roff2, how_dljtab, trampoline.
465 (i386_dljtab): Add binary stub for x86 delay import.
466 (i386_trampoline): Add text assembly stub for x86 delay import.
467 (mtable): Add delay import data for M386 and MX86 only.
468 (make_delay_head): New function.
469 (make_one_lib_file): New arg delay creates delay-load import stub.
470 (gen_lib_file): New arg delay likewise.
471 (HOW_JTAB, HOW_JTAB_SIZE, HOW_JTAB_ROFF): New arg delay likewise.
472 (HOW_JTAB_ROFF2, HOW_JTAB_ROFF3): New macros for delay import.
473 (make_tail): Convert hard TABS embedded in strings to "\t" escapes.
474 * NEWS: Mention new feature. Also fix whitespace.
475 * doc/binutils.texi: Updated dlltool documentation.
477 2009-09-02 Tristan Gingold <gingold@adacore.com>
479 * configure.com: Do not copy makefile.vms-in to makefile.vms
480 * makefile.vms-in: Renamed to...
481 * makefile.vms: ... this usual name as it is not processed anymore.
482 Remove WRITE_DEBUG_OBJS (unused) and reorder object files for
485 2009-09-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
487 * Makefile.am (arparse.o, arlex.o, sysroff.o, defparse.o)
488 (deflex.o, nlmheaders.o, rcparse.o, mcparse.o): Supply correct
489 source file name for generated files which may be in $(srcdir).
490 * Makefile.in: Regenerate.
492 2009-09-01 H.J. Lu <hongjiu.lu@intel.com>
494 * version.c (print_version): Change to "Copyright 2009".
496 2009-09-01 Tristan Gingold <gingold@adacore.com>
498 * makefile.vms-in: Remove unused VERSION variable. Remove unused
500 * configure.com: Ported to Itanium VMS. Create build.com DCL script.
502 2009-08-29 Martin Thuresson <martin@mtme.org>
504 * nlmconv.c (main): Rename variable new to new_name.
506 2009-08-28 H.J. Lu <hongjiu.lu@intel.com>
508 * Makefile.am (sysinfo$(EXEEXT_FOR_BUILD)): Replace
509 CFLAGS/LDFLAGS with CFLAGS_FOR_BUILD/LDFLAGS_FOR_BUILD.
510 (syslex.o): Likewise.
511 (sysinfo.o): Likewise.
512 (bin2c$(EXEEXT_FOR_BUILD)): Likewise.
513 * Makefile.in: Regenerated.
515 2009-08-27 Dave Korn <dave.korn.cygwin@gmail.com>
517 * doc/binutils.texi (--only-keep-debug): Relocate stray para here ...
518 (--subsystem): ... from here.
520 2009-08-24 Cary Coutant <ccoutant@google.com>
522 * objdump.c (find_symbol_for_address): Avoid costly call to
525 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
527 * Makefile.am (am__skiplex, am__skipyacc): New.
528 * Makefile.in: Regenerate.
530 2009-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
532 * Makefile.am (syslex.o): Depend on sysinfo.h config.h.
533 * Makefile.in: Regenerate.
535 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
537 * Makefile.am (AM_CPPFLAGS): Renamed from ...
538 (INCLUDES): ... this.
539 (bin2c$(EXEEXT_FOR_BUILD): Adjust rule.
540 (installcheck-local): Renamed from ...
541 (installcheck): ... this.
542 * Makefile.in: Regenerate.
544 * Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add no-dist and
546 (MKDEP, CLEANFILES): Remove now-unneeded variables.
547 (DEP, DEP1, dep.sed, dep, dep-in, dep-am): Remove.
548 (mkdep section): Remove.
549 (BUILT_SOURCES): New variable, list $(GENERATED_HFILES).
550 (EXTRA_ar_SOURCES): New, list $(CFILES).
551 (syslex.o): Depend on syslex.c.
552 (sysinfo.o): Depend on sysinfo.c.
553 (arparse.h, defparse.h, nlmheaders.h rcparse.h mcparse.h):
554 Remove dependencies, now tracked by automake.
555 (srconv.o): Depend on sysroff.c.
556 (objdump.o, arparse.o, arlex.o, sysroff.o, defparse.o, deflex.o)
557 (nlmheader.o, rcparse.o, mcparse.o, rclex.o, mclex.o, dlltool.o)
558 (rescoff.o, nlmconv.o): Rewrite using automake-style dependency
559 tracking rules; only list the dependency upon the primary source
560 file, but no included headers.
561 * Makefile.in: Regenerate.
563 * Makefile.am (install-pdf, install-pdf-recursive, install-html)
564 (install-html-recursive): Remove.
565 * Makefile.in: Regenerate.
566 * doc/Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
567 (html__strip_dir, install-html, install-html-am): Remove.
568 * doc/Makefile.in: Regenerate.
570 * Makefile.in: Regenerate.
571 * aclocal.m4: Likewise.
572 * config.in: Likewise.
573 * configure: Likewise.
574 * doc/Makefile.in: Likewise.
576 2009-08-17 Nick Clifton <nickc@redhat.com>
578 * readelf.c (is_32bit_abs_reloc): Treat R_PARISC_SECREL32 as a
579 32-bit absolute reloc for the purposes of processing debug
582 2009-08-10 Daniel Gutson <dgutson@codesourcery.com>
584 * readelf.c (get_arm_section_type_name): Added support for
585 new sections headers.
587 2009-08-03 H.J. Lu <hongjiu.lu@intel.com>
590 * objcopy.c (strip_main): Check return from smart_rename.
591 (copy_main): Likewise.
593 2009-07-27 Nick Clifton <nickc@redhat.com>
596 * objdump.c (dump_section_header): Skip sections that we are
599 2009-07-25 H.J. Lu <hongjiu.lu@intel.com>
601 * readelf.c (guess_is_rela): Handle EM_L1OM.
602 (dump_relocations): Likewise.
603 (get_machine_name): Likewise.
604 (get_section_type_name): Likewise.
605 (get_elf_section_flags): Likewise.
606 (get_symbol_index_type): Likewise.
607 (is_32bit_abs_reloc): Likewise.
608 (is_32bit_pcrel_reloc): Likewise.
609 (is_64bit_abs_reloc): Likewise.
610 (is_64bit_pcrel_reloc): Likewise.
611 (is_none_reloc): Likewise.
613 2009-07-23 Ulrich Drepper <drepper@redhat.com>
615 * readelf.c (get_symbol_binding): For Linux targeted files return
616 UNIQUE for symbols with the STB_GNU_UNIQUE binding.
617 * doc/binutils.texi: Document the meaning of the 'u' symbol
618 binding in the output of nm and objdump --syms.
620 2009-07-20 H.J. Lu <hongjiu.lu@intel.com>
622 * NEWS: Mention --insn-width.
624 * objdump.c (insn_width): New.
625 (usage): Display --insn-width.
626 (option_values): Add OPTION_INSN_WIDTH.
627 (long_options): Add --insn-width.
628 (disassemble_bytes): Handle insn_width.
629 (main): Handle OPTION_INSN_WIDTH.
631 * doc/binutils.texi: Document --insn-width.
633 2009-07-17 Nick Clifton <nickc@redhat.com>
635 * dwarf.c (display_debug_lines): If do_debug_lines has not been
636 set then default to displaying raw .debug_line section contents.
638 2009-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
640 Support unordered .debug_info references to .debug_ranges.
641 * dwarf.c (struct range_entry, range_entry_compar): New.
642 (display_debug_ranges): Remove variables last_offset, first, j,
643 seen_first_offset, use_debug_info and next. New variables
644 range_entries and range_entry_fill. Create the sorted copy
645 range_entries. Remove the FIXME error on detected unordered references.
646 * dwarf.h (debug_info <range_lists>): New comment.
648 2009-07-14 Nick Clifton <nickc@redhat.com>
651 * README: Document use of LDFLAGS="--static".
653 2009-07-10 H.J. Lu <hongjiu.lu@intel.com>
655 * Makefile.am: Run "make dep-am".
656 * Makefile.in: Regenerated.
658 2009-07-10 Tom Tromey <tromey@redhat.com>
660 * Makefile.am (dwarf.o): Refer to dwarf2.h, not elf/dwarf2.h.
661 * Makefile.in: Rebuild.
662 * dwarf.c: Include dwarf2.h, not elf/dwarf2.h.
664 2009-07-06 Tristan Gingold <gingold@adacore.com>
666 * objdump.c (dump_dwarf_section): Handle .eh_frame like other dwarf
668 * dwarf.h (struct dwarf_section_display): Remove eh_frame field.
669 * dwarf.c (debug_displays): Adjust for removed field.
671 2009-07-03 Jakub Jelinek <jakub@redhat.com>
673 * dwarf.c (decode_location_expression): Handle DW_OP_stack_value
674 and DW_OP_implicit_value.
676 2009-07-01 Nick Clifton <nickc@redhat.com>
679 * rclex.c (handle_quotes): Do not complain about whitespace
680 separating quoted strings.
681 (rclex_string): Ignore whitespace when looking for a new opening
682 quote following a closing quote.
684 2009-06-27 H.J. Lu <hongjiu.lu@intel.com>
687 * bucomm.c (get_file_size): Return -1 on error.
689 * objcopy.c (copy_file): Report empty file.
691 2009-06-23 Nick Clifton <nickc@redhat.com>
693 * dwarf.c (display_debug_lines_raw): Include the name of the
694 section in warning message.
695 (struct debug_display): Enable reloc processing for .debug_line
696 and .debug_ranges sections.
698 * readelf.c: Add --relocated-dump command line option to dump the
699 relocated contents of a specified section.
700 (request_dump): New function.
701 (parse_args): Use it.
702 (dump_section_as_bytes): Add parameter to indicate whether the
703 contents should be relocated.
704 (target_specific_reloc_handling): Add code for a R_MN10300_16
705 reloc found after a R_MN10300_SYM_DIFF reloc.
706 (debug_apply_relocations): Rename to apply_relocations.
707 (get_section_contents): New function. Replaces common code found
708 in dump_section_as_strings and dump_section_as_bytes.
709 * doc/binutils.texi: Document new command line option.
710 * NEWS: Mention the new feature.
712 2009-06-22 Nick Clifton <nickc@redhat.com>
714 * readelf.c (target_specific_reloc_handling): New function:
715 Processes relocs in a target specific manner.
716 (debug_apply_relocations): Use the new function.
717 * dwarf.c (display_debug_loc): End the dump with a blank line.
718 (struct debug_display): Enable reloc processing for .debug_aranges
719 and .debug_loc sections.
721 2009-06-19 Nick Clifton <nickc@redhat.com>
723 * ar.c (usage): Do not use #ifdef inside _("...).
724 * nm.c (usage): Likewise.
726 2009-06-18 Nick Clifton <nickc@redhat.com>
729 * objdump.c (disassemble_bytes): Set the
730 USER_SPECIFIED_MACHINE_TYPE flag in the disassemble_info structure
731 if the user has invoked the -m switch.
732 * doc/binutils.texi: Document the additional behaviour of
733 objdump's -m switch for ARM targets.
735 2009-06-18 Dave Korn <dave.korn.cygwin@gmail.com>
737 * configure.in: Merge cegcc and mingw32ce target name changes from
740 2007-12-25 Pedro Alves <pedro_alves@portugalmail.pt>
742 * configure.in: Add arm*-*-cegcc* and arm*-*-mingw32ce* targets.
743 * configure: Regenerate.
745 2009-06-15 Nick Clifton <nickc@redhat.com>
748 * objdump.c (disassemble_bytes): Set the DISASSEMBLE_DATA bit in
749 the flags field of the disassemble_info structure if the -D switch
752 2009-06-12 Homer Xing <homer.xing@yahoo.com>
754 * NEWS: Mention new feature added to gprof.
756 2009-06-12 John Reiser <jreiser@BitWagon.com>
758 * readelf.c (process_symbol_table): Set gnubuckets to NULL after
759 freeing it and before returning.
761 2009-06-12 Jakub Jelinek <jakub@redhat.com>
763 * readelf.c (process_symbol_table): Don't return early if
764 .hash/.gnu.hash is empty/unusable and not -D.
766 2009-06-09 Tom Bramer <tjb@postpro.net>
769 * winduni.c (wind_MultiByteToWideChar): Do not pass MB_PRECOMPOSED
770 to MultiByteToWideChar when using the CP_UTF8 or CO_UTF7 types.
772 2009-06-04 Alan Modra <amodra@bigpond.net.au>
774 * strings.c (main): Delay parsing of decimal digits.
776 2009-06-04 Alan Modra <amodra@bigpond.net.au>
778 * dep-in.sed: Don't use \n in replacement part of s command.
779 * Makefile.am (DEP1): LC_ALL for uniq.
781 * Makefile.in: Regenerate.
783 2009-06-03 Tristan Gingold <gingold@adacore.com>
785 * MAINTAINERS: Add myself as Mach-O maintainer.
787 2009-06-01 Alan Modra <amodra@bigpond.net.au>
790 * doc/binutils.texi (nm): Correct -S description.
792 2009-05-28 Nick Clifton <nickc@redhat.com>
794 * po/da.po: Updated Danish translation.
796 2009-05-28 Nick Clifton <nickc@redhat.com>
798 * readelf.c (display_debug_section): Do not display debug sections
799 with the NOBITS section type.
801 2009-05-27 Rafael Avila de Espindola <espindola@google.com>
803 * aclocal.m4: Include ../config/plugins.m4.
804 * configure.in: Use AC_PLUGINS.
805 * configure: Regenerate.
806 * Makefile.in: Regenerate.
807 * doc/Makefile.in: Regenerate.
809 2009-05-27 Rafael Avila de Espindola <espindola@google.com>
811 * ar.c (main): Call bfd_plugin_set_program_name.
812 * nm.c (main): Call bfd_plugin_set_program_name.
814 2009-05-27 Nathan Sidwell <nathan@codesourcery.com>
816 * sysdump.c (tab): Use puts rather than two printfs.
818 2009-05-26 Nick Clifton <nickc@redhat.com>
820 * po/id.po: Updated Indonesian translation.
821 * po/binutils.pot: Updated template file.
823 2009-05-26 Rafael Avila de Espindola <espindola@google.com>
825 * ar.c: Include plugin.h.
826 (main): Handle the --plugin option.
827 * nm.c: Include plugin.h.
828 (OPTION_PLUGIN): New.
829 (long_options): Add plugin.
830 (main): Handle OPTION_PLUGIN.
831 * NEWS: Mention the new feature.
832 * doc/binutils: Documement the new command line options.
833 * configure.in: Check for --enable-plugins.
834 * configure: Regenerate.
836 2009-05-26 Alan Modra <amodra@bigpond.net.au>
838 * dep-in.sed: Output one filename per line with all lines having
839 continuation backslash. Prefix first line with "A", following
841 * Makefile.am (DEP): Don't use dep.sed here.
842 (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
844 * Makefile.in: Regenerate.
846 2009-05-25 Tristan Gingold <gingold@adacore.com>
848 * makefile.vms-in: Fix CFLAGS, add addr2line.exe target.
850 * configure.com: Fix it: handle alloca and define TARGET in config.h.
852 2009-05-22 Alan Modra <amodra@bigpond.net.au>
854 * Makefile.am: Run "make dep-am".
855 * Makefile.in: Regenerate.
857 2009-05-12 Alan Modra <amodra@bigpond.net.au>
859 * objcopy.c (set_long_section_mode): Check input_bfd is coff
860 before accessing coff specific fields of bfd.
862 2009-05-09 Dave Korn <dave.korn.cygwin@gmail.com>
864 * MAINTAINERS: Add myself as PE/COFF co-maintainer.
866 2009-05-08 Kai Tietz <kai.tietz@onevision.com>
868 * winduni.c (iconv_onechar): Only define when HAVE_ICONV
869 is defined, but not when __CYGWIN__ or _WIN32 are defined.
870 See wind_iconv_cp for call logic of this local funtion.
872 2009-05-05 Guillaume Duhamel <guillaume.duhamel@gmail.com>
875 * winduni.c: Replace test of HAVE_ICONV_H with a test of
877 (iconv_onechar): Use ICONV_CONST instead of "const".
878 (wind_MultiByteToWideChar): Initialise local strings.
880 2009-04-30 Nick Clifton <nickc@redhat.com>
882 * readelf.c (dump_relocations): Display a relocation against an
883 ifunc symbol as if it were a function invocation.
884 (get_symbol_type): Handle STT_GNU_IFUNC.
886 2009-04-29 Anthony Green <green@moxielogic.com>
888 * NEWS: Tweak verilog support description.
890 2009-04-29 Alan Modra <amodra@bigpond.net.au>
891 Denis Scherbakov <denis_scherbakov@yahoo.com>
893 * readelf.c (slurp_ia64_unwind_table): Correct 64-bit unwind table
894 read, and merge with 32-bit case.
896 2009-04-27 Anthony Green <green@moxielogic.com>
898 * NEWS: Mention verilog support added to bfd.
900 2009-04-27 H.J. Lu <hongjiu.lu@intel.com>
902 * objcopy.c (copy_object): Copy pe_opthdr before changing PE
905 2009-04-24 Cary Coutant <ccoutant@google.com>
907 * dwarf.c (process_extended_line_op): Add DW_LNE_set_discriminator.
908 Add missing newlines to HP extensions.
910 2009-04-17 H.J. Lu <hongjiu.lu@intel.com>
912 * objcopy.c (set_pe_subsystem): Replace efi-rom with sal-rtd.
913 * doc/binutils.texi: Likewise.
915 2009-04-17 H.J. Lu <hongjiu.lu@intel.com>
918 * objcopy.c: Include coff/i386.h and coff/pe.h.
919 (pe_file_alignment): New.
920 (pe_heap_commit): Likewise.
921 (pe_heap_reserve): Likewise.
922 (pe_image_base): Likewise.
923 (pe_section_alignment): Likewise.
924 (pe_stack_commit): Likewise.
925 (pe_stack_reserve): Likewise.
926 (pe_subsystem): Likewise.
927 (pe_major_subsystem_version): Likewise.
928 (pe_minor_subsystem_version): Likewise.
929 (set_pe_subsystem): Likewise.
930 (convert_efi_target): Likewise.
931 (command_line_switch): Add OPTION_FILE_ALIGNMENT,
932 OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT,
933 OPTION_STACK and OPTION_SUBSYSTEM.
934 (copy_options): Likewise.
935 (copy_usage): Add --file-alignment, --heap, --image-base,
936 --section-alignment, --stack and --subsystem.
937 (copy_object): Set up PE parameters.
938 (copy_main): Process Add OPTION_FILE_ALIGNMENT,
939 OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT,
940 OPTION_STACK and OPTION_SUBSYSTEM. Convert EFI target to
943 * NEWS: Mention --file-alignment, --heap, --image-base,
944 --section-alignment, --stack and --subsystem command line
947 * doc/binutils.texi: Document --file-alignment, --heap,
948 --image-base, --section-alignment, --stack and --subsystem
949 command line options for objcopy.
951 2009-04-15 Anthony Green <green@moxielogic.com>
953 * MAINTAINERS: Add myself as Moxie port maintainer.
955 2009-04-14 Dave Korn <dave.korn.cygwin@gmail.com>
957 * objcopy.c (enum long_section_name_handling): New enum type.
958 (enum command_line_switch): Add OPTION_LONG_SECTION_NAMES.
959 (copy_options[]): Add entry for --long-section-names option.
960 (copy_usage): Document it.
961 (set_long_section_mode): New subroutine.
962 (copy_file): Call it.
963 (copy_main): Accept OPTION_LONG_SECTION_NAMES and parse arg.
964 * doc/binutils.texi: Update objcopy documentation with details
967 2009-04-01 Dave Korn <dave.korn.cygwin@gmail.com>
969 * dlltool.c (set_dll_name_from_def): Accept new second arg that
970 indicates if we are building DLL or EXE, and use it to add a
971 default suffix to the output filename when none is already present.
972 (def_name): Indicate we are building an EXE when calling it.
973 (def_library): Indicate we are building a DLL when calling it.
975 2009-04-01 Jari Aalto <jari.aalto@cante.net>
978 * doc/binutils.texi (strings): Document the -V alias for the
980 * strings.c (usage): Likewise.
982 2009-03-31 Nick Clifton <nickc@redhat.com>
985 * configure.in: Import Solaris specific largefile test from
987 * configure: Regenerate.
989 2009-03-30 Richard Sandiford <rdsandiford@googlemail.com>
991 * MAINTAINERS: Add self.
993 2009-03-27 Nick Clifton <nickc@redhat.com>
995 * dwarf.c (display_debug_ranges): Add the base address to the
996 displayed values for 'Begin' and 'End'.
998 2009-03-25 Ryan Mansfield <rmansfield@qnx.com>
1000 * readelf.c (process_file_header): Don't report a corrupt string
1001 table index if it is zero.
1003 2009-03-19 H.J. Lu <hongjiu.lu@intel.com>
1005 * dwarf.c (dwarf_regnames): Moved before frame_need_space.
1006 (dwarf_regnames_count): Likewise.
1007 (frame_need_space): Return int.
1008 (display_debug_frames): Check invalid registers.
1010 2009-03-19 H.J. Lu <hongjiu.lu@intel.com>
1012 * readelf.c (debug_apply_relocations): Check relocations
1013 against STT_SECTION symbol.
1015 2009-03-18 H.J. Lu <hongjiu.lu@intel.com>
1017 * readelf.c (debug_apply_relocations): Allow relocations
1018 against function symbols.
1020 2009-03-18 Alan Modra <amodra@bigpond.net.au>
1022 * sysdep.h: Include alloca-conf.h instead of config.h and remove
1023 existing #if's handling alloca.
1024 * Makefile.am: Run "make dep-am".
1025 * Makefile.in: Regenerate.
1027 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
1029 * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
1030 * configure.in: Likewise.
1031 * configure: Regenerate.
1033 2009-03-13 H.J. Lu <hongjiu.lu@intel.com>
1036 * objcopy.c (copy_object): Clear HAS_RELOC when stripping all.
1038 2009-03-11 Chris Demetriou <cgd@google.com>
1040 * ar.c (deterministic): New global variable.
1041 (main): Recognize new 'D' option, which enables 'deterministic mode'.
1042 (usage): Document new 'D' option.
1043 (write_archive): Set BFD_DETERMINISTIC_OUTPUT in output archive's
1044 flags if deterministic mode was requested.
1045 * doc/binutils.texi (ar): Document deterministic mode ('D' option).
1047 2009-03-09 H.J. Lu <hongjiu.lu@intel.com>
1050 * objcopy.c (filter_symbols): Properly handle common symbols
1051 in relocatable file.
1053 2009-03-06 Nick Clifton <nickc@redhat.com>
1055 * po/es.po: Updated Spanish translation.
1057 2009-03-05 Nick Clifton <nickc@redhat.com>
1059 * objdump.c (disassemble_section): If the computed next offset is
1060 not beyond the current offset then just continue to the end.
1062 2009-03-04 Tristan Gingold <gingold@adacore.com>
1064 * MAINTAINERS: Add myself as VMS maintainer.
1066 2009-03-03 Nick Clifton <nickc@redhat.com>
1068 * readelf.c: Update formatting.
1070 2009-03-03 Alan Modra <amodra@bigpond.net.au>
1072 * Makefile.am: Run "make dep-am".
1073 * Makefile.in: Regenerate.
1075 2009-03-03 Alan Modra <amodra@bigpond.net.au>
1077 * objdump.c (disassemble_section): Mask address before sign extending.
1079 2009-03-02 Sebastian Biallas <sb@biallas.net>
1081 * ieee.c (parse_ieee_ty): Add support for undocumented 'v' type.
1082 (parse_ieee_bb): Set the filename if it has not already been
1085 2009-03-02 Cary Coutant <ccoutant@google.com>
1087 * readelf.c (adjust_relative_path): New function.
1088 (struct archive_info): New type.
1089 (setup_archive): New function.
1090 (release_archive): New function.
1091 (setup_nested_archive): New function.
1092 (get_archive_member_name): New function.
1093 (get_archive_member_name_at): New function.
1094 (make_qualified_name): New function.
1095 (process_archive): Factor out code for reading archive index and
1096 long filename table to setup_archive. Add support for thin archives.
1098 2009-03-02 Nick Clifton <nickc@redhat.com>
1100 * po/sk.po: Updated Slovak translation.
1102 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1104 * configure: Regenerate.
1106 2009-02-23 Cary Coutant <ccoutant@google.com>
1108 * objdump.c (load_specific_debug_section): New function, from
1110 (load_debug_section): Use load_specific_debug_section.
1111 (dump_dwarf_section): Likewise.
1113 2009-02-23 Cary Coutant <ccoutant@google.com>
1115 * readelf.c (parse_args): Select all sections explicitly for -w.
1117 2009-02-09 Kai Tietz <kai.tietz@onevision.com>
1119 * windres.c (set_endianess): Copy name without leading '-'.
1121 2009-02-09 Tristan Gingold <gingold@adacore.com>
1123 * NEWS: Mention feature match between objdump and readelf for dumping
1126 * doc/binutils.texi (objdump): Document -W/--dwarf improvments to
1129 * objdump.c (usage): Update documentation for -W/--dwarf.
1130 (enum option_values): Add OPTION_DWARF.
1131 (long_options): --dwarf can accept arguments.
1132 (dump_dwarf_section): Also check enabled field.
1133 (main): Option -W can accept arguments, code moved to
1134 dwarf.c and call dwarf_select_sections_all instead.
1135 * readelf.c (process_section_headers): Remove do_debug_lines_decoded.
1136 (parse_args): Move code to...
1137 * dwarf.c (dwarf_select_sections_by_letters,
1138 dwarf_select_sections_by_names): : ...here (new functions).
1139 (do_debug_lines_decoded): Remove and replaced by ...
1140 (FLAG_DEBUG_LINES_RAW, FLAG_DEBUG_LINES_DECODED): ... new macros.
1141 (display_debug_lines): Adjust for previous change.
1142 (dwarf_select_sections_all): New function.
1143 (debug_displays): Add initializer for enabled field.
1144 * dwarf.h (do_debug_lines_decoded): Remove.
1145 Add prototypes for the new functions.
1146 (struct dwarf_section_display): Add enabled field.
1148 2009-02-06 Nick Clifton <nickc@redhat.com>
1150 * po/vi.po: Updated Vietnamese translation.
1152 2009-02-03 Sandip Matte <sandip@rmicorp.com>
1154 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_XLR.
1156 2009-02-03 H.J. Lu <hongjiu.lu@intel.com>
1158 * NEWS: Move --as-needed change to ...
1161 2009-02-03 Carlos O'Donell <carlos@codesourcery.com>
1163 * configure.in: AC_SUBST pdfdir.
1164 * Makefile.am: Add install-pdf, install-pdf-am,
1165 and install-pdf-recursive targets.
1166 * doc/Makefile.am: Define pdf__strip_dir. Add
1167 install-pdf and install-pdf-am targets.
1168 * po/Make-in: Add install-pdf target.
1169 * configure: Regenerate.
1170 * Makefile.in: Regenerate.
1171 * doc/Makefile.in: Regenerate.
1173 2009-02-03 H.J. Lu <hongjiu.lu@intel.com>
1176 * NEWS: Mention --prefix=PREFIX and --prefix-strip=LEVEL.
1178 * doc/binutils.texi: Document --prefix=PREFIX and
1179 --prefix-strip=LEVEL.
1181 * objdump.c: Include "filenames.h".
1183 (prefix_strip): Likewise.
1184 (prefix_length): Likewise.
1185 (usage): Add --prefix=PREFIX and --prefix-strip=LEVEL.
1186 (option_values): Add OPTION_PREFIX and OPTION_PREFIX_STRIP.
1187 (long_options): Likewise.
1188 (show_line): Handle prefix and prefix_strip.
1189 (main): Handle OPTION_PREFIX and OPTION_PREFIX_STRIP.
1191 * readelf.c (PATH_MAX): Moved to ...
1194 2009-01-31 Alan Modra <amodra@bigpond.net.au>
1196 * NEWS: Mention --as-needed change.
1198 2009-01-29 Alan Modra <amodra@bigpond.net.au>
1201 * bucomm.c (bfd_nonfatal_message): Use bfd_get_archive_filename.
1202 (bfd_get_archive_filename): Constify param.
1203 * bucomm.h (bfd_get_archive_filename): Update prototype.
1204 * objcopy.c (RETURN_NONFATAL): Delete.
1205 (copy_unknown_object): Don't call bfd_get_archive_filename for
1206 bfd_nonfatal_message filename, instead just pass bfd.
1207 (copy_object): Likewise.
1208 (copy_archive, copy_file): Likewise. Expand RETURN_NONFATAL. On
1209 bfd_close errors, do not pass the bfd to bfd_nonfatal_message.
1210 (setup_bfd_headers): Fix error message.
1212 2009-01-27 Nick Clifton <nickc@redhat.com>
1215 * objdump.c (disassemble_section): When the target uses signed
1216 addresses make sure that we compute signed values.
1218 2009-01-27 Nick Clifton <nickc@redhat.com>
1220 * MAINTAINERS: Remove Thiemo Seufer's name from the list of MIPS
1223 2009-01-26 Nick Clifton <nickc@redhat.com>
1226 * dlltool.c (xlate): When strip text after the @ sign, look for
1227 the last one not the first one.
1229 2009-01-16 Alan Modra <amodra@bigpond.net.au>
1231 * configure.in (commonbfdlib): Delete.
1232 * configure: Regenerate.
1234 2008-01-14 Charles Wilson <cygwin@cwilson.fastmail.fm>
1236 Cleanup code related to --identify option.
1238 * dlltool.c (file scope): Removed globals identify_ms,
1239 identify_member_contains_symname_result,
1240 identify_dll_name_list_head, and identify_dll_name_list_tail.
1241 Renamed existing typedef dll_name_list_type to
1242 dll_name_list_node_type.
1243 Added new typedefs dll_name_list_type, symname_search_data_type,
1244 and identify_data_type.
1245 (identify_append_dll_name_to_list): Renamed to...
1246 (dll_name_list_append): ...here. Changed signature to accept list
1247 argument rather than use global.
1248 (identify_count_dll_name_list): Renamed to...
1249 (dll_name_list_count): ...here. Changed signature to accept list
1250 argument rather than use global.
1251 (identify_print_dll_name_list): Renamed to...
1252 (dll_name_list_print): ...here. Changed signature to accept list
1253 argument rather than use global.
1254 (identify_free_dll_name_list): Renamed to...
1255 (dll_name_list_free_contents): ...here.
1256 (dll_name_list_free): New function.
1257 (dll_name_list_create): New function.
1258 (identify_process_section_p): Changed signature to accept
1259 ms_style_implib argument rather than use global.
1260 (identify_member_contains_symname): Expect incoming void * data to
1261 be symname_search_data_type.
1262 (identify_dll_for_implib): Use new functions dll_name_list_create
1263 and dll_name_list_free. Use new types symname_search_data_type
1264 and identify_data_type to communicate with search routines.
1265 (identify_search_section): Expect incoming void * data to be
1266 identify_data_type. Use its contents rather than global
1269 2009-01-13 Charles Wilson <cygwin@cwilson.fastmail.fm>
1271 Add --identify-strict option. Handle ms-style implibs:
1273 * dlltool.c (file scope): Added new globals identify_ms and
1274 identify_strict. New typedef dll_name_list_type, and globals
1275 identify_dll_name_list_head and identify_dll_name_list_tail. Added
1276 new global identify_member_contains_symname_result.
1277 (identify_append_dll_name_to_list): New function.
1278 (identify_count_dll_name_list): New function.
1279 (identify_print_dll_name_list): New function.
1280 (identify_free_dll_name_list): New function.
1281 (identify_search_archive): Changed signature to take function
1282 pointer to operation to apply to each member, and data to pass on
1284 (identify_search_member): Changed signature to accept user data
1286 (identify_member_contains_symname): New function.
1287 (identify_dll_for_implib): Rewrite. Now determines whether implib
1288 is ms- or binutils- style, before searching sections for
1289 dllname. Allows multiple dllnames.
1290 (identify_process_section_p): Search alternate section for dllname
1291 when implib is ms-style.
1292 (identify_search_section): Add additional conditions to excludes
1293 candidate sections from consideration.
1294 (usage): Added --identify-strict.
1295 (long_options): Added --identify-strict.
1296 (main): Handle --identify-strict option.
1297 * doc/binutils.texi: Document --identify-strict option.
1298 * NEWS: Document --identify and --identify-strict options.
1300 2009-01-13 Alan Modra <amodra@bigpond.net.au>
1303 * doc/binutils.texi (objdump -R): Note effect of -d or -D.
1305 2009-01-13 Alan Modra <amodra@bigpond.net.au>
1307 * objdump.c (disassemble_section): Don't assume non-instruction
1308 data if object symbol at given address is in different section.
1310 2009-01-12 Kai Tietz <kai.tietz@onevision.com>
1312 * dlltool.c (create_for_pep): New.
1313 (flush_page): Use create_for_pep instead of using
1314 macro DLLTOOL_MX86_64 clause.
1315 (generate_idata_ofile): Likewise.
1316 (make_one_lib_file): Likewise.
1317 (make_head): Likewise.
1318 (make_tail): Likewise.
1319 (main): Initialize create_for_pep.
1321 2009-01-08 Kai Tietz <kai.tietz@onevision.com>
1323 * dlltool.c (use_nul_prefixed_import_tables): New.
1324 (make_head): Make prefix leading zero prefix element for
1325 idata$4 and idata$5 dependent to new flag.
1326 (usage): Add new option --use-nul-prefixed-import-tables.
1327 (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
1328 (long_options): Add --use-nul-prefixed-import-tables.
1330 * doc/binutils.texi: Add new option documentation for
1331 --use-nul-prefixed-import-tables.
1332 * NEWS: Add new option.
1334 2009-01-06 Kai Tietz <kai.tietz@onevision.com>
1336 * windres.c (set_endianess): Get architecture name
1337 for internal target names like "pe-arm-wince-little".
1338 (find_arch_match): New helper.
1339 * ChangeLog: Reset it.
1340 * ChangeLog-2008: Moved old ChangeLog.
1342 For older changes see ChangeLog-2008
1348 version-control: never