1 2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3 * configure.in: Call ACX_LARGEFILE. Stop calling AC_PLUGINS,
4 AC_SYS_LARGEFILE and checking the Solaris largefile exception.
5 * aclocal.m4: Regenerate.
6 * configure: Regenerate.
8 2009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10 * bucomm.c (get_file_size): Update comment for the error return value.
12 2009-11-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
14 * readelf.c (slurp_hppa_unwind_table): Don't relocate address twice.
16 2009-11-05 Kai Tietz <kai.tietz@onevision.com>
18 * dllwrap.c (is_leading_underscore): New variable.
19 (cpu_type): New enum type.
20 (which_cpu): New variable.
21 (usage): Add new options --no-leading-underscore
22 and --leading-underscore.
23 (long_options): Likewise.
24 (OPTION_NO_LEADING_UNDERSCORE): New define.
25 (OPTION_LEADING_UNDERSCORE): Likewise.
26 (main): Initialize which_host, pass new options
27 to dlltool, do underscoring dependent on
28 is_leading_underscore, and do '@12' decoration
31 2009-11-02 Paul Brook <paul@codesourcery.com>
33 * readelf.c (arm_attr_tag_VFP_arch): Add VFPv4 and VFPv4-D16.
35 2009-10-28 Kai Tietz <kai.tietz@onevision.com>
37 * dlltool.c (leading_underscore): New local variable.
38 (asm_prefix): Interpret leading_underscore.
40 (add_excludes): Use leading_underscore for making
42 (gen_exp_file): Use leading_underscore for internal
44 (usage): Add display of --no-leading-underscore and
45 --leading-underscore option.
46 (OPTION_NO_LEADING_UNDERSCORE): New.
47 (OPTION_LEADING_UNDERSCORE): New.
48 (long_options): Add --no-leading-underscore and
49 --leading-underscore option.
50 (main): Handle new options.
51 * doc/binutils.text: Add documentation of the options
52 --no-leading-underscore and --leading-underscore.
54 2009-10-23 Kai Tietz <kai.tietz@onevision.com>
56 * deflex.l: Allow '<' and '>' in ID names.
58 * defparse.y (EQUAL): New token constant.
59 (opt_import_name): New rule for emptry or '==' ID.
60 (expline): Add opt_import_name as last line element.
62 * dlltool.c (ifunct): New member its_name.
64 (append_import): Add its_name argument.
65 (defexports): Likewise.
66 (defimport): Likewise.
67 (scan_drectve_symbols): Adjust calls to def_exports.
68 (dump_def_info): Print new optinal import/export table
70 (generate_idata_ofile): Use its_name member.
71 (make_one_lib_file): Likewise.
72 (nfunc): Take its_name in account on sort.
73 * dlltool.h (def_exports): Add its_name as argument.
74 (def_import): Likewise.
75 * doc/binutils.texi: Add new def file syntax extension.
76 * deflex.l (EQUAL): Add rule for '=='.
77 * NEWS: Mention new feature.
79 2009-10-23 Thomas Cougnard <thomas.cougnard@gmail.com>
81 * readelf.c (dynamic_info): Correct size of array.
83 2009-10-21 Ben Elliston <bje@gnu.org>
85 * MAINTAINERS (BUILD SYSTEM, TESTSUITES): Remove myself.
87 2009-10-19 Jerker Bäck <jerker.back@gmail.com>
90 * prdbg.c (tg_end_struct_type): Warning fix.
93 * dlltool.c (dll_name_list_append): Declare variable at start
95 (dll_name_list_count, dll_name-list_print): Likewise.
97 2009-10-16 Doug Evans <dje@sebabeach.org>
99 * MAINTAINERS: Add myself as m32r maintainer.
101 2009-10-16 Jerker Bäck <jerker.back@gmail.com>
104 * Makefile.am (sysinfo.o, syslex.o): Place source file after all
105 command line switches.
106 * Makefile.in: Regenerate.
108 2009-10-16 Yann Droneaud <yann@droneaud.fr>
111 * dlltool.c (bfd_get_errmsg): New macro.
112 (scan_obj_file): Use it.
113 (make_one_lib_file): Use it.
115 (make_delay_head): Use it.
117 (gen_lib_file): Use it.
118 (identify_dll_for_implib): Use it.
119 (identify_search_archive): Use it.
121 2009-10-16 Nick Clifton <nickc@redhat.com>
123 * readelf.c (usage): Add mention of --debug-dump=frames-interp.
124 Wrap output to 80 columns.
125 * objdump.c (usage): Likewise.
126 * doc/binutils.texi (readelf): Add note about =frames-interp.
128 2009-10-01 Alan Modra <amodra@bigpond.net.au>
130 * addr2line.c (slurp_symtab): Don't use bfd_read_minisymbols.
132 2009-09-29 Nick Clifton <nickc@redhat.com>
134 * doc/binutils.texi (c++filt): Remove spurious description of
135 nonexistent --java command line switch for cxxfilt.
137 2009-09-29 DJ Delorie <dj@redhat.com>
139 * readelf.c: Add support for RX target.
140 * MAINTAINERS: Add DJ and NickC as maintainers for RX.
142 2009-09-28 Alan Modra <amodra@bigpond.net.au>
144 * configure.in: Don't invoke configure.tgt on $enable_targets.
145 * configure: Regenerate.
147 2009-09-28 Nick Clifton <nickc@redhat.com>
150 * readelf.c (get_elf_section_flags): Allow SHN_BEFORE and
151 SHN_AFTER section link values in x86 binaries.
152 (process_section_headers): Likewise.
154 2009-09-25 Dimitry Gorbachev <d.g.gorbachev@gmail.com>
157 * readelf.c: Remove duplicate declaration of variable do_wide.
158 * dwarf.h: Add export of do_wide.
160 2009-09-24 Cary Coutant <ccoutant@google.com>
162 * dwarf.c (get_TAG_name): Add missing DWARF-3 and new DWARF-4 tags.
163 (get_FORM_name): Add new DWARF-4 forms.
164 (read_and_display_attr_value): Add DW_FORM_ref_sig8, DW_LANG_Python.
165 (get_AT_name): Add new DWARF-4 and GNU-specific attributes.
166 (process_debug_info): Add do_types parameter; change all callers.
167 Add support for .debug_types sections.
168 (display_debug_types): New function.
169 (debug_displays): Add .debug_types section.
170 * readelf.c (process_section_headers): Add .debug_types section.
171 (display_debug_section): Simplify call to streq.
173 2009-09-25 Alan Modra <amodra@bigpond.net.au>
175 * readelf.c (print_dynamic_symbol): Format entries as for
177 (process_symbol_table): Use -7s format string for visibility.
179 2009-09-22 Richard Sandiford <rdsandiford@googlemail.com>
181 * objdump.c (disassemble_section): Use bfd_get_arch_size
182 instead of assuming that the address size is 32 bits.
184 2009-09-21 Alan Modra <amodra@bigpond.net.au>
186 * readelf.c (get_ppc_dynamic_type): Add TLSOPT.
187 (get_ppc64_dynamic_type): Likewise.
189 2009-09-18 Nick Clifton <nickc@redhat.com>
191 * po/es.po: Updated Spanish translation.
192 * po/vi.po: Updated Vietnamese translation.
194 2009-09-11 Paul Pluzhnikov <ppluzhnikov@google.com>
196 * readelf.c (process_version_sections, process_symbol_table):
197 Use symbolic constants.
199 2009-09-11 Nick Clifton <nickc@redhat.com>
201 * po/binutils.pot: Updated by the Translation project.
203 2009-09-11 Philippe De Muyter <phdm@macqel.be>
205 * obcopy.c (copy_object): New parameter `input_arch', architecture
206 of input file, if not specified in input file itself; all callers
207 updated; `binary_architecture' hack removed.
208 (copy_archive, copy_file): New parameter `input_arch', for
210 (copy_main): Accept `-B' (`--binary-architecture') option also
211 for any arch-less input ifile format, not only `binary'; remove
212 bfd_external_binary_architecture hack; instead, add `input_arch'
213 to calls to `copy_file'.
214 * windres.c, windmc.c : Obsolete and useless external references
215 to `bfd_external_binary_architecture' or `bfd_external_machine'
217 * doc/binutils.texi: Mention that -B parameter can be used for any
218 input file type which does not have its own architecture.
220 2009-09-10 Martin Thuresson <martin@mtme.org>
222 Update sources to compile cleanly with -Wc++-compat:
223 * addr2line.c (slurp_symtab): Fix casts. Introduce variable
224 minisyms to avoid aliasing varning.
226 (normalize): Use name del instead of delete.
227 (display_target_list,display_info_table): Change loop counter
229 * bucomm.c: Add casts.
230 * debug.c: Update function to use new names.
231 (struct debug_baseclass): Rename member from virtual to
233 (struct debug_type_s, struct debug_field_s, struct
234 debug_baseclass_s, struct debug_method_s, struct
235 debug_method_variant_s, struct debug_type_s): Rename struct from
236 avoid name collision.
237 * debug.h: Use new struct names.
238 * dwarf.c: Add casts.
239 (free_debug_memory): Change loop counter variable a to int.
241 (enum ieee_var_kind): Move to top level.
242 (ieee_class_baseclass): Rename parameter virtual to is_virtual.
243 (ieee_class_method_var): Rename variable virtual to is_virtual.
245 * objcopy.c: Add casts.
246 (copy_archive): Rename variable delete to del.
247 * objdump.c: Add casts.
248 (dump_dwarf_section): Change loop counter variable i to int.
249 * prdbg.c: Add casts.
250 (pr_class_baseclass,tg_class_baseclass): Rename parameters virtual
252 * readelf.c: Add casts.
253 (struct ia64_unw_table_entry,struct hppa_unw_table_entry): Move to
256 * stabs.c (parse_stab_type, parse_stab_range_type,
257 (parse_stab_cpp_abbrev): Rename parameter from typename to
259 (parse_stab_baseclasses): Rename variable virtual to is_virtual.
260 * strings.c: Add casts.
261 * wrstabs.c (stab_class_baseclass): Rename parameter virtual to
264 2009-09-09 Nick Clifton <nickc@redhat.com>
267 readelf.c (get_elf_section_flags): Add support for SHF_EXCLUDE and
269 (process_section_headers): Warn about out of range sh_link
270 values. When displaying detailed section header information
271 annote the SHN_BEFORE and SHN_AFTER values.
273 2009-09-08 Alan Modra <amodra@bigpond.net.au>
275 * dwarf.c (byte_get_little_endian): Handle size of 3.
276 (byte_get_big_endian): Likewise.
277 * readelf.c (byte_put_little_endian): Likewise.
278 (byte_put_big_endian): Likewise.
279 (is_24bit_abs_reloc): New function.
280 (is_none_reloc): Formatting.
281 (apply_relocations): Use is_24bit_abs_reloc. Handle pj and xtensa
284 2009-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
286 * readelf.c (is_none_reloc <EM_XTENSA_OLD>, is_none_reloc <EM_XTENSA>):
289 2009-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
291 * dwarf.c (process_debug_info): Support section padding abbrev codes.
293 2009-09-07 Tristan Gingold <gingold@adacore.com>
295 * po/binutils.pot: Regenerate.
297 2009-09-05 Jan Kratochvil <jan.kratochvil@redhat.com>
299 * Makefile.am (sysdump.o): Depend on sysroff.c.
300 * Makefile.in: Regenerate.
302 2009-09-05 Martin Thuresson <martin@mtme.org>
304 * ieee.c (ieee_read_cxx_misc, ieee_read_cxx_class,
305 ieee_read_reference): Rename variables named class to cxxclass.
307 2009-09-04 Tristan Gingold <gingold@adacore.com>
309 * BRANCHES: Add binutils-2_20-branch.
311 2009-09-04 Tristan Gingold <gingold@adacore.com>
313 * NEWS: Add marker for 2.20.
315 2009-09-04 Timo Kreuzer <timo.kreuzer@web.de>
317 * dlltool.c (delayimp_name): Add new global variable
318 (usage, long_options, main): Add new option "-y" / "--output-delaylib"
319 (struct mac): Add fields how_dljtab_size, how_dljtab_roff1,
320 how_dljtab_roff2, how_dljtab, trampoline.
321 (i386_dljtab): Add binary stub for x86 delay import.
322 (i386_trampoline): Add text assembly stub for x86 delay import.
323 (mtable): Add delay import data for M386 and MX86 only.
324 (make_delay_head): New function.
325 (make_one_lib_file): New arg delay creates delay-load import stub.
326 (gen_lib_file): New arg delay likewise.
327 (HOW_JTAB, HOW_JTAB_SIZE, HOW_JTAB_ROFF): New arg delay likewise.
328 (HOW_JTAB_ROFF2, HOW_JTAB_ROFF3): New macros for delay import.
329 (make_tail): Convert hard TABS embedded in strings to "\t" escapes.
330 * NEWS: Mention new feature. Also fix whitespace.
331 * doc/binutils.texi: Updated dlltool documentation.
333 2009-09-02 Tristan Gingold <gingold@adacore.com>
335 * configure.com: Do not copy makefile.vms-in to makefile.vms
336 * makefile.vms-in: Renamed to...
337 * makefile.vms: ... this usual name as it is not processed anymore.
338 Remove WRITE_DEBUG_OBJS (unused) and reorder object files for
341 2009-09-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
343 * Makefile.am (arparse.o, arlex.o, sysroff.o, defparse.o)
344 (deflex.o, nlmheaders.o, rcparse.o, mcparse.o): Supply correct
345 source file name for generated files which may be in $(srcdir).
346 * Makefile.in: Regenerate.
348 2009-09-01 H.J. Lu <hongjiu.lu@intel.com>
350 * version.c (print_version): Change to "Copyright 2009".
352 2009-09-01 Tristan Gingold <gingold@adacore.com>
354 * makefile.vms-in: Remove unused VERSION variable. Remove unused
356 * configure.com: Ported to Itanium VMS. Create build.com DCL script.
358 2009-08-29 Martin Thuresson <martin@mtme.org>
360 * nlmconv.c (main): Rename variable new to new_name.
362 2009-08-28 H.J. Lu <hongjiu.lu@intel.com>
364 * Makefile.am (sysinfo$(EXEEXT_FOR_BUILD)): Replace
365 CFLAGS/LDFLAGS with CFLAGS_FOR_BUILD/LDFLAGS_FOR_BUILD.
366 (syslex.o): Likewise.
367 (sysinfo.o): Likewise.
368 (bin2c$(EXEEXT_FOR_BUILD)): Likewise.
369 * Makefile.in: Regenerated.
371 2009-08-27 Dave Korn <dave.korn.cygwin@gmail.com>
373 * doc/binutils.texi (--only-keep-debug): Relocate stray para here ...
374 (--subsystem): ... from here.
376 2009-08-24 Cary Coutant <ccoutant@google.com>
378 * objdump.c (find_symbol_for_address): Avoid costly call to
381 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
383 * Makefile.am (am__skiplex, am__skipyacc): New.
384 * Makefile.in: Regenerate.
386 2009-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
388 * Makefile.am (syslex.o): Depend on sysinfo.h config.h.
389 * Makefile.in: Regenerate.
391 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
393 * Makefile.am (AM_CPPFLAGS): Renamed from ...
394 (INCLUDES): ... this.
395 (bin2c$(EXEEXT_FOR_BUILD): Adjust rule.
396 (installcheck-local): Renamed from ...
397 (installcheck): ... this.
398 * Makefile.in: Regenerate.
400 * Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add no-dist and
402 (MKDEP, CLEANFILES): Remove now-unneeded variables.
403 (DEP, DEP1, dep.sed, dep, dep-in, dep-am): Remove.
404 (mkdep section): Remove.
405 (BUILT_SOURCES): New variable, list $(GENERATED_HFILES).
406 (EXTRA_ar_SOURCES): New, list $(CFILES).
407 (syslex.o): Depend on syslex.c.
408 (sysinfo.o): Depend on sysinfo.c.
409 (arparse.h, defparse.h, nlmheaders.h rcparse.h mcparse.h):
410 Remove dependencies, now tracked by automake.
411 (srconv.o): Depend on sysroff.c.
412 (objdump.o, arparse.o, arlex.o, sysroff.o, defparse.o, deflex.o)
413 (nlmheader.o, rcparse.o, mcparse.o, rclex.o, mclex.o, dlltool.o)
414 (rescoff.o, nlmconv.o): Rewrite using automake-style dependency
415 tracking rules; only list the dependency upon the primary source
416 file, but no included headers.
417 * Makefile.in: Regenerate.
419 * Makefile.am (install-pdf, install-pdf-recursive, install-html)
420 (install-html-recursive): Remove.
421 * Makefile.in: Regenerate.
422 * doc/Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
423 (html__strip_dir, install-html, install-html-am): Remove.
424 * doc/Makefile.in: Regenerate.
426 * Makefile.in: Regenerate.
427 * aclocal.m4: Likewise.
428 * config.in: Likewise.
429 * configure: Likewise.
430 * doc/Makefile.in: Likewise.
432 2009-08-17 Nick Clifton <nickc@redhat.com>
434 * readelf.c (is_32bit_abs_reloc): Treat R_PARISC_SECREL32 as a
435 32-bit absolute reloc for the purposes of processing debug
438 2009-08-10 Daniel Gutson <dgutson@codesourcery.com>
440 * readelf.c (get_arm_section_type_name): Added support for
441 new sections headers.
443 2009-08-03 H.J. Lu <hongjiu.lu@intel.com>
446 * objcopy.c (strip_main): Check return from smart_rename.
447 (copy_main): Likewise.
449 2009-07-27 Nick Clifton <nickc@redhat.com>
452 * objdump.c (dump_section_header): Skip sections that we are
455 2009-07-25 H.J. Lu <hongjiu.lu@intel.com>
457 * readelf.c (guess_is_rela): Handle EM_L1OM.
458 (dump_relocations): Likewise.
459 (get_machine_name): Likewise.
460 (get_section_type_name): Likewise.
461 (get_elf_section_flags): Likewise.
462 (get_symbol_index_type): Likewise.
463 (is_32bit_abs_reloc): Likewise.
464 (is_32bit_pcrel_reloc): Likewise.
465 (is_64bit_abs_reloc): Likewise.
466 (is_64bit_pcrel_reloc): Likewise.
467 (is_none_reloc): Likewise.
469 2009-07-23 Ulrich Drepper <drepper@redhat.com>
471 * readelf.c (get_symbol_binding): For Linux targeted files return
472 UNIQUE for symbols with the STB_GNU_UNIQUE binding.
473 * doc/binutils.texi: Document the meaning of the 'u' symbol
474 binding in the output of nm and objdump --syms.
476 2009-07-20 H.J. Lu <hongjiu.lu@intel.com>
478 * NEWS: Mention --insn-width.
480 * objdump.c (insn_width): New.
481 (usage): Display --insn-width.
482 (option_values): Add OPTION_INSN_WIDTH.
483 (long_options): Add --insn-width.
484 (disassemble_bytes): Handle insn_width.
485 (main): Handle OPTION_INSN_WIDTH.
487 * doc/binutils.texi: Document --insn-width.
489 2009-07-17 Nick Clifton <nickc@redhat.com>
491 * dwarf.c (display_debug_lines): If do_debug_lines has not been
492 set then default to displaying raw .debug_line section contents.
494 2009-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
496 Support unordered .debug_info references to .debug_ranges.
497 * dwarf.c (struct range_entry, range_entry_compar): New.
498 (display_debug_ranges): Remove variables last_offset, first, j,
499 seen_first_offset, use_debug_info and next. New variables
500 range_entries and range_entry_fill. Create the sorted copy
501 range_entries. Remove the FIXME error on detected unordered references.
502 * dwarf.h (debug_info <range_lists>): New comment.
504 2009-07-14 Nick Clifton <nickc@redhat.com>
507 * README: Document use of LDFLAGS="--static".
509 2009-07-10 H.J. Lu <hongjiu.lu@intel.com>
511 * Makefile.am: Run "make dep-am".
512 * Makefile.in: Regenerated.
514 2009-07-10 Tom Tromey <tromey@redhat.com>
516 * Makefile.am (dwarf.o): Refer to dwarf2.h, not elf/dwarf2.h.
517 * Makefile.in: Rebuild.
518 * dwarf.c: Include dwarf2.h, not elf/dwarf2.h.
520 2009-07-06 Tristan Gingold <gingold@adacore.com>
522 * objdump.c (dump_dwarf_section): Handle .eh_frame like other dwarf
524 * dwarf.h (struct dwarf_section_display): Remove eh_frame field.
525 * dwarf.c (debug_displays): Adjust for removed field.
527 2009-07-03 Jakub Jelinek <jakub@redhat.com>
529 * dwarf.c (decode_location_expression): Handle DW_OP_stack_value
530 and DW_OP_implicit_value.
532 2009-07-01 Nick Clifton <nickc@redhat.com>
535 * rclex.c (handle_quotes): Do not complain about whitespace
536 separating quoted strings.
537 (rclex_string): Ignore whitespace when looking for a new opening
538 quote following a closing quote.
540 2009-06-27 H.J. Lu <hongjiu.lu@intel.com>
543 * bucomm.c (get_file_size): Return -1 on error.
545 * objcopy.c (copy_file): Report empty file.
547 2009-06-23 Nick Clifton <nickc@redhat.com>
549 * dwarf.c (display_debug_lines_raw): Include the name of the
550 section in warning message.
551 (struct debug_display): Enable reloc processing for .debug_line
552 and .debug_ranges sections.
554 * readelf.c: Add --relocated-dump command line option to dump the
555 relocated contents of a specified section.
556 (request_dump): New function.
557 (parse_args): Use it.
558 (dump_section_as_bytes): Add parameter to indicate whether the
559 contents should be relocated.
560 (target_specific_reloc_handling): Add code for a R_MN10300_16
561 reloc found after a R_MN10300_SYM_DIFF reloc.
562 (debug_apply_relocations): Rename to apply_relocations.
563 (get_section_contents): New function. Replaces common code found
564 in dump_section_as_strings and dump_section_as_bytes.
565 * doc/binutils.texi: Document new command line option.
566 * NEWS: Mention the new feature.
568 2009-06-22 Nick Clifton <nickc@redhat.com>
570 * readelf.c (target_specific_reloc_handling): New function:
571 Processes relocs in a target specific manner.
572 (debug_apply_relocations): Use the new function.
573 * dwarf.c (display_debug_loc): End the dump with a blank line.
574 (struct debug_display): Enable reloc processing for .debug_aranges
575 and .debug_loc sections.
577 2009-06-19 Nick Clifton <nickc@redhat.com>
579 * ar.c (usage): Do not use #ifdef inside _("...).
580 * nm.c (usage): Likewise.
582 2009-06-18 Nick Clifton <nickc@redhat.com>
585 * objdump.c (disassemble_bytes): Set the
586 USER_SPECIFIED_MACHINE_TYPE flag in the disassemble_info structure
587 if the user has invoked the -m switch.
588 * doc/binutils.texi: Document the additional behaviour of
589 objdump's -m switch for ARM targets.
591 2009-06-18 Dave Korn <dave.korn.cygwin@gmail.com>
593 * configure.in: Merge cegcc and mingw32ce target name changes from
596 2007-12-25 Pedro Alves <pedro_alves@portugalmail.pt>
598 * configure.in: Add arm*-*-cegcc* and arm*-*-mingw32ce* targets.
599 * configure: Regenerate.
601 2009-06-15 Nick Clifton <nickc@redhat.com>
604 * objdump.c (disassemble_bytes): Set the DISASSEMBLE_DATA bit in
605 the flags field of the disassemble_info structure if the -D switch
608 2009-06-12 Homer Xing <homer.xing@yahoo.com>
610 * NEWS: Mention new feature added to gprof.
612 2009-06-12 John Reiser <jreiser@BitWagon.com>
614 * readelf.c (process_symbol_table): Set gnubuckets to NULL after
615 freeing it and before returning.
617 2009-06-12 Jakub Jelinek <jakub@redhat.com>
619 * readelf.c (process_symbol_table): Don't return early if
620 .hash/.gnu.hash is empty/unusable and not -D.
622 2009-06-09 Tom Bramer <tjb@postpro.net>
625 * winduni.c (wind_MultiByteToWideChar): Do not pass MB_PRECOMPOSED
626 to MultiByteToWideChar when using the CP_UTF8 or CO_UTF7 types.
628 2009-06-04 Alan Modra <amodra@bigpond.net.au>
630 * strings.c (main): Delay parsing of decimal digits.
632 2009-06-04 Alan Modra <amodra@bigpond.net.au>
634 * dep-in.sed: Don't use \n in replacement part of s command.
635 * Makefile.am (DEP1): LC_ALL for uniq.
637 * Makefile.in: Regenerate.
639 2009-06-03 Tristan Gingold <gingold@adacore.com>
641 * MAINTAINERS: Add myself as Mach-O maintainer.
643 2009-06-01 Alan Modra <amodra@bigpond.net.au>
646 * doc/binutils.texi (nm): Correct -S description.
648 2009-05-28 Nick Clifton <nickc@redhat.com>
650 * po/da.po: Updated Danish translation.
652 2009-05-28 Nick Clifton <nickc@redhat.com>
654 * readelf.c (display_debug_section): Do not display debug sections
655 with the NOBITS section type.
657 2009-05-27 Rafael Avila de Espindola <espindola@google.com>
659 * aclocal.m4: Include ../config/plugins.m4.
660 * configure.in: Use AC_PLUGINS.
661 * configure: Regenerate.
662 * Makefile.in: Regenerate.
663 * doc/Makefile.in: Regenerate.
665 2009-05-27 Rafael Avila de Espindola <espindola@google.com>
667 * ar.c (main): Call bfd_plugin_set_program_name.
668 * nm.c (main): Call bfd_plugin_set_program_name.
670 2009-05-27 Nathan Sidwell <nathan@codesourcery.com>
672 * sysdump.c (tab): Use puts rather than two printfs.
674 2009-05-26 Nick Clifton <nickc@redhat.com>
676 * po/id.po: Updated Indonesian translation.
677 * po/binutils.pot: Updated template file.
679 2009-05-26 Rafael Avila de Espindola <espindola@google.com>
681 * ar.c: Include plugin.h.
682 (main): Handle the --plugin option.
683 * nm.c: Include plugin.h.
684 (OPTION_PLUGIN): New.
685 (long_options): Add plugin.
686 (main): Handle OPTION_PLUGIN.
687 * NEWS: Mention the new feature.
688 * doc/binutils: Documement the new command line options.
689 * configure.in: Check for --enable-plugins.
690 * configure: Regenerate.
692 2009-05-26 Alan Modra <amodra@bigpond.net.au>
694 * dep-in.sed: Output one filename per line with all lines having
695 continuation backslash. Prefix first line with "A", following
697 * Makefile.am (DEP): Don't use dep.sed here.
698 (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
700 * Makefile.in: Regenerate.
702 2009-05-25 Tristan Gingold <gingold@adacore.com>
704 * makefile.vms-in: Fix CFLAGS, add addr2line.exe target.
706 * configure.com: Fix it: handle alloca and define TARGET in config.h.
708 2009-05-22 Alan Modra <amodra@bigpond.net.au>
710 * Makefile.am: Run "make dep-am".
711 * Makefile.in: Regenerate.
713 2009-05-12 Alan Modra <amodra@bigpond.net.au>
715 * objcopy.c (set_long_section_mode): Check input_bfd is coff
716 before accessing coff specific fields of bfd.
718 2009-05-09 Dave Korn <dave.korn.cygwin@gmail.com>
720 * MAINTAINERS: Add myself as PE/COFF co-maintainer.
722 2009-05-08 Kai Tietz <kai.tietz@onevision.com>
724 * winduni.c (iconv_onechar): Only define when HAVE_ICONV
725 is defined, but not when __CYGWIN__ or _WIN32 are defined.
726 See wind_iconv_cp for call logic of this local funtion.
728 2009-05-05 Guillaume Duhamel <guillaume.duhamel@gmail.com>
731 * winduni.c: Replace test of HAVE_ICONV_H with a test of
733 (iconv_onechar): Use ICONV_CONST instead of "const".
734 (wind_MultiByteToWideChar): Initialise local strings.
736 2009-04-30 Nick Clifton <nickc@redhat.com>
738 * readelf.c (dump_relocations): Display a relocation against an
739 ifunc symbol as if it were a function invocation.
740 (get_symbol_type): Handle STT_GNU_IFUNC.
742 2009-04-29 Anthony Green <green@moxielogic.com>
744 * NEWS: Tweak verilog support description.
746 2009-04-29 Alan Modra <amodra@bigpond.net.au>
747 Denis Scherbakov <denis_scherbakov@yahoo.com>
749 * readelf.c (slurp_ia64_unwind_table): Correct 64-bit unwind table
750 read, and merge with 32-bit case.
752 2009-04-27 Anthony Green <green@moxielogic.com>
754 * NEWS: Mention verilog support added to bfd.
756 2009-04-27 H.J. Lu <hongjiu.lu@intel.com>
758 * objcopy.c (copy_object): Copy pe_opthdr before changing PE
761 2009-04-24 Cary Coutant <ccoutant@google.com>
763 * dwarf.c (process_extended_line_op): Add DW_LNE_set_discriminator.
764 Add missing newlines to HP extensions.
766 2009-04-17 H.J. Lu <hongjiu.lu@intel.com>
768 * objcopy.c (set_pe_subsystem): Replace efi-rom with sal-rtd.
769 * doc/binutils.texi: Likewise.
771 2009-04-17 H.J. Lu <hongjiu.lu@intel.com>
774 * objcopy.c: Include coff/i386.h and coff/pe.h.
775 (pe_file_alignment): New.
776 (pe_heap_commit): Likewise.
777 (pe_heap_reserve): Likewise.
778 (pe_image_base): Likewise.
779 (pe_section_alignment): Likewise.
780 (pe_stack_commit): Likewise.
781 (pe_stack_reserve): Likewise.
782 (pe_subsystem): Likewise.
783 (pe_major_subsystem_version): Likewise.
784 (pe_minor_subsystem_version): Likewise.
785 (set_pe_subsystem): Likewise.
786 (convert_efi_target): Likewise.
787 (command_line_switch): Add OPTION_FILE_ALIGNMENT,
788 OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT,
789 OPTION_STACK and OPTION_SUBSYSTEM.
790 (copy_options): Likewise.
791 (copy_usage): Add --file-alignment, --heap, --image-base,
792 --section-alignment, --stack and --subsystem.
793 (copy_object): Set up PE parameters.
794 (copy_main): Process Add OPTION_FILE_ALIGNMENT,
795 OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT,
796 OPTION_STACK and OPTION_SUBSYSTEM. Convert EFI target to
799 * NEWS: Mention --file-alignment, --heap, --image-base,
800 --section-alignment, --stack and --subsystem command line
803 * doc/binutils.texi: Document --file-alignment, --heap,
804 --image-base, --section-alignment, --stack and --subsystem
805 command line options for objcopy.
807 2009-04-15 Anthony Green <green@moxielogic.com>
809 * MAINTAINERS: Add myself as Moxie port maintainer.
811 2009-04-14 Dave Korn <dave.korn.cygwin@gmail.com>
813 * objcopy.c (enum long_section_name_handling): New enum type.
814 (enum command_line_switch): Add OPTION_LONG_SECTION_NAMES.
815 (copy_options[]): Add entry for --long-section-names option.
816 (copy_usage): Document it.
817 (set_long_section_mode): New subroutine.
818 (copy_file): Call it.
819 (copy_main): Accept OPTION_LONG_SECTION_NAMES and parse arg.
820 * doc/binutils.texi: Update objcopy documentation with details
823 2009-04-01 Dave Korn <dave.korn.cygwin@gmail.com>
825 * dlltool.c (set_dll_name_from_def): Accept new second arg that
826 indicates if we are building DLL or EXE, and use it to add a
827 default suffix to the output filename when none is already present.
828 (def_name): Indicate we are building an EXE when calling it.
829 (def_library): Indicate we are building a DLL when calling it.
831 2009-04-01 Jari Aalto <jari.aalto@cante.net>
834 * doc/binutils.texi (strings): Document the -V alias for the
836 * strings.c (usage): Likewise.
838 2009-03-31 Nick Clifton <nickc@redhat.com>
841 * configure.in: Import Solaris specific largefile test from
843 * configure: Regenerate.
845 2009-03-30 Richard Sandiford <rdsandiford@googlemail.com>
847 * MAINTAINERS: Add self.
849 2009-03-27 Nick Clifton <nickc@redhat.com>
851 * dwarf.c (display_debug_ranges): Add the base address to the
852 displayed values for 'Begin' and 'End'.
854 2009-03-25 Ryan Mansfield <rmansfield@qnx.com>
856 * readelf.c (process_file_header): Don't report a corrupt string
857 table index if it is zero.
859 2009-03-19 H.J. Lu <hongjiu.lu@intel.com>
861 * dwarf.c (dwarf_regnames): Moved before frame_need_space.
862 (dwarf_regnames_count): Likewise.
863 (frame_need_space): Return int.
864 (display_debug_frames): Check invalid registers.
866 2009-03-19 H.J. Lu <hongjiu.lu@intel.com>
868 * readelf.c (debug_apply_relocations): Check relocations
869 against STT_SECTION symbol.
871 2009-03-18 H.J. Lu <hongjiu.lu@intel.com>
873 * readelf.c (debug_apply_relocations): Allow relocations
874 against function symbols.
876 2009-03-18 Alan Modra <amodra@bigpond.net.au>
878 * sysdep.h: Include alloca-conf.h instead of config.h and remove
879 existing #if's handling alloca.
880 * Makefile.am: Run "make dep-am".
881 * Makefile.in: Regenerate.
883 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
885 * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
886 * configure.in: Likewise.
887 * configure: Regenerate.
889 2009-03-13 H.J. Lu <hongjiu.lu@intel.com>
892 * objcopy.c (copy_object): Clear HAS_RELOC when stripping all.
894 2009-03-11 Chris Demetriou <cgd@google.com>
896 * ar.c (deterministic): New global variable.
897 (main): Recognize new 'D' option, which enables 'deterministic mode'.
898 (usage): Document new 'D' option.
899 (write_archive): Set BFD_DETERMINISTIC_OUTPUT in output archive's
900 flags if deterministic mode was requested.
901 * doc/binutils.texi (ar): Document deterministic mode ('D' option).
903 2009-03-09 H.J. Lu <hongjiu.lu@intel.com>
906 * objcopy.c (filter_symbols): Properly handle common symbols
909 2009-03-06 Nick Clifton <nickc@redhat.com>
911 * po/es.po: Updated Spanish translation.
913 2009-03-05 Nick Clifton <nickc@redhat.com>
915 * objdump.c (disassemble_section): If the computed next offset is
916 not beyond the current offset then just continue to the end.
918 2009-03-04 Tristan Gingold <gingold@adacore.com>
920 * MAINTAINERS: Add myself as VMS maintainer.
922 2009-03-03 Nick Clifton <nickc@redhat.com>
924 * readelf.c: Update formatting.
926 2009-03-03 Alan Modra <amodra@bigpond.net.au>
928 * Makefile.am: Run "make dep-am".
929 * Makefile.in: Regenerate.
931 2009-03-03 Alan Modra <amodra@bigpond.net.au>
933 * objdump.c (disassemble_section): Mask address before sign extending.
935 2009-03-02 Sebastian Biallas <sb@biallas.net>
937 * ieee.c (parse_ieee_ty): Add support for undocumented 'v' type.
938 (parse_ieee_bb): Set the filename if it has not already been
941 2009-03-02 Cary Coutant <ccoutant@google.com>
943 * readelf.c (adjust_relative_path): New function.
944 (struct archive_info): New type.
945 (setup_archive): New function.
946 (release_archive): New function.
947 (setup_nested_archive): New function.
948 (get_archive_member_name): New function.
949 (get_archive_member_name_at): New function.
950 (make_qualified_name): New function.
951 (process_archive): Factor out code for reading archive index and
952 long filename table to setup_archive. Add support for thin archives.
954 2009-03-02 Nick Clifton <nickc@redhat.com>
956 * po/sk.po: Updated Slovak translation.
958 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
960 * configure: Regenerate.
962 2009-02-23 Cary Coutant <ccoutant@google.com>
964 * objdump.c (load_specific_debug_section): New function, from
966 (load_debug_section): Use load_specific_debug_section.
967 (dump_dwarf_section): Likewise.
969 2009-02-23 Cary Coutant <ccoutant@google.com>
971 * readelf.c (parse_args): Select all sections explicitly for -w.
973 2009-02-09 Kai Tietz <kai.tietz@onevision.com>
975 * windres.c (set_endianess): Copy name without leading '-'.
977 2009-02-09 Tristan Gingold <gingold@adacore.com>
979 * NEWS: Mention feature match between objdump and readelf for dumping
982 * doc/binutils.texi (objdump): Document -W/--dwarf improvments to
985 * objdump.c (usage): Update documentation for -W/--dwarf.
986 (enum option_values): Add OPTION_DWARF.
987 (long_options): --dwarf can accept arguments.
988 (dump_dwarf_section): Also check enabled field.
989 (main): Option -W can accept arguments, code moved to
990 dwarf.c and call dwarf_select_sections_all instead.
991 * readelf.c (process_section_headers): Remove do_debug_lines_decoded.
992 (parse_args): Move code to...
993 * dwarf.c (dwarf_select_sections_by_letters,
994 dwarf_select_sections_by_names): : ...here (new functions).
995 (do_debug_lines_decoded): Remove and replaced by ...
996 (FLAG_DEBUG_LINES_RAW, FLAG_DEBUG_LINES_DECODED): ... new macros.
997 (display_debug_lines): Adjust for previous change.
998 (dwarf_select_sections_all): New function.
999 (debug_displays): Add initializer for enabled field.
1000 * dwarf.h (do_debug_lines_decoded): Remove.
1001 Add prototypes for the new functions.
1002 (struct dwarf_section_display): Add enabled field.
1004 2009-02-06 Nick Clifton <nickc@redhat.com>
1006 * po/vi.po: Updated Vietnamese translation.
1008 2009-02-03 Sandip Matte <sandip@rmicorp.com>
1010 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_XLR.
1012 2009-02-03 H.J. Lu <hongjiu.lu@intel.com>
1014 * NEWS: Move --as-needed change to ...
1017 2009-02-03 Carlos O'Donell <carlos@codesourcery.com>
1019 * configure.in: AC_SUBST pdfdir.
1020 * Makefile.am: Add install-pdf, install-pdf-am,
1021 and install-pdf-recursive targets.
1022 * doc/Makefile.am: Define pdf__strip_dir. Add
1023 install-pdf and install-pdf-am targets.
1024 * po/Make-in: Add install-pdf target.
1025 * configure: Regenerate.
1026 * Makefile.in: Regenerate.
1027 * doc/Makefile.in: Regenerate.
1029 2009-02-03 H.J. Lu <hongjiu.lu@intel.com>
1032 * NEWS: Mention --prefix=PREFIX and --prefix-strip=LEVEL.
1034 * doc/binutils.texi: Document --prefix=PREFIX and
1035 --prefix-strip=LEVEL.
1037 * objdump.c: Include "filenames.h".
1039 (prefix_strip): Likewise.
1040 (prefix_length): Likewise.
1041 (usage): Add --prefix=PREFIX and --prefix-strip=LEVEL.
1042 (option_values): Add OPTION_PREFIX and OPTION_PREFIX_STRIP.
1043 (long_options): Likewise.
1044 (show_line): Handle prefix and prefix_strip.
1045 (main): Handle OPTION_PREFIX and OPTION_PREFIX_STRIP.
1047 * readelf.c (PATH_MAX): Moved to ...
1050 2009-01-31 Alan Modra <amodra@bigpond.net.au>
1052 * NEWS: Mention --as-needed change.
1054 2009-01-29 Alan Modra <amodra@bigpond.net.au>
1057 * bucomm.c (bfd_nonfatal_message): Use bfd_get_archive_filename.
1058 (bfd_get_archive_filename): Constify param.
1059 * bucomm.h (bfd_get_archive_filename): Update prototype.
1060 * objcopy.c (RETURN_NONFATAL): Delete.
1061 (copy_unknown_object): Don't call bfd_get_archive_filename for
1062 bfd_nonfatal_message filename, instead just pass bfd.
1063 (copy_object): Likewise.
1064 (copy_archive, copy_file): Likewise. Expand RETURN_NONFATAL. On
1065 bfd_close errors, do not pass the bfd to bfd_nonfatal_message.
1066 (setup_bfd_headers): Fix error message.
1068 2009-01-27 Nick Clifton <nickc@redhat.com>
1071 * objdump.c (disassemble_section): When the target uses signed
1072 addresses make sure that we compute signed values.
1074 2009-01-27 Nick Clifton <nickc@redhat.com>
1076 * MAINTAINERS: Remove Thiemo Seufer's name from the list of MIPS
1079 2009-01-26 Nick Clifton <nickc@redhat.com>
1082 * dlltool.c (xlate): When strip text after the @ sign, look for
1083 the last one not the first one.
1085 2009-01-16 Alan Modra <amodra@bigpond.net.au>
1087 * configure.in (commonbfdlib): Delete.
1088 * configure: Regenerate.
1090 2008-01-14 Charles Wilson <cygwin@cwilson.fastmail.fm>
1092 Cleanup code related to --identify option.
1094 * dlltool.c (file scope): Removed globals identify_ms,
1095 identify_member_contains_symname_result,
1096 identify_dll_name_list_head, and identify_dll_name_list_tail.
1097 Renamed existing typedef dll_name_list_type to
1098 dll_name_list_node_type.
1099 Added new typedefs dll_name_list_type, symname_search_data_type,
1100 and identify_data_type.
1101 (identify_append_dll_name_to_list): Renamed to...
1102 (dll_name_list_append): ...here. Changed signature to accept list
1103 argument rather than use global.
1104 (identify_count_dll_name_list): Renamed to...
1105 (dll_name_list_count): ...here. Changed signature to accept list
1106 argument rather than use global.
1107 (identify_print_dll_name_list): Renamed to...
1108 (dll_name_list_print): ...here. Changed signature to accept list
1109 argument rather than use global.
1110 (identify_free_dll_name_list): Renamed to...
1111 (dll_name_list_free_contents): ...here.
1112 (dll_name_list_free): New function.
1113 (dll_name_list_create): New function.
1114 (identify_process_section_p): Changed signature to accept
1115 ms_style_implib argument rather than use global.
1116 (identify_member_contains_symname): Expect incoming void * data to
1117 be symname_search_data_type.
1118 (identify_dll_for_implib): Use new functions dll_name_list_create
1119 and dll_name_list_free. Use new types symname_search_data_type
1120 and identify_data_type to communicate with search routines.
1121 (identify_search_section): Expect incoming void * data to be
1122 identify_data_type. Use its contents rather than global
1125 2009-01-13 Charles Wilson <cygwin@cwilson.fastmail.fm>
1127 Add --identify-strict option. Handle ms-style implibs:
1129 * dlltool.c (file scope): Added new globals identify_ms and
1130 identify_strict. New typedef dll_name_list_type, and globals
1131 identify_dll_name_list_head and identify_dll_name_list_tail. Added
1132 new global identify_member_contains_symname_result.
1133 (identify_append_dll_name_to_list): New function.
1134 (identify_count_dll_name_list): New function.
1135 (identify_print_dll_name_list): New function.
1136 (identify_free_dll_name_list): New function.
1137 (identify_search_archive): Changed signature to take function
1138 pointer to operation to apply to each member, and data to pass on
1140 (identify_search_member): Changed signature to accept user data
1142 (identify_member_contains_symname): New function.
1143 (identify_dll_for_implib): Rewrite. Now determines whether implib
1144 is ms- or binutils- style, before searching sections for
1145 dllname. Allows multiple dllnames.
1146 (identify_process_section_p): Search alternate section for dllname
1147 when implib is ms-style.
1148 (identify_search_section): Add additional conditions to excludes
1149 candidate sections from consideration.
1150 (usage): Added --identify-strict.
1151 (long_options): Added --identify-strict.
1152 (main): Handle --identify-strict option.
1153 * doc/binutils.texi: Document --identify-strict option.
1154 * NEWS: Document --identify and --identify-strict options.
1156 2009-01-13 Alan Modra <amodra@bigpond.net.au>
1159 * doc/binutils.texi (objdump -R): Note effect of -d or -D.
1161 2009-01-13 Alan Modra <amodra@bigpond.net.au>
1163 * objdump.c (disassemble_section): Don't assume non-instruction
1164 data if object symbol at given address is in different section.
1166 2009-01-12 Kai Tietz <kai.tietz@onevision.com>
1168 * dlltool.c (create_for_pep): New.
1169 (flush_page): Use create_for_pep instead of using
1170 macro DLLTOOL_MX86_64 clause.
1171 (generate_idata_ofile): Likewise.
1172 (make_one_lib_file): Likewise.
1173 (make_head): Likewise.
1174 (make_tail): Likewise.
1175 (main): Initialize create_for_pep.
1177 2009-01-08 Kai Tietz <kai.tietz@onevision.com>
1179 * dlltool.c (use_nul_prefixed_import_tables): New.
1180 (make_head): Make prefix leading zero prefix element for
1181 idata$4 and idata$5 dependent to new flag.
1182 (usage): Add new option --use-nul-prefixed-import-tables.
1183 (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
1184 (long_options): Add --use-nul-prefixed-import-tables.
1186 * doc/binutils.texi: Add new option documentation for
1187 --use-nul-prefixed-import-tables.
1188 * NEWS: Add new option.
1190 2009-01-06 Kai Tietz <kai.tietz@onevision.com>
1192 * windres.c (set_endianess): Get architecture name
1193 for internal target names like "pe-arm-wince-little".
1194 (find_arch_match): New helper.
1195 * ChangeLog: Reset it.
1196 * ChangeLog-2008: Moved old ChangeLog.
1198 For older changes see ChangeLog-2008
1204 version-control: never