1 2009-11-19 Ben Elliston <bje@au.ibm.com>
3 * arlex.l: Enable noinput, nounput flex options.
6 2009-11-17 Paul Brook <paul@codesourcery.com>
7 Daniel Jacobowitz <dan@codesourcery.com>
9 * readelf.c (arm_attr_tag_CPU_arch): Add v7E-M.
11 2009-11-16 Kai Tietz <kai.tietz@onevision.com>
13 * windmc.c (set_endianess): Use bfd_get_target_info.
14 * windres.c (set_endianess): Likewise.
15 (find_arch_match): Removed.
17 2009-11-11 Nick Clifton <nickc@redhat.com>
19 * po/id.po: Updated Indonesian translation.
21 2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
23 * configure.in: Stop checking for fopen64 and stat64.
24 * strings.c (file_off, file_open, statbuf, file_stat): Remove.
25 (strings_file): Change file_off to file_ptr, file_open to fopen,
26 statbuf to struct stat and file_stat to stat.
27 (get_char): Change parameter type file_off * to file_ptr *.
28 (print_strings): Change parameter and variable `start' type file_off to
30 * configure: Regenerate.
31 * config.in: Regenerate.
33 2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
35 * configure.in: Call ACX_LARGEFILE. Stop calling AC_PLUGINS,
36 AC_SYS_LARGEFILE and checking the Solaris largefile exception.
37 * aclocal.m4: Regenerate.
38 * configure: Regenerate.
40 2009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
42 * bucomm.c (get_file_size): Update comment for the error return value.
44 2009-11-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
46 * readelf.c (slurp_hppa_unwind_table): Don't relocate address twice.
48 2009-11-05 Kai Tietz <kai.tietz@onevision.com>
50 * dllwrap.c (is_leading_underscore): New variable.
51 (cpu_type): New enum type.
52 (which_cpu): New variable.
53 (usage): Add new options --no-leading-underscore
54 and --leading-underscore.
55 (long_options): Likewise.
56 (OPTION_NO_LEADING_UNDERSCORE): New define.
57 (OPTION_LEADING_UNDERSCORE): Likewise.
58 (main): Initialize which_host, pass new options
59 to dlltool, do underscoring dependent on
60 is_leading_underscore, and do '@12' decoration
63 2009-11-02 Paul Brook <paul@codesourcery.com>
65 * readelf.c (arm_attr_tag_VFP_arch): Add VFPv4 and VFPv4-D16.
67 2009-10-28 Kai Tietz <kai.tietz@onevision.com>
69 * dlltool.c (leading_underscore): New local variable.
70 (asm_prefix): Interpret leading_underscore.
72 (add_excludes): Use leading_underscore for making
74 (gen_exp_file): Use leading_underscore for internal
76 (usage): Add display of --no-leading-underscore and
77 --leading-underscore option.
78 (OPTION_NO_LEADING_UNDERSCORE): New.
79 (OPTION_LEADING_UNDERSCORE): New.
80 (long_options): Add --no-leading-underscore and
81 --leading-underscore option.
82 (main): Handle new options.
83 * doc/binutils.text: Add documentation of the options
84 --no-leading-underscore and --leading-underscore.
86 2009-10-23 Kai Tietz <kai.tietz@onevision.com>
88 * deflex.l: Allow '<' and '>' in ID names.
90 * defparse.y (EQUAL): New token constant.
91 (opt_import_name): New rule for emptry or '==' ID.
92 (expline): Add opt_import_name as last line element.
94 * dlltool.c (ifunct): New member its_name.
96 (append_import): Add its_name argument.
97 (defexports): Likewise.
98 (defimport): Likewise.
99 (scan_drectve_symbols): Adjust calls to def_exports.
100 (dump_def_info): Print new optinal import/export table
102 (generate_idata_ofile): Use its_name member.
103 (make_one_lib_file): Likewise.
104 (nfunc): Take its_name in account on sort.
105 * dlltool.h (def_exports): Add its_name as argument.
106 (def_import): Likewise.
107 * doc/binutils.texi: Add new def file syntax extension.
108 * deflex.l (EQUAL): Add rule for '=='.
109 * NEWS: Mention new feature.
111 2009-10-23 Thomas Cougnard <thomas.cougnard@gmail.com>
113 * readelf.c (dynamic_info): Correct size of array.
115 2009-10-21 Ben Elliston <bje@gnu.org>
117 * MAINTAINERS (BUILD SYSTEM, TESTSUITES): Remove myself.
119 2009-10-19 Jerker Bäck <jerker.back@gmail.com>
122 * prdbg.c (tg_end_struct_type): Warning fix.
125 * dlltool.c (dll_name_list_append): Declare variable at start
127 (dll_name_list_count, dll_name-list_print): Likewise.
129 2009-10-16 Doug Evans <dje@sebabeach.org>
131 * MAINTAINERS: Add myself as m32r maintainer.
133 2009-10-16 Jerker Bäck <jerker.back@gmail.com>
136 * Makefile.am (sysinfo.o, syslex.o): Place source file after all
137 command line switches.
138 * Makefile.in: Regenerate.
140 2009-10-16 Yann Droneaud <yann@droneaud.fr>
143 * dlltool.c (bfd_get_errmsg): New macro.
144 (scan_obj_file): Use it.
145 (make_one_lib_file): Use it.
147 (make_delay_head): Use it.
149 (gen_lib_file): Use it.
150 (identify_dll_for_implib): Use it.
151 (identify_search_archive): Use it.
153 2009-10-16 Nick Clifton <nickc@redhat.com>
155 * readelf.c (usage): Add mention of --debug-dump=frames-interp.
156 Wrap output to 80 columns.
157 * objdump.c (usage): Likewise.
158 * doc/binutils.texi (readelf): Add note about =frames-interp.
160 2009-10-01 Alan Modra <amodra@bigpond.net.au>
162 * addr2line.c (slurp_symtab): Don't use bfd_read_minisymbols.
164 2009-09-29 Nick Clifton <nickc@redhat.com>
166 * doc/binutils.texi (c++filt): Remove spurious description of
167 nonexistent --java command line switch for cxxfilt.
169 2009-09-29 DJ Delorie <dj@redhat.com>
171 * readelf.c: Add support for RX target.
172 * MAINTAINERS: Add DJ and NickC as maintainers for RX.
174 2009-09-28 Alan Modra <amodra@bigpond.net.au>
176 * configure.in: Don't invoke configure.tgt on $enable_targets.
177 * configure: Regenerate.
179 2009-09-28 Nick Clifton <nickc@redhat.com>
182 * readelf.c (get_elf_section_flags): Allow SHN_BEFORE and
183 SHN_AFTER section link values in x86 binaries.
184 (process_section_headers): Likewise.
186 2009-09-25 Dimitry Gorbachev <d.g.gorbachev@gmail.com>
189 * readelf.c: Remove duplicate declaration of variable do_wide.
190 * dwarf.h: Add export of do_wide.
192 2009-09-24 Cary Coutant <ccoutant@google.com>
194 * dwarf.c (get_TAG_name): Add missing DWARF-3 and new DWARF-4 tags.
195 (get_FORM_name): Add new DWARF-4 forms.
196 (read_and_display_attr_value): Add DW_FORM_ref_sig8, DW_LANG_Python.
197 (get_AT_name): Add new DWARF-4 and GNU-specific attributes.
198 (process_debug_info): Add do_types parameter; change all callers.
199 Add support for .debug_types sections.
200 (display_debug_types): New function.
201 (debug_displays): Add .debug_types section.
202 * readelf.c (process_section_headers): Add .debug_types section.
203 (display_debug_section): Simplify call to streq.
205 2009-09-25 Alan Modra <amodra@bigpond.net.au>
207 * readelf.c (print_dynamic_symbol): Format entries as for
209 (process_symbol_table): Use -7s format string for visibility.
211 2009-09-22 Richard Sandiford <rdsandiford@googlemail.com>
213 * objdump.c (disassemble_section): Use bfd_get_arch_size
214 instead of assuming that the address size is 32 bits.
216 2009-09-21 Alan Modra <amodra@bigpond.net.au>
218 * readelf.c (get_ppc_dynamic_type): Add TLSOPT.
219 (get_ppc64_dynamic_type): Likewise.
221 2009-09-18 Nick Clifton <nickc@redhat.com>
223 * po/es.po: Updated Spanish translation.
224 * po/vi.po: Updated Vietnamese translation.
226 2009-09-11 Paul Pluzhnikov <ppluzhnikov@google.com>
228 * readelf.c (process_version_sections, process_symbol_table):
229 Use symbolic constants.
231 2009-09-11 Nick Clifton <nickc@redhat.com>
233 * po/binutils.pot: Updated by the Translation project.
235 2009-09-11 Philippe De Muyter <phdm@macqel.be>
237 * obcopy.c (copy_object): New parameter `input_arch', architecture
238 of input file, if not specified in input file itself; all callers
239 updated; `binary_architecture' hack removed.
240 (copy_archive, copy_file): New parameter `input_arch', for
242 (copy_main): Accept `-B' (`--binary-architecture') option also
243 for any arch-less input ifile format, not only `binary'; remove
244 bfd_external_binary_architecture hack; instead, add `input_arch'
245 to calls to `copy_file'.
246 * windres.c, windmc.c : Obsolete and useless external references
247 to `bfd_external_binary_architecture' or `bfd_external_machine'
249 * doc/binutils.texi: Mention that -B parameter can be used for any
250 input file type which does not have its own architecture.
252 2009-09-10 Martin Thuresson <martin@mtme.org>
254 Update sources to compile cleanly with -Wc++-compat:
255 * addr2line.c (slurp_symtab): Fix casts. Introduce variable
256 minisyms to avoid aliasing varning.
258 (normalize): Use name del instead of delete.
259 (display_target_list,display_info_table): Change loop counter
261 * bucomm.c: Add casts.
262 * debug.c: Update function to use new names.
263 (struct debug_baseclass): Rename member from virtual to
265 (struct debug_type_s, struct debug_field_s, struct
266 debug_baseclass_s, struct debug_method_s, struct
267 debug_method_variant_s, struct debug_type_s): Rename struct from
268 avoid name collision.
269 * debug.h: Use new struct names.
270 * dwarf.c: Add casts.
271 (free_debug_memory): Change loop counter variable a to int.
273 (enum ieee_var_kind): Move to top level.
274 (ieee_class_baseclass): Rename parameter virtual to is_virtual.
275 (ieee_class_method_var): Rename variable virtual to is_virtual.
277 * objcopy.c: Add casts.
278 (copy_archive): Rename variable delete to del.
279 * objdump.c: Add casts.
280 (dump_dwarf_section): Change loop counter variable i to int.
281 * prdbg.c: Add casts.
282 (pr_class_baseclass,tg_class_baseclass): Rename parameters virtual
284 * readelf.c: Add casts.
285 (struct ia64_unw_table_entry,struct hppa_unw_table_entry): Move to
288 * stabs.c (parse_stab_type, parse_stab_range_type,
289 (parse_stab_cpp_abbrev): Rename parameter from typename to
291 (parse_stab_baseclasses): Rename variable virtual to is_virtual.
292 * strings.c: Add casts.
293 * wrstabs.c (stab_class_baseclass): Rename parameter virtual to
296 2009-09-09 Nick Clifton <nickc@redhat.com>
299 readelf.c (get_elf_section_flags): Add support for SHF_EXCLUDE and
301 (process_section_headers): Warn about out of range sh_link
302 values. When displaying detailed section header information
303 annote the SHN_BEFORE and SHN_AFTER values.
305 2009-09-08 Alan Modra <amodra@bigpond.net.au>
307 * dwarf.c (byte_get_little_endian): Handle size of 3.
308 (byte_get_big_endian): Likewise.
309 * readelf.c (byte_put_little_endian): Likewise.
310 (byte_put_big_endian): Likewise.
311 (is_24bit_abs_reloc): New function.
312 (is_none_reloc): Formatting.
313 (apply_relocations): Use is_24bit_abs_reloc. Handle pj and xtensa
316 2009-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
318 * readelf.c (is_none_reloc <EM_XTENSA_OLD>, is_none_reloc <EM_XTENSA>):
321 2009-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
323 * dwarf.c (process_debug_info): Support section padding abbrev codes.
325 2009-09-07 Tristan Gingold <gingold@adacore.com>
327 * po/binutils.pot: Regenerate.
329 2009-09-05 Jan Kratochvil <jan.kratochvil@redhat.com>
331 * Makefile.am (sysdump.o): Depend on sysroff.c.
332 * Makefile.in: Regenerate.
334 2009-09-05 Martin Thuresson <martin@mtme.org>
336 * ieee.c (ieee_read_cxx_misc, ieee_read_cxx_class,
337 ieee_read_reference): Rename variables named class to cxxclass.
339 2009-09-04 Tristan Gingold <gingold@adacore.com>
341 * BRANCHES: Add binutils-2_20-branch.
343 2009-09-04 Tristan Gingold <gingold@adacore.com>
345 * NEWS: Add marker for 2.20.
347 2009-09-04 Timo Kreuzer <timo.kreuzer@web.de>
349 * dlltool.c (delayimp_name): Add new global variable
350 (usage, long_options, main): Add new option "-y" / "--output-delaylib"
351 (struct mac): Add fields how_dljtab_size, how_dljtab_roff1,
352 how_dljtab_roff2, how_dljtab, trampoline.
353 (i386_dljtab): Add binary stub for x86 delay import.
354 (i386_trampoline): Add text assembly stub for x86 delay import.
355 (mtable): Add delay import data for M386 and MX86 only.
356 (make_delay_head): New function.
357 (make_one_lib_file): New arg delay creates delay-load import stub.
358 (gen_lib_file): New arg delay likewise.
359 (HOW_JTAB, HOW_JTAB_SIZE, HOW_JTAB_ROFF): New arg delay likewise.
360 (HOW_JTAB_ROFF2, HOW_JTAB_ROFF3): New macros for delay import.
361 (make_tail): Convert hard TABS embedded in strings to "\t" escapes.
362 * NEWS: Mention new feature. Also fix whitespace.
363 * doc/binutils.texi: Updated dlltool documentation.
365 2009-09-02 Tristan Gingold <gingold@adacore.com>
367 * configure.com: Do not copy makefile.vms-in to makefile.vms
368 * makefile.vms-in: Renamed to...
369 * makefile.vms: ... this usual name as it is not processed anymore.
370 Remove WRITE_DEBUG_OBJS (unused) and reorder object files for
373 2009-09-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
375 * Makefile.am (arparse.o, arlex.o, sysroff.o, defparse.o)
376 (deflex.o, nlmheaders.o, rcparse.o, mcparse.o): Supply correct
377 source file name for generated files which may be in $(srcdir).
378 * Makefile.in: Regenerate.
380 2009-09-01 H.J. Lu <hongjiu.lu@intel.com>
382 * version.c (print_version): Change to "Copyright 2009".
384 2009-09-01 Tristan Gingold <gingold@adacore.com>
386 * makefile.vms-in: Remove unused VERSION variable. Remove unused
388 * configure.com: Ported to Itanium VMS. Create build.com DCL script.
390 2009-08-29 Martin Thuresson <martin@mtme.org>
392 * nlmconv.c (main): Rename variable new to new_name.
394 2009-08-28 H.J. Lu <hongjiu.lu@intel.com>
396 * Makefile.am (sysinfo$(EXEEXT_FOR_BUILD)): Replace
397 CFLAGS/LDFLAGS with CFLAGS_FOR_BUILD/LDFLAGS_FOR_BUILD.
398 (syslex.o): Likewise.
399 (sysinfo.o): Likewise.
400 (bin2c$(EXEEXT_FOR_BUILD)): Likewise.
401 * Makefile.in: Regenerated.
403 2009-08-27 Dave Korn <dave.korn.cygwin@gmail.com>
405 * doc/binutils.texi (--only-keep-debug): Relocate stray para here ...
406 (--subsystem): ... from here.
408 2009-08-24 Cary Coutant <ccoutant@google.com>
410 * objdump.c (find_symbol_for_address): Avoid costly call to
413 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
415 * Makefile.am (am__skiplex, am__skipyacc): New.
416 * Makefile.in: Regenerate.
418 2009-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
420 * Makefile.am (syslex.o): Depend on sysinfo.h config.h.
421 * Makefile.in: Regenerate.
423 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
425 * Makefile.am (AM_CPPFLAGS): Renamed from ...
426 (INCLUDES): ... this.
427 (bin2c$(EXEEXT_FOR_BUILD): Adjust rule.
428 (installcheck-local): Renamed from ...
429 (installcheck): ... this.
430 * Makefile.in: Regenerate.
432 * Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add no-dist and
434 (MKDEP, CLEANFILES): Remove now-unneeded variables.
435 (DEP, DEP1, dep.sed, dep, dep-in, dep-am): Remove.
436 (mkdep section): Remove.
437 (BUILT_SOURCES): New variable, list $(GENERATED_HFILES).
438 (EXTRA_ar_SOURCES): New, list $(CFILES).
439 (syslex.o): Depend on syslex.c.
440 (sysinfo.o): Depend on sysinfo.c.
441 (arparse.h, defparse.h, nlmheaders.h rcparse.h mcparse.h):
442 Remove dependencies, now tracked by automake.
443 (srconv.o): Depend on sysroff.c.
444 (objdump.o, arparse.o, arlex.o, sysroff.o, defparse.o, deflex.o)
445 (nlmheader.o, rcparse.o, mcparse.o, rclex.o, mclex.o, dlltool.o)
446 (rescoff.o, nlmconv.o): Rewrite using automake-style dependency
447 tracking rules; only list the dependency upon the primary source
448 file, but no included headers.
449 * Makefile.in: Regenerate.
451 * Makefile.am (install-pdf, install-pdf-recursive, install-html)
452 (install-html-recursive): Remove.
453 * Makefile.in: Regenerate.
454 * doc/Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
455 (html__strip_dir, install-html, install-html-am): Remove.
456 * doc/Makefile.in: Regenerate.
458 * Makefile.in: Regenerate.
459 * aclocal.m4: Likewise.
460 * config.in: Likewise.
461 * configure: Likewise.
462 * doc/Makefile.in: Likewise.
464 2009-08-17 Nick Clifton <nickc@redhat.com>
466 * readelf.c (is_32bit_abs_reloc): Treat R_PARISC_SECREL32 as a
467 32-bit absolute reloc for the purposes of processing debug
470 2009-08-10 Daniel Gutson <dgutson@codesourcery.com>
472 * readelf.c (get_arm_section_type_name): Added support for
473 new sections headers.
475 2009-08-03 H.J. Lu <hongjiu.lu@intel.com>
478 * objcopy.c (strip_main): Check return from smart_rename.
479 (copy_main): Likewise.
481 2009-07-27 Nick Clifton <nickc@redhat.com>
484 * objdump.c (dump_section_header): Skip sections that we are
487 2009-07-25 H.J. Lu <hongjiu.lu@intel.com>
489 * readelf.c (guess_is_rela): Handle EM_L1OM.
490 (dump_relocations): Likewise.
491 (get_machine_name): Likewise.
492 (get_section_type_name): Likewise.
493 (get_elf_section_flags): Likewise.
494 (get_symbol_index_type): Likewise.
495 (is_32bit_abs_reloc): Likewise.
496 (is_32bit_pcrel_reloc): Likewise.
497 (is_64bit_abs_reloc): Likewise.
498 (is_64bit_pcrel_reloc): Likewise.
499 (is_none_reloc): Likewise.
501 2009-07-23 Ulrich Drepper <drepper@redhat.com>
503 * readelf.c (get_symbol_binding): For Linux targeted files return
504 UNIQUE for symbols with the STB_GNU_UNIQUE binding.
505 * doc/binutils.texi: Document the meaning of the 'u' symbol
506 binding in the output of nm and objdump --syms.
508 2009-07-20 H.J. Lu <hongjiu.lu@intel.com>
510 * NEWS: Mention --insn-width.
512 * objdump.c (insn_width): New.
513 (usage): Display --insn-width.
514 (option_values): Add OPTION_INSN_WIDTH.
515 (long_options): Add --insn-width.
516 (disassemble_bytes): Handle insn_width.
517 (main): Handle OPTION_INSN_WIDTH.
519 * doc/binutils.texi: Document --insn-width.
521 2009-07-17 Nick Clifton <nickc@redhat.com>
523 * dwarf.c (display_debug_lines): If do_debug_lines has not been
524 set then default to displaying raw .debug_line section contents.
526 2009-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
528 Support unordered .debug_info references to .debug_ranges.
529 * dwarf.c (struct range_entry, range_entry_compar): New.
530 (display_debug_ranges): Remove variables last_offset, first, j,
531 seen_first_offset, use_debug_info and next. New variables
532 range_entries and range_entry_fill. Create the sorted copy
533 range_entries. Remove the FIXME error on detected unordered references.
534 * dwarf.h (debug_info <range_lists>): New comment.
536 2009-07-14 Nick Clifton <nickc@redhat.com>
539 * README: Document use of LDFLAGS="--static".
541 2009-07-10 H.J. Lu <hongjiu.lu@intel.com>
543 * Makefile.am: Run "make dep-am".
544 * Makefile.in: Regenerated.
546 2009-07-10 Tom Tromey <tromey@redhat.com>
548 * Makefile.am (dwarf.o): Refer to dwarf2.h, not elf/dwarf2.h.
549 * Makefile.in: Rebuild.
550 * dwarf.c: Include dwarf2.h, not elf/dwarf2.h.
552 2009-07-06 Tristan Gingold <gingold@adacore.com>
554 * objdump.c (dump_dwarf_section): Handle .eh_frame like other dwarf
556 * dwarf.h (struct dwarf_section_display): Remove eh_frame field.
557 * dwarf.c (debug_displays): Adjust for removed field.
559 2009-07-03 Jakub Jelinek <jakub@redhat.com>
561 * dwarf.c (decode_location_expression): Handle DW_OP_stack_value
562 and DW_OP_implicit_value.
564 2009-07-01 Nick Clifton <nickc@redhat.com>
567 * rclex.c (handle_quotes): Do not complain about whitespace
568 separating quoted strings.
569 (rclex_string): Ignore whitespace when looking for a new opening
570 quote following a closing quote.
572 2009-06-27 H.J. Lu <hongjiu.lu@intel.com>
575 * bucomm.c (get_file_size): Return -1 on error.
577 * objcopy.c (copy_file): Report empty file.
579 2009-06-23 Nick Clifton <nickc@redhat.com>
581 * dwarf.c (display_debug_lines_raw): Include the name of the
582 section in warning message.
583 (struct debug_display): Enable reloc processing for .debug_line
584 and .debug_ranges sections.
586 * readelf.c: Add --relocated-dump command line option to dump the
587 relocated contents of a specified section.
588 (request_dump): New function.
589 (parse_args): Use it.
590 (dump_section_as_bytes): Add parameter to indicate whether the
591 contents should be relocated.
592 (target_specific_reloc_handling): Add code for a R_MN10300_16
593 reloc found after a R_MN10300_SYM_DIFF reloc.
594 (debug_apply_relocations): Rename to apply_relocations.
595 (get_section_contents): New function. Replaces common code found
596 in dump_section_as_strings and dump_section_as_bytes.
597 * doc/binutils.texi: Document new command line option.
598 * NEWS: Mention the new feature.
600 2009-06-22 Nick Clifton <nickc@redhat.com>
602 * readelf.c (target_specific_reloc_handling): New function:
603 Processes relocs in a target specific manner.
604 (debug_apply_relocations): Use the new function.
605 * dwarf.c (display_debug_loc): End the dump with a blank line.
606 (struct debug_display): Enable reloc processing for .debug_aranges
607 and .debug_loc sections.
609 2009-06-19 Nick Clifton <nickc@redhat.com>
611 * ar.c (usage): Do not use #ifdef inside _("...).
612 * nm.c (usage): Likewise.
614 2009-06-18 Nick Clifton <nickc@redhat.com>
617 * objdump.c (disassemble_bytes): Set the
618 USER_SPECIFIED_MACHINE_TYPE flag in the disassemble_info structure
619 if the user has invoked the -m switch.
620 * doc/binutils.texi: Document the additional behaviour of
621 objdump's -m switch for ARM targets.
623 2009-06-18 Dave Korn <dave.korn.cygwin@gmail.com>
625 * configure.in: Merge cegcc and mingw32ce target name changes from
628 2007-12-25 Pedro Alves <pedro_alves@portugalmail.pt>
630 * configure.in: Add arm*-*-cegcc* and arm*-*-mingw32ce* targets.
631 * configure: Regenerate.
633 2009-06-15 Nick Clifton <nickc@redhat.com>
636 * objdump.c (disassemble_bytes): Set the DISASSEMBLE_DATA bit in
637 the flags field of the disassemble_info structure if the -D switch
640 2009-06-12 Homer Xing <homer.xing@yahoo.com>
642 * NEWS: Mention new feature added to gprof.
644 2009-06-12 John Reiser <jreiser@BitWagon.com>
646 * readelf.c (process_symbol_table): Set gnubuckets to NULL after
647 freeing it and before returning.
649 2009-06-12 Jakub Jelinek <jakub@redhat.com>
651 * readelf.c (process_symbol_table): Don't return early if
652 .hash/.gnu.hash is empty/unusable and not -D.
654 2009-06-09 Tom Bramer <tjb@postpro.net>
657 * winduni.c (wind_MultiByteToWideChar): Do not pass MB_PRECOMPOSED
658 to MultiByteToWideChar when using the CP_UTF8 or CO_UTF7 types.
660 2009-06-04 Alan Modra <amodra@bigpond.net.au>
662 * strings.c (main): Delay parsing of decimal digits.
664 2009-06-04 Alan Modra <amodra@bigpond.net.au>
666 * dep-in.sed: Don't use \n in replacement part of s command.
667 * Makefile.am (DEP1): LC_ALL for uniq.
669 * Makefile.in: Regenerate.
671 2009-06-03 Tristan Gingold <gingold@adacore.com>
673 * MAINTAINERS: Add myself as Mach-O maintainer.
675 2009-06-01 Alan Modra <amodra@bigpond.net.au>
678 * doc/binutils.texi (nm): Correct -S description.
680 2009-05-28 Nick Clifton <nickc@redhat.com>
682 * po/da.po: Updated Danish translation.
684 2009-05-28 Nick Clifton <nickc@redhat.com>
686 * readelf.c (display_debug_section): Do not display debug sections
687 with the NOBITS section type.
689 2009-05-27 Rafael Avila de Espindola <espindola@google.com>
691 * aclocal.m4: Include ../config/plugins.m4.
692 * configure.in: Use AC_PLUGINS.
693 * configure: Regenerate.
694 * Makefile.in: Regenerate.
695 * doc/Makefile.in: Regenerate.
697 2009-05-27 Rafael Avila de Espindola <espindola@google.com>
699 * ar.c (main): Call bfd_plugin_set_program_name.
700 * nm.c (main): Call bfd_plugin_set_program_name.
702 2009-05-27 Nathan Sidwell <nathan@codesourcery.com>
704 * sysdump.c (tab): Use puts rather than two printfs.
706 2009-05-26 Nick Clifton <nickc@redhat.com>
708 * po/id.po: Updated Indonesian translation.
709 * po/binutils.pot: Updated template file.
711 2009-05-26 Rafael Avila de Espindola <espindola@google.com>
713 * ar.c: Include plugin.h.
714 (main): Handle the --plugin option.
715 * nm.c: Include plugin.h.
716 (OPTION_PLUGIN): New.
717 (long_options): Add plugin.
718 (main): Handle OPTION_PLUGIN.
719 * NEWS: Mention the new feature.
720 * doc/binutils: Documement the new command line options.
721 * configure.in: Check for --enable-plugins.
722 * configure: Regenerate.
724 2009-05-26 Alan Modra <amodra@bigpond.net.au>
726 * dep-in.sed: Output one filename per line with all lines having
727 continuation backslash. Prefix first line with "A", following
729 * Makefile.am (DEP): Don't use dep.sed here.
730 (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
732 * Makefile.in: Regenerate.
734 2009-05-25 Tristan Gingold <gingold@adacore.com>
736 * makefile.vms-in: Fix CFLAGS, add addr2line.exe target.
738 * configure.com: Fix it: handle alloca and define TARGET in config.h.
740 2009-05-22 Alan Modra <amodra@bigpond.net.au>
742 * Makefile.am: Run "make dep-am".
743 * Makefile.in: Regenerate.
745 2009-05-12 Alan Modra <amodra@bigpond.net.au>
747 * objcopy.c (set_long_section_mode): Check input_bfd is coff
748 before accessing coff specific fields of bfd.
750 2009-05-09 Dave Korn <dave.korn.cygwin@gmail.com>
752 * MAINTAINERS: Add myself as PE/COFF co-maintainer.
754 2009-05-08 Kai Tietz <kai.tietz@onevision.com>
756 * winduni.c (iconv_onechar): Only define when HAVE_ICONV
757 is defined, but not when __CYGWIN__ or _WIN32 are defined.
758 See wind_iconv_cp for call logic of this local funtion.
760 2009-05-05 Guillaume Duhamel <guillaume.duhamel@gmail.com>
763 * winduni.c: Replace test of HAVE_ICONV_H with a test of
765 (iconv_onechar): Use ICONV_CONST instead of "const".
766 (wind_MultiByteToWideChar): Initialise local strings.
768 2009-04-30 Nick Clifton <nickc@redhat.com>
770 * readelf.c (dump_relocations): Display a relocation against an
771 ifunc symbol as if it were a function invocation.
772 (get_symbol_type): Handle STT_GNU_IFUNC.
774 2009-04-29 Anthony Green <green@moxielogic.com>
776 * NEWS: Tweak verilog support description.
778 2009-04-29 Alan Modra <amodra@bigpond.net.au>
779 Denis Scherbakov <denis_scherbakov@yahoo.com>
781 * readelf.c (slurp_ia64_unwind_table): Correct 64-bit unwind table
782 read, and merge with 32-bit case.
784 2009-04-27 Anthony Green <green@moxielogic.com>
786 * NEWS: Mention verilog support added to bfd.
788 2009-04-27 H.J. Lu <hongjiu.lu@intel.com>
790 * objcopy.c (copy_object): Copy pe_opthdr before changing PE
793 2009-04-24 Cary Coutant <ccoutant@google.com>
795 * dwarf.c (process_extended_line_op): Add DW_LNE_set_discriminator.
796 Add missing newlines to HP extensions.
798 2009-04-17 H.J. Lu <hongjiu.lu@intel.com>
800 * objcopy.c (set_pe_subsystem): Replace efi-rom with sal-rtd.
801 * doc/binutils.texi: Likewise.
803 2009-04-17 H.J. Lu <hongjiu.lu@intel.com>
806 * objcopy.c: Include coff/i386.h and coff/pe.h.
807 (pe_file_alignment): New.
808 (pe_heap_commit): Likewise.
809 (pe_heap_reserve): Likewise.
810 (pe_image_base): Likewise.
811 (pe_section_alignment): Likewise.
812 (pe_stack_commit): Likewise.
813 (pe_stack_reserve): Likewise.
814 (pe_subsystem): Likewise.
815 (pe_major_subsystem_version): Likewise.
816 (pe_minor_subsystem_version): Likewise.
817 (set_pe_subsystem): Likewise.
818 (convert_efi_target): Likewise.
819 (command_line_switch): Add OPTION_FILE_ALIGNMENT,
820 OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT,
821 OPTION_STACK and OPTION_SUBSYSTEM.
822 (copy_options): Likewise.
823 (copy_usage): Add --file-alignment, --heap, --image-base,
824 --section-alignment, --stack and --subsystem.
825 (copy_object): Set up PE parameters.
826 (copy_main): Process Add OPTION_FILE_ALIGNMENT,
827 OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT,
828 OPTION_STACK and OPTION_SUBSYSTEM. Convert EFI target to
831 * NEWS: Mention --file-alignment, --heap, --image-base,
832 --section-alignment, --stack and --subsystem command line
835 * doc/binutils.texi: Document --file-alignment, --heap,
836 --image-base, --section-alignment, --stack and --subsystem
837 command line options for objcopy.
839 2009-04-15 Anthony Green <green@moxielogic.com>
841 * MAINTAINERS: Add myself as Moxie port maintainer.
843 2009-04-14 Dave Korn <dave.korn.cygwin@gmail.com>
845 * objcopy.c (enum long_section_name_handling): New enum type.
846 (enum command_line_switch): Add OPTION_LONG_SECTION_NAMES.
847 (copy_options[]): Add entry for --long-section-names option.
848 (copy_usage): Document it.
849 (set_long_section_mode): New subroutine.
850 (copy_file): Call it.
851 (copy_main): Accept OPTION_LONG_SECTION_NAMES and parse arg.
852 * doc/binutils.texi: Update objcopy documentation with details
855 2009-04-01 Dave Korn <dave.korn.cygwin@gmail.com>
857 * dlltool.c (set_dll_name_from_def): Accept new second arg that
858 indicates if we are building DLL or EXE, and use it to add a
859 default suffix to the output filename when none is already present.
860 (def_name): Indicate we are building an EXE when calling it.
861 (def_library): Indicate we are building a DLL when calling it.
863 2009-04-01 Jari Aalto <jari.aalto@cante.net>
866 * doc/binutils.texi (strings): Document the -V alias for the
868 * strings.c (usage): Likewise.
870 2009-03-31 Nick Clifton <nickc@redhat.com>
873 * configure.in: Import Solaris specific largefile test from
875 * configure: Regenerate.
877 2009-03-30 Richard Sandiford <rdsandiford@googlemail.com>
879 * MAINTAINERS: Add self.
881 2009-03-27 Nick Clifton <nickc@redhat.com>
883 * dwarf.c (display_debug_ranges): Add the base address to the
884 displayed values for 'Begin' and 'End'.
886 2009-03-25 Ryan Mansfield <rmansfield@qnx.com>
888 * readelf.c (process_file_header): Don't report a corrupt string
889 table index if it is zero.
891 2009-03-19 H.J. Lu <hongjiu.lu@intel.com>
893 * dwarf.c (dwarf_regnames): Moved before frame_need_space.
894 (dwarf_regnames_count): Likewise.
895 (frame_need_space): Return int.
896 (display_debug_frames): Check invalid registers.
898 2009-03-19 H.J. Lu <hongjiu.lu@intel.com>
900 * readelf.c (debug_apply_relocations): Check relocations
901 against STT_SECTION symbol.
903 2009-03-18 H.J. Lu <hongjiu.lu@intel.com>
905 * readelf.c (debug_apply_relocations): Allow relocations
906 against function symbols.
908 2009-03-18 Alan Modra <amodra@bigpond.net.au>
910 * sysdep.h: Include alloca-conf.h instead of config.h and remove
911 existing #if's handling alloca.
912 * Makefile.am: Run "make dep-am".
913 * Makefile.in: Regenerate.
915 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
917 * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
918 * configure.in: Likewise.
919 * configure: Regenerate.
921 2009-03-13 H.J. Lu <hongjiu.lu@intel.com>
924 * objcopy.c (copy_object): Clear HAS_RELOC when stripping all.
926 2009-03-11 Chris Demetriou <cgd@google.com>
928 * ar.c (deterministic): New global variable.
929 (main): Recognize new 'D' option, which enables 'deterministic mode'.
930 (usage): Document new 'D' option.
931 (write_archive): Set BFD_DETERMINISTIC_OUTPUT in output archive's
932 flags if deterministic mode was requested.
933 * doc/binutils.texi (ar): Document deterministic mode ('D' option).
935 2009-03-09 H.J. Lu <hongjiu.lu@intel.com>
938 * objcopy.c (filter_symbols): Properly handle common symbols
941 2009-03-06 Nick Clifton <nickc@redhat.com>
943 * po/es.po: Updated Spanish translation.
945 2009-03-05 Nick Clifton <nickc@redhat.com>
947 * objdump.c (disassemble_section): If the computed next offset is
948 not beyond the current offset then just continue to the end.
950 2009-03-04 Tristan Gingold <gingold@adacore.com>
952 * MAINTAINERS: Add myself as VMS maintainer.
954 2009-03-03 Nick Clifton <nickc@redhat.com>
956 * readelf.c: Update formatting.
958 2009-03-03 Alan Modra <amodra@bigpond.net.au>
960 * Makefile.am: Run "make dep-am".
961 * Makefile.in: Regenerate.
963 2009-03-03 Alan Modra <amodra@bigpond.net.au>
965 * objdump.c (disassemble_section): Mask address before sign extending.
967 2009-03-02 Sebastian Biallas <sb@biallas.net>
969 * ieee.c (parse_ieee_ty): Add support for undocumented 'v' type.
970 (parse_ieee_bb): Set the filename if it has not already been
973 2009-03-02 Cary Coutant <ccoutant@google.com>
975 * readelf.c (adjust_relative_path): New function.
976 (struct archive_info): New type.
977 (setup_archive): New function.
978 (release_archive): New function.
979 (setup_nested_archive): New function.
980 (get_archive_member_name): New function.
981 (get_archive_member_name_at): New function.
982 (make_qualified_name): New function.
983 (process_archive): Factor out code for reading archive index and
984 long filename table to setup_archive. Add support for thin archives.
986 2009-03-02 Nick Clifton <nickc@redhat.com>
988 * po/sk.po: Updated Slovak translation.
990 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
992 * configure: Regenerate.
994 2009-02-23 Cary Coutant <ccoutant@google.com>
996 * objdump.c (load_specific_debug_section): New function, from
998 (load_debug_section): Use load_specific_debug_section.
999 (dump_dwarf_section): Likewise.
1001 2009-02-23 Cary Coutant <ccoutant@google.com>
1003 * readelf.c (parse_args): Select all sections explicitly for -w.
1005 2009-02-09 Kai Tietz <kai.tietz@onevision.com>
1007 * windres.c (set_endianess): Copy name without leading '-'.
1009 2009-02-09 Tristan Gingold <gingold@adacore.com>
1011 * NEWS: Mention feature match between objdump and readelf for dumping
1014 * doc/binutils.texi (objdump): Document -W/--dwarf improvments to
1017 * objdump.c (usage): Update documentation for -W/--dwarf.
1018 (enum option_values): Add OPTION_DWARF.
1019 (long_options): --dwarf can accept arguments.
1020 (dump_dwarf_section): Also check enabled field.
1021 (main): Option -W can accept arguments, code moved to
1022 dwarf.c and call dwarf_select_sections_all instead.
1023 * readelf.c (process_section_headers): Remove do_debug_lines_decoded.
1024 (parse_args): Move code to...
1025 * dwarf.c (dwarf_select_sections_by_letters,
1026 dwarf_select_sections_by_names): : ...here (new functions).
1027 (do_debug_lines_decoded): Remove and replaced by ...
1028 (FLAG_DEBUG_LINES_RAW, FLAG_DEBUG_LINES_DECODED): ... new macros.
1029 (display_debug_lines): Adjust for previous change.
1030 (dwarf_select_sections_all): New function.
1031 (debug_displays): Add initializer for enabled field.
1032 * dwarf.h (do_debug_lines_decoded): Remove.
1033 Add prototypes for the new functions.
1034 (struct dwarf_section_display): Add enabled field.
1036 2009-02-06 Nick Clifton <nickc@redhat.com>
1038 * po/vi.po: Updated Vietnamese translation.
1040 2009-02-03 Sandip Matte <sandip@rmicorp.com>
1042 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_XLR.
1044 2009-02-03 H.J. Lu <hongjiu.lu@intel.com>
1046 * NEWS: Move --as-needed change to ...
1049 2009-02-03 Carlos O'Donell <carlos@codesourcery.com>
1051 * configure.in: AC_SUBST pdfdir.
1052 * Makefile.am: Add install-pdf, install-pdf-am,
1053 and install-pdf-recursive targets.
1054 * doc/Makefile.am: Define pdf__strip_dir. Add
1055 install-pdf and install-pdf-am targets.
1056 * po/Make-in: Add install-pdf target.
1057 * configure: Regenerate.
1058 * Makefile.in: Regenerate.
1059 * doc/Makefile.in: Regenerate.
1061 2009-02-03 H.J. Lu <hongjiu.lu@intel.com>
1064 * NEWS: Mention --prefix=PREFIX and --prefix-strip=LEVEL.
1066 * doc/binutils.texi: Document --prefix=PREFIX and
1067 --prefix-strip=LEVEL.
1069 * objdump.c: Include "filenames.h".
1071 (prefix_strip): Likewise.
1072 (prefix_length): Likewise.
1073 (usage): Add --prefix=PREFIX and --prefix-strip=LEVEL.
1074 (option_values): Add OPTION_PREFIX and OPTION_PREFIX_STRIP.
1075 (long_options): Likewise.
1076 (show_line): Handle prefix and prefix_strip.
1077 (main): Handle OPTION_PREFIX and OPTION_PREFIX_STRIP.
1079 * readelf.c (PATH_MAX): Moved to ...
1082 2009-01-31 Alan Modra <amodra@bigpond.net.au>
1084 * NEWS: Mention --as-needed change.
1086 2009-01-29 Alan Modra <amodra@bigpond.net.au>
1089 * bucomm.c (bfd_nonfatal_message): Use bfd_get_archive_filename.
1090 (bfd_get_archive_filename): Constify param.
1091 * bucomm.h (bfd_get_archive_filename): Update prototype.
1092 * objcopy.c (RETURN_NONFATAL): Delete.
1093 (copy_unknown_object): Don't call bfd_get_archive_filename for
1094 bfd_nonfatal_message filename, instead just pass bfd.
1095 (copy_object): Likewise.
1096 (copy_archive, copy_file): Likewise. Expand RETURN_NONFATAL. On
1097 bfd_close errors, do not pass the bfd to bfd_nonfatal_message.
1098 (setup_bfd_headers): Fix error message.
1100 2009-01-27 Nick Clifton <nickc@redhat.com>
1103 * objdump.c (disassemble_section): When the target uses signed
1104 addresses make sure that we compute signed values.
1106 2009-01-27 Nick Clifton <nickc@redhat.com>
1108 * MAINTAINERS: Remove Thiemo Seufer's name from the list of MIPS
1111 2009-01-26 Nick Clifton <nickc@redhat.com>
1114 * dlltool.c (xlate): When strip text after the @ sign, look for
1115 the last one not the first one.
1117 2009-01-16 Alan Modra <amodra@bigpond.net.au>
1119 * configure.in (commonbfdlib): Delete.
1120 * configure: Regenerate.
1122 2008-01-14 Charles Wilson <cygwin@cwilson.fastmail.fm>
1124 Cleanup code related to --identify option.
1126 * dlltool.c (file scope): Removed globals identify_ms,
1127 identify_member_contains_symname_result,
1128 identify_dll_name_list_head, and identify_dll_name_list_tail.
1129 Renamed existing typedef dll_name_list_type to
1130 dll_name_list_node_type.
1131 Added new typedefs dll_name_list_type, symname_search_data_type,
1132 and identify_data_type.
1133 (identify_append_dll_name_to_list): Renamed to...
1134 (dll_name_list_append): ...here. Changed signature to accept list
1135 argument rather than use global.
1136 (identify_count_dll_name_list): Renamed to...
1137 (dll_name_list_count): ...here. Changed signature to accept list
1138 argument rather than use global.
1139 (identify_print_dll_name_list): Renamed to...
1140 (dll_name_list_print): ...here. Changed signature to accept list
1141 argument rather than use global.
1142 (identify_free_dll_name_list): Renamed to...
1143 (dll_name_list_free_contents): ...here.
1144 (dll_name_list_free): New function.
1145 (dll_name_list_create): New function.
1146 (identify_process_section_p): Changed signature to accept
1147 ms_style_implib argument rather than use global.
1148 (identify_member_contains_symname): Expect incoming void * data to
1149 be symname_search_data_type.
1150 (identify_dll_for_implib): Use new functions dll_name_list_create
1151 and dll_name_list_free. Use new types symname_search_data_type
1152 and identify_data_type to communicate with search routines.
1153 (identify_search_section): Expect incoming void * data to be
1154 identify_data_type. Use its contents rather than global
1157 2009-01-13 Charles Wilson <cygwin@cwilson.fastmail.fm>
1159 Add --identify-strict option. Handle ms-style implibs:
1161 * dlltool.c (file scope): Added new globals identify_ms and
1162 identify_strict. New typedef dll_name_list_type, and globals
1163 identify_dll_name_list_head and identify_dll_name_list_tail. Added
1164 new global identify_member_contains_symname_result.
1165 (identify_append_dll_name_to_list): New function.
1166 (identify_count_dll_name_list): New function.
1167 (identify_print_dll_name_list): New function.
1168 (identify_free_dll_name_list): New function.
1169 (identify_search_archive): Changed signature to take function
1170 pointer to operation to apply to each member, and data to pass on
1172 (identify_search_member): Changed signature to accept user data
1174 (identify_member_contains_symname): New function.
1175 (identify_dll_for_implib): Rewrite. Now determines whether implib
1176 is ms- or binutils- style, before searching sections for
1177 dllname. Allows multiple dllnames.
1178 (identify_process_section_p): Search alternate section for dllname
1179 when implib is ms-style.
1180 (identify_search_section): Add additional conditions to excludes
1181 candidate sections from consideration.
1182 (usage): Added --identify-strict.
1183 (long_options): Added --identify-strict.
1184 (main): Handle --identify-strict option.
1185 * doc/binutils.texi: Document --identify-strict option.
1186 * NEWS: Document --identify and --identify-strict options.
1188 2009-01-13 Alan Modra <amodra@bigpond.net.au>
1191 * doc/binutils.texi (objdump -R): Note effect of -d or -D.
1193 2009-01-13 Alan Modra <amodra@bigpond.net.au>
1195 * objdump.c (disassemble_section): Don't assume non-instruction
1196 data if object symbol at given address is in different section.
1198 2009-01-12 Kai Tietz <kai.tietz@onevision.com>
1200 * dlltool.c (create_for_pep): New.
1201 (flush_page): Use create_for_pep instead of using
1202 macro DLLTOOL_MX86_64 clause.
1203 (generate_idata_ofile): Likewise.
1204 (make_one_lib_file): Likewise.
1205 (make_head): Likewise.
1206 (make_tail): Likewise.
1207 (main): Initialize create_for_pep.
1209 2009-01-08 Kai Tietz <kai.tietz@onevision.com>
1211 * dlltool.c (use_nul_prefixed_import_tables): New.
1212 (make_head): Make prefix leading zero prefix element for
1213 idata$4 and idata$5 dependent to new flag.
1214 (usage): Add new option --use-nul-prefixed-import-tables.
1215 (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
1216 (long_options): Add --use-nul-prefixed-import-tables.
1218 * doc/binutils.texi: Add new option documentation for
1219 --use-nul-prefixed-import-tables.
1220 * NEWS: Add new option.
1222 2009-01-06 Kai Tietz <kai.tietz@onevision.com>
1224 * windres.c (set_endianess): Get architecture name
1225 for internal target names like "pe-arm-wince-little".
1226 (find_arch_match): New helper.
1227 * ChangeLog: Reset it.
1228 * ChangeLog-2008: Moved old ChangeLog.
1230 For older changes see ChangeLog-2008
1236 version-control: never