1 2009-10-28 Kai Tietz <kai.tietz@onevision.com>
3 * dlltool.c (leading_underscore): New local variable.
4 (asm_prefix): Interpret leading_underscore.
6 (add_excludes): Use leading_underscore for making
8 (gen_exp_file): Use leading_underscore for internal
10 (usage): Add display of --no-leading-underscore and
11 --leading-underscore option.
12 (OPTION_NO_LEADING_UNDERSCORE): New.
13 (OPTION_LEADING_UNDERSCORE): New.
14 (long_options): Add --no-leading-underscore and
15 --leading-underscore option.
16 (main): Handle new options.
17 * doc/binutils.text: Add documentation of the options
18 --no-leading-underscore and --leading-underscore.
20 2009-10-23 Kai Tietz <kai.tietz@onevision.com>
22 * deflex.l: Allow '<' and '>' in ID names.
24 * defparse.y (EQUAL): New token constant.
25 (opt_import_name): New rule for emptry or '==' ID.
26 (expline): Add opt_import_name as last line element.
28 * dlltool.c (ifunct): New member its_name.
30 (append_import): Add its_name argument.
31 (defexports): Likewise.
32 (defimport): Likewise.
33 (scan_drectve_symbols): Adjust calls to def_exports.
34 (dump_def_info): Print new optinal import/export table
36 (generate_idata_ofile): Use its_name member.
37 (make_one_lib_file): Likewise.
38 (nfunc): Take its_name in account on sort.
39 * dlltool.h (def_exports): Add its_name as argument.
40 (def_import): Likewise.
41 * doc/binutils.texi: Add new def file syntax extension.
42 * deflex.l (EQUAL): Add rule for '=='.
43 * NEWS: Mention new feature.
45 2009-10-23 Thomas Cougnard <thomas.cougnard@gmail.com>
47 * readelf.c (dynamic_info): Correct size of array.
49 2009-10-21 Ben Elliston <bje@gnu.org>
51 * MAINTAINERS (BUILD SYSTEM, TESTSUITES): Remove myself.
53 2009-10-19 Jerker Bäck <jerker.back@gmail.com>
56 * prdbg.c (tg_end_struct_type): Warning fix.
59 * dlltool.c (dll_name_list_append): Declare variable at start
61 (dll_name_list_count, dll_name-list_print): Likewise.
63 2009-10-16 Doug Evans <dje@sebabeach.org>
65 * MAINTAINERS: Add myself as m32r maintainer.
67 2009-10-16 Jerker Bäck <jerker.back@gmail.com>
70 * Makefile.am (sysinfo.o, syslex.o): Place source file after all
71 command line switches.
72 * Makefile.in: Regenerate.
74 2009-10-16 Yann Droneaud <yann@droneaud.fr>
77 * dlltool.c (bfd_get_errmsg): New macro.
78 (scan_obj_file): Use it.
79 (make_one_lib_file): Use it.
81 (make_delay_head): Use it.
83 (gen_lib_file): Use it.
84 (identify_dll_for_implib): Use it.
85 (identify_search_archive): Use it.
87 2009-10-16 Nick Clifton <nickc@redhat.com>
89 * readelf.c (usage): Add mention of --debug-dump=frames-interp.
90 Wrap output to 80 columns.
91 * objdump.c (usage): Likewise.
92 * doc/binutils.texi (readelf): Add note about =frames-interp.
94 2009-10-01 Alan Modra <amodra@bigpond.net.au>
96 * addr2line.c (slurp_symtab): Don't use bfd_read_minisymbols.
98 2009-09-29 Nick Clifton <nickc@redhat.com>
100 * doc/binutils.texi (c++filt): Remove spurious description of
101 nonexistent --java command line switch for cxxfilt.
103 2009-09-29 DJ Delorie <dj@redhat.com>
105 * readelf.c: Add support for RX target.
106 * MAINTAINERS: Add DJ and NickC as maintainers for RX.
108 2009-09-28 Alan Modra <amodra@bigpond.net.au>
110 * configure.in: Don't invoke configure.tgt on $enable_targets.
111 * configure: Regenerate.
113 2009-09-28 Nick Clifton <nickc@redhat.com>
116 * readelf.c (get_elf_section_flags): Allow SHN_BEFORE and
117 SHN_AFTER section link values in x86 binaries.
118 (process_section_headers): Likewise.
120 2009-09-25 Dimitry Gorbachev <d.g.gorbachev@gmail.com>
123 * readelf.c: Remove duplicate declaration of variable do_wide.
124 * dwarf.h: Add export of do_wide.
126 2009-09-24 Cary Coutant <ccoutant@google.com>
128 * dwarf.c (get_TAG_name): Add missing DWARF-3 and new DWARF-4 tags.
129 (get_FORM_name): Add new DWARF-4 forms.
130 (read_and_display_attr_value): Add DW_FORM_ref_sig8, DW_LANG_Python.
131 (get_AT_name): Add new DWARF-4 and GNU-specific attributes.
132 (process_debug_info): Add do_types parameter; change all callers.
133 Add support for .debug_types sections.
134 (display_debug_types): New function.
135 (debug_displays): Add .debug_types section.
136 * readelf.c (process_section_headers): Add .debug_types section.
137 (display_debug_section): Simplify call to streq.
139 2009-09-25 Alan Modra <amodra@bigpond.net.au>
141 * readelf.c (print_dynamic_symbol): Format entries as for
143 (process_symbol_table): Use -7s format string for visibility.
145 2009-09-22 Richard Sandiford <rdsandiford@googlemail.com>
147 * objdump.c (disassemble_section): Use bfd_get_arch_size
148 instead of assuming that the address size is 32 bits.
150 2009-09-21 Alan Modra <amodra@bigpond.net.au>
152 * readelf.c (get_ppc_dynamic_type): Add TLSOPT.
153 (get_ppc64_dynamic_type): Likewise.
155 2009-09-18 Nick Clifton <nickc@redhat.com>
157 * po/es.po: Updated Spanish translation.
158 * po/vi.po: Updated Vietnamese translation.
160 2009-09-11 Paul Pluzhnikov <ppluzhnikov@google.com>
162 * readelf.c (process_version_sections, process_symbol_table):
163 Use symbolic constants.
165 2009-09-11 Nick Clifton <nickc@redhat.com>
167 * po/binutils.pot: Updated by the Translation project.
169 2009-09-11 Philippe De Muyter <phdm@macqel.be>
171 * obcopy.c (copy_object): New parameter `input_arch', architecture
172 of input file, if not specified in input file itself; all callers
173 updated; `binary_architecture' hack removed.
174 (copy_archive, copy_file): New parameter `input_arch', for
176 (copy_main): Accept `-B' (`--binary-architecture') option also
177 for any arch-less input ifile format, not only `binary'; remove
178 bfd_external_binary_architecture hack; instead, add `input_arch'
179 to calls to `copy_file'.
180 * windres.c, windmc.c : Obsolete and useless external references
181 to `bfd_external_binary_architecture' or `bfd_external_machine'
183 * doc/binutils.texi: Mention that -B parameter can be used for any
184 input file type which does not have its own architecture.
186 2009-09-10 Martin Thuresson <martin@mtme.org>
188 Update sources to compile cleanly with -Wc++-compat:
189 * addr2line.c (slurp_symtab): Fix casts. Introduce variable
190 minisyms to avoid aliasing varning.
192 (normalize): Use name del instead of delete.
193 (display_target_list,display_info_table): Change loop counter
195 * bucomm.c: Add casts.
196 * debug.c: Update function to use new names.
197 (struct debug_baseclass): Rename member from virtual to
199 (struct debug_type_s, struct debug_field_s, struct
200 debug_baseclass_s, struct debug_method_s, struct
201 debug_method_variant_s, struct debug_type_s): Rename struct from
202 avoid name collision.
203 * debug.h: Use new struct names.
204 * dwarf.c: Add casts.
205 (free_debug_memory): Change loop counter variable a to int.
207 (enum ieee_var_kind): Move to top level.
208 (ieee_class_baseclass): Rename parameter virtual to is_virtual.
209 (ieee_class_method_var): Rename variable virtual to is_virtual.
211 * objcopy.c: Add casts.
212 (copy_archive): Rename variable delete to del.
213 * objdump.c: Add casts.
214 (dump_dwarf_section): Change loop counter variable i to int.
215 * prdbg.c: Add casts.
216 (pr_class_baseclass,tg_class_baseclass): Rename parameters virtual
218 * readelf.c: Add casts.
219 (struct ia64_unw_table_entry,struct hppa_unw_table_entry): Move to
222 * stabs.c (parse_stab_type, parse_stab_range_type,
223 (parse_stab_cpp_abbrev): Rename parameter from typename to
225 (parse_stab_baseclasses): Rename variable virtual to is_virtual.
226 * strings.c: Add casts.
227 * wrstabs.c (stab_class_baseclass): Rename parameter virtual to
230 2009-09-09 Nick Clifton <nickc@redhat.com>
233 readelf.c (get_elf_section_flags): Add support for SHF_EXCLUDE and
235 (process_section_headers): Warn about out of range sh_link
236 values. When displaying detailed section header information
237 annote the SHN_BEFORE and SHN_AFTER values.
239 2009-09-08 Alan Modra <amodra@bigpond.net.au>
241 * dwarf.c (byte_get_little_endian): Handle size of 3.
242 (byte_get_big_endian): Likewise.
243 * readelf.c (byte_put_little_endian): Likewise.
244 (byte_put_big_endian): Likewise.
245 (is_24bit_abs_reloc): New function.
246 (is_none_reloc): Formatting.
247 (apply_relocations): Use is_24bit_abs_reloc. Handle pj and xtensa
250 2009-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
252 * readelf.c (is_none_reloc <EM_XTENSA_OLD>, is_none_reloc <EM_XTENSA>):
255 2009-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
257 * dwarf.c (process_debug_info): Support section padding abbrev codes.
259 2009-09-07 Tristan Gingold <gingold@adacore.com>
261 * po/binutils.pot: Regenerate.
263 2009-09-05 Jan Kratochvil <jan.kratochvil@redhat.com>
265 * Makefile.am (sysdump.o): Depend on sysroff.c.
266 * Makefile.in: Regenerate.
268 2009-09-05 Martin Thuresson <martin@mtme.org>
270 * ieee.c (ieee_read_cxx_misc, ieee_read_cxx_class,
271 ieee_read_reference): Rename variables named class to cxxclass.
273 2009-09-04 Tristan Gingold <gingold@adacore.com>
275 * BRANCHES: Add binutils-2_20-branch.
277 2009-09-04 Tristan Gingold <gingold@adacore.com>
279 * NEWS: Add marker for 2.20.
281 2009-09-04 Timo Kreuzer <timo.kreuzer@web.de>
283 * dlltool.c (delayimp_name): Add new global variable
284 (usage, long_options, main): Add new option "-y" / "--output-delaylib"
285 (struct mac): Add fields how_dljtab_size, how_dljtab_roff1,
286 how_dljtab_roff2, how_dljtab, trampoline.
287 (i386_dljtab): Add binary stub for x86 delay import.
288 (i386_trampoline): Add text assembly stub for x86 delay import.
289 (mtable): Add delay import data for M386 and MX86 only.
290 (make_delay_head): New function.
291 (make_one_lib_file): New arg delay creates delay-load import stub.
292 (gen_lib_file): New arg delay likewise.
293 (HOW_JTAB, HOW_JTAB_SIZE, HOW_JTAB_ROFF): New arg delay likewise.
294 (HOW_JTAB_ROFF2, HOW_JTAB_ROFF3): New macros for delay import.
295 (make_tail): Convert hard TABS embedded in strings to "\t" escapes.
296 * NEWS: Mention new feature. Also fix whitespace.
297 * doc/binutils.texi: Updated dlltool documentation.
299 2009-09-02 Tristan Gingold <gingold@adacore.com>
301 * configure.com: Do not copy makefile.vms-in to makefile.vms
302 * makefile.vms-in: Renamed to...
303 * makefile.vms: ... this usual name as it is not processed anymore.
304 Remove WRITE_DEBUG_OBJS (unused) and reorder object files for
307 2009-09-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
309 * Makefile.am (arparse.o, arlex.o, sysroff.o, defparse.o)
310 (deflex.o, nlmheaders.o, rcparse.o, mcparse.o): Supply correct
311 source file name for generated files which may be in $(srcdir).
312 * Makefile.in: Regenerate.
314 2009-09-01 H.J. Lu <hongjiu.lu@intel.com>
316 * version.c (print_version): Change to "Copyright 2009".
318 2009-09-01 Tristan Gingold <gingold@adacore.com>
320 * makefile.vms-in: Remove unused VERSION variable. Remove unused
322 * configure.com: Ported to Itanium VMS. Create build.com DCL script.
324 2009-08-29 Martin Thuresson <martin@mtme.org>
326 * nlmconv.c (main): Rename variable new to new_name.
328 2009-08-28 H.J. Lu <hongjiu.lu@intel.com>
330 * Makefile.am (sysinfo$(EXEEXT_FOR_BUILD)): Replace
331 CFLAGS/LDFLAGS with CFLAGS_FOR_BUILD/LDFLAGS_FOR_BUILD.
332 (syslex.o): Likewise.
333 (sysinfo.o): Likewise.
334 (bin2c$(EXEEXT_FOR_BUILD)): Likewise.
335 * Makefile.in: Regenerated.
337 2009-08-27 Dave Korn <dave.korn.cygwin@gmail.com>
339 * doc/binutils.texi (--only-keep-debug): Relocate stray para here ...
340 (--subsystem): ... from here.
342 2009-08-24 Cary Coutant <ccoutant@google.com>
344 * objdump.c (find_symbol_for_address): Avoid costly call to
347 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
349 * Makefile.am (am__skiplex, am__skipyacc): New.
350 * Makefile.in: Regenerate.
352 2009-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
354 * Makefile.am (syslex.o): Depend on sysinfo.h config.h.
355 * Makefile.in: Regenerate.
357 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
359 * Makefile.am (AM_CPPFLAGS): Renamed from ...
360 (INCLUDES): ... this.
361 (bin2c$(EXEEXT_FOR_BUILD): Adjust rule.
362 (installcheck-local): Renamed from ...
363 (installcheck): ... this.
364 * Makefile.in: Regenerate.
366 * Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add no-dist and
368 (MKDEP, CLEANFILES): Remove now-unneeded variables.
369 (DEP, DEP1, dep.sed, dep, dep-in, dep-am): Remove.
370 (mkdep section): Remove.
371 (BUILT_SOURCES): New variable, list $(GENERATED_HFILES).
372 (EXTRA_ar_SOURCES): New, list $(CFILES).
373 (syslex.o): Depend on syslex.c.
374 (sysinfo.o): Depend on sysinfo.c.
375 (arparse.h, defparse.h, nlmheaders.h rcparse.h mcparse.h):
376 Remove dependencies, now tracked by automake.
377 (srconv.o): Depend on sysroff.c.
378 (objdump.o, arparse.o, arlex.o, sysroff.o, defparse.o, deflex.o)
379 (nlmheader.o, rcparse.o, mcparse.o, rclex.o, mclex.o, dlltool.o)
380 (rescoff.o, nlmconv.o): Rewrite using automake-style dependency
381 tracking rules; only list the dependency upon the primary source
382 file, but no included headers.
383 * Makefile.in: Regenerate.
385 * Makefile.am (install-pdf, install-pdf-recursive, install-html)
386 (install-html-recursive): Remove.
387 * Makefile.in: Regenerate.
388 * doc/Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
389 (html__strip_dir, install-html, install-html-am): Remove.
390 * doc/Makefile.in: Regenerate.
392 * Makefile.in: Regenerate.
393 * aclocal.m4: Likewise.
394 * config.in: Likewise.
395 * configure: Likewise.
396 * doc/Makefile.in: Likewise.
398 2009-08-17 Nick Clifton <nickc@redhat.com>
400 * readelf.c (is_32bit_abs_reloc): Treat R_PARISC_SECREL32 as a
401 32-bit absolute reloc for the purposes of processing debug
404 2009-08-10 Daniel Gutson <dgutson@codesourcery.com>
406 * readelf.c (get_arm_section_type_name): Added support for
407 new sections headers.
409 2009-08-03 H.J. Lu <hongjiu.lu@intel.com>
412 * objcopy.c (strip_main): Check return from smart_rename.
413 (copy_main): Likewise.
415 2009-07-27 Nick Clifton <nickc@redhat.com>
418 * objdump.c (dump_section_header): Skip sections that we are
421 2009-07-25 H.J. Lu <hongjiu.lu@intel.com>
423 * readelf.c (guess_is_rela): Handle EM_L1OM.
424 (dump_relocations): Likewise.
425 (get_machine_name): Likewise.
426 (get_section_type_name): Likewise.
427 (get_elf_section_flags): Likewise.
428 (get_symbol_index_type): Likewise.
429 (is_32bit_abs_reloc): Likewise.
430 (is_32bit_pcrel_reloc): Likewise.
431 (is_64bit_abs_reloc): Likewise.
432 (is_64bit_pcrel_reloc): Likewise.
433 (is_none_reloc): Likewise.
435 2009-07-23 Ulrich Drepper <drepper@redhat.com>
437 * readelf.c (get_symbol_binding): For Linux targeted files return
438 UNIQUE for symbols with the STB_GNU_UNIQUE binding.
439 * doc/binutils.texi: Document the meaning of the 'u' symbol
440 binding in the output of nm and objdump --syms.
442 2009-07-20 H.J. Lu <hongjiu.lu@intel.com>
444 * NEWS: Mention --insn-width.
446 * objdump.c (insn_width): New.
447 (usage): Display --insn-width.
448 (option_values): Add OPTION_INSN_WIDTH.
449 (long_options): Add --insn-width.
450 (disassemble_bytes): Handle insn_width.
451 (main): Handle OPTION_INSN_WIDTH.
453 * doc/binutils.texi: Document --insn-width.
455 2009-07-17 Nick Clifton <nickc@redhat.com>
457 * dwarf.c (display_debug_lines): If do_debug_lines has not been
458 set then default to displaying raw .debug_line section contents.
460 2009-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
462 Support unordered .debug_info references to .debug_ranges.
463 * dwarf.c (struct range_entry, range_entry_compar): New.
464 (display_debug_ranges): Remove variables last_offset, first, j,
465 seen_first_offset, use_debug_info and next. New variables
466 range_entries and range_entry_fill. Create the sorted copy
467 range_entries. Remove the FIXME error on detected unordered references.
468 * dwarf.h (debug_info <range_lists>): New comment.
470 2009-07-14 Nick Clifton <nickc@redhat.com>
473 * README: Document use of LDFLAGS="--static".
475 2009-07-10 H.J. Lu <hongjiu.lu@intel.com>
477 * Makefile.am: Run "make dep-am".
478 * Makefile.in: Regenerated.
480 2009-07-10 Tom Tromey <tromey@redhat.com>
482 * Makefile.am (dwarf.o): Refer to dwarf2.h, not elf/dwarf2.h.
483 * Makefile.in: Rebuild.
484 * dwarf.c: Include dwarf2.h, not elf/dwarf2.h.
486 2009-07-06 Tristan Gingold <gingold@adacore.com>
488 * objdump.c (dump_dwarf_section): Handle .eh_frame like other dwarf
490 * dwarf.h (struct dwarf_section_display): Remove eh_frame field.
491 * dwarf.c (debug_displays): Adjust for removed field.
493 2009-07-03 Jakub Jelinek <jakub@redhat.com>
495 * dwarf.c (decode_location_expression): Handle DW_OP_stack_value
496 and DW_OP_implicit_value.
498 2009-07-01 Nick Clifton <nickc@redhat.com>
501 * rclex.c (handle_quotes): Do not complain about whitespace
502 separating quoted strings.
503 (rclex_string): Ignore whitespace when looking for a new opening
504 quote following a closing quote.
506 2009-06-27 H.J. Lu <hongjiu.lu@intel.com>
509 * bucomm.c (get_file_size): Return -1 on error.
511 * objcopy.c (copy_file): Report empty file.
513 2009-06-23 Nick Clifton <nickc@redhat.com>
515 * dwarf.c (display_debug_lines_raw): Include the name of the
516 section in warning message.
517 (struct debug_display): Enable reloc processing for .debug_line
518 and .debug_ranges sections.
520 * readelf.c: Add --relocated-dump command line option to dump the
521 relocated contents of a specified section.
522 (request_dump): New function.
523 (parse_args): Use it.
524 (dump_section_as_bytes): Add parameter to indicate whether the
525 contents should be relocated.
526 (target_specific_reloc_handling): Add code for a R_MN10300_16
527 reloc found after a R_MN10300_SYM_DIFF reloc.
528 (debug_apply_relocations): Rename to apply_relocations.
529 (get_section_contents): New function. Replaces common code found
530 in dump_section_as_strings and dump_section_as_bytes.
531 * doc/binutils.texi: Document new command line option.
532 * NEWS: Mention the new feature.
534 2009-06-22 Nick Clifton <nickc@redhat.com>
536 * readelf.c (target_specific_reloc_handling): New function:
537 Processes relocs in a target specific manner.
538 (debug_apply_relocations): Use the new function.
539 * dwarf.c (display_debug_loc): End the dump with a blank line.
540 (struct debug_display): Enable reloc processing for .debug_aranges
541 and .debug_loc sections.
543 2009-06-19 Nick Clifton <nickc@redhat.com>
545 * ar.c (usage): Do not use #ifdef inside _("...).
546 * nm.c (usage): Likewise.
548 2009-06-18 Nick Clifton <nickc@redhat.com>
551 * objdump.c (disassemble_bytes): Set the
552 USER_SPECIFIED_MACHINE_TYPE flag in the disassemble_info structure
553 if the user has invoked the -m switch.
554 * doc/binutils.texi: Document the additional behaviour of
555 objdump's -m switch for ARM targets.
557 2009-06-18 Dave Korn <dave.korn.cygwin@gmail.com>
559 * configure.in: Merge cegcc and mingw32ce target name changes from
562 2007-12-25 Pedro Alves <pedro_alves@portugalmail.pt>
564 * configure.in: Add arm*-*-cegcc* and arm*-*-mingw32ce* targets.
565 * configure: Regenerate.
567 2009-06-15 Nick Clifton <nickc@redhat.com>
570 * objdump.c (disassemble_bytes): Set the DISASSEMBLE_DATA bit in
571 the flags field of the disassemble_info structure if the -D switch
574 2009-06-12 Homer Xing <homer.xing@yahoo.com>
576 * NEWS: Mention new feature added to gprof.
578 2009-06-12 John Reiser <jreiser@BitWagon.com>
580 * readelf.c (process_symbol_table): Set gnubuckets to NULL after
581 freeing it and before returning.
583 2009-06-12 Jakub Jelinek <jakub@redhat.com>
585 * readelf.c (process_symbol_table): Don't return early if
586 .hash/.gnu.hash is empty/unusable and not -D.
588 2009-06-09 Tom Bramer <tjb@postpro.net>
591 * winduni.c (wind_MultiByteToWideChar): Do not pass MB_PRECOMPOSED
592 to MultiByteToWideChar when using the CP_UTF8 or CO_UTF7 types.
594 2009-06-04 Alan Modra <amodra@bigpond.net.au>
596 * strings.c (main): Delay parsing of decimal digits.
598 2009-06-04 Alan Modra <amodra@bigpond.net.au>
600 * dep-in.sed: Don't use \n in replacement part of s command.
601 * Makefile.am (DEP1): LC_ALL for uniq.
603 * Makefile.in: Regenerate.
605 2009-06-03 Tristan Gingold <gingold@adacore.com>
607 * MAINTAINERS: Add myself as Mach-O maintainer.
609 2009-06-01 Alan Modra <amodra@bigpond.net.au>
612 * doc/binutils.texi (nm): Correct -S description.
614 2009-05-28 Nick Clifton <nickc@redhat.com>
616 * po/da.po: Updated Danish translation.
618 2009-05-28 Nick Clifton <nickc@redhat.com>
620 * readelf.c (display_debug_section): Do not display debug sections
621 with the NOBITS section type.
623 2009-05-27 Rafael Avila de Espindola <espindola@google.com>
625 * aclocal.m4: Include ../config/plugins.m4.
626 * configure.in: Use AC_PLUGINS.
627 * configure: Regenerate.
628 * Makefile.in: Regenerate.
629 * doc/Makefile.in: Regenerate.
631 2009-05-27 Rafael Avila de Espindola <espindola@google.com>
633 * ar.c (main): Call bfd_plugin_set_program_name.
634 * nm.c (main): Call bfd_plugin_set_program_name.
636 2009-05-27 Nathan Sidwell <nathan@codesourcery.com>
638 * sysdump.c (tab): Use puts rather than two printfs.
640 2009-05-26 Nick Clifton <nickc@redhat.com>
642 * po/id.po: Updated Indonesian translation.
643 * po/binutils.pot: Updated template file.
645 2009-05-26 Rafael Avila de Espindola <espindola@google.com>
647 * ar.c: Include plugin.h.
648 (main): Handle the --plugin option.
649 * nm.c: Include plugin.h.
650 (OPTION_PLUGIN): New.
651 (long_options): Add plugin.
652 (main): Handle OPTION_PLUGIN.
653 * NEWS: Mention the new feature.
654 * doc/binutils: Documement the new command line options.
655 * configure.in: Check for --enable-plugins.
656 * configure: Regenerate.
658 2009-05-26 Alan Modra <amodra@bigpond.net.au>
660 * dep-in.sed: Output one filename per line with all lines having
661 continuation backslash. Prefix first line with "A", following
663 * Makefile.am (DEP): Don't use dep.sed here.
664 (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
666 * Makefile.in: Regenerate.
668 2009-05-25 Tristan Gingold <gingold@adacore.com>
670 * makefile.vms-in: Fix CFLAGS, add addr2line.exe target.
672 * configure.com: Fix it: handle alloca and define TARGET in config.h.
674 2009-05-22 Alan Modra <amodra@bigpond.net.au>
676 * Makefile.am: Run "make dep-am".
677 * Makefile.in: Regenerate.
679 2009-05-12 Alan Modra <amodra@bigpond.net.au>
681 * objcopy.c (set_long_section_mode): Check input_bfd is coff
682 before accessing coff specific fields of bfd.
684 2009-05-09 Dave Korn <dave.korn.cygwin@gmail.com>
686 * MAINTAINERS: Add myself as PE/COFF co-maintainer.
688 2009-05-08 Kai Tietz <kai.tietz@onevision.com>
690 * winduni.c (iconv_onechar): Only define when HAVE_ICONV
691 is defined, but not when __CYGWIN__ or _WIN32 are defined.
692 See wind_iconv_cp for call logic of this local funtion.
694 2009-05-05 Guillaume Duhamel <guillaume.duhamel@gmail.com>
697 * winduni.c: Replace test of HAVE_ICONV_H with a test of
699 (iconv_onechar): Use ICONV_CONST instead of "const".
700 (wind_MultiByteToWideChar): Initialise local strings.
702 2009-04-30 Nick Clifton <nickc@redhat.com>
704 * readelf.c (dump_relocations): Display a relocation against an
705 ifunc symbol as if it were a function invocation.
706 (get_symbol_type): Handle STT_GNU_IFUNC.
708 2009-04-29 Anthony Green <green@moxielogic.com>
710 * NEWS: Tweak verilog support description.
712 2009-04-29 Alan Modra <amodra@bigpond.net.au>
713 Denis Scherbakov <denis_scherbakov@yahoo.com>
715 * readelf.c (slurp_ia64_unwind_table): Correct 64-bit unwind table
716 read, and merge with 32-bit case.
718 2009-04-27 Anthony Green <green@moxielogic.com>
720 * NEWS: Mention verilog support added to bfd.
722 2009-04-27 H.J. Lu <hongjiu.lu@intel.com>
724 * objcopy.c (copy_object): Copy pe_opthdr before changing PE
727 2009-04-24 Cary Coutant <ccoutant@google.com>
729 * dwarf.c (process_extended_line_op): Add DW_LNE_set_discriminator.
730 Add missing newlines to HP extensions.
732 2009-04-17 H.J. Lu <hongjiu.lu@intel.com>
734 * objcopy.c (set_pe_subsystem): Replace efi-rom with sal-rtd.
735 * doc/binutils.texi: Likewise.
737 2009-04-17 H.J. Lu <hongjiu.lu@intel.com>
740 * objcopy.c: Include coff/i386.h and coff/pe.h.
741 (pe_file_alignment): New.
742 (pe_heap_commit): Likewise.
743 (pe_heap_reserve): Likewise.
744 (pe_image_base): Likewise.
745 (pe_section_alignment): Likewise.
746 (pe_stack_commit): Likewise.
747 (pe_stack_reserve): Likewise.
748 (pe_subsystem): Likewise.
749 (pe_major_subsystem_version): Likewise.
750 (pe_minor_subsystem_version): Likewise.
751 (set_pe_subsystem): Likewise.
752 (convert_efi_target): Likewise.
753 (command_line_switch): Add OPTION_FILE_ALIGNMENT,
754 OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT,
755 OPTION_STACK and OPTION_SUBSYSTEM.
756 (copy_options): Likewise.
757 (copy_usage): Add --file-alignment, --heap, --image-base,
758 --section-alignment, --stack and --subsystem.
759 (copy_object): Set up PE parameters.
760 (copy_main): Process Add OPTION_FILE_ALIGNMENT,
761 OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT,
762 OPTION_STACK and OPTION_SUBSYSTEM. Convert EFI target to
765 * NEWS: Mention --file-alignment, --heap, --image-base,
766 --section-alignment, --stack and --subsystem command line
769 * doc/binutils.texi: Document --file-alignment, --heap,
770 --image-base, --section-alignment, --stack and --subsystem
771 command line options for objcopy.
773 2009-04-15 Anthony Green <green@moxielogic.com>
775 * MAINTAINERS: Add myself as Moxie port maintainer.
777 2009-04-14 Dave Korn <dave.korn.cygwin@gmail.com>
779 * objcopy.c (enum long_section_name_handling): New enum type.
780 (enum command_line_switch): Add OPTION_LONG_SECTION_NAMES.
781 (copy_options[]): Add entry for --long-section-names option.
782 (copy_usage): Document it.
783 (set_long_section_mode): New subroutine.
784 (copy_file): Call it.
785 (copy_main): Accept OPTION_LONG_SECTION_NAMES and parse arg.
786 * doc/binutils.texi: Update objcopy documentation with details
789 2009-04-01 Dave Korn <dave.korn.cygwin@gmail.com>
791 * dlltool.c (set_dll_name_from_def): Accept new second arg that
792 indicates if we are building DLL or EXE, and use it to add a
793 default suffix to the output filename when none is already present.
794 (def_name): Indicate we are building an EXE when calling it.
795 (def_library): Indicate we are building a DLL when calling it.
797 2009-04-01 Jari Aalto <jari.aalto@cante.net>
800 * doc/binutils.texi (strings): Document the -V alias for the
802 * strings.c (usage): Likewise.
804 2009-03-31 Nick Clifton <nickc@redhat.com>
807 * configure.in: Import Solaris specific largefile test from
809 * configure: Regenerate.
811 2009-03-30 Richard Sandiford <rdsandiford@googlemail.com>
813 * MAINTAINERS: Add self.
815 2009-03-27 Nick Clifton <nickc@redhat.com>
817 * dwarf.c (display_debug_ranges): Add the base address to the
818 displayed values for 'Begin' and 'End'.
820 2009-03-25 Ryan Mansfield <rmansfield@qnx.com>
822 * readelf.c (process_file_header): Don't report a corrupt string
823 table index if it is zero.
825 2009-03-19 H.J. Lu <hongjiu.lu@intel.com>
827 * dwarf.c (dwarf_regnames): Moved before frame_need_space.
828 (dwarf_regnames_count): Likewise.
829 (frame_need_space): Return int.
830 (display_debug_frames): Check invalid registers.
832 2009-03-19 H.J. Lu <hongjiu.lu@intel.com>
834 * readelf.c (debug_apply_relocations): Check relocations
835 against STT_SECTION symbol.
837 2009-03-18 H.J. Lu <hongjiu.lu@intel.com>
839 * readelf.c (debug_apply_relocations): Allow relocations
840 against function symbols.
842 2009-03-18 Alan Modra <amodra@bigpond.net.au>
844 * sysdep.h: Include alloca-conf.h instead of config.h and remove
845 existing #if's handling alloca.
846 * Makefile.am: Run "make dep-am".
847 * Makefile.in: Regenerate.
849 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
851 * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
852 * configure.in: Likewise.
853 * configure: Regenerate.
855 2009-03-13 H.J. Lu <hongjiu.lu@intel.com>
858 * objcopy.c (copy_object): Clear HAS_RELOC when stripping all.
860 2009-03-11 Chris Demetriou <cgd@google.com>
862 * ar.c (deterministic): New global variable.
863 (main): Recognize new 'D' option, which enables 'deterministic mode'.
864 (usage): Document new 'D' option.
865 (write_archive): Set BFD_DETERMINISTIC_OUTPUT in output archive's
866 flags if deterministic mode was requested.
867 * doc/binutils.texi (ar): Document deterministic mode ('D' option).
869 2009-03-09 H.J. Lu <hongjiu.lu@intel.com>
872 * objcopy.c (filter_symbols): Properly handle common symbols
875 2009-03-06 Nick Clifton <nickc@redhat.com>
877 * po/es.po: Updated Spanish translation.
879 2009-03-05 Nick Clifton <nickc@redhat.com>
881 * objdump.c (disassemble_section): If the computed next offset is
882 not beyond the current offset then just continue to the end.
884 2009-03-04 Tristan Gingold <gingold@adacore.com>
886 * MAINTAINERS: Add myself as VMS maintainer.
888 2009-03-03 Nick Clifton <nickc@redhat.com>
890 * readelf.c: Update formatting.
892 2009-03-03 Alan Modra <amodra@bigpond.net.au>
894 * Makefile.am: Run "make dep-am".
895 * Makefile.in: Regenerate.
897 2009-03-03 Alan Modra <amodra@bigpond.net.au>
899 * objdump.c (disassemble_section): Mask address before sign extending.
901 2009-03-02 Sebastian Biallas <sb@biallas.net>
903 * ieee.c (parse_ieee_ty): Add support for undocumented 'v' type.
904 (parse_ieee_bb): Set the filename if it has not already been
907 2009-03-02 Cary Coutant <ccoutant@google.com>
909 * readelf.c (adjust_relative_path): New function.
910 (struct archive_info): New type.
911 (setup_archive): New function.
912 (release_archive): New function.
913 (setup_nested_archive): New function.
914 (get_archive_member_name): New function.
915 (get_archive_member_name_at): New function.
916 (make_qualified_name): New function.
917 (process_archive): Factor out code for reading archive index and
918 long filename table to setup_archive. Add support for thin archives.
920 2009-03-02 Nick Clifton <nickc@redhat.com>
922 * po/sk.po: Updated Slovak translation.
924 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
926 * configure: Regenerate.
928 2009-02-23 Cary Coutant <ccoutant@google.com>
930 * objdump.c (load_specific_debug_section): New function, from
932 (load_debug_section): Use load_specific_debug_section.
933 (dump_dwarf_section): Likewise.
935 2009-02-23 Cary Coutant <ccoutant@google.com>
937 * readelf.c (parse_args): Select all sections explicitly for -w.
939 2009-02-09 Kai Tietz <kai.tietz@onevision.com>
941 * windres.c (set_endianess): Copy name without leading '-'.
943 2009-02-09 Tristan Gingold <gingold@adacore.com>
945 * NEWS: Mention feature match between objdump and readelf for dumping
948 * doc/binutils.texi (objdump): Document -W/--dwarf improvments to
951 * objdump.c (usage): Update documentation for -W/--dwarf.
952 (enum option_values): Add OPTION_DWARF.
953 (long_options): --dwarf can accept arguments.
954 (dump_dwarf_section): Also check enabled field.
955 (main): Option -W can accept arguments, code moved to
956 dwarf.c and call dwarf_select_sections_all instead.
957 * readelf.c (process_section_headers): Remove do_debug_lines_decoded.
958 (parse_args): Move code to...
959 * dwarf.c (dwarf_select_sections_by_letters,
960 dwarf_select_sections_by_names): : ...here (new functions).
961 (do_debug_lines_decoded): Remove and replaced by ...
962 (FLAG_DEBUG_LINES_RAW, FLAG_DEBUG_LINES_DECODED): ... new macros.
963 (display_debug_lines): Adjust for previous change.
964 (dwarf_select_sections_all): New function.
965 (debug_displays): Add initializer for enabled field.
966 * dwarf.h (do_debug_lines_decoded): Remove.
967 Add prototypes for the new functions.
968 (struct dwarf_section_display): Add enabled field.
970 2009-02-06 Nick Clifton <nickc@redhat.com>
972 * po/vi.po: Updated Vietnamese translation.
974 2009-02-03 Sandip Matte <sandip@rmicorp.com>
976 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_XLR.
978 2009-02-03 H.J. Lu <hongjiu.lu@intel.com>
980 * NEWS: Move --as-needed change to ...
983 2009-02-03 Carlos O'Donell <carlos@codesourcery.com>
985 * configure.in: AC_SUBST pdfdir.
986 * Makefile.am: Add install-pdf, install-pdf-am,
987 and install-pdf-recursive targets.
988 * doc/Makefile.am: Define pdf__strip_dir. Add
989 install-pdf and install-pdf-am targets.
990 * po/Make-in: Add install-pdf target.
991 * configure: Regenerate.
992 * Makefile.in: Regenerate.
993 * doc/Makefile.in: Regenerate.
995 2009-02-03 H.J. Lu <hongjiu.lu@intel.com>
998 * NEWS: Mention --prefix=PREFIX and --prefix-strip=LEVEL.
1000 * doc/binutils.texi: Document --prefix=PREFIX and
1001 --prefix-strip=LEVEL.
1003 * objdump.c: Include "filenames.h".
1005 (prefix_strip): Likewise.
1006 (prefix_length): Likewise.
1007 (usage): Add --prefix=PREFIX and --prefix-strip=LEVEL.
1008 (option_values): Add OPTION_PREFIX and OPTION_PREFIX_STRIP.
1009 (long_options): Likewise.
1010 (show_line): Handle prefix and prefix_strip.
1011 (main): Handle OPTION_PREFIX and OPTION_PREFIX_STRIP.
1013 * readelf.c (PATH_MAX): Moved to ...
1016 2009-01-31 Alan Modra <amodra@bigpond.net.au>
1018 * NEWS: Mention --as-needed change.
1020 2009-01-29 Alan Modra <amodra@bigpond.net.au>
1023 * bucomm.c (bfd_nonfatal_message): Use bfd_get_archive_filename.
1024 (bfd_get_archive_filename): Constify param.
1025 * bucomm.h (bfd_get_archive_filename): Update prototype.
1026 * objcopy.c (RETURN_NONFATAL): Delete.
1027 (copy_unknown_object): Don't call bfd_get_archive_filename for
1028 bfd_nonfatal_message filename, instead just pass bfd.
1029 (copy_object): Likewise.
1030 (copy_archive, copy_file): Likewise. Expand RETURN_NONFATAL. On
1031 bfd_close errors, do not pass the bfd to bfd_nonfatal_message.
1032 (setup_bfd_headers): Fix error message.
1034 2009-01-27 Nick Clifton <nickc@redhat.com>
1037 * objdump.c (disassemble_section): When the target uses signed
1038 addresses make sure that we compute signed values.
1040 2009-01-27 Nick Clifton <nickc@redhat.com>
1042 * MAINTAINERS: Remove Thiemo Seufer's name from the list of MIPS
1045 2009-01-26 Nick Clifton <nickc@redhat.com>
1048 * dlltool.c (xlate): When strip text after the @ sign, look for
1049 the last one not the first one.
1051 2009-01-16 Alan Modra <amodra@bigpond.net.au>
1053 * configure.in (commonbfdlib): Delete.
1054 * configure: Regenerate.
1056 2008-01-14 Charles Wilson <cygwin@cwilson.fastmail.fm>
1058 Cleanup code related to --identify option.
1060 * dlltool.c (file scope): Removed globals identify_ms,
1061 identify_member_contains_symname_result,
1062 identify_dll_name_list_head, and identify_dll_name_list_tail.
1063 Renamed existing typedef dll_name_list_type to
1064 dll_name_list_node_type.
1065 Added new typedefs dll_name_list_type, symname_search_data_type,
1066 and identify_data_type.
1067 (identify_append_dll_name_to_list): Renamed to...
1068 (dll_name_list_append): ...here. Changed signature to accept list
1069 argument rather than use global.
1070 (identify_count_dll_name_list): Renamed to...
1071 (dll_name_list_count): ...here. Changed signature to accept list
1072 argument rather than use global.
1073 (identify_print_dll_name_list): Renamed to...
1074 (dll_name_list_print): ...here. Changed signature to accept list
1075 argument rather than use global.
1076 (identify_free_dll_name_list): Renamed to...
1077 (dll_name_list_free_contents): ...here.
1078 (dll_name_list_free): New function.
1079 (dll_name_list_create): New function.
1080 (identify_process_section_p): Changed signature to accept
1081 ms_style_implib argument rather than use global.
1082 (identify_member_contains_symname): Expect incoming void * data to
1083 be symname_search_data_type.
1084 (identify_dll_for_implib): Use new functions dll_name_list_create
1085 and dll_name_list_free. Use new types symname_search_data_type
1086 and identify_data_type to communicate with search routines.
1087 (identify_search_section): Expect incoming void * data to be
1088 identify_data_type. Use its contents rather than global
1091 2009-01-13 Charles Wilson <cygwin@cwilson.fastmail.fm>
1093 Add --identify-strict option. Handle ms-style implibs:
1095 * dlltool.c (file scope): Added new globals identify_ms and
1096 identify_strict. New typedef dll_name_list_type, and globals
1097 identify_dll_name_list_head and identify_dll_name_list_tail. Added
1098 new global identify_member_contains_symname_result.
1099 (identify_append_dll_name_to_list): New function.
1100 (identify_count_dll_name_list): New function.
1101 (identify_print_dll_name_list): New function.
1102 (identify_free_dll_name_list): New function.
1103 (identify_search_archive): Changed signature to take function
1104 pointer to operation to apply to each member, and data to pass on
1106 (identify_search_member): Changed signature to accept user data
1108 (identify_member_contains_symname): New function.
1109 (identify_dll_for_implib): Rewrite. Now determines whether implib
1110 is ms- or binutils- style, before searching sections for
1111 dllname. Allows multiple dllnames.
1112 (identify_process_section_p): Search alternate section for dllname
1113 when implib is ms-style.
1114 (identify_search_section): Add additional conditions to excludes
1115 candidate sections from consideration.
1116 (usage): Added --identify-strict.
1117 (long_options): Added --identify-strict.
1118 (main): Handle --identify-strict option.
1119 * doc/binutils.texi: Document --identify-strict option.
1120 * NEWS: Document --identify and --identify-strict options.
1122 2009-01-13 Alan Modra <amodra@bigpond.net.au>
1125 * doc/binutils.texi (objdump -R): Note effect of -d or -D.
1127 2009-01-13 Alan Modra <amodra@bigpond.net.au>
1129 * objdump.c (disassemble_section): Don't assume non-instruction
1130 data if object symbol at given address is in different section.
1132 2009-01-12 Kai Tietz <kai.tietz@onevision.com>
1134 * dlltool.c (create_for_pep): New.
1135 (flush_page): Use create_for_pep instead of using
1136 macro DLLTOOL_MX86_64 clause.
1137 (generate_idata_ofile): Likewise.
1138 (make_one_lib_file): Likewise.
1139 (make_head): Likewise.
1140 (make_tail): Likewise.
1141 (main): Initialize create_for_pep.
1143 2009-01-08 Kai Tietz <kai.tietz@onevision.com>
1145 * dlltool.c (use_nul_prefixed_import_tables): New.
1146 (make_head): Make prefix leading zero prefix element for
1147 idata$4 and idata$5 dependent to new flag.
1148 (usage): Add new option --use-nul-prefixed-import-tables.
1149 (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
1150 (long_options): Add --use-nul-prefixed-import-tables.
1152 * doc/binutils.texi: Add new option documentation for
1153 --use-nul-prefixed-import-tables.
1154 * NEWS: Add new option.
1156 2009-01-06 Kai Tietz <kai.tietz@onevision.com>
1158 * windres.c (set_endianess): Get architecture name
1159 for internal target names like "pe-arm-wince-little".
1160 (find_arch_match): New helper.
1161 * ChangeLog: Reset it.
1162 * ChangeLog-2008: Moved old ChangeLog.
1164 For older changes see ChangeLog-2008
1170 version-control: never