1 2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3 * configure.in: Stop checking for fopen64 and stat64.
4 * strings.c (file_off, file_open, statbuf, file_stat): Remove.
5 (strings_file): Change file_off to file_ptr, file_open to fopen,
6 statbuf to struct stat and file_stat to stat.
7 (get_char): Change parameter type file_off * to file_ptr *.
8 (print_strings): Change parameter and variable `start' type file_off to
10 * configure: Regenerate.
11 * config.in: Regenerate.
13 2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15 * configure.in: Call ACX_LARGEFILE. Stop calling AC_PLUGINS,
16 AC_SYS_LARGEFILE and checking the Solaris largefile exception.
17 * aclocal.m4: Regenerate.
18 * configure: Regenerate.
20 2009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
22 * bucomm.c (get_file_size): Update comment for the error return value.
24 2009-11-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
26 * readelf.c (slurp_hppa_unwind_table): Don't relocate address twice.
28 2009-11-05 Kai Tietz <kai.tietz@onevision.com>
30 * dllwrap.c (is_leading_underscore): New variable.
31 (cpu_type): New enum type.
32 (which_cpu): New variable.
33 (usage): Add new options --no-leading-underscore
34 and --leading-underscore.
35 (long_options): Likewise.
36 (OPTION_NO_LEADING_UNDERSCORE): New define.
37 (OPTION_LEADING_UNDERSCORE): Likewise.
38 (main): Initialize which_host, pass new options
39 to dlltool, do underscoring dependent on
40 is_leading_underscore, and do '@12' decoration
43 2009-11-02 Paul Brook <paul@codesourcery.com>
45 * readelf.c (arm_attr_tag_VFP_arch): Add VFPv4 and VFPv4-D16.
47 2009-10-28 Kai Tietz <kai.tietz@onevision.com>
49 * dlltool.c (leading_underscore): New local variable.
50 (asm_prefix): Interpret leading_underscore.
52 (add_excludes): Use leading_underscore for making
54 (gen_exp_file): Use leading_underscore for internal
56 (usage): Add display of --no-leading-underscore and
57 --leading-underscore option.
58 (OPTION_NO_LEADING_UNDERSCORE): New.
59 (OPTION_LEADING_UNDERSCORE): New.
60 (long_options): Add --no-leading-underscore and
61 --leading-underscore option.
62 (main): Handle new options.
63 * doc/binutils.text: Add documentation of the options
64 --no-leading-underscore and --leading-underscore.
66 2009-10-23 Kai Tietz <kai.tietz@onevision.com>
68 * deflex.l: Allow '<' and '>' in ID names.
70 * defparse.y (EQUAL): New token constant.
71 (opt_import_name): New rule for emptry or '==' ID.
72 (expline): Add opt_import_name as last line element.
74 * dlltool.c (ifunct): New member its_name.
76 (append_import): Add its_name argument.
77 (defexports): Likewise.
78 (defimport): Likewise.
79 (scan_drectve_symbols): Adjust calls to def_exports.
80 (dump_def_info): Print new optinal import/export table
82 (generate_idata_ofile): Use its_name member.
83 (make_one_lib_file): Likewise.
84 (nfunc): Take its_name in account on sort.
85 * dlltool.h (def_exports): Add its_name as argument.
86 (def_import): Likewise.
87 * doc/binutils.texi: Add new def file syntax extension.
88 * deflex.l (EQUAL): Add rule for '=='.
89 * NEWS: Mention new feature.
91 2009-10-23 Thomas Cougnard <thomas.cougnard@gmail.com>
93 * readelf.c (dynamic_info): Correct size of array.
95 2009-10-21 Ben Elliston <bje@gnu.org>
97 * MAINTAINERS (BUILD SYSTEM, TESTSUITES): Remove myself.
99 2009-10-19 Jerker Bäck <jerker.back@gmail.com>
102 * prdbg.c (tg_end_struct_type): Warning fix.
105 * dlltool.c (dll_name_list_append): Declare variable at start
107 (dll_name_list_count, dll_name-list_print): Likewise.
109 2009-10-16 Doug Evans <dje@sebabeach.org>
111 * MAINTAINERS: Add myself as m32r maintainer.
113 2009-10-16 Jerker Bäck <jerker.back@gmail.com>
116 * Makefile.am (sysinfo.o, syslex.o): Place source file after all
117 command line switches.
118 * Makefile.in: Regenerate.
120 2009-10-16 Yann Droneaud <yann@droneaud.fr>
123 * dlltool.c (bfd_get_errmsg): New macro.
124 (scan_obj_file): Use it.
125 (make_one_lib_file): Use it.
127 (make_delay_head): Use it.
129 (gen_lib_file): Use it.
130 (identify_dll_for_implib): Use it.
131 (identify_search_archive): Use it.
133 2009-10-16 Nick Clifton <nickc@redhat.com>
135 * readelf.c (usage): Add mention of --debug-dump=frames-interp.
136 Wrap output to 80 columns.
137 * objdump.c (usage): Likewise.
138 * doc/binutils.texi (readelf): Add note about =frames-interp.
140 2009-10-01 Alan Modra <amodra@bigpond.net.au>
142 * addr2line.c (slurp_symtab): Don't use bfd_read_minisymbols.
144 2009-09-29 Nick Clifton <nickc@redhat.com>
146 * doc/binutils.texi (c++filt): Remove spurious description of
147 nonexistent --java command line switch for cxxfilt.
149 2009-09-29 DJ Delorie <dj@redhat.com>
151 * readelf.c: Add support for RX target.
152 * MAINTAINERS: Add DJ and NickC as maintainers for RX.
154 2009-09-28 Alan Modra <amodra@bigpond.net.au>
156 * configure.in: Don't invoke configure.tgt on $enable_targets.
157 * configure: Regenerate.
159 2009-09-28 Nick Clifton <nickc@redhat.com>
162 * readelf.c (get_elf_section_flags): Allow SHN_BEFORE and
163 SHN_AFTER section link values in x86 binaries.
164 (process_section_headers): Likewise.
166 2009-09-25 Dimitry Gorbachev <d.g.gorbachev@gmail.com>
169 * readelf.c: Remove duplicate declaration of variable do_wide.
170 * dwarf.h: Add export of do_wide.
172 2009-09-24 Cary Coutant <ccoutant@google.com>
174 * dwarf.c (get_TAG_name): Add missing DWARF-3 and new DWARF-4 tags.
175 (get_FORM_name): Add new DWARF-4 forms.
176 (read_and_display_attr_value): Add DW_FORM_ref_sig8, DW_LANG_Python.
177 (get_AT_name): Add new DWARF-4 and GNU-specific attributes.
178 (process_debug_info): Add do_types parameter; change all callers.
179 Add support for .debug_types sections.
180 (display_debug_types): New function.
181 (debug_displays): Add .debug_types section.
182 * readelf.c (process_section_headers): Add .debug_types section.
183 (display_debug_section): Simplify call to streq.
185 2009-09-25 Alan Modra <amodra@bigpond.net.au>
187 * readelf.c (print_dynamic_symbol): Format entries as for
189 (process_symbol_table): Use -7s format string for visibility.
191 2009-09-22 Richard Sandiford <rdsandiford@googlemail.com>
193 * objdump.c (disassemble_section): Use bfd_get_arch_size
194 instead of assuming that the address size is 32 bits.
196 2009-09-21 Alan Modra <amodra@bigpond.net.au>
198 * readelf.c (get_ppc_dynamic_type): Add TLSOPT.
199 (get_ppc64_dynamic_type): Likewise.
201 2009-09-18 Nick Clifton <nickc@redhat.com>
203 * po/es.po: Updated Spanish translation.
204 * po/vi.po: Updated Vietnamese translation.
206 2009-09-11 Paul Pluzhnikov <ppluzhnikov@google.com>
208 * readelf.c (process_version_sections, process_symbol_table):
209 Use symbolic constants.
211 2009-09-11 Nick Clifton <nickc@redhat.com>
213 * po/binutils.pot: Updated by the Translation project.
215 2009-09-11 Philippe De Muyter <phdm@macqel.be>
217 * obcopy.c (copy_object): New parameter `input_arch', architecture
218 of input file, if not specified in input file itself; all callers
219 updated; `binary_architecture' hack removed.
220 (copy_archive, copy_file): New parameter `input_arch', for
222 (copy_main): Accept `-B' (`--binary-architecture') option also
223 for any arch-less input ifile format, not only `binary'; remove
224 bfd_external_binary_architecture hack; instead, add `input_arch'
225 to calls to `copy_file'.
226 * windres.c, windmc.c : Obsolete and useless external references
227 to `bfd_external_binary_architecture' or `bfd_external_machine'
229 * doc/binutils.texi: Mention that -B parameter can be used for any
230 input file type which does not have its own architecture.
232 2009-09-10 Martin Thuresson <martin@mtme.org>
234 Update sources to compile cleanly with -Wc++-compat:
235 * addr2line.c (slurp_symtab): Fix casts. Introduce variable
236 minisyms to avoid aliasing varning.
238 (normalize): Use name del instead of delete.
239 (display_target_list,display_info_table): Change loop counter
241 * bucomm.c: Add casts.
242 * debug.c: Update function to use new names.
243 (struct debug_baseclass): Rename member from virtual to
245 (struct debug_type_s, struct debug_field_s, struct
246 debug_baseclass_s, struct debug_method_s, struct
247 debug_method_variant_s, struct debug_type_s): Rename struct from
248 avoid name collision.
249 * debug.h: Use new struct names.
250 * dwarf.c: Add casts.
251 (free_debug_memory): Change loop counter variable a to int.
253 (enum ieee_var_kind): Move to top level.
254 (ieee_class_baseclass): Rename parameter virtual to is_virtual.
255 (ieee_class_method_var): Rename variable virtual to is_virtual.
257 * objcopy.c: Add casts.
258 (copy_archive): Rename variable delete to del.
259 * objdump.c: Add casts.
260 (dump_dwarf_section): Change loop counter variable i to int.
261 * prdbg.c: Add casts.
262 (pr_class_baseclass,tg_class_baseclass): Rename parameters virtual
264 * readelf.c: Add casts.
265 (struct ia64_unw_table_entry,struct hppa_unw_table_entry): Move to
268 * stabs.c (parse_stab_type, parse_stab_range_type,
269 (parse_stab_cpp_abbrev): Rename parameter from typename to
271 (parse_stab_baseclasses): Rename variable virtual to is_virtual.
272 * strings.c: Add casts.
273 * wrstabs.c (stab_class_baseclass): Rename parameter virtual to
276 2009-09-09 Nick Clifton <nickc@redhat.com>
279 readelf.c (get_elf_section_flags): Add support for SHF_EXCLUDE and
281 (process_section_headers): Warn about out of range sh_link
282 values. When displaying detailed section header information
283 annote the SHN_BEFORE and SHN_AFTER values.
285 2009-09-08 Alan Modra <amodra@bigpond.net.au>
287 * dwarf.c (byte_get_little_endian): Handle size of 3.
288 (byte_get_big_endian): Likewise.
289 * readelf.c (byte_put_little_endian): Likewise.
290 (byte_put_big_endian): Likewise.
291 (is_24bit_abs_reloc): New function.
292 (is_none_reloc): Formatting.
293 (apply_relocations): Use is_24bit_abs_reloc. Handle pj and xtensa
296 2009-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
298 * readelf.c (is_none_reloc <EM_XTENSA_OLD>, is_none_reloc <EM_XTENSA>):
301 2009-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
303 * dwarf.c (process_debug_info): Support section padding abbrev codes.
305 2009-09-07 Tristan Gingold <gingold@adacore.com>
307 * po/binutils.pot: Regenerate.
309 2009-09-05 Jan Kratochvil <jan.kratochvil@redhat.com>
311 * Makefile.am (sysdump.o): Depend on sysroff.c.
312 * Makefile.in: Regenerate.
314 2009-09-05 Martin Thuresson <martin@mtme.org>
316 * ieee.c (ieee_read_cxx_misc, ieee_read_cxx_class,
317 ieee_read_reference): Rename variables named class to cxxclass.
319 2009-09-04 Tristan Gingold <gingold@adacore.com>
321 * BRANCHES: Add binutils-2_20-branch.
323 2009-09-04 Tristan Gingold <gingold@adacore.com>
325 * NEWS: Add marker for 2.20.
327 2009-09-04 Timo Kreuzer <timo.kreuzer@web.de>
329 * dlltool.c (delayimp_name): Add new global variable
330 (usage, long_options, main): Add new option "-y" / "--output-delaylib"
331 (struct mac): Add fields how_dljtab_size, how_dljtab_roff1,
332 how_dljtab_roff2, how_dljtab, trampoline.
333 (i386_dljtab): Add binary stub for x86 delay import.
334 (i386_trampoline): Add text assembly stub for x86 delay import.
335 (mtable): Add delay import data for M386 and MX86 only.
336 (make_delay_head): New function.
337 (make_one_lib_file): New arg delay creates delay-load import stub.
338 (gen_lib_file): New arg delay likewise.
339 (HOW_JTAB, HOW_JTAB_SIZE, HOW_JTAB_ROFF): New arg delay likewise.
340 (HOW_JTAB_ROFF2, HOW_JTAB_ROFF3): New macros for delay import.
341 (make_tail): Convert hard TABS embedded in strings to "\t" escapes.
342 * NEWS: Mention new feature. Also fix whitespace.
343 * doc/binutils.texi: Updated dlltool documentation.
345 2009-09-02 Tristan Gingold <gingold@adacore.com>
347 * configure.com: Do not copy makefile.vms-in to makefile.vms
348 * makefile.vms-in: Renamed to...
349 * makefile.vms: ... this usual name as it is not processed anymore.
350 Remove WRITE_DEBUG_OBJS (unused) and reorder object files for
353 2009-09-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
355 * Makefile.am (arparse.o, arlex.o, sysroff.o, defparse.o)
356 (deflex.o, nlmheaders.o, rcparse.o, mcparse.o): Supply correct
357 source file name for generated files which may be in $(srcdir).
358 * Makefile.in: Regenerate.
360 2009-09-01 H.J. Lu <hongjiu.lu@intel.com>
362 * version.c (print_version): Change to "Copyright 2009".
364 2009-09-01 Tristan Gingold <gingold@adacore.com>
366 * makefile.vms-in: Remove unused VERSION variable. Remove unused
368 * configure.com: Ported to Itanium VMS. Create build.com DCL script.
370 2009-08-29 Martin Thuresson <martin@mtme.org>
372 * nlmconv.c (main): Rename variable new to new_name.
374 2009-08-28 H.J. Lu <hongjiu.lu@intel.com>
376 * Makefile.am (sysinfo$(EXEEXT_FOR_BUILD)): Replace
377 CFLAGS/LDFLAGS with CFLAGS_FOR_BUILD/LDFLAGS_FOR_BUILD.
378 (syslex.o): Likewise.
379 (sysinfo.o): Likewise.
380 (bin2c$(EXEEXT_FOR_BUILD)): Likewise.
381 * Makefile.in: Regenerated.
383 2009-08-27 Dave Korn <dave.korn.cygwin@gmail.com>
385 * doc/binutils.texi (--only-keep-debug): Relocate stray para here ...
386 (--subsystem): ... from here.
388 2009-08-24 Cary Coutant <ccoutant@google.com>
390 * objdump.c (find_symbol_for_address): Avoid costly call to
393 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
395 * Makefile.am (am__skiplex, am__skipyacc): New.
396 * Makefile.in: Regenerate.
398 2009-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
400 * Makefile.am (syslex.o): Depend on sysinfo.h config.h.
401 * Makefile.in: Regenerate.
403 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
405 * Makefile.am (AM_CPPFLAGS): Renamed from ...
406 (INCLUDES): ... this.
407 (bin2c$(EXEEXT_FOR_BUILD): Adjust rule.
408 (installcheck-local): Renamed from ...
409 (installcheck): ... this.
410 * Makefile.in: Regenerate.
412 * Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add no-dist and
414 (MKDEP, CLEANFILES): Remove now-unneeded variables.
415 (DEP, DEP1, dep.sed, dep, dep-in, dep-am): Remove.
416 (mkdep section): Remove.
417 (BUILT_SOURCES): New variable, list $(GENERATED_HFILES).
418 (EXTRA_ar_SOURCES): New, list $(CFILES).
419 (syslex.o): Depend on syslex.c.
420 (sysinfo.o): Depend on sysinfo.c.
421 (arparse.h, defparse.h, nlmheaders.h rcparse.h mcparse.h):
422 Remove dependencies, now tracked by automake.
423 (srconv.o): Depend on sysroff.c.
424 (objdump.o, arparse.o, arlex.o, sysroff.o, defparse.o, deflex.o)
425 (nlmheader.o, rcparse.o, mcparse.o, rclex.o, mclex.o, dlltool.o)
426 (rescoff.o, nlmconv.o): Rewrite using automake-style dependency
427 tracking rules; only list the dependency upon the primary source
428 file, but no included headers.
429 * Makefile.in: Regenerate.
431 * Makefile.am (install-pdf, install-pdf-recursive, install-html)
432 (install-html-recursive): Remove.
433 * Makefile.in: Regenerate.
434 * doc/Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
435 (html__strip_dir, install-html, install-html-am): Remove.
436 * doc/Makefile.in: Regenerate.
438 * Makefile.in: Regenerate.
439 * aclocal.m4: Likewise.
440 * config.in: Likewise.
441 * configure: Likewise.
442 * doc/Makefile.in: Likewise.
444 2009-08-17 Nick Clifton <nickc@redhat.com>
446 * readelf.c (is_32bit_abs_reloc): Treat R_PARISC_SECREL32 as a
447 32-bit absolute reloc for the purposes of processing debug
450 2009-08-10 Daniel Gutson <dgutson@codesourcery.com>
452 * readelf.c (get_arm_section_type_name): Added support for
453 new sections headers.
455 2009-08-03 H.J. Lu <hongjiu.lu@intel.com>
458 * objcopy.c (strip_main): Check return from smart_rename.
459 (copy_main): Likewise.
461 2009-07-27 Nick Clifton <nickc@redhat.com>
464 * objdump.c (dump_section_header): Skip sections that we are
467 2009-07-25 H.J. Lu <hongjiu.lu@intel.com>
469 * readelf.c (guess_is_rela): Handle EM_L1OM.
470 (dump_relocations): Likewise.
471 (get_machine_name): Likewise.
472 (get_section_type_name): Likewise.
473 (get_elf_section_flags): Likewise.
474 (get_symbol_index_type): Likewise.
475 (is_32bit_abs_reloc): Likewise.
476 (is_32bit_pcrel_reloc): Likewise.
477 (is_64bit_abs_reloc): Likewise.
478 (is_64bit_pcrel_reloc): Likewise.
479 (is_none_reloc): Likewise.
481 2009-07-23 Ulrich Drepper <drepper@redhat.com>
483 * readelf.c (get_symbol_binding): For Linux targeted files return
484 UNIQUE for symbols with the STB_GNU_UNIQUE binding.
485 * doc/binutils.texi: Document the meaning of the 'u' symbol
486 binding in the output of nm and objdump --syms.
488 2009-07-20 H.J. Lu <hongjiu.lu@intel.com>
490 * NEWS: Mention --insn-width.
492 * objdump.c (insn_width): New.
493 (usage): Display --insn-width.
494 (option_values): Add OPTION_INSN_WIDTH.
495 (long_options): Add --insn-width.
496 (disassemble_bytes): Handle insn_width.
497 (main): Handle OPTION_INSN_WIDTH.
499 * doc/binutils.texi: Document --insn-width.
501 2009-07-17 Nick Clifton <nickc@redhat.com>
503 * dwarf.c (display_debug_lines): If do_debug_lines has not been
504 set then default to displaying raw .debug_line section contents.
506 2009-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
508 Support unordered .debug_info references to .debug_ranges.
509 * dwarf.c (struct range_entry, range_entry_compar): New.
510 (display_debug_ranges): Remove variables last_offset, first, j,
511 seen_first_offset, use_debug_info and next. New variables
512 range_entries and range_entry_fill. Create the sorted copy
513 range_entries. Remove the FIXME error on detected unordered references.
514 * dwarf.h (debug_info <range_lists>): New comment.
516 2009-07-14 Nick Clifton <nickc@redhat.com>
519 * README: Document use of LDFLAGS="--static".
521 2009-07-10 H.J. Lu <hongjiu.lu@intel.com>
523 * Makefile.am: Run "make dep-am".
524 * Makefile.in: Regenerated.
526 2009-07-10 Tom Tromey <tromey@redhat.com>
528 * Makefile.am (dwarf.o): Refer to dwarf2.h, not elf/dwarf2.h.
529 * Makefile.in: Rebuild.
530 * dwarf.c: Include dwarf2.h, not elf/dwarf2.h.
532 2009-07-06 Tristan Gingold <gingold@adacore.com>
534 * objdump.c (dump_dwarf_section): Handle .eh_frame like other dwarf
536 * dwarf.h (struct dwarf_section_display): Remove eh_frame field.
537 * dwarf.c (debug_displays): Adjust for removed field.
539 2009-07-03 Jakub Jelinek <jakub@redhat.com>
541 * dwarf.c (decode_location_expression): Handle DW_OP_stack_value
542 and DW_OP_implicit_value.
544 2009-07-01 Nick Clifton <nickc@redhat.com>
547 * rclex.c (handle_quotes): Do not complain about whitespace
548 separating quoted strings.
549 (rclex_string): Ignore whitespace when looking for a new opening
550 quote following a closing quote.
552 2009-06-27 H.J. Lu <hongjiu.lu@intel.com>
555 * bucomm.c (get_file_size): Return -1 on error.
557 * objcopy.c (copy_file): Report empty file.
559 2009-06-23 Nick Clifton <nickc@redhat.com>
561 * dwarf.c (display_debug_lines_raw): Include the name of the
562 section in warning message.
563 (struct debug_display): Enable reloc processing for .debug_line
564 and .debug_ranges sections.
566 * readelf.c: Add --relocated-dump command line option to dump the
567 relocated contents of a specified section.
568 (request_dump): New function.
569 (parse_args): Use it.
570 (dump_section_as_bytes): Add parameter to indicate whether the
571 contents should be relocated.
572 (target_specific_reloc_handling): Add code for a R_MN10300_16
573 reloc found after a R_MN10300_SYM_DIFF reloc.
574 (debug_apply_relocations): Rename to apply_relocations.
575 (get_section_contents): New function. Replaces common code found
576 in dump_section_as_strings and dump_section_as_bytes.
577 * doc/binutils.texi: Document new command line option.
578 * NEWS: Mention the new feature.
580 2009-06-22 Nick Clifton <nickc@redhat.com>
582 * readelf.c (target_specific_reloc_handling): New function:
583 Processes relocs in a target specific manner.
584 (debug_apply_relocations): Use the new function.
585 * dwarf.c (display_debug_loc): End the dump with a blank line.
586 (struct debug_display): Enable reloc processing for .debug_aranges
587 and .debug_loc sections.
589 2009-06-19 Nick Clifton <nickc@redhat.com>
591 * ar.c (usage): Do not use #ifdef inside _("...).
592 * nm.c (usage): Likewise.
594 2009-06-18 Nick Clifton <nickc@redhat.com>
597 * objdump.c (disassemble_bytes): Set the
598 USER_SPECIFIED_MACHINE_TYPE flag in the disassemble_info structure
599 if the user has invoked the -m switch.
600 * doc/binutils.texi: Document the additional behaviour of
601 objdump's -m switch for ARM targets.
603 2009-06-18 Dave Korn <dave.korn.cygwin@gmail.com>
605 * configure.in: Merge cegcc and mingw32ce target name changes from
608 2007-12-25 Pedro Alves <pedro_alves@portugalmail.pt>
610 * configure.in: Add arm*-*-cegcc* and arm*-*-mingw32ce* targets.
611 * configure: Regenerate.
613 2009-06-15 Nick Clifton <nickc@redhat.com>
616 * objdump.c (disassemble_bytes): Set the DISASSEMBLE_DATA bit in
617 the flags field of the disassemble_info structure if the -D switch
620 2009-06-12 Homer Xing <homer.xing@yahoo.com>
622 * NEWS: Mention new feature added to gprof.
624 2009-06-12 John Reiser <jreiser@BitWagon.com>
626 * readelf.c (process_symbol_table): Set gnubuckets to NULL after
627 freeing it and before returning.
629 2009-06-12 Jakub Jelinek <jakub@redhat.com>
631 * readelf.c (process_symbol_table): Don't return early if
632 .hash/.gnu.hash is empty/unusable and not -D.
634 2009-06-09 Tom Bramer <tjb@postpro.net>
637 * winduni.c (wind_MultiByteToWideChar): Do not pass MB_PRECOMPOSED
638 to MultiByteToWideChar when using the CP_UTF8 or CO_UTF7 types.
640 2009-06-04 Alan Modra <amodra@bigpond.net.au>
642 * strings.c (main): Delay parsing of decimal digits.
644 2009-06-04 Alan Modra <amodra@bigpond.net.au>
646 * dep-in.sed: Don't use \n in replacement part of s command.
647 * Makefile.am (DEP1): LC_ALL for uniq.
649 * Makefile.in: Regenerate.
651 2009-06-03 Tristan Gingold <gingold@adacore.com>
653 * MAINTAINERS: Add myself as Mach-O maintainer.
655 2009-06-01 Alan Modra <amodra@bigpond.net.au>
658 * doc/binutils.texi (nm): Correct -S description.
660 2009-05-28 Nick Clifton <nickc@redhat.com>
662 * po/da.po: Updated Danish translation.
664 2009-05-28 Nick Clifton <nickc@redhat.com>
666 * readelf.c (display_debug_section): Do not display debug sections
667 with the NOBITS section type.
669 2009-05-27 Rafael Avila de Espindola <espindola@google.com>
671 * aclocal.m4: Include ../config/plugins.m4.
672 * configure.in: Use AC_PLUGINS.
673 * configure: Regenerate.
674 * Makefile.in: Regenerate.
675 * doc/Makefile.in: Regenerate.
677 2009-05-27 Rafael Avila de Espindola <espindola@google.com>
679 * ar.c (main): Call bfd_plugin_set_program_name.
680 * nm.c (main): Call bfd_plugin_set_program_name.
682 2009-05-27 Nathan Sidwell <nathan@codesourcery.com>
684 * sysdump.c (tab): Use puts rather than two printfs.
686 2009-05-26 Nick Clifton <nickc@redhat.com>
688 * po/id.po: Updated Indonesian translation.
689 * po/binutils.pot: Updated template file.
691 2009-05-26 Rafael Avila de Espindola <espindola@google.com>
693 * ar.c: Include plugin.h.
694 (main): Handle the --plugin option.
695 * nm.c: Include plugin.h.
696 (OPTION_PLUGIN): New.
697 (long_options): Add plugin.
698 (main): Handle OPTION_PLUGIN.
699 * NEWS: Mention the new feature.
700 * doc/binutils: Documement the new command line options.
701 * configure.in: Check for --enable-plugins.
702 * configure: Regenerate.
704 2009-05-26 Alan Modra <amodra@bigpond.net.au>
706 * dep-in.sed: Output one filename per line with all lines having
707 continuation backslash. Prefix first line with "A", following
709 * Makefile.am (DEP): Don't use dep.sed here.
710 (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
712 * Makefile.in: Regenerate.
714 2009-05-25 Tristan Gingold <gingold@adacore.com>
716 * makefile.vms-in: Fix CFLAGS, add addr2line.exe target.
718 * configure.com: Fix it: handle alloca and define TARGET in config.h.
720 2009-05-22 Alan Modra <amodra@bigpond.net.au>
722 * Makefile.am: Run "make dep-am".
723 * Makefile.in: Regenerate.
725 2009-05-12 Alan Modra <amodra@bigpond.net.au>
727 * objcopy.c (set_long_section_mode): Check input_bfd is coff
728 before accessing coff specific fields of bfd.
730 2009-05-09 Dave Korn <dave.korn.cygwin@gmail.com>
732 * MAINTAINERS: Add myself as PE/COFF co-maintainer.
734 2009-05-08 Kai Tietz <kai.tietz@onevision.com>
736 * winduni.c (iconv_onechar): Only define when HAVE_ICONV
737 is defined, but not when __CYGWIN__ or _WIN32 are defined.
738 See wind_iconv_cp for call logic of this local funtion.
740 2009-05-05 Guillaume Duhamel <guillaume.duhamel@gmail.com>
743 * winduni.c: Replace test of HAVE_ICONV_H with a test of
745 (iconv_onechar): Use ICONV_CONST instead of "const".
746 (wind_MultiByteToWideChar): Initialise local strings.
748 2009-04-30 Nick Clifton <nickc@redhat.com>
750 * readelf.c (dump_relocations): Display a relocation against an
751 ifunc symbol as if it were a function invocation.
752 (get_symbol_type): Handle STT_GNU_IFUNC.
754 2009-04-29 Anthony Green <green@moxielogic.com>
756 * NEWS: Tweak verilog support description.
758 2009-04-29 Alan Modra <amodra@bigpond.net.au>
759 Denis Scherbakov <denis_scherbakov@yahoo.com>
761 * readelf.c (slurp_ia64_unwind_table): Correct 64-bit unwind table
762 read, and merge with 32-bit case.
764 2009-04-27 Anthony Green <green@moxielogic.com>
766 * NEWS: Mention verilog support added to bfd.
768 2009-04-27 H.J. Lu <hongjiu.lu@intel.com>
770 * objcopy.c (copy_object): Copy pe_opthdr before changing PE
773 2009-04-24 Cary Coutant <ccoutant@google.com>
775 * dwarf.c (process_extended_line_op): Add DW_LNE_set_discriminator.
776 Add missing newlines to HP extensions.
778 2009-04-17 H.J. Lu <hongjiu.lu@intel.com>
780 * objcopy.c (set_pe_subsystem): Replace efi-rom with sal-rtd.
781 * doc/binutils.texi: Likewise.
783 2009-04-17 H.J. Lu <hongjiu.lu@intel.com>
786 * objcopy.c: Include coff/i386.h and coff/pe.h.
787 (pe_file_alignment): New.
788 (pe_heap_commit): Likewise.
789 (pe_heap_reserve): Likewise.
790 (pe_image_base): Likewise.
791 (pe_section_alignment): Likewise.
792 (pe_stack_commit): Likewise.
793 (pe_stack_reserve): Likewise.
794 (pe_subsystem): Likewise.
795 (pe_major_subsystem_version): Likewise.
796 (pe_minor_subsystem_version): Likewise.
797 (set_pe_subsystem): Likewise.
798 (convert_efi_target): Likewise.
799 (command_line_switch): Add OPTION_FILE_ALIGNMENT,
800 OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT,
801 OPTION_STACK and OPTION_SUBSYSTEM.
802 (copy_options): Likewise.
803 (copy_usage): Add --file-alignment, --heap, --image-base,
804 --section-alignment, --stack and --subsystem.
805 (copy_object): Set up PE parameters.
806 (copy_main): Process Add OPTION_FILE_ALIGNMENT,
807 OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT,
808 OPTION_STACK and OPTION_SUBSYSTEM. Convert EFI target to
811 * NEWS: Mention --file-alignment, --heap, --image-base,
812 --section-alignment, --stack and --subsystem command line
815 * doc/binutils.texi: Document --file-alignment, --heap,
816 --image-base, --section-alignment, --stack and --subsystem
817 command line options for objcopy.
819 2009-04-15 Anthony Green <green@moxielogic.com>
821 * MAINTAINERS: Add myself as Moxie port maintainer.
823 2009-04-14 Dave Korn <dave.korn.cygwin@gmail.com>
825 * objcopy.c (enum long_section_name_handling): New enum type.
826 (enum command_line_switch): Add OPTION_LONG_SECTION_NAMES.
827 (copy_options[]): Add entry for --long-section-names option.
828 (copy_usage): Document it.
829 (set_long_section_mode): New subroutine.
830 (copy_file): Call it.
831 (copy_main): Accept OPTION_LONG_SECTION_NAMES and parse arg.
832 * doc/binutils.texi: Update objcopy documentation with details
835 2009-04-01 Dave Korn <dave.korn.cygwin@gmail.com>
837 * dlltool.c (set_dll_name_from_def): Accept new second arg that
838 indicates if we are building DLL or EXE, and use it to add a
839 default suffix to the output filename when none is already present.
840 (def_name): Indicate we are building an EXE when calling it.
841 (def_library): Indicate we are building a DLL when calling it.
843 2009-04-01 Jari Aalto <jari.aalto@cante.net>
846 * doc/binutils.texi (strings): Document the -V alias for the
848 * strings.c (usage): Likewise.
850 2009-03-31 Nick Clifton <nickc@redhat.com>
853 * configure.in: Import Solaris specific largefile test from
855 * configure: Regenerate.
857 2009-03-30 Richard Sandiford <rdsandiford@googlemail.com>
859 * MAINTAINERS: Add self.
861 2009-03-27 Nick Clifton <nickc@redhat.com>
863 * dwarf.c (display_debug_ranges): Add the base address to the
864 displayed values for 'Begin' and 'End'.
866 2009-03-25 Ryan Mansfield <rmansfield@qnx.com>
868 * readelf.c (process_file_header): Don't report a corrupt string
869 table index if it is zero.
871 2009-03-19 H.J. Lu <hongjiu.lu@intel.com>
873 * dwarf.c (dwarf_regnames): Moved before frame_need_space.
874 (dwarf_regnames_count): Likewise.
875 (frame_need_space): Return int.
876 (display_debug_frames): Check invalid registers.
878 2009-03-19 H.J. Lu <hongjiu.lu@intel.com>
880 * readelf.c (debug_apply_relocations): Check relocations
881 against STT_SECTION symbol.
883 2009-03-18 H.J. Lu <hongjiu.lu@intel.com>
885 * readelf.c (debug_apply_relocations): Allow relocations
886 against function symbols.
888 2009-03-18 Alan Modra <amodra@bigpond.net.au>
890 * sysdep.h: Include alloca-conf.h instead of config.h and remove
891 existing #if's handling alloca.
892 * Makefile.am: Run "make dep-am".
893 * Makefile.in: Regenerate.
895 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
897 * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
898 * configure.in: Likewise.
899 * configure: Regenerate.
901 2009-03-13 H.J. Lu <hongjiu.lu@intel.com>
904 * objcopy.c (copy_object): Clear HAS_RELOC when stripping all.
906 2009-03-11 Chris Demetriou <cgd@google.com>
908 * ar.c (deterministic): New global variable.
909 (main): Recognize new 'D' option, which enables 'deterministic mode'.
910 (usage): Document new 'D' option.
911 (write_archive): Set BFD_DETERMINISTIC_OUTPUT in output archive's
912 flags if deterministic mode was requested.
913 * doc/binutils.texi (ar): Document deterministic mode ('D' option).
915 2009-03-09 H.J. Lu <hongjiu.lu@intel.com>
918 * objcopy.c (filter_symbols): Properly handle common symbols
921 2009-03-06 Nick Clifton <nickc@redhat.com>
923 * po/es.po: Updated Spanish translation.
925 2009-03-05 Nick Clifton <nickc@redhat.com>
927 * objdump.c (disassemble_section): If the computed next offset is
928 not beyond the current offset then just continue to the end.
930 2009-03-04 Tristan Gingold <gingold@adacore.com>
932 * MAINTAINERS: Add myself as VMS maintainer.
934 2009-03-03 Nick Clifton <nickc@redhat.com>
936 * readelf.c: Update formatting.
938 2009-03-03 Alan Modra <amodra@bigpond.net.au>
940 * Makefile.am: Run "make dep-am".
941 * Makefile.in: Regenerate.
943 2009-03-03 Alan Modra <amodra@bigpond.net.au>
945 * objdump.c (disassemble_section): Mask address before sign extending.
947 2009-03-02 Sebastian Biallas <sb@biallas.net>
949 * ieee.c (parse_ieee_ty): Add support for undocumented 'v' type.
950 (parse_ieee_bb): Set the filename if it has not already been
953 2009-03-02 Cary Coutant <ccoutant@google.com>
955 * readelf.c (adjust_relative_path): New function.
956 (struct archive_info): New type.
957 (setup_archive): New function.
958 (release_archive): New function.
959 (setup_nested_archive): New function.
960 (get_archive_member_name): New function.
961 (get_archive_member_name_at): New function.
962 (make_qualified_name): New function.
963 (process_archive): Factor out code for reading archive index and
964 long filename table to setup_archive. Add support for thin archives.
966 2009-03-02 Nick Clifton <nickc@redhat.com>
968 * po/sk.po: Updated Slovak translation.
970 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
972 * configure: Regenerate.
974 2009-02-23 Cary Coutant <ccoutant@google.com>
976 * objdump.c (load_specific_debug_section): New function, from
978 (load_debug_section): Use load_specific_debug_section.
979 (dump_dwarf_section): Likewise.
981 2009-02-23 Cary Coutant <ccoutant@google.com>
983 * readelf.c (parse_args): Select all sections explicitly for -w.
985 2009-02-09 Kai Tietz <kai.tietz@onevision.com>
987 * windres.c (set_endianess): Copy name without leading '-'.
989 2009-02-09 Tristan Gingold <gingold@adacore.com>
991 * NEWS: Mention feature match between objdump and readelf for dumping
994 * doc/binutils.texi (objdump): Document -W/--dwarf improvments to
997 * objdump.c (usage): Update documentation for -W/--dwarf.
998 (enum option_values): Add OPTION_DWARF.
999 (long_options): --dwarf can accept arguments.
1000 (dump_dwarf_section): Also check enabled field.
1001 (main): Option -W can accept arguments, code moved to
1002 dwarf.c and call dwarf_select_sections_all instead.
1003 * readelf.c (process_section_headers): Remove do_debug_lines_decoded.
1004 (parse_args): Move code to...
1005 * dwarf.c (dwarf_select_sections_by_letters,
1006 dwarf_select_sections_by_names): : ...here (new functions).
1007 (do_debug_lines_decoded): Remove and replaced by ...
1008 (FLAG_DEBUG_LINES_RAW, FLAG_DEBUG_LINES_DECODED): ... new macros.
1009 (display_debug_lines): Adjust for previous change.
1010 (dwarf_select_sections_all): New function.
1011 (debug_displays): Add initializer for enabled field.
1012 * dwarf.h (do_debug_lines_decoded): Remove.
1013 Add prototypes for the new functions.
1014 (struct dwarf_section_display): Add enabled field.
1016 2009-02-06 Nick Clifton <nickc@redhat.com>
1018 * po/vi.po: Updated Vietnamese translation.
1020 2009-02-03 Sandip Matte <sandip@rmicorp.com>
1022 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_XLR.
1024 2009-02-03 H.J. Lu <hongjiu.lu@intel.com>
1026 * NEWS: Move --as-needed change to ...
1029 2009-02-03 Carlos O'Donell <carlos@codesourcery.com>
1031 * configure.in: AC_SUBST pdfdir.
1032 * Makefile.am: Add install-pdf, install-pdf-am,
1033 and install-pdf-recursive targets.
1034 * doc/Makefile.am: Define pdf__strip_dir. Add
1035 install-pdf and install-pdf-am targets.
1036 * po/Make-in: Add install-pdf target.
1037 * configure: Regenerate.
1038 * Makefile.in: Regenerate.
1039 * doc/Makefile.in: Regenerate.
1041 2009-02-03 H.J. Lu <hongjiu.lu@intel.com>
1044 * NEWS: Mention --prefix=PREFIX and --prefix-strip=LEVEL.
1046 * doc/binutils.texi: Document --prefix=PREFIX and
1047 --prefix-strip=LEVEL.
1049 * objdump.c: Include "filenames.h".
1051 (prefix_strip): Likewise.
1052 (prefix_length): Likewise.
1053 (usage): Add --prefix=PREFIX and --prefix-strip=LEVEL.
1054 (option_values): Add OPTION_PREFIX and OPTION_PREFIX_STRIP.
1055 (long_options): Likewise.
1056 (show_line): Handle prefix and prefix_strip.
1057 (main): Handle OPTION_PREFIX and OPTION_PREFIX_STRIP.
1059 * readelf.c (PATH_MAX): Moved to ...
1062 2009-01-31 Alan Modra <amodra@bigpond.net.au>
1064 * NEWS: Mention --as-needed change.
1066 2009-01-29 Alan Modra <amodra@bigpond.net.au>
1069 * bucomm.c (bfd_nonfatal_message): Use bfd_get_archive_filename.
1070 (bfd_get_archive_filename): Constify param.
1071 * bucomm.h (bfd_get_archive_filename): Update prototype.
1072 * objcopy.c (RETURN_NONFATAL): Delete.
1073 (copy_unknown_object): Don't call bfd_get_archive_filename for
1074 bfd_nonfatal_message filename, instead just pass bfd.
1075 (copy_object): Likewise.
1076 (copy_archive, copy_file): Likewise. Expand RETURN_NONFATAL. On
1077 bfd_close errors, do not pass the bfd to bfd_nonfatal_message.
1078 (setup_bfd_headers): Fix error message.
1080 2009-01-27 Nick Clifton <nickc@redhat.com>
1083 * objdump.c (disassemble_section): When the target uses signed
1084 addresses make sure that we compute signed values.
1086 2009-01-27 Nick Clifton <nickc@redhat.com>
1088 * MAINTAINERS: Remove Thiemo Seufer's name from the list of MIPS
1091 2009-01-26 Nick Clifton <nickc@redhat.com>
1094 * dlltool.c (xlate): When strip text after the @ sign, look for
1095 the last one not the first one.
1097 2009-01-16 Alan Modra <amodra@bigpond.net.au>
1099 * configure.in (commonbfdlib): Delete.
1100 * configure: Regenerate.
1102 2008-01-14 Charles Wilson <cygwin@cwilson.fastmail.fm>
1104 Cleanup code related to --identify option.
1106 * dlltool.c (file scope): Removed globals identify_ms,
1107 identify_member_contains_symname_result,
1108 identify_dll_name_list_head, and identify_dll_name_list_tail.
1109 Renamed existing typedef dll_name_list_type to
1110 dll_name_list_node_type.
1111 Added new typedefs dll_name_list_type, symname_search_data_type,
1112 and identify_data_type.
1113 (identify_append_dll_name_to_list): Renamed to...
1114 (dll_name_list_append): ...here. Changed signature to accept list
1115 argument rather than use global.
1116 (identify_count_dll_name_list): Renamed to...
1117 (dll_name_list_count): ...here. Changed signature to accept list
1118 argument rather than use global.
1119 (identify_print_dll_name_list): Renamed to...
1120 (dll_name_list_print): ...here. Changed signature to accept list
1121 argument rather than use global.
1122 (identify_free_dll_name_list): Renamed to...
1123 (dll_name_list_free_contents): ...here.
1124 (dll_name_list_free): New function.
1125 (dll_name_list_create): New function.
1126 (identify_process_section_p): Changed signature to accept
1127 ms_style_implib argument rather than use global.
1128 (identify_member_contains_symname): Expect incoming void * data to
1129 be symname_search_data_type.
1130 (identify_dll_for_implib): Use new functions dll_name_list_create
1131 and dll_name_list_free. Use new types symname_search_data_type
1132 and identify_data_type to communicate with search routines.
1133 (identify_search_section): Expect incoming void * data to be
1134 identify_data_type. Use its contents rather than global
1137 2009-01-13 Charles Wilson <cygwin@cwilson.fastmail.fm>
1139 Add --identify-strict option. Handle ms-style implibs:
1141 * dlltool.c (file scope): Added new globals identify_ms and
1142 identify_strict. New typedef dll_name_list_type, and globals
1143 identify_dll_name_list_head and identify_dll_name_list_tail. Added
1144 new global identify_member_contains_symname_result.
1145 (identify_append_dll_name_to_list): New function.
1146 (identify_count_dll_name_list): New function.
1147 (identify_print_dll_name_list): New function.
1148 (identify_free_dll_name_list): New function.
1149 (identify_search_archive): Changed signature to take function
1150 pointer to operation to apply to each member, and data to pass on
1152 (identify_search_member): Changed signature to accept user data
1154 (identify_member_contains_symname): New function.
1155 (identify_dll_for_implib): Rewrite. Now determines whether implib
1156 is ms- or binutils- style, before searching sections for
1157 dllname. Allows multiple dllnames.
1158 (identify_process_section_p): Search alternate section for dllname
1159 when implib is ms-style.
1160 (identify_search_section): Add additional conditions to excludes
1161 candidate sections from consideration.
1162 (usage): Added --identify-strict.
1163 (long_options): Added --identify-strict.
1164 (main): Handle --identify-strict option.
1165 * doc/binutils.texi: Document --identify-strict option.
1166 * NEWS: Document --identify and --identify-strict options.
1168 2009-01-13 Alan Modra <amodra@bigpond.net.au>
1171 * doc/binutils.texi (objdump -R): Note effect of -d or -D.
1173 2009-01-13 Alan Modra <amodra@bigpond.net.au>
1175 * objdump.c (disassemble_section): Don't assume non-instruction
1176 data if object symbol at given address is in different section.
1178 2009-01-12 Kai Tietz <kai.tietz@onevision.com>
1180 * dlltool.c (create_for_pep): New.
1181 (flush_page): Use create_for_pep instead of using
1182 macro DLLTOOL_MX86_64 clause.
1183 (generate_idata_ofile): Likewise.
1184 (make_one_lib_file): Likewise.
1185 (make_head): Likewise.
1186 (make_tail): Likewise.
1187 (main): Initialize create_for_pep.
1189 2009-01-08 Kai Tietz <kai.tietz@onevision.com>
1191 * dlltool.c (use_nul_prefixed_import_tables): New.
1192 (make_head): Make prefix leading zero prefix element for
1193 idata$4 and idata$5 dependent to new flag.
1194 (usage): Add new option --use-nul-prefixed-import-tables.
1195 (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
1196 (long_options): Add --use-nul-prefixed-import-tables.
1198 * doc/binutils.texi: Add new option documentation for
1199 --use-nul-prefixed-import-tables.
1200 * NEWS: Add new option.
1202 2009-01-06 Kai Tietz <kai.tietz@onevision.com>
1204 * windres.c (set_endianess): Get architecture name
1205 for internal target names like "pe-arm-wince-little".
1206 (find_arch_match): New helper.
1207 * ChangeLog: Reset it.
1208 * ChangeLog-2008: Moved old ChangeLog.
1210 For older changes see ChangeLog-2008
1216 version-control: never