1 2009-10-19 Jerker Bäck <jerker.back@gmail.com>
4 * prdbg.c (tg_end_struct_type): Warning fix.
7 * dlltool.c (dll_name_list_append): Declare variable at start
9 (dll_name_list_count, dll_name-list_print): Likewise.
11 2009-10-16 Doug Evans <dje@sebabeach.org>
13 * MAINTAINERS: Add myself as m32r maintainer.
15 2009-10-16 Jerker Bäck <jerker.back@gmail.com>
18 * Makefile.am (sysinfo.o, syslex.o): Place source file after all
19 command line switches.
20 * Makefile.in: Regenerate.
22 2009-10-16 Yann Droneaud <yann@droneaud.fr>
25 * dlltool.c (bfd_get_errmsg): New macro.
26 (scan_obj_file): Use it.
27 (make_one_lib_file): Use it.
29 (make_delay_head): Use it.
31 (gen_lib_file): Use it.
32 (identify_dll_for_implib): Use it.
33 (identify_search_archive): Use it.
35 2009-10-16 Nick Clifton <nickc@redhat.com>
37 * readelf.c (usage): Add mention of --debug-dump=frames-interp.
38 Wrap output to 80 columns.
39 * objdump.c (usage): Likewise.
40 * doc/binutils.texi (readelf): Add note about =frames-interp.
42 2009-10-01 Alan Modra <amodra@bigpond.net.au>
44 * addr2line.c (slurp_symtab): Don't use bfd_read_minisymbols.
46 2009-09-29 Nick Clifton <nickc@redhat.com>
48 * doc/binutils.texi (c++filt): Remove spurious description of
49 nonexistent --java command line switch for cxxfilt.
51 2009-09-29 DJ Delorie <dj@redhat.com>
53 * readelf.c: Add support for RX target.
54 * MAINTAINERS: Add DJ and NickC as maintainers for RX.
56 2009-09-28 Alan Modra <amodra@bigpond.net.au>
58 * configure.in: Don't invoke configure.tgt on $enable_targets.
59 * configure: Regenerate.
61 2009-09-28 Nick Clifton <nickc@redhat.com>
64 * readelf.c (get_elf_section_flags): Allow SHN_BEFORE and
65 SHN_AFTER section link values in x86 binaries.
66 (process_section_headers): Likewise.
68 2009-09-25 Dimitry Gorbachev <d.g.gorbachev@gmail.com>
71 * readelf.c: Remove duplicate declaration of variable do_wide.
72 * dwarf.h: Add export of do_wide.
74 2009-09-24 Cary Coutant <ccoutant@google.com>
76 * dwarf.c (get_TAG_name): Add missing DWARF-3 and new DWARF-4 tags.
77 (get_FORM_name): Add new DWARF-4 forms.
78 (read_and_display_attr_value): Add DW_FORM_ref_sig8, DW_LANG_Python.
79 (get_AT_name): Add new DWARF-4 and GNU-specific attributes.
80 (process_debug_info): Add do_types parameter; change all callers.
81 Add support for .debug_types sections.
82 (display_debug_types): New function.
83 (debug_displays): Add .debug_types section.
84 * readelf.c (process_section_headers): Add .debug_types section.
85 (display_debug_section): Simplify call to streq.
87 2009-09-25 Alan Modra <amodra@bigpond.net.au>
89 * readelf.c (print_dynamic_symbol): Format entries as for
91 (process_symbol_table): Use -7s format string for visibility.
93 2009-09-22 Richard Sandiford <rdsandiford@googlemail.com>
95 * objdump.c (disassemble_section): Use bfd_get_arch_size
96 instead of assuming that the address size is 32 bits.
98 2009-09-21 Alan Modra <amodra@bigpond.net.au>
100 * readelf.c (get_ppc_dynamic_type): Add TLSOPT.
101 (get_ppc64_dynamic_type): Likewise.
103 2009-09-18 Nick Clifton <nickc@redhat.com>
105 * po/es.po: Updated Spanish translation.
106 * po/vi.po: Updated Vietnamese translation.
108 2009-09-11 Paul Pluzhnikov <ppluzhnikov@google.com>
110 * readelf.c (process_version_sections, process_symbol_table):
111 Use symbolic constants.
113 2009-09-11 Nick Clifton <nickc@redhat.com>
115 * po/binutils.pot: Updated by the Translation project.
117 2009-09-11 Philippe De Muyter <phdm@macqel.be>
119 * obcopy.c (copy_object): New parameter `input_arch', architecture
120 of input file, if not specified in input file itself; all callers
121 updated; `binary_architecture' hack removed.
122 (copy_archive, copy_file): New parameter `input_arch', for
124 (copy_main): Accept `-B' (`--binary-architecture') option also
125 for any arch-less input ifile format, not only `binary'; remove
126 bfd_external_binary_architecture hack; instead, add `input_arch'
127 to calls to `copy_file'.
128 * windres.c, windmc.c : Obsolete and useless external references
129 to `bfd_external_binary_architecture' or `bfd_external_machine'
131 * doc/binutils.texi: Mention that -B parameter can be used for any
132 input file type which does not have its own architecture.
134 2009-09-10 Martin Thuresson <martin@mtme.org>
136 Update sources to compile cleanly with -Wc++-compat:
137 * addr2line.c (slurp_symtab): Fix casts. Introduce variable
138 minisyms to avoid aliasing varning.
140 (normalize): Use name del instead of delete.
141 (display_target_list,display_info_table): Change loop counter
143 * bucomm.c: Add casts.
144 * debug.c: Update function to use new names.
145 (struct debug_baseclass): Rename member from virtual to
147 (struct debug_type_s, struct debug_field_s, struct
148 debug_baseclass_s, struct debug_method_s, struct
149 debug_method_variant_s, struct debug_type_s): Rename struct from
150 avoid name collision.
151 * debug.h: Use new struct names.
152 * dwarf.c: Add casts.
153 (free_debug_memory): Change loop counter variable a to int.
155 (enum ieee_var_kind): Move to top level.
156 (ieee_class_baseclass): Rename parameter virtual to is_virtual.
157 (ieee_class_method_var): Rename variable virtual to is_virtual.
159 * objcopy.c: Add casts.
160 (copy_archive): Rename variable delete to del.
161 * objdump.c: Add casts.
162 (dump_dwarf_section): Change loop counter variable i to int.
163 * prdbg.c: Add casts.
164 (pr_class_baseclass,tg_class_baseclass): Rename parameters virtual
166 * readelf.c: Add casts.
167 (struct ia64_unw_table_entry,struct hppa_unw_table_entry): Move to
170 * stabs.c (parse_stab_type, parse_stab_range_type,
171 (parse_stab_cpp_abbrev): Rename parameter from typename to
173 (parse_stab_baseclasses): Rename variable virtual to is_virtual.
174 * strings.c: Add casts.
175 * wrstabs.c (stab_class_baseclass): Rename parameter virtual to
178 2009-09-09 Nick Clifton <nickc@redhat.com>
181 readelf.c (get_elf_section_flags): Add support for SHF_EXCLUDE and
183 (process_section_headers): Warn about out of range sh_link
184 values. When displaying detailed section header information
185 annote the SHN_BEFORE and SHN_AFTER values.
187 2009-09-08 Alan Modra <amodra@bigpond.net.au>
189 * dwarf.c (byte_get_little_endian): Handle size of 3.
190 (byte_get_big_endian): Likewise.
191 * readelf.c (byte_put_little_endian): Likewise.
192 (byte_put_big_endian): Likewise.
193 (is_24bit_abs_reloc): New function.
194 (is_none_reloc): Formatting.
195 (apply_relocations): Use is_24bit_abs_reloc. Handle pj and xtensa
198 2009-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
200 * readelf.c (is_none_reloc <EM_XTENSA_OLD>, is_none_reloc <EM_XTENSA>):
203 2009-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
205 * dwarf.c (process_debug_info): Support section padding abbrev codes.
207 2009-09-07 Tristan Gingold <gingold@adacore.com>
209 * po/binutils.pot: Regenerate.
211 2009-09-05 Jan Kratochvil <jan.kratochvil@redhat.com>
213 * Makefile.am (sysdump.o): Depend on sysroff.c.
214 * Makefile.in: Regenerate.
216 2009-09-05 Martin Thuresson <martin@mtme.org>
218 * ieee.c (ieee_read_cxx_misc, ieee_read_cxx_class,
219 ieee_read_reference): Rename variables named class to cxxclass.
221 2009-09-04 Tristan Gingold <gingold@adacore.com>
223 * BRANCHES: Add binutils-2_20-branch.
225 2009-09-04 Tristan Gingold <gingold@adacore.com>
227 * NEWS: Add marker for 2.20.
229 2009-09-04 Timo Kreuzer <timo.kreuzer@web.de>
231 * dlltool.c (delayimp_name): Add new global variable
232 (usage, long_options, main): Add new option "-y" / "--output-delaylib"
233 (struct mac): Add fields how_dljtab_size, how_dljtab_roff1,
234 how_dljtab_roff2, how_dljtab, trampoline.
235 (i386_dljtab): Add binary stub for x86 delay import.
236 (i386_trampoline): Add text assembly stub for x86 delay import.
237 (mtable): Add delay import data for M386 and MX86 only.
238 (make_delay_head): New function.
239 (make_one_lib_file): New arg delay creates delay-load import stub.
240 (gen_lib_file): New arg delay likewise.
241 (HOW_JTAB, HOW_JTAB_SIZE, HOW_JTAB_ROFF): New arg delay likewise.
242 (HOW_JTAB_ROFF2, HOW_JTAB_ROFF3): New macros for delay import.
243 (make_tail): Convert hard TABS embedded in strings to "\t" escapes.
244 * NEWS: Mention new feature. Also fix whitespace.
245 * doc/binutils.texi: Updated dlltool documentation.
247 2009-09-02 Tristan Gingold <gingold@adacore.com>
249 * configure.com: Do not copy makefile.vms-in to makefile.vms
250 * makefile.vms-in: Renamed to...
251 * makefile.vms: ... this usual name as it is not processed anymore.
252 Remove WRITE_DEBUG_OBJS (unused) and reorder object files for
255 2009-09-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
257 * Makefile.am (arparse.o, arlex.o, sysroff.o, defparse.o)
258 (deflex.o, nlmheaders.o, rcparse.o, mcparse.o): Supply correct
259 source file name for generated files which may be in $(srcdir).
260 * Makefile.in: Regenerate.
262 2009-09-01 H.J. Lu <hongjiu.lu@intel.com>
264 * version.c (print_version): Change to "Copyright 2009".
266 2009-09-01 Tristan Gingold <gingold@adacore.com>
268 * makefile.vms-in: Remove unused VERSION variable. Remove unused
270 * configure.com: Ported to Itanium VMS. Create build.com DCL script.
272 2009-08-29 Martin Thuresson <martin@mtme.org>
274 * nlmconv.c (main): Rename variable new to new_name.
276 2009-08-28 H.J. Lu <hongjiu.lu@intel.com>
278 * Makefile.am (sysinfo$(EXEEXT_FOR_BUILD)): Replace
279 CFLAGS/LDFLAGS with CFLAGS_FOR_BUILD/LDFLAGS_FOR_BUILD.
280 (syslex.o): Likewise.
281 (sysinfo.o): Likewise.
282 (bin2c$(EXEEXT_FOR_BUILD)): Likewise.
283 * Makefile.in: Regenerated.
285 2009-08-27 Dave Korn <dave.korn.cygwin@gmail.com>
287 * doc/binutils.texi (--only-keep-debug): Relocate stray para here ...
288 (--subsystem): ... from here.
290 2009-08-24 Cary Coutant <ccoutant@google.com>
292 * objdump.c (find_symbol_for_address): Avoid costly call to
295 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
297 * Makefile.am (am__skiplex, am__skipyacc): New.
298 * Makefile.in: Regenerate.
300 2009-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
302 * Makefile.am (syslex.o): Depend on sysinfo.h config.h.
303 * Makefile.in: Regenerate.
305 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
307 * Makefile.am (AM_CPPFLAGS): Renamed from ...
308 (INCLUDES): ... this.
309 (bin2c$(EXEEXT_FOR_BUILD): Adjust rule.
310 (installcheck-local): Renamed from ...
311 (installcheck): ... this.
312 * Makefile.in: Regenerate.
314 * Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add no-dist and
316 (MKDEP, CLEANFILES): Remove now-unneeded variables.
317 (DEP, DEP1, dep.sed, dep, dep-in, dep-am): Remove.
318 (mkdep section): Remove.
319 (BUILT_SOURCES): New variable, list $(GENERATED_HFILES).
320 (EXTRA_ar_SOURCES): New, list $(CFILES).
321 (syslex.o): Depend on syslex.c.
322 (sysinfo.o): Depend on sysinfo.c.
323 (arparse.h, defparse.h, nlmheaders.h rcparse.h mcparse.h):
324 Remove dependencies, now tracked by automake.
325 (srconv.o): Depend on sysroff.c.
326 (objdump.o, arparse.o, arlex.o, sysroff.o, defparse.o, deflex.o)
327 (nlmheader.o, rcparse.o, mcparse.o, rclex.o, mclex.o, dlltool.o)
328 (rescoff.o, nlmconv.o): Rewrite using automake-style dependency
329 tracking rules; only list the dependency upon the primary source
330 file, but no included headers.
331 * Makefile.in: Regenerate.
333 * Makefile.am (install-pdf, install-pdf-recursive, install-html)
334 (install-html-recursive): Remove.
335 * Makefile.in: Regenerate.
336 * doc/Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
337 (html__strip_dir, install-html, install-html-am): Remove.
338 * doc/Makefile.in: Regenerate.
340 * Makefile.in: Regenerate.
341 * aclocal.m4: Likewise.
342 * config.in: Likewise.
343 * configure: Likewise.
344 * doc/Makefile.in: Likewise.
346 2009-08-17 Nick Clifton <nickc@redhat.com>
348 * readelf.c (is_32bit_abs_reloc): Treat R_PARISC_SECREL32 as a
349 32-bit absolute reloc for the purposes of processing debug
352 2009-08-10 Daniel Gutson <dgutson@codesourcery.com>
354 * readelf.c (get_arm_section_type_name): Added support for
355 new sections headers.
357 2009-08-03 H.J. Lu <hongjiu.lu@intel.com>
360 * objcopy.c (strip_main): Check return from smart_rename.
361 (copy_main): Likewise.
363 2009-07-27 Nick Clifton <nickc@redhat.com>
366 * objdump.c (dump_section_header): Skip sections that we are
369 2009-07-25 H.J. Lu <hongjiu.lu@intel.com>
371 * readelf.c (guess_is_rela): Handle EM_L1OM.
372 (dump_relocations): Likewise.
373 (get_machine_name): Likewise.
374 (get_section_type_name): Likewise.
375 (get_elf_section_flags): Likewise.
376 (get_symbol_index_type): Likewise.
377 (is_32bit_abs_reloc): Likewise.
378 (is_32bit_pcrel_reloc): Likewise.
379 (is_64bit_abs_reloc): Likewise.
380 (is_64bit_pcrel_reloc): Likewise.
381 (is_none_reloc): Likewise.
383 2009-07-23 Ulrich Drepper <drepper@redhat.com>
385 * readelf.c (get_symbol_binding): For Linux targeted files return
386 UNIQUE for symbols with the STB_GNU_UNIQUE binding.
387 * doc/binutils.texi: Document the meaning of the 'u' symbol
388 binding in the output of nm and objdump --syms.
390 2009-07-20 H.J. Lu <hongjiu.lu@intel.com>
392 * NEWS: Mention --insn-width.
394 * objdump.c (insn_width): New.
395 (usage): Display --insn-width.
396 (option_values): Add OPTION_INSN_WIDTH.
397 (long_options): Add --insn-width.
398 (disassemble_bytes): Handle insn_width.
399 (main): Handle OPTION_INSN_WIDTH.
401 * doc/binutils.texi: Document --insn-width.
403 2009-07-17 Nick Clifton <nickc@redhat.com>
405 * dwarf.c (display_debug_lines): If do_debug_lines has not been
406 set then default to displaying raw .debug_line section contents.
408 2009-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
410 Support unordered .debug_info references to .debug_ranges.
411 * dwarf.c (struct range_entry, range_entry_compar): New.
412 (display_debug_ranges): Remove variables last_offset, first, j,
413 seen_first_offset, use_debug_info and next. New variables
414 range_entries and range_entry_fill. Create the sorted copy
415 range_entries. Remove the FIXME error on detected unordered references.
416 * dwarf.h (debug_info <range_lists>): New comment.
418 2009-07-14 Nick Clifton <nickc@redhat.com>
421 * README: Document use of LDFLAGS="--static".
423 2009-07-10 H.J. Lu <hongjiu.lu@intel.com>
425 * Makefile.am: Run "make dep-am".
426 * Makefile.in: Regenerated.
428 2009-07-10 Tom Tromey <tromey@redhat.com>
430 * Makefile.am (dwarf.o): Refer to dwarf2.h, not elf/dwarf2.h.
431 * Makefile.in: Rebuild.
432 * dwarf.c: Include dwarf2.h, not elf/dwarf2.h.
434 2009-07-06 Tristan Gingold <gingold@adacore.com>
436 * objdump.c (dump_dwarf_section): Handle .eh_frame like other dwarf
438 * dwarf.h (struct dwarf_section_display): Remove eh_frame field.
439 * dwarf.c (debug_displays): Adjust for removed field.
441 2009-07-03 Jakub Jelinek <jakub@redhat.com>
443 * dwarf.c (decode_location_expression): Handle DW_OP_stack_value
444 and DW_OP_implicit_value.
446 2009-07-01 Nick Clifton <nickc@redhat.com>
449 * rclex.c (handle_quotes): Do not complain about whitespace
450 separating quoted strings.
451 (rclex_string): Ignore whitespace when looking for a new opening
452 quote following a closing quote.
454 2009-06-27 H.J. Lu <hongjiu.lu@intel.com>
457 * bucomm.c (get_file_size): Return -1 on error.
459 * objcopy.c (copy_file): Report empty file.
461 2009-06-23 Nick Clifton <nickc@redhat.com>
463 * dwarf.c (display_debug_lines_raw): Include the name of the
464 section in warning message.
465 (struct debug_display): Enable reloc processing for .debug_line
466 and .debug_ranges sections.
468 * readelf.c: Add --relocated-dump command line option to dump the
469 relocated contents of a specified section.
470 (request_dump): New function.
471 (parse_args): Use it.
472 (dump_section_as_bytes): Add parameter to indicate whether the
473 contents should be relocated.
474 (target_specific_reloc_handling): Add code for a R_MN10300_16
475 reloc found after a R_MN10300_SYM_DIFF reloc.
476 (debug_apply_relocations): Rename to apply_relocations.
477 (get_section_contents): New function. Replaces common code found
478 in dump_section_as_strings and dump_section_as_bytes.
479 * doc/binutils.texi: Document new command line option.
480 * NEWS: Mention the new feature.
482 2009-06-22 Nick Clifton <nickc@redhat.com>
484 * readelf.c (target_specific_reloc_handling): New function:
485 Processes relocs in a target specific manner.
486 (debug_apply_relocations): Use the new function.
487 * dwarf.c (display_debug_loc): End the dump with a blank line.
488 (struct debug_display): Enable reloc processing for .debug_aranges
489 and .debug_loc sections.
491 2009-06-19 Nick Clifton <nickc@redhat.com>
493 * ar.c (usage): Do not use #ifdef inside _("...).
494 * nm.c (usage): Likewise.
496 2009-06-18 Nick Clifton <nickc@redhat.com>
499 * objdump.c (disassemble_bytes): Set the
500 USER_SPECIFIED_MACHINE_TYPE flag in the disassemble_info structure
501 if the user has invoked the -m switch.
502 * doc/binutils.texi: Document the additional behaviour of
503 objdump's -m switch for ARM targets.
505 2009-06-18 Dave Korn <dave.korn.cygwin@gmail.com>
507 * configure.in: Merge cegcc and mingw32ce target name changes from
510 2007-12-25 Pedro Alves <pedro_alves@portugalmail.pt>
512 * configure.in: Add arm*-*-cegcc* and arm*-*-mingw32ce* targets.
513 * configure: Regenerate.
515 2009-06-15 Nick Clifton <nickc@redhat.com>
518 * objdump.c (disassemble_bytes): Set the DISASSEMBLE_DATA bit in
519 the flags field of the disassemble_info structure if the -D switch
522 2009-06-12 Homer Xing <homer.xing@yahoo.com>
524 * NEWS: Mention new feature added to gprof.
526 2009-06-12 John Reiser <jreiser@BitWagon.com>
528 * readelf.c (process_symbol_table): Set gnubuckets to NULL after
529 freeing it and before returning.
531 2009-06-12 Jakub Jelinek <jakub@redhat.com>
533 * readelf.c (process_symbol_table): Don't return early if
534 .hash/.gnu.hash is empty/unusable and not -D.
536 2009-06-09 Tom Bramer <tjb@postpro.net>
539 * winduni.c (wind_MultiByteToWideChar): Do not pass MB_PRECOMPOSED
540 to MultiByteToWideChar when using the CP_UTF8 or CO_UTF7 types.
542 2009-06-04 Alan Modra <amodra@bigpond.net.au>
544 * strings.c (main): Delay parsing of decimal digits.
546 2009-06-04 Alan Modra <amodra@bigpond.net.au>
548 * dep-in.sed: Don't use \n in replacement part of s command.
549 * Makefile.am (DEP1): LC_ALL for uniq.
551 * Makefile.in: Regenerate.
553 2009-06-03 Tristan Gingold <gingold@adacore.com>
555 * MAINTAINERS: Add myself as Mach-O maintainer.
557 2009-06-01 Alan Modra <amodra@bigpond.net.au>
560 * doc/binutils.texi (nm): Correct -S description.
562 2009-05-28 Nick Clifton <nickc@redhat.com>
564 * po/da.po: Updated Danish translation.
566 2009-05-28 Nick Clifton <nickc@redhat.com>
568 * readelf.c (display_debug_section): Do not display debug sections
569 with the NOBITS section type.
571 2009-05-27 Rafael Avila de Espindola <espindola@google.com>
573 * aclocal.m4: Include ../config/plugins.m4.
574 * configure.in: Use AC_PLUGINS.
575 * configure: Regenerate.
576 * Makefile.in: Regenerate.
577 * doc/Makefile.in: Regenerate.
579 2009-05-27 Rafael Avila de Espindola <espindola@google.com>
581 * ar.c (main): Call bfd_plugin_set_program_name.
582 * nm.c (main): Call bfd_plugin_set_program_name.
584 2009-05-27 Nathan Sidwell <nathan@codesourcery.com>
586 * sysdump.c (tab): Use puts rather than two printfs.
588 2009-05-26 Nick Clifton <nickc@redhat.com>
590 * po/id.po: Updated Indonesian translation.
591 * po/binutils.pot: Updated template file.
593 2009-05-26 Rafael Avila de Espindola <espindola@google.com>
595 * ar.c: Include plugin.h.
596 (main): Handle the --plugin option.
597 * nm.c: Include plugin.h.
598 (OPTION_PLUGIN): New.
599 (long_options): Add plugin.
600 (main): Handle OPTION_PLUGIN.
601 * NEWS: Mention the new feature.
602 * doc/binutils: Documement the new command line options.
603 * configure.in: Check for --enable-plugins.
604 * configure: Regenerate.
606 2009-05-26 Alan Modra <amodra@bigpond.net.au>
608 * dep-in.sed: Output one filename per line with all lines having
609 continuation backslash. Prefix first line with "A", following
611 * Makefile.am (DEP): Don't use dep.sed here.
612 (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
614 * Makefile.in: Regenerate.
616 2009-05-25 Tristan Gingold <gingold@adacore.com>
618 * makefile.vms-in: Fix CFLAGS, add addr2line.exe target.
620 * configure.com: Fix it: handle alloca and define TARGET in config.h.
622 2009-05-22 Alan Modra <amodra@bigpond.net.au>
624 * Makefile.am: Run "make dep-am".
625 * Makefile.in: Regenerate.
627 2009-05-12 Alan Modra <amodra@bigpond.net.au>
629 * objcopy.c (set_long_section_mode): Check input_bfd is coff
630 before accessing coff specific fields of bfd.
632 2009-05-09 Dave Korn <dave.korn.cygwin@gmail.com>
634 * MAINTAINERS: Add myself as PE/COFF co-maintainer.
636 2009-05-08 Kai Tietz <kai.tietz@onevision.com>
638 * winduni.c (iconv_onechar): Only define when HAVE_ICONV
639 is defined, but not when __CYGWIN__ or _WIN32 are defined.
640 See wind_iconv_cp for call logic of this local funtion.
642 2009-05-05 Guillaume Duhamel <guillaume.duhamel@gmail.com>
645 * winduni.c: Replace test of HAVE_ICONV_H with a test of
647 (iconv_onechar): Use ICONV_CONST instead of "const".
648 (wind_MultiByteToWideChar): Initialise local strings.
650 2009-04-30 Nick Clifton <nickc@redhat.com>
652 * readelf.c (dump_relocations): Display a relocation against an
653 ifunc symbol as if it were a function invocation.
654 (get_symbol_type): Handle STT_GNU_IFUNC.
656 2009-04-29 Anthony Green <green@moxielogic.com>
658 * NEWS: Tweak verilog support description.
660 2009-04-29 Alan Modra <amodra@bigpond.net.au>
661 Denis Scherbakov <denis_scherbakov@yahoo.com>
663 * readelf.c (slurp_ia64_unwind_table): Correct 64-bit unwind table
664 read, and merge with 32-bit case.
666 2009-04-27 Anthony Green <green@moxielogic.com>
668 * NEWS: Mention verilog support added to bfd.
670 2009-04-27 H.J. Lu <hongjiu.lu@intel.com>
672 * objcopy.c (copy_object): Copy pe_opthdr before changing PE
675 2009-04-24 Cary Coutant <ccoutant@google.com>
677 * dwarf.c (process_extended_line_op): Add DW_LNE_set_discriminator.
678 Add missing newlines to HP extensions.
680 2009-04-17 H.J. Lu <hongjiu.lu@intel.com>
682 * objcopy.c (set_pe_subsystem): Replace efi-rom with sal-rtd.
683 * doc/binutils.texi: Likewise.
685 2009-04-17 H.J. Lu <hongjiu.lu@intel.com>
688 * objcopy.c: Include coff/i386.h and coff/pe.h.
689 (pe_file_alignment): New.
690 (pe_heap_commit): Likewise.
691 (pe_heap_reserve): Likewise.
692 (pe_image_base): Likewise.
693 (pe_section_alignment): Likewise.
694 (pe_stack_commit): Likewise.
695 (pe_stack_reserve): Likewise.
696 (pe_subsystem): Likewise.
697 (pe_major_subsystem_version): Likewise.
698 (pe_minor_subsystem_version): Likewise.
699 (set_pe_subsystem): Likewise.
700 (convert_efi_target): Likewise.
701 (command_line_switch): Add OPTION_FILE_ALIGNMENT,
702 OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT,
703 OPTION_STACK and OPTION_SUBSYSTEM.
704 (copy_options): Likewise.
705 (copy_usage): Add --file-alignment, --heap, --image-base,
706 --section-alignment, --stack and --subsystem.
707 (copy_object): Set up PE parameters.
708 (copy_main): Process Add OPTION_FILE_ALIGNMENT,
709 OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT,
710 OPTION_STACK and OPTION_SUBSYSTEM. Convert EFI target to
713 * NEWS: Mention --file-alignment, --heap, --image-base,
714 --section-alignment, --stack and --subsystem command line
717 * doc/binutils.texi: Document --file-alignment, --heap,
718 --image-base, --section-alignment, --stack and --subsystem
719 command line options for objcopy.
721 2009-04-15 Anthony Green <green@moxielogic.com>
723 * MAINTAINERS: Add myself as Moxie port maintainer.
725 2009-04-14 Dave Korn <dave.korn.cygwin@gmail.com>
727 * objcopy.c (enum long_section_name_handling): New enum type.
728 (enum command_line_switch): Add OPTION_LONG_SECTION_NAMES.
729 (copy_options[]): Add entry for --long-section-names option.
730 (copy_usage): Document it.
731 (set_long_section_mode): New subroutine.
732 (copy_file): Call it.
733 (copy_main): Accept OPTION_LONG_SECTION_NAMES and parse arg.
734 * doc/binutils.texi: Update objcopy documentation with details
737 2009-04-01 Dave Korn <dave.korn.cygwin@gmail.com>
739 * dlltool.c (set_dll_name_from_def): Accept new second arg that
740 indicates if we are building DLL or EXE, and use it to add a
741 default suffix to the output filename when none is already present.
742 (def_name): Indicate we are building an EXE when calling it.
743 (def_library): Indicate we are building a DLL when calling it.
745 2009-04-01 Jari Aalto <jari.aalto@cante.net>
748 * doc/binutils.texi (strings): Document the -V alias for the
750 * strings.c (usage): Likewise.
752 2009-03-31 Nick Clifton <nickc@redhat.com>
755 * configure.in: Import Solaris specific largefile test from
757 * configure: Regenerate.
759 2009-03-30 Richard Sandiford <rdsandiford@googlemail.com>
761 * MAINTAINERS: Add self.
763 2009-03-27 Nick Clifton <nickc@redhat.com>
765 * dwarf.c (display_debug_ranges): Add the base address to the
766 displayed values for 'Begin' and 'End'.
768 2009-03-25 Ryan Mansfield <rmansfield@qnx.com>
770 * readelf.c (process_file_header): Don't report a corrupt string
771 table index if it is zero.
773 2009-03-19 H.J. Lu <hongjiu.lu@intel.com>
775 * dwarf.c (dwarf_regnames): Moved before frame_need_space.
776 (dwarf_regnames_count): Likewise.
777 (frame_need_space): Return int.
778 (display_debug_frames): Check invalid registers.
780 2009-03-19 H.J. Lu <hongjiu.lu@intel.com>
782 * readelf.c (debug_apply_relocations): Check relocations
783 against STT_SECTION symbol.
785 2009-03-18 H.J. Lu <hongjiu.lu@intel.com>
787 * readelf.c (debug_apply_relocations): Allow relocations
788 against function symbols.
790 2009-03-18 Alan Modra <amodra@bigpond.net.au>
792 * sysdep.h: Include alloca-conf.h instead of config.h and remove
793 existing #if's handling alloca.
794 * Makefile.am: Run "make dep-am".
795 * Makefile.in: Regenerate.
797 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
799 * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
800 * configure.in: Likewise.
801 * configure: Regenerate.
803 2009-03-13 H.J. Lu <hongjiu.lu@intel.com>
806 * objcopy.c (copy_object): Clear HAS_RELOC when stripping all.
808 2009-03-11 Chris Demetriou <cgd@google.com>
810 * ar.c (deterministic): New global variable.
811 (main): Recognize new 'D' option, which enables 'deterministic mode'.
812 (usage): Document new 'D' option.
813 (write_archive): Set BFD_DETERMINISTIC_OUTPUT in output archive's
814 flags if deterministic mode was requested.
815 * doc/binutils.texi (ar): Document deterministic mode ('D' option).
817 2009-03-09 H.J. Lu <hongjiu.lu@intel.com>
820 * objcopy.c (filter_symbols): Properly handle common symbols
823 2009-03-06 Nick Clifton <nickc@redhat.com>
825 * po/es.po: Updated Spanish translation.
827 2009-03-05 Nick Clifton <nickc@redhat.com>
829 * objdump.c (disassemble_section): If the computed next offset is
830 not beyond the current offset then just continue to the end.
832 2009-03-04 Tristan Gingold <gingold@adacore.com>
834 * MAINTAINERS: Add myself as VMS maintainer.
836 2009-03-03 Nick Clifton <nickc@redhat.com>
838 * readelf.c: Update formatting.
840 2009-03-03 Alan Modra <amodra@bigpond.net.au>
842 * Makefile.am: Run "make dep-am".
843 * Makefile.in: Regenerate.
845 2009-03-03 Alan Modra <amodra@bigpond.net.au>
847 * objdump.c (disassemble_section): Mask address before sign extending.
849 2009-03-02 Sebastian Biallas <sb@biallas.net>
851 * ieee.c (parse_ieee_ty): Add support for undocumented 'v' type.
852 (parse_ieee_bb): Set the filename if it has not already been
855 2009-03-02 Cary Coutant <ccoutant@google.com>
857 * readelf.c (adjust_relative_path): New function.
858 (struct archive_info): New type.
859 (setup_archive): New function.
860 (release_archive): New function.
861 (setup_nested_archive): New function.
862 (get_archive_member_name): New function.
863 (get_archive_member_name_at): New function.
864 (make_qualified_name): New function.
865 (process_archive): Factor out code for reading archive index and
866 long filename table to setup_archive. Add support for thin archives.
868 2009-03-02 Nick Clifton <nickc@redhat.com>
870 * po/sk.po: Updated Slovak translation.
872 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
874 * configure: Regenerate.
876 2009-02-23 Cary Coutant <ccoutant@google.com>
878 * objdump.c (load_specific_debug_section): New function, from
880 (load_debug_section): Use load_specific_debug_section.
881 (dump_dwarf_section): Likewise.
883 2009-02-23 Cary Coutant <ccoutant@google.com>
885 * readelf.c (parse_args): Select all sections explicitly for -w.
887 2009-02-09 Kai Tietz <kai.tietz@onevision.com>
889 * windres.c (set_endianess): Copy name without leading '-'.
891 2009-02-09 Tristan Gingold <gingold@adacore.com>
893 * NEWS: Mention feature match between objdump and readelf for dumping
896 * doc/binutils.texi (objdump): Document -W/--dwarf improvments to
899 * objdump.c (usage): Update documentation for -W/--dwarf.
900 (enum option_values): Add OPTION_DWARF.
901 (long_options): --dwarf can accept arguments.
902 (dump_dwarf_section): Also check enabled field.
903 (main): Option -W can accept arguments, code moved to
904 dwarf.c and call dwarf_select_sections_all instead.
905 * readelf.c (process_section_headers): Remove do_debug_lines_decoded.
906 (parse_args): Move code to...
907 * dwarf.c (dwarf_select_sections_by_letters,
908 dwarf_select_sections_by_names): : ...here (new functions).
909 (do_debug_lines_decoded): Remove and replaced by ...
910 (FLAG_DEBUG_LINES_RAW, FLAG_DEBUG_LINES_DECODED): ... new macros.
911 (display_debug_lines): Adjust for previous change.
912 (dwarf_select_sections_all): New function.
913 (debug_displays): Add initializer for enabled field.
914 * dwarf.h (do_debug_lines_decoded): Remove.
915 Add prototypes for the new functions.
916 (struct dwarf_section_display): Add enabled field.
918 2009-02-06 Nick Clifton <nickc@redhat.com>
920 * po/vi.po: Updated Vietnamese translation.
922 2009-02-03 Sandip Matte <sandip@rmicorp.com>
924 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_XLR.
926 2009-02-03 H.J. Lu <hongjiu.lu@intel.com>
928 * NEWS: Move --as-needed change to ...
931 2009-02-03 Carlos O'Donell <carlos@codesourcery.com>
933 * configure.in: AC_SUBST pdfdir.
934 * Makefile.am: Add install-pdf, install-pdf-am,
935 and install-pdf-recursive targets.
936 * doc/Makefile.am: Define pdf__strip_dir. Add
937 install-pdf and install-pdf-am targets.
938 * po/Make-in: Add install-pdf target.
939 * configure: Regenerate.
940 * Makefile.in: Regenerate.
941 * doc/Makefile.in: Regenerate.
943 2009-02-03 H.J. Lu <hongjiu.lu@intel.com>
946 * NEWS: Mention --prefix=PREFIX and --prefix-strip=LEVEL.
948 * doc/binutils.texi: Document --prefix=PREFIX and
949 --prefix-strip=LEVEL.
951 * objdump.c: Include "filenames.h".
953 (prefix_strip): Likewise.
954 (prefix_length): Likewise.
955 (usage): Add --prefix=PREFIX and --prefix-strip=LEVEL.
956 (option_values): Add OPTION_PREFIX and OPTION_PREFIX_STRIP.
957 (long_options): Likewise.
958 (show_line): Handle prefix and prefix_strip.
959 (main): Handle OPTION_PREFIX and OPTION_PREFIX_STRIP.
961 * readelf.c (PATH_MAX): Moved to ...
964 2009-01-31 Alan Modra <amodra@bigpond.net.au>
966 * NEWS: Mention --as-needed change.
968 2009-01-29 Alan Modra <amodra@bigpond.net.au>
971 * bucomm.c (bfd_nonfatal_message): Use bfd_get_archive_filename.
972 (bfd_get_archive_filename): Constify param.
973 * bucomm.h (bfd_get_archive_filename): Update prototype.
974 * objcopy.c (RETURN_NONFATAL): Delete.
975 (copy_unknown_object): Don't call bfd_get_archive_filename for
976 bfd_nonfatal_message filename, instead just pass bfd.
977 (copy_object): Likewise.
978 (copy_archive, copy_file): Likewise. Expand RETURN_NONFATAL. On
979 bfd_close errors, do not pass the bfd to bfd_nonfatal_message.
980 (setup_bfd_headers): Fix error message.
982 2009-01-27 Nick Clifton <nickc@redhat.com>
985 * objdump.c (disassemble_section): When the target uses signed
986 addresses make sure that we compute signed values.
988 2009-01-27 Nick Clifton <nickc@redhat.com>
990 * MAINTAINERS: Remove Thiemo Seufer's name from the list of MIPS
993 2009-01-26 Nick Clifton <nickc@redhat.com>
996 * dlltool.c (xlate): When strip text after the @ sign, look for
997 the last one not the first one.
999 2009-01-16 Alan Modra <amodra@bigpond.net.au>
1001 * configure.in (commonbfdlib): Delete.
1002 * configure: Regenerate.
1004 2008-01-14 Charles Wilson <cygwin@cwilson.fastmail.fm>
1006 Cleanup code related to --identify option.
1008 * dlltool.c (file scope): Removed globals identify_ms,
1009 identify_member_contains_symname_result,
1010 identify_dll_name_list_head, and identify_dll_name_list_tail.
1011 Renamed existing typedef dll_name_list_type to
1012 dll_name_list_node_type.
1013 Added new typedefs dll_name_list_type, symname_search_data_type,
1014 and identify_data_type.
1015 (identify_append_dll_name_to_list): Renamed to...
1016 (dll_name_list_append): ...here. Changed signature to accept list
1017 argument rather than use global.
1018 (identify_count_dll_name_list): Renamed to...
1019 (dll_name_list_count): ...here. Changed signature to accept list
1020 argument rather than use global.
1021 (identify_print_dll_name_list): Renamed to...
1022 (dll_name_list_print): ...here. Changed signature to accept list
1023 argument rather than use global.
1024 (identify_free_dll_name_list): Renamed to...
1025 (dll_name_list_free_contents): ...here.
1026 (dll_name_list_free): New function.
1027 (dll_name_list_create): New function.
1028 (identify_process_section_p): Changed signature to accept
1029 ms_style_implib argument rather than use global.
1030 (identify_member_contains_symname): Expect incoming void * data to
1031 be symname_search_data_type.
1032 (identify_dll_for_implib): Use new functions dll_name_list_create
1033 and dll_name_list_free. Use new types symname_search_data_type
1034 and identify_data_type to communicate with search routines.
1035 (identify_search_section): Expect incoming void * data to be
1036 identify_data_type. Use its contents rather than global
1039 2009-01-13 Charles Wilson <cygwin@cwilson.fastmail.fm>
1041 Add --identify-strict option. Handle ms-style implibs:
1043 * dlltool.c (file scope): Added new globals identify_ms and
1044 identify_strict. New typedef dll_name_list_type, and globals
1045 identify_dll_name_list_head and identify_dll_name_list_tail. Added
1046 new global identify_member_contains_symname_result.
1047 (identify_append_dll_name_to_list): New function.
1048 (identify_count_dll_name_list): New function.
1049 (identify_print_dll_name_list): New function.
1050 (identify_free_dll_name_list): New function.
1051 (identify_search_archive): Changed signature to take function
1052 pointer to operation to apply to each member, and data to pass on
1054 (identify_search_member): Changed signature to accept user data
1056 (identify_member_contains_symname): New function.
1057 (identify_dll_for_implib): Rewrite. Now determines whether implib
1058 is ms- or binutils- style, before searching sections for
1059 dllname. Allows multiple dllnames.
1060 (identify_process_section_p): Search alternate section for dllname
1061 when implib is ms-style.
1062 (identify_search_section): Add additional conditions to excludes
1063 candidate sections from consideration.
1064 (usage): Added --identify-strict.
1065 (long_options): Added --identify-strict.
1066 (main): Handle --identify-strict option.
1067 * doc/binutils.texi: Document --identify-strict option.
1068 * NEWS: Document --identify and --identify-strict options.
1070 2009-01-13 Alan Modra <amodra@bigpond.net.au>
1073 * doc/binutils.texi (objdump -R): Note effect of -d or -D.
1075 2009-01-13 Alan Modra <amodra@bigpond.net.au>
1077 * objdump.c (disassemble_section): Don't assume non-instruction
1078 data if object symbol at given address is in different section.
1080 2009-01-12 Kai Tietz <kai.tietz@onevision.com>
1082 * dlltool.c (create_for_pep): New.
1083 (flush_page): Use create_for_pep instead of using
1084 macro DLLTOOL_MX86_64 clause.
1085 (generate_idata_ofile): Likewise.
1086 (make_one_lib_file): Likewise.
1087 (make_head): Likewise.
1088 (make_tail): Likewise.
1089 (main): Initialize create_for_pep.
1091 2009-01-08 Kai Tietz <kai.tietz@onevision.com>
1093 * dlltool.c (use_nul_prefixed_import_tables): New.
1094 (make_head): Make prefix leading zero prefix element for
1095 idata$4 and idata$5 dependent to new flag.
1096 (usage): Add new option --use-nul-prefixed-import-tables.
1097 (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
1098 (long_options): Add --use-nul-prefixed-import-tables.
1100 * doc/binutils.texi: Add new option documentation for
1101 --use-nul-prefixed-import-tables.
1102 * NEWS: Add new option.
1104 2009-01-06 Kai Tietz <kai.tietz@onevision.com>
1106 * windres.c (set_endianess): Get architecture name
1107 for internal target names like "pe-arm-wince-little".
1108 (find_arch_match): New helper.
1109 * ChangeLog: Reset it.
1110 * ChangeLog-2008: Moved old ChangeLog.
1112 For older changes see ChangeLog-2008
1118 version-control: never