1 2009-10-16 Doug Evans <dje@sebabeach.org>
3 * MAINTAINERS: Add myself as m32r maintainer.
5 2009-10-16 Jerker Bäck <jerker.back@gmail.com>
8 * Makefile.am (sysinfo.o, syslex.o): Place source file after all
10 * Makefile.in: Regenerate.
12 2009-10-16 Yann Droneaud <yann@droneaud.fr>
15 * dlltool.c (bfd_get_errmsg): New macro.
16 (scan_obj_file): Use it.
17 (make_one_lib_file): Use it.
19 (make_delay_head): Use it.
21 (gen_lib_file): Use it.
22 (identify_dll_for_implib): Use it.
23 (identify_search_archive): Use it.
25 2009-10-16 Nick Clifton <nickc@redhat.com>
27 * readelf.c (usage): Add mention of --debug-dump=frames-interp.
28 Wrap output to 80 columns.
29 * objdump.c (usage): Likewise.
30 * doc/binutils.texi (readelf): Add note about =frames-interp.
32 2009-10-01 Alan Modra <amodra@bigpond.net.au>
34 * addr2line.c (slurp_symtab): Don't use bfd_read_minisymbols.
36 2009-09-29 Nick Clifton <nickc@redhat.com>
38 * doc/binutils.texi (c++filt): Remove spurious description of
39 nonexistent --java command line switch for cxxfilt.
41 2009-09-29 DJ Delorie <dj@redhat.com>
43 * readelf.c: Add support for RX target.
44 * MAINTAINERS: Add DJ and NickC as maintainers for RX.
46 2009-09-28 Alan Modra <amodra@bigpond.net.au>
48 * configure.in: Don't invoke configure.tgt on $enable_targets.
49 * configure: Regenerate.
51 2009-09-28 Nick Clifton <nickc@redhat.com>
54 * readelf.c (get_elf_section_flags): Allow SHN_BEFORE and
55 SHN_AFTER section link values in x86 binaries.
56 (process_section_headers): Likewise.
58 2009-09-25 Dimitry Gorbachev <d.g.gorbachev@gmail.com>
61 * readelf.c: Remove duplicate declaration of variable do_wide.
62 * dwarf.h: Add export of do_wide.
64 2009-09-24 Cary Coutant <ccoutant@google.com>
66 * dwarf.c (get_TAG_name): Add missing DWARF-3 and new DWARF-4 tags.
67 (get_FORM_name): Add new DWARF-4 forms.
68 (read_and_display_attr_value): Add DW_FORM_ref_sig8, DW_LANG_Python.
69 (get_AT_name): Add new DWARF-4 and GNU-specific attributes.
70 (process_debug_info): Add do_types parameter; change all callers.
71 Add support for .debug_types sections.
72 (display_debug_types): New function.
73 (debug_displays): Add .debug_types section.
74 * readelf.c (process_section_headers): Add .debug_types section.
75 (display_debug_section): Simplify call to streq.
77 2009-09-25 Alan Modra <amodra@bigpond.net.au>
79 * readelf.c (print_dynamic_symbol): Format entries as for
81 (process_symbol_table): Use -7s format string for visibility.
83 2009-09-22 Richard Sandiford <rdsandiford@googlemail.com>
85 * objdump.c (disassemble_section): Use bfd_get_arch_size
86 instead of assuming that the address size is 32 bits.
88 2009-09-21 Alan Modra <amodra@bigpond.net.au>
90 * readelf.c (get_ppc_dynamic_type): Add TLSOPT.
91 (get_ppc64_dynamic_type): Likewise.
93 2009-09-18 Nick Clifton <nickc@redhat.com>
95 * po/es.po: Updated Spanish translation.
96 * po/vi.po: Updated Vietnamese translation.
98 2009-09-11 Paul Pluzhnikov <ppluzhnikov@google.com>
100 * readelf.c (process_version_sections, process_symbol_table):
101 Use symbolic constants.
103 2009-09-11 Nick Clifton <nickc@redhat.com>
105 * po/binutils.pot: Updated by the Translation project.
107 2009-09-11 Philippe De Muyter <phdm@macqel.be>
109 * obcopy.c (copy_object): New parameter `input_arch', architecture
110 of input file, if not specified in input file itself; all callers
111 updated; `binary_architecture' hack removed.
112 (copy_archive, copy_file): New parameter `input_arch', for
114 (copy_main): Accept `-B' (`--binary-architecture') option also
115 for any arch-less input ifile format, not only `binary'; remove
116 bfd_external_binary_architecture hack; instead, add `input_arch'
117 to calls to `copy_file'.
118 * windres.c, windmc.c : Obsolete and useless external references
119 to `bfd_external_binary_architecture' or `bfd_external_machine'
121 * doc/binutils.texi: Mention that -B parameter can be used for any
122 input file type which does not have its own architecture.
124 2009-09-10 Martin Thuresson <martin@mtme.org>
126 Update sources to compile cleanly with -Wc++-compat:
127 * addr2line.c (slurp_symtab): Fix casts. Introduce variable
128 minisyms to avoid aliasing varning.
130 (normalize): Use name del instead of delete.
131 (display_target_list,display_info_table): Change loop counter
133 * bucomm.c: Add casts.
134 * debug.c: Update function to use new names.
135 (struct debug_baseclass): Rename member from virtual to
137 (struct debug_type_s, struct debug_field_s, struct
138 debug_baseclass_s, struct debug_method_s, struct
139 debug_method_variant_s, struct debug_type_s): Rename struct from
140 avoid name collision.
141 * debug.h: Use new struct names.
142 * dwarf.c: Add casts.
143 (free_debug_memory): Change loop counter variable a to int.
145 (enum ieee_var_kind): Move to top level.
146 (ieee_class_baseclass): Rename parameter virtual to is_virtual.
147 (ieee_class_method_var): Rename variable virtual to is_virtual.
149 * objcopy.c: Add casts.
150 (copy_archive): Rename variable delete to del.
151 * objdump.c: Add casts.
152 (dump_dwarf_section): Change loop counter variable i to int.
153 * prdbg.c: Add casts.
154 (pr_class_baseclass,tg_class_baseclass): Rename parameters virtual
156 * readelf.c: Add casts.
157 (struct ia64_unw_table_entry,struct hppa_unw_table_entry): Move to
160 * stabs.c (parse_stab_type, parse_stab_range_type,
161 (parse_stab_cpp_abbrev): Rename parameter from typename to
163 (parse_stab_baseclasses): Rename variable virtual to is_virtual.
164 * strings.c: Add casts.
165 * wrstabs.c (stab_class_baseclass): Rename parameter virtual to
168 2009-09-09 Nick Clifton <nickc@redhat.com>
171 readelf.c (get_elf_section_flags): Add support for SHF_EXCLUDE and
173 (process_section_headers): Warn about out of range sh_link
174 values. When displaying detailed section header information
175 annote the SHN_BEFORE and SHN_AFTER values.
177 2009-09-08 Alan Modra <amodra@bigpond.net.au>
179 * dwarf.c (byte_get_little_endian): Handle size of 3.
180 (byte_get_big_endian): Likewise.
181 * readelf.c (byte_put_little_endian): Likewise.
182 (byte_put_big_endian): Likewise.
183 (is_24bit_abs_reloc): New function.
184 (is_none_reloc): Formatting.
185 (apply_relocations): Use is_24bit_abs_reloc. Handle pj and xtensa
188 2009-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
190 * readelf.c (is_none_reloc <EM_XTENSA_OLD>, is_none_reloc <EM_XTENSA>):
193 2009-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
195 * dwarf.c (process_debug_info): Support section padding abbrev codes.
197 2009-09-07 Tristan Gingold <gingold@adacore.com>
199 * po/binutils.pot: Regenerate.
201 2009-09-05 Jan Kratochvil <jan.kratochvil@redhat.com>
203 * Makefile.am (sysdump.o): Depend on sysroff.c.
204 * Makefile.in: Regenerate.
206 2009-09-05 Martin Thuresson <martin@mtme.org>
208 * ieee.c (ieee_read_cxx_misc, ieee_read_cxx_class,
209 ieee_read_reference): Rename variables named class to cxxclass.
211 2009-09-04 Tristan Gingold <gingold@adacore.com>
213 * BRANCHES: Add binutils-2_20-branch.
215 2009-09-04 Tristan Gingold <gingold@adacore.com>
217 * NEWS: Add marker for 2.20.
219 2009-09-04 Timo Kreuzer <timo.kreuzer@web.de>
221 * dlltool.c (delayimp_name): Add new global variable
222 (usage, long_options, main): Add new option "-y" / "--output-delaylib"
223 (struct mac): Add fields how_dljtab_size, how_dljtab_roff1,
224 how_dljtab_roff2, how_dljtab, trampoline.
225 (i386_dljtab): Add binary stub for x86 delay import.
226 (i386_trampoline): Add text assembly stub for x86 delay import.
227 (mtable): Add delay import data for M386 and MX86 only.
228 (make_delay_head): New function.
229 (make_one_lib_file): New arg delay creates delay-load import stub.
230 (gen_lib_file): New arg delay likewise.
231 (HOW_JTAB, HOW_JTAB_SIZE, HOW_JTAB_ROFF): New arg delay likewise.
232 (HOW_JTAB_ROFF2, HOW_JTAB_ROFF3): New macros for delay import.
233 (make_tail): Convert hard TABS embedded in strings to "\t" escapes.
234 * NEWS: Mention new feature. Also fix whitespace.
235 * doc/binutils.texi: Updated dlltool documentation.
237 2009-09-02 Tristan Gingold <gingold@adacore.com>
239 * configure.com: Do not copy makefile.vms-in to makefile.vms
240 * makefile.vms-in: Renamed to...
241 * makefile.vms: ... this usual name as it is not processed anymore.
242 Remove WRITE_DEBUG_OBJS (unused) and reorder object files for
245 2009-09-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
247 * Makefile.am (arparse.o, arlex.o, sysroff.o, defparse.o)
248 (deflex.o, nlmheaders.o, rcparse.o, mcparse.o): Supply correct
249 source file name for generated files which may be in $(srcdir).
250 * Makefile.in: Regenerate.
252 2009-09-01 H.J. Lu <hongjiu.lu@intel.com>
254 * version.c (print_version): Change to "Copyright 2009".
256 2009-09-01 Tristan Gingold <gingold@adacore.com>
258 * makefile.vms-in: Remove unused VERSION variable. Remove unused
260 * configure.com: Ported to Itanium VMS. Create build.com DCL script.
262 2009-08-29 Martin Thuresson <martin@mtme.org>
264 * nlmconv.c (main): Rename variable new to new_name.
266 2009-08-28 H.J. Lu <hongjiu.lu@intel.com>
268 * Makefile.am (sysinfo$(EXEEXT_FOR_BUILD)): Replace
269 CFLAGS/LDFLAGS with CFLAGS_FOR_BUILD/LDFLAGS_FOR_BUILD.
270 (syslex.o): Likewise.
271 (sysinfo.o): Likewise.
272 (bin2c$(EXEEXT_FOR_BUILD)): Likewise.
273 * Makefile.in: Regenerated.
275 2009-08-27 Dave Korn <dave.korn.cygwin@gmail.com>
277 * doc/binutils.texi (--only-keep-debug): Relocate stray para here ...
278 (--subsystem): ... from here.
280 2009-08-24 Cary Coutant <ccoutant@google.com>
282 * objdump.c (find_symbol_for_address): Avoid costly call to
285 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
287 * Makefile.am (am__skiplex, am__skipyacc): New.
288 * Makefile.in: Regenerate.
290 2009-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
292 * Makefile.am (syslex.o): Depend on sysinfo.h config.h.
293 * Makefile.in: Regenerate.
295 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
297 * Makefile.am (AM_CPPFLAGS): Renamed from ...
298 (INCLUDES): ... this.
299 (bin2c$(EXEEXT_FOR_BUILD): Adjust rule.
300 (installcheck-local): Renamed from ...
301 (installcheck): ... this.
302 * Makefile.in: Regenerate.
304 * Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add no-dist and
306 (MKDEP, CLEANFILES): Remove now-unneeded variables.
307 (DEP, DEP1, dep.sed, dep, dep-in, dep-am): Remove.
308 (mkdep section): Remove.
309 (BUILT_SOURCES): New variable, list $(GENERATED_HFILES).
310 (EXTRA_ar_SOURCES): New, list $(CFILES).
311 (syslex.o): Depend on syslex.c.
312 (sysinfo.o): Depend on sysinfo.c.
313 (arparse.h, defparse.h, nlmheaders.h rcparse.h mcparse.h):
314 Remove dependencies, now tracked by automake.
315 (srconv.o): Depend on sysroff.c.
316 (objdump.o, arparse.o, arlex.o, sysroff.o, defparse.o, deflex.o)
317 (nlmheader.o, rcparse.o, mcparse.o, rclex.o, mclex.o, dlltool.o)
318 (rescoff.o, nlmconv.o): Rewrite using automake-style dependency
319 tracking rules; only list the dependency upon the primary source
320 file, but no included headers.
321 * Makefile.in: Regenerate.
323 * Makefile.am (install-pdf, install-pdf-recursive, install-html)
324 (install-html-recursive): Remove.
325 * Makefile.in: Regenerate.
326 * doc/Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
327 (html__strip_dir, install-html, install-html-am): Remove.
328 * doc/Makefile.in: Regenerate.
330 * Makefile.in: Regenerate.
331 * aclocal.m4: Likewise.
332 * config.in: Likewise.
333 * configure: Likewise.
334 * doc/Makefile.in: Likewise.
336 2009-08-17 Nick Clifton <nickc@redhat.com>
338 * readelf.c (is_32bit_abs_reloc): Treat R_PARISC_SECREL32 as a
339 32-bit absolute reloc for the purposes of processing debug
342 2009-08-10 Daniel Gutson <dgutson@codesourcery.com>
344 * readelf.c (get_arm_section_type_name): Added support for
345 new sections headers.
347 2009-08-03 H.J. Lu <hongjiu.lu@intel.com>
350 * objcopy.c (strip_main): Check return from smart_rename.
351 (copy_main): Likewise.
353 2009-07-27 Nick Clifton <nickc@redhat.com>
356 * objdump.c (dump_section_header): Skip sections that we are
359 2009-07-25 H.J. Lu <hongjiu.lu@intel.com>
361 * readelf.c (guess_is_rela): Handle EM_L1OM.
362 (dump_relocations): Likewise.
363 (get_machine_name): Likewise.
364 (get_section_type_name): Likewise.
365 (get_elf_section_flags): Likewise.
366 (get_symbol_index_type): Likewise.
367 (is_32bit_abs_reloc): Likewise.
368 (is_32bit_pcrel_reloc): Likewise.
369 (is_64bit_abs_reloc): Likewise.
370 (is_64bit_pcrel_reloc): Likewise.
371 (is_none_reloc): Likewise.
373 2009-07-23 Ulrich Drepper <drepper@redhat.com>
375 * readelf.c (get_symbol_binding): For Linux targeted files return
376 UNIQUE for symbols with the STB_GNU_UNIQUE binding.
377 * doc/binutils.texi: Document the meaning of the 'u' symbol
378 binding in the output of nm and objdump --syms.
380 2009-07-20 H.J. Lu <hongjiu.lu@intel.com>
382 * NEWS: Mention --insn-width.
384 * objdump.c (insn_width): New.
385 (usage): Display --insn-width.
386 (option_values): Add OPTION_INSN_WIDTH.
387 (long_options): Add --insn-width.
388 (disassemble_bytes): Handle insn_width.
389 (main): Handle OPTION_INSN_WIDTH.
391 * doc/binutils.texi: Document --insn-width.
393 2009-07-17 Nick Clifton <nickc@redhat.com>
395 * dwarf.c (display_debug_lines): If do_debug_lines has not been
396 set then default to displaying raw .debug_line section contents.
398 2009-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
400 Support unordered .debug_info references to .debug_ranges.
401 * dwarf.c (struct range_entry, range_entry_compar): New.
402 (display_debug_ranges): Remove variables last_offset, first, j,
403 seen_first_offset, use_debug_info and next. New variables
404 range_entries and range_entry_fill. Create the sorted copy
405 range_entries. Remove the FIXME error on detected unordered references.
406 * dwarf.h (debug_info <range_lists>): New comment.
408 2009-07-14 Nick Clifton <nickc@redhat.com>
411 * README: Document use of LDFLAGS="--static".
413 2009-07-10 H.J. Lu <hongjiu.lu@intel.com>
415 * Makefile.am: Run "make dep-am".
416 * Makefile.in: Regenerated.
418 2009-07-10 Tom Tromey <tromey@redhat.com>
420 * Makefile.am (dwarf.o): Refer to dwarf2.h, not elf/dwarf2.h.
421 * Makefile.in: Rebuild.
422 * dwarf.c: Include dwarf2.h, not elf/dwarf2.h.
424 2009-07-06 Tristan Gingold <gingold@adacore.com>
426 * objdump.c (dump_dwarf_section): Handle .eh_frame like other dwarf
428 * dwarf.h (struct dwarf_section_display): Remove eh_frame field.
429 * dwarf.c (debug_displays): Adjust for removed field.
431 2009-07-03 Jakub Jelinek <jakub@redhat.com>
433 * dwarf.c (decode_location_expression): Handle DW_OP_stack_value
434 and DW_OP_implicit_value.
436 2009-07-01 Nick Clifton <nickc@redhat.com>
439 * rclex.c (handle_quotes): Do not complain about whitespace
440 separating quoted strings.
441 (rclex_string): Ignore whitespace when looking for a new opening
442 quote following a closing quote.
444 2009-06-27 H.J. Lu <hongjiu.lu@intel.com>
447 * bucomm.c (get_file_size): Return -1 on error.
449 * objcopy.c (copy_file): Report empty file.
451 2009-06-23 Nick Clifton <nickc@redhat.com>
453 * dwarf.c (display_debug_lines_raw): Include the name of the
454 section in warning message.
455 (struct debug_display): Enable reloc processing for .debug_line
456 and .debug_ranges sections.
458 * readelf.c: Add --relocated-dump command line option to dump the
459 relocated contents of a specified section.
460 (request_dump): New function.
461 (parse_args): Use it.
462 (dump_section_as_bytes): Add parameter to indicate whether the
463 contents should be relocated.
464 (target_specific_reloc_handling): Add code for a R_MN10300_16
465 reloc found after a R_MN10300_SYM_DIFF reloc.
466 (debug_apply_relocations): Rename to apply_relocations.
467 (get_section_contents): New function. Replaces common code found
468 in dump_section_as_strings and dump_section_as_bytes.
469 * doc/binutils.texi: Document new command line option.
470 * NEWS: Mention the new feature.
472 2009-06-22 Nick Clifton <nickc@redhat.com>
474 * readelf.c (target_specific_reloc_handling): New function:
475 Processes relocs in a target specific manner.
476 (debug_apply_relocations): Use the new function.
477 * dwarf.c (display_debug_loc): End the dump with a blank line.
478 (struct debug_display): Enable reloc processing for .debug_aranges
479 and .debug_loc sections.
481 2009-06-19 Nick Clifton <nickc@redhat.com>
483 * ar.c (usage): Do not use #ifdef inside _("...).
484 * nm.c (usage): Likewise.
486 2009-06-18 Nick Clifton <nickc@redhat.com>
489 * objdump.c (disassemble_bytes): Set the
490 USER_SPECIFIED_MACHINE_TYPE flag in the disassemble_info structure
491 if the user has invoked the -m switch.
492 * doc/binutils.texi: Document the additional behaviour of
493 objdump's -m switch for ARM targets.
495 2009-06-18 Dave Korn <dave.korn.cygwin@gmail.com>
497 * configure.in: Merge cegcc and mingw32ce target name changes from
500 2007-12-25 Pedro Alves <pedro_alves@portugalmail.pt>
502 * configure.in: Add arm*-*-cegcc* and arm*-*-mingw32ce* targets.
503 * configure: Regenerate.
505 2009-06-15 Nick Clifton <nickc@redhat.com>
508 * objdump.c (disassemble_bytes): Set the DISASSEMBLE_DATA bit in
509 the flags field of the disassemble_info structure if the -D switch
512 2009-06-12 Homer Xing <homer.xing@yahoo.com>
514 * NEWS: Mention new feature added to gprof.
516 2009-06-12 John Reiser <jreiser@BitWagon.com>
518 * readelf.c (process_symbol_table): Set gnubuckets to NULL after
519 freeing it and before returning.
521 2009-06-12 Jakub Jelinek <jakub@redhat.com>
523 * readelf.c (process_symbol_table): Don't return early if
524 .hash/.gnu.hash is empty/unusable and not -D.
526 2009-06-09 Tom Bramer <tjb@postpro.net>
529 * winduni.c (wind_MultiByteToWideChar): Do not pass MB_PRECOMPOSED
530 to MultiByteToWideChar when using the CP_UTF8 or CO_UTF7 types.
532 2009-06-04 Alan Modra <amodra@bigpond.net.au>
534 * strings.c (main): Delay parsing of decimal digits.
536 2009-06-04 Alan Modra <amodra@bigpond.net.au>
538 * dep-in.sed: Don't use \n in replacement part of s command.
539 * Makefile.am (DEP1): LC_ALL for uniq.
541 * Makefile.in: Regenerate.
543 2009-06-03 Tristan Gingold <gingold@adacore.com>
545 * MAINTAINERS: Add myself as Mach-O maintainer.
547 2009-06-01 Alan Modra <amodra@bigpond.net.au>
550 * doc/binutils.texi (nm): Correct -S description.
552 2009-05-28 Nick Clifton <nickc@redhat.com>
554 * po/da.po: Updated Danish translation.
556 2009-05-28 Nick Clifton <nickc@redhat.com>
558 * readelf.c (display_debug_section): Do not display debug sections
559 with the NOBITS section type.
561 2009-05-27 Rafael Avila de Espindola <espindola@google.com>
563 * aclocal.m4: Include ../config/plugins.m4.
564 * configure.in: Use AC_PLUGINS.
565 * configure: Regenerate.
566 * Makefile.in: Regenerate.
567 * doc/Makefile.in: Regenerate.
569 2009-05-27 Rafael Avila de Espindola <espindola@google.com>
571 * ar.c (main): Call bfd_plugin_set_program_name.
572 * nm.c (main): Call bfd_plugin_set_program_name.
574 2009-05-27 Nathan Sidwell <nathan@codesourcery.com>
576 * sysdump.c (tab): Use puts rather than two printfs.
578 2009-05-26 Nick Clifton <nickc@redhat.com>
580 * po/id.po: Updated Indonesian translation.
581 * po/binutils.pot: Updated template file.
583 2009-05-26 Rafael Avila de Espindola <espindola@google.com>
585 * ar.c: Include plugin.h.
586 (main): Handle the --plugin option.
587 * nm.c: Include plugin.h.
588 (OPTION_PLUGIN): New.
589 (long_options): Add plugin.
590 (main): Handle OPTION_PLUGIN.
591 * NEWS: Mention the new feature.
592 * doc/binutils: Documement the new command line options.
593 * configure.in: Check for --enable-plugins.
594 * configure: Regenerate.
596 2009-05-26 Alan Modra <amodra@bigpond.net.au>
598 * dep-in.sed: Output one filename per line with all lines having
599 continuation backslash. Prefix first line with "A", following
601 * Makefile.am (DEP): Don't use dep.sed here.
602 (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
604 * Makefile.in: Regenerate.
606 2009-05-25 Tristan Gingold <gingold@adacore.com>
608 * makefile.vms-in: Fix CFLAGS, add addr2line.exe target.
610 * configure.com: Fix it: handle alloca and define TARGET in config.h.
612 2009-05-22 Alan Modra <amodra@bigpond.net.au>
614 * Makefile.am: Run "make dep-am".
615 * Makefile.in: Regenerate.
617 2009-05-12 Alan Modra <amodra@bigpond.net.au>
619 * objcopy.c (set_long_section_mode): Check input_bfd is coff
620 before accessing coff specific fields of bfd.
622 2009-05-09 Dave Korn <dave.korn.cygwin@gmail.com>
624 * MAINTAINERS: Add myself as PE/COFF co-maintainer.
626 2009-05-08 Kai Tietz <kai.tietz@onevision.com>
628 * winduni.c (iconv_onechar): Only define when HAVE_ICONV
629 is defined, but not when __CYGWIN__ or _WIN32 are defined.
630 See wind_iconv_cp for call logic of this local funtion.
632 2009-05-05 Guillaume Duhamel <guillaume.duhamel@gmail.com>
635 * winduni.c: Replace test of HAVE_ICONV_H with a test of
637 (iconv_onechar): Use ICONV_CONST instead of "const".
638 (wind_MultiByteToWideChar): Initialise local strings.
640 2009-04-30 Nick Clifton <nickc@redhat.com>
642 * readelf.c (dump_relocations): Display a relocation against an
643 ifunc symbol as if it were a function invocation.
644 (get_symbol_type): Handle STT_GNU_IFUNC.
646 2009-04-29 Anthony Green <green@moxielogic.com>
648 * NEWS: Tweak verilog support description.
650 2009-04-29 Alan Modra <amodra@bigpond.net.au>
651 Denis Scherbakov <denis_scherbakov@yahoo.com>
653 * readelf.c (slurp_ia64_unwind_table): Correct 64-bit unwind table
654 read, and merge with 32-bit case.
656 2009-04-27 Anthony Green <green@moxielogic.com>
658 * NEWS: Mention verilog support added to bfd.
660 2009-04-27 H.J. Lu <hongjiu.lu@intel.com>
662 * objcopy.c (copy_object): Copy pe_opthdr before changing PE
665 2009-04-24 Cary Coutant <ccoutant@google.com>
667 * dwarf.c (process_extended_line_op): Add DW_LNE_set_discriminator.
668 Add missing newlines to HP extensions.
670 2009-04-17 H.J. Lu <hongjiu.lu@intel.com>
672 * objcopy.c (set_pe_subsystem): Replace efi-rom with sal-rtd.
673 * doc/binutils.texi: Likewise.
675 2009-04-17 H.J. Lu <hongjiu.lu@intel.com>
678 * objcopy.c: Include coff/i386.h and coff/pe.h.
679 (pe_file_alignment): New.
680 (pe_heap_commit): Likewise.
681 (pe_heap_reserve): Likewise.
682 (pe_image_base): Likewise.
683 (pe_section_alignment): Likewise.
684 (pe_stack_commit): Likewise.
685 (pe_stack_reserve): Likewise.
686 (pe_subsystem): Likewise.
687 (pe_major_subsystem_version): Likewise.
688 (pe_minor_subsystem_version): Likewise.
689 (set_pe_subsystem): Likewise.
690 (convert_efi_target): Likewise.
691 (command_line_switch): Add OPTION_FILE_ALIGNMENT,
692 OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT,
693 OPTION_STACK and OPTION_SUBSYSTEM.
694 (copy_options): Likewise.
695 (copy_usage): Add --file-alignment, --heap, --image-base,
696 --section-alignment, --stack and --subsystem.
697 (copy_object): Set up PE parameters.
698 (copy_main): Process Add OPTION_FILE_ALIGNMENT,
699 OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT,
700 OPTION_STACK and OPTION_SUBSYSTEM. Convert EFI target to
703 * NEWS: Mention --file-alignment, --heap, --image-base,
704 --section-alignment, --stack and --subsystem command line
707 * doc/binutils.texi: Document --file-alignment, --heap,
708 --image-base, --section-alignment, --stack and --subsystem
709 command line options for objcopy.
711 2009-04-15 Anthony Green <green@moxielogic.com>
713 * MAINTAINERS: Add myself as Moxie port maintainer.
715 2009-04-14 Dave Korn <dave.korn.cygwin@gmail.com>
717 * objcopy.c (enum long_section_name_handling): New enum type.
718 (enum command_line_switch): Add OPTION_LONG_SECTION_NAMES.
719 (copy_options[]): Add entry for --long-section-names option.
720 (copy_usage): Document it.
721 (set_long_section_mode): New subroutine.
722 (copy_file): Call it.
723 (copy_main): Accept OPTION_LONG_SECTION_NAMES and parse arg.
724 * doc/binutils.texi: Update objcopy documentation with details
727 2009-04-01 Dave Korn <dave.korn.cygwin@gmail.com>
729 * dlltool.c (set_dll_name_from_def): Accept new second arg that
730 indicates if we are building DLL or EXE, and use it to add a
731 default suffix to the output filename when none is already present.
732 (def_name): Indicate we are building an EXE when calling it.
733 (def_library): Indicate we are building a DLL when calling it.
735 2009-04-01 Jari Aalto <jari.aalto@cante.net>
738 * doc/binutils.texi (strings): Document the -V alias for the
740 * strings.c (usage): Likewise.
742 2009-03-31 Nick Clifton <nickc@redhat.com>
745 * configure.in: Import Solaris specific largefile test from
747 * configure: Regenerate.
749 2009-03-30 Richard Sandiford <rdsandiford@googlemail.com>
751 * MAINTAINERS: Add self.
753 2009-03-27 Nick Clifton <nickc@redhat.com>
755 * dwarf.c (display_debug_ranges): Add the base address to the
756 displayed values for 'Begin' and 'End'.
758 2009-03-25 Ryan Mansfield <rmansfield@qnx.com>
760 * readelf.c (process_file_header): Don't report a corrupt string
761 table index if it is zero.
763 2009-03-19 H.J. Lu <hongjiu.lu@intel.com>
765 * dwarf.c (dwarf_regnames): Moved before frame_need_space.
766 (dwarf_regnames_count): Likewise.
767 (frame_need_space): Return int.
768 (display_debug_frames): Check invalid registers.
770 2009-03-19 H.J. Lu <hongjiu.lu@intel.com>
772 * readelf.c (debug_apply_relocations): Check relocations
773 against STT_SECTION symbol.
775 2009-03-18 H.J. Lu <hongjiu.lu@intel.com>
777 * readelf.c (debug_apply_relocations): Allow relocations
778 against function symbols.
780 2009-03-18 Alan Modra <amodra@bigpond.net.au>
782 * sysdep.h: Include alloca-conf.h instead of config.h and remove
783 existing #if's handling alloca.
784 * Makefile.am: Run "make dep-am".
785 * Makefile.in: Regenerate.
787 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
789 * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
790 * configure.in: Likewise.
791 * configure: Regenerate.
793 2009-03-13 H.J. Lu <hongjiu.lu@intel.com>
796 * objcopy.c (copy_object): Clear HAS_RELOC when stripping all.
798 2009-03-11 Chris Demetriou <cgd@google.com>
800 * ar.c (deterministic): New global variable.
801 (main): Recognize new 'D' option, which enables 'deterministic mode'.
802 (usage): Document new 'D' option.
803 (write_archive): Set BFD_DETERMINISTIC_OUTPUT in output archive's
804 flags if deterministic mode was requested.
805 * doc/binutils.texi (ar): Document deterministic mode ('D' option).
807 2009-03-09 H.J. Lu <hongjiu.lu@intel.com>
810 * objcopy.c (filter_symbols): Properly handle common symbols
813 2009-03-06 Nick Clifton <nickc@redhat.com>
815 * po/es.po: Updated Spanish translation.
817 2009-03-05 Nick Clifton <nickc@redhat.com>
819 * objdump.c (disassemble_section): If the computed next offset is
820 not beyond the current offset then just continue to the end.
822 2009-03-04 Tristan Gingold <gingold@adacore.com>
824 * MAINTAINERS: Add myself as VMS maintainer.
826 2009-03-03 Nick Clifton <nickc@redhat.com>
828 * readelf.c: Update formatting.
830 2009-03-03 Alan Modra <amodra@bigpond.net.au>
832 * Makefile.am: Run "make dep-am".
833 * Makefile.in: Regenerate.
835 2009-03-03 Alan Modra <amodra@bigpond.net.au>
837 * objdump.c (disassemble_section): Mask address before sign extending.
839 2009-03-02 Sebastian Biallas <sb@biallas.net>
841 * ieee.c (parse_ieee_ty): Add support for undocumented 'v' type.
842 (parse_ieee_bb): Set the filename if it has not already been
845 2009-03-02 Cary Coutant <ccoutant@google.com>
847 * readelf.c (adjust_relative_path): New function.
848 (struct archive_info): New type.
849 (setup_archive): New function.
850 (release_archive): New function.
851 (setup_nested_archive): New function.
852 (get_archive_member_name): New function.
853 (get_archive_member_name_at): New function.
854 (make_qualified_name): New function.
855 (process_archive): Factor out code for reading archive index and
856 long filename table to setup_archive. Add support for thin archives.
858 2009-03-02 Nick Clifton <nickc@redhat.com>
860 * po/sk.po: Updated Slovak translation.
862 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
864 * configure: Regenerate.
866 2009-02-23 Cary Coutant <ccoutant@google.com>
868 * objdump.c (load_specific_debug_section): New function, from
870 (load_debug_section): Use load_specific_debug_section.
871 (dump_dwarf_section): Likewise.
873 2009-02-23 Cary Coutant <ccoutant@google.com>
875 * readelf.c (parse_args): Select all sections explicitly for -w.
877 2009-02-09 Kai Tietz <kai.tietz@onevision.com>
879 * windres.c (set_endianess): Copy name without leading '-'.
881 2009-02-09 Tristan Gingold <gingold@adacore.com>
883 * NEWS: Mention feature match between objdump and readelf for dumping
886 * doc/binutils.texi (objdump): Document -W/--dwarf improvments to
889 * objdump.c (usage): Update documentation for -W/--dwarf.
890 (enum option_values): Add OPTION_DWARF.
891 (long_options): --dwarf can accept arguments.
892 (dump_dwarf_section): Also check enabled field.
893 (main): Option -W can accept arguments, code moved to
894 dwarf.c and call dwarf_select_sections_all instead.
895 * readelf.c (process_section_headers): Remove do_debug_lines_decoded.
896 (parse_args): Move code to...
897 * dwarf.c (dwarf_select_sections_by_letters,
898 dwarf_select_sections_by_names): : ...here (new functions).
899 (do_debug_lines_decoded): Remove and replaced by ...
900 (FLAG_DEBUG_LINES_RAW, FLAG_DEBUG_LINES_DECODED): ... new macros.
901 (display_debug_lines): Adjust for previous change.
902 (dwarf_select_sections_all): New function.
903 (debug_displays): Add initializer for enabled field.
904 * dwarf.h (do_debug_lines_decoded): Remove.
905 Add prototypes for the new functions.
906 (struct dwarf_section_display): Add enabled field.
908 2009-02-06 Nick Clifton <nickc@redhat.com>
910 * po/vi.po: Updated Vietnamese translation.
912 2009-02-03 Sandip Matte <sandip@rmicorp.com>
914 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_XLR.
916 2009-02-03 H.J. Lu <hongjiu.lu@intel.com>
918 * NEWS: Move --as-needed change to ...
921 2009-02-03 Carlos O'Donell <carlos@codesourcery.com>
923 * configure.in: AC_SUBST pdfdir.
924 * Makefile.am: Add install-pdf, install-pdf-am,
925 and install-pdf-recursive targets.
926 * doc/Makefile.am: Define pdf__strip_dir. Add
927 install-pdf and install-pdf-am targets.
928 * po/Make-in: Add install-pdf target.
929 * configure: Regenerate.
930 * Makefile.in: Regenerate.
931 * doc/Makefile.in: Regenerate.
933 2009-02-03 H.J. Lu <hongjiu.lu@intel.com>
936 * NEWS: Mention --prefix=PREFIX and --prefix-strip=LEVEL.
938 * doc/binutils.texi: Document --prefix=PREFIX and
939 --prefix-strip=LEVEL.
941 * objdump.c: Include "filenames.h".
943 (prefix_strip): Likewise.
944 (prefix_length): Likewise.
945 (usage): Add --prefix=PREFIX and --prefix-strip=LEVEL.
946 (option_values): Add OPTION_PREFIX and OPTION_PREFIX_STRIP.
947 (long_options): Likewise.
948 (show_line): Handle prefix and prefix_strip.
949 (main): Handle OPTION_PREFIX and OPTION_PREFIX_STRIP.
951 * readelf.c (PATH_MAX): Moved to ...
954 2009-01-31 Alan Modra <amodra@bigpond.net.au>
956 * NEWS: Mention --as-needed change.
958 2009-01-29 Alan Modra <amodra@bigpond.net.au>
961 * bucomm.c (bfd_nonfatal_message): Use bfd_get_archive_filename.
962 (bfd_get_archive_filename): Constify param.
963 * bucomm.h (bfd_get_archive_filename): Update prototype.
964 * objcopy.c (RETURN_NONFATAL): Delete.
965 (copy_unknown_object): Don't call bfd_get_archive_filename for
966 bfd_nonfatal_message filename, instead just pass bfd.
967 (copy_object): Likewise.
968 (copy_archive, copy_file): Likewise. Expand RETURN_NONFATAL. On
969 bfd_close errors, do not pass the bfd to bfd_nonfatal_message.
970 (setup_bfd_headers): Fix error message.
972 2009-01-27 Nick Clifton <nickc@redhat.com>
975 * objdump.c (disassemble_section): When the target uses signed
976 addresses make sure that we compute signed values.
978 2009-01-27 Nick Clifton <nickc@redhat.com>
980 * MAINTAINERS: Remove Thiemo Seufer's name from the list of MIPS
983 2009-01-26 Nick Clifton <nickc@redhat.com>
986 * dlltool.c (xlate): When strip text after the @ sign, look for
987 the last one not the first one.
989 2009-01-16 Alan Modra <amodra@bigpond.net.au>
991 * configure.in (commonbfdlib): Delete.
992 * configure: Regenerate.
994 2008-01-14 Charles Wilson <cygwin@cwilson.fastmail.fm>
996 Cleanup code related to --identify option.
998 * dlltool.c (file scope): Removed globals identify_ms,
999 identify_member_contains_symname_result,
1000 identify_dll_name_list_head, and identify_dll_name_list_tail.
1001 Renamed existing typedef dll_name_list_type to
1002 dll_name_list_node_type.
1003 Added new typedefs dll_name_list_type, symname_search_data_type,
1004 and identify_data_type.
1005 (identify_append_dll_name_to_list): Renamed to...
1006 (dll_name_list_append): ...here. Changed signature to accept list
1007 argument rather than use global.
1008 (identify_count_dll_name_list): Renamed to...
1009 (dll_name_list_count): ...here. Changed signature to accept list
1010 argument rather than use global.
1011 (identify_print_dll_name_list): Renamed to...
1012 (dll_name_list_print): ...here. Changed signature to accept list
1013 argument rather than use global.
1014 (identify_free_dll_name_list): Renamed to...
1015 (dll_name_list_free_contents): ...here.
1016 (dll_name_list_free): New function.
1017 (dll_name_list_create): New function.
1018 (identify_process_section_p): Changed signature to accept
1019 ms_style_implib argument rather than use global.
1020 (identify_member_contains_symname): Expect incoming void * data to
1021 be symname_search_data_type.
1022 (identify_dll_for_implib): Use new functions dll_name_list_create
1023 and dll_name_list_free. Use new types symname_search_data_type
1024 and identify_data_type to communicate with search routines.
1025 (identify_search_section): Expect incoming void * data to be
1026 identify_data_type. Use its contents rather than global
1029 2009-01-13 Charles Wilson <cygwin@cwilson.fastmail.fm>
1031 Add --identify-strict option. Handle ms-style implibs:
1033 * dlltool.c (file scope): Added new globals identify_ms and
1034 identify_strict. New typedef dll_name_list_type, and globals
1035 identify_dll_name_list_head and identify_dll_name_list_tail. Added
1036 new global identify_member_contains_symname_result.
1037 (identify_append_dll_name_to_list): New function.
1038 (identify_count_dll_name_list): New function.
1039 (identify_print_dll_name_list): New function.
1040 (identify_free_dll_name_list): New function.
1041 (identify_search_archive): Changed signature to take function
1042 pointer to operation to apply to each member, and data to pass on
1044 (identify_search_member): Changed signature to accept user data
1046 (identify_member_contains_symname): New function.
1047 (identify_dll_for_implib): Rewrite. Now determines whether implib
1048 is ms- or binutils- style, before searching sections for
1049 dllname. Allows multiple dllnames.
1050 (identify_process_section_p): Search alternate section for dllname
1051 when implib is ms-style.
1052 (identify_search_section): Add additional conditions to excludes
1053 candidate sections from consideration.
1054 (usage): Added --identify-strict.
1055 (long_options): Added --identify-strict.
1056 (main): Handle --identify-strict option.
1057 * doc/binutils.texi: Document --identify-strict option.
1058 * NEWS: Document --identify and --identify-strict options.
1060 2009-01-13 Alan Modra <amodra@bigpond.net.au>
1063 * doc/binutils.texi (objdump -R): Note effect of -d or -D.
1065 2009-01-13 Alan Modra <amodra@bigpond.net.au>
1067 * objdump.c (disassemble_section): Don't assume non-instruction
1068 data if object symbol at given address is in different section.
1070 2009-01-12 Kai Tietz <kai.tietz@onevision.com>
1072 * dlltool.c (create_for_pep): New.
1073 (flush_page): Use create_for_pep instead of using
1074 macro DLLTOOL_MX86_64 clause.
1075 (generate_idata_ofile): Likewise.
1076 (make_one_lib_file): Likewise.
1077 (make_head): Likewise.
1078 (make_tail): Likewise.
1079 (main): Initialize create_for_pep.
1081 2009-01-08 Kai Tietz <kai.tietz@onevision.com>
1083 * dlltool.c (use_nul_prefixed_import_tables): New.
1084 (make_head): Make prefix leading zero prefix element for
1085 idata$4 and idata$5 dependent to new flag.
1086 (usage): Add new option --use-nul-prefixed-import-tables.
1087 (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
1088 (long_options): Add --use-nul-prefixed-import-tables.
1090 * doc/binutils.texi: Add new option documentation for
1091 --use-nul-prefixed-import-tables.
1092 * NEWS: Add new option.
1094 2009-01-06 Kai Tietz <kai.tietz@onevision.com>
1096 * windres.c (set_endianess): Get architecture name
1097 for internal target names like "pe-arm-wince-little".
1098 (find_arch_match): New helper.
1099 * ChangeLog: Reset it.
1100 * ChangeLog-2008: Moved old ChangeLog.
1102 For older changes see ChangeLog-2008
1108 version-control: never