1 2009-10-16 Jerker Bäck <jerker.back@gmail.com>
4 * Makefile.am (sysinfo.o, syslex.o): Place source file after all
6 * Makefile.in: Regenerate.
8 2009-10-16 Yann Droneaud <yann@droneaud.fr>
11 * dlltool.c (bfd_get_errmsg): New macro.
12 (scan_obj_file): Use it.
13 (make_one_lib_file): Use it.
15 (make_delay_head): Use it.
17 (gen_lib_file): Use it.
18 (identify_dll_for_implib): Use it.
19 (identify_search_archive): Use it.
21 2009-10-16 Nick Clifton <nickc@redhat.com>
23 * readelf.c (usage): Add mention of --debug-dump=frames-interp.
24 Wrap output to 80 columns.
25 * objdump.c (usage): Likewise.
26 * doc/binutils.texi (readelf): Add note about =frames-interp.
28 2009-10-01 Alan Modra <amodra@bigpond.net.au>
30 * addr2line.c (slurp_symtab): Don't use bfd_read_minisymbols.
32 2009-09-29 Nick Clifton <nickc@redhat.com>
34 * doc/binutils.texi (c++filt): Remove spurious description of
35 nonexistent --java command line switch for cxxfilt.
37 2009-09-29 DJ Delorie <dj@redhat.com>
39 * readelf.c: Add support for RX target.
40 * MAINTAINERS: Add DJ and NickC as maintainers for RX.
42 2009-09-28 Alan Modra <amodra@bigpond.net.au>
44 * configure.in: Don't invoke configure.tgt on $enable_targets.
45 * configure: Regenerate.
47 2009-09-28 Nick Clifton <nickc@redhat.com>
50 * readelf.c (get_elf_section_flags): Allow SHN_BEFORE and
51 SHN_AFTER section link values in x86 binaries.
52 (process_section_headers): Likewise.
54 2009-09-25 Dimitry Gorbachev <d.g.gorbachev@gmail.com>
57 * readelf.c: Remove duplicate declaration of variable do_wide.
58 * dwarf.h: Add export of do_wide.
60 2009-09-24 Cary Coutant <ccoutant@google.com>
62 * dwarf.c (get_TAG_name): Add missing DWARF-3 and new DWARF-4 tags.
63 (get_FORM_name): Add new DWARF-4 forms.
64 (read_and_display_attr_value): Add DW_FORM_ref_sig8, DW_LANG_Python.
65 (get_AT_name): Add new DWARF-4 and GNU-specific attributes.
66 (process_debug_info): Add do_types parameter; change all callers.
67 Add support for .debug_types sections.
68 (display_debug_types): New function.
69 (debug_displays): Add .debug_types section.
70 * readelf.c (process_section_headers): Add .debug_types section.
71 (display_debug_section): Simplify call to streq.
73 2009-09-25 Alan Modra <amodra@bigpond.net.au>
75 * readelf.c (print_dynamic_symbol): Format entries as for
77 (process_symbol_table): Use -7s format string for visibility.
79 2009-09-22 Richard Sandiford <rdsandiford@googlemail.com>
81 * objdump.c (disassemble_section): Use bfd_get_arch_size
82 instead of assuming that the address size is 32 bits.
84 2009-09-21 Alan Modra <amodra@bigpond.net.au>
86 * readelf.c (get_ppc_dynamic_type): Add TLSOPT.
87 (get_ppc64_dynamic_type): Likewise.
89 2009-09-18 Nick Clifton <nickc@redhat.com>
91 * po/es.po: Updated Spanish translation.
92 * po/vi.po: Updated Vietnamese translation.
94 2009-09-11 Paul Pluzhnikov <ppluzhnikov@google.com>
96 * readelf.c (process_version_sections, process_symbol_table):
97 Use symbolic constants.
99 2009-09-11 Nick Clifton <nickc@redhat.com>
101 * po/binutils.pot: Updated by the Translation project.
103 2009-09-11 Philippe De Muyter <phdm@macqel.be>
105 * obcopy.c (copy_object): New parameter `input_arch', architecture
106 of input file, if not specified in input file itself; all callers
107 updated; `binary_architecture' hack removed.
108 (copy_archive, copy_file): New parameter `input_arch', for
110 (copy_main): Accept `-B' (`--binary-architecture') option also
111 for any arch-less input ifile format, not only `binary'; remove
112 bfd_external_binary_architecture hack; instead, add `input_arch'
113 to calls to `copy_file'.
114 * windres.c, windmc.c : Obsolete and useless external references
115 to `bfd_external_binary_architecture' or `bfd_external_machine'
117 * doc/binutils.texi: Mention that -B parameter can be used for any
118 input file type which does not have its own architecture.
120 2009-09-10 Martin Thuresson <martin@mtme.org>
122 Update sources to compile cleanly with -Wc++-compat:
123 * addr2line.c (slurp_symtab): Fix casts. Introduce variable
124 minisyms to avoid aliasing varning.
126 (normalize): Use name del instead of delete.
127 (display_target_list,display_info_table): Change loop counter
129 * bucomm.c: Add casts.
130 * debug.c: Update function to use new names.
131 (struct debug_baseclass): Rename member from virtual to
133 (struct debug_type_s, struct debug_field_s, struct
134 debug_baseclass_s, struct debug_method_s, struct
135 debug_method_variant_s, struct debug_type_s): Rename struct from
136 avoid name collision.
137 * debug.h: Use new struct names.
138 * dwarf.c: Add casts.
139 (free_debug_memory): Change loop counter variable a to int.
141 (enum ieee_var_kind): Move to top level.
142 (ieee_class_baseclass): Rename parameter virtual to is_virtual.
143 (ieee_class_method_var): Rename variable virtual to is_virtual.
145 * objcopy.c: Add casts.
146 (copy_archive): Rename variable delete to del.
147 * objdump.c: Add casts.
148 (dump_dwarf_section): Change loop counter variable i to int.
149 * prdbg.c: Add casts.
150 (pr_class_baseclass,tg_class_baseclass): Rename parameters virtual
152 * readelf.c: Add casts.
153 (struct ia64_unw_table_entry,struct hppa_unw_table_entry): Move to
156 * stabs.c (parse_stab_type, parse_stab_range_type,
157 (parse_stab_cpp_abbrev): Rename parameter from typename to
159 (parse_stab_baseclasses): Rename variable virtual to is_virtual.
160 * strings.c: Add casts.
161 * wrstabs.c (stab_class_baseclass): Rename parameter virtual to
164 2009-09-09 Nick Clifton <nickc@redhat.com>
167 readelf.c (get_elf_section_flags): Add support for SHF_EXCLUDE and
169 (process_section_headers): Warn about out of range sh_link
170 values. When displaying detailed section header information
171 annote the SHN_BEFORE and SHN_AFTER values.
173 2009-09-08 Alan Modra <amodra@bigpond.net.au>
175 * dwarf.c (byte_get_little_endian): Handle size of 3.
176 (byte_get_big_endian): Likewise.
177 * readelf.c (byte_put_little_endian): Likewise.
178 (byte_put_big_endian): Likewise.
179 (is_24bit_abs_reloc): New function.
180 (is_none_reloc): Formatting.
181 (apply_relocations): Use is_24bit_abs_reloc. Handle pj and xtensa
184 2009-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
186 * readelf.c (is_none_reloc <EM_XTENSA_OLD>, is_none_reloc <EM_XTENSA>):
189 2009-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
191 * dwarf.c (process_debug_info): Support section padding abbrev codes.
193 2009-09-07 Tristan Gingold <gingold@adacore.com>
195 * po/binutils.pot: Regenerate.
197 2009-09-05 Jan Kratochvil <jan.kratochvil@redhat.com>
199 * Makefile.am (sysdump.o): Depend on sysroff.c.
200 * Makefile.in: Regenerate.
202 2009-09-05 Martin Thuresson <martin@mtme.org>
204 * ieee.c (ieee_read_cxx_misc, ieee_read_cxx_class,
205 ieee_read_reference): Rename variables named class to cxxclass.
207 2009-09-04 Tristan Gingold <gingold@adacore.com>
209 * BRANCHES: Add binutils-2_20-branch.
211 2009-09-04 Tristan Gingold <gingold@adacore.com>
213 * NEWS: Add marker for 2.20.
215 2009-09-04 Timo Kreuzer <timo.kreuzer@web.de>
217 * dlltool.c (delayimp_name): Add new global variable
218 (usage, long_options, main): Add new option "-y" / "--output-delaylib"
219 (struct mac): Add fields how_dljtab_size, how_dljtab_roff1,
220 how_dljtab_roff2, how_dljtab, trampoline.
221 (i386_dljtab): Add binary stub for x86 delay import.
222 (i386_trampoline): Add text assembly stub for x86 delay import.
223 (mtable): Add delay import data for M386 and MX86 only.
224 (make_delay_head): New function.
225 (make_one_lib_file): New arg delay creates delay-load import stub.
226 (gen_lib_file): New arg delay likewise.
227 (HOW_JTAB, HOW_JTAB_SIZE, HOW_JTAB_ROFF): New arg delay likewise.
228 (HOW_JTAB_ROFF2, HOW_JTAB_ROFF3): New macros for delay import.
229 (make_tail): Convert hard TABS embedded in strings to "\t" escapes.
230 * NEWS: Mention new feature. Also fix whitespace.
231 * doc/binutils.texi: Updated dlltool documentation.
233 2009-09-02 Tristan Gingold <gingold@adacore.com>
235 * configure.com: Do not copy makefile.vms-in to makefile.vms
236 * makefile.vms-in: Renamed to...
237 * makefile.vms: ... this usual name as it is not processed anymore.
238 Remove WRITE_DEBUG_OBJS (unused) and reorder object files for
241 2009-09-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
243 * Makefile.am (arparse.o, arlex.o, sysroff.o, defparse.o)
244 (deflex.o, nlmheaders.o, rcparse.o, mcparse.o): Supply correct
245 source file name for generated files which may be in $(srcdir).
246 * Makefile.in: Regenerate.
248 2009-09-01 H.J. Lu <hongjiu.lu@intel.com>
250 * version.c (print_version): Change to "Copyright 2009".
252 2009-09-01 Tristan Gingold <gingold@adacore.com>
254 * makefile.vms-in: Remove unused VERSION variable. Remove unused
256 * configure.com: Ported to Itanium VMS. Create build.com DCL script.
258 2009-08-29 Martin Thuresson <martin@mtme.org>
260 * nlmconv.c (main): Rename variable new to new_name.
262 2009-08-28 H.J. Lu <hongjiu.lu@intel.com>
264 * Makefile.am (sysinfo$(EXEEXT_FOR_BUILD)): Replace
265 CFLAGS/LDFLAGS with CFLAGS_FOR_BUILD/LDFLAGS_FOR_BUILD.
266 (syslex.o): Likewise.
267 (sysinfo.o): Likewise.
268 (bin2c$(EXEEXT_FOR_BUILD)): Likewise.
269 * Makefile.in: Regenerated.
271 2009-08-27 Dave Korn <dave.korn.cygwin@gmail.com>
273 * doc/binutils.texi (--only-keep-debug): Relocate stray para here ...
274 (--subsystem): ... from here.
276 2009-08-24 Cary Coutant <ccoutant@google.com>
278 * objdump.c (find_symbol_for_address): Avoid costly call to
281 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
283 * Makefile.am (am__skiplex, am__skipyacc): New.
284 * Makefile.in: Regenerate.
286 2009-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
288 * Makefile.am (syslex.o): Depend on sysinfo.h config.h.
289 * Makefile.in: Regenerate.
291 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
293 * Makefile.am (AM_CPPFLAGS): Renamed from ...
294 (INCLUDES): ... this.
295 (bin2c$(EXEEXT_FOR_BUILD): Adjust rule.
296 (installcheck-local): Renamed from ...
297 (installcheck): ... this.
298 * Makefile.in: Regenerate.
300 * Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add no-dist and
302 (MKDEP, CLEANFILES): Remove now-unneeded variables.
303 (DEP, DEP1, dep.sed, dep, dep-in, dep-am): Remove.
304 (mkdep section): Remove.
305 (BUILT_SOURCES): New variable, list $(GENERATED_HFILES).
306 (EXTRA_ar_SOURCES): New, list $(CFILES).
307 (syslex.o): Depend on syslex.c.
308 (sysinfo.o): Depend on sysinfo.c.
309 (arparse.h, defparse.h, nlmheaders.h rcparse.h mcparse.h):
310 Remove dependencies, now tracked by automake.
311 (srconv.o): Depend on sysroff.c.
312 (objdump.o, arparse.o, arlex.o, sysroff.o, defparse.o, deflex.o)
313 (nlmheader.o, rcparse.o, mcparse.o, rclex.o, mclex.o, dlltool.o)
314 (rescoff.o, nlmconv.o): Rewrite using automake-style dependency
315 tracking rules; only list the dependency upon the primary source
316 file, but no included headers.
317 * Makefile.in: Regenerate.
319 * Makefile.am (install-pdf, install-pdf-recursive, install-html)
320 (install-html-recursive): Remove.
321 * Makefile.in: Regenerate.
322 * doc/Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
323 (html__strip_dir, install-html, install-html-am): Remove.
324 * doc/Makefile.in: Regenerate.
326 * Makefile.in: Regenerate.
327 * aclocal.m4: Likewise.
328 * config.in: Likewise.
329 * configure: Likewise.
330 * doc/Makefile.in: Likewise.
332 2009-08-17 Nick Clifton <nickc@redhat.com>
334 * readelf.c (is_32bit_abs_reloc): Treat R_PARISC_SECREL32 as a
335 32-bit absolute reloc for the purposes of processing debug
338 2009-08-10 Daniel Gutson <dgutson@codesourcery.com>
340 * readelf.c (get_arm_section_type_name): Added support for
341 new sections headers.
343 2009-08-03 H.J. Lu <hongjiu.lu@intel.com>
346 * objcopy.c (strip_main): Check return from smart_rename.
347 (copy_main): Likewise.
349 2009-07-27 Nick Clifton <nickc@redhat.com>
352 * objdump.c (dump_section_header): Skip sections that we are
355 2009-07-25 H.J. Lu <hongjiu.lu@intel.com>
357 * readelf.c (guess_is_rela): Handle EM_L1OM.
358 (dump_relocations): Likewise.
359 (get_machine_name): Likewise.
360 (get_section_type_name): Likewise.
361 (get_elf_section_flags): Likewise.
362 (get_symbol_index_type): Likewise.
363 (is_32bit_abs_reloc): Likewise.
364 (is_32bit_pcrel_reloc): Likewise.
365 (is_64bit_abs_reloc): Likewise.
366 (is_64bit_pcrel_reloc): Likewise.
367 (is_none_reloc): Likewise.
369 2009-07-23 Ulrich Drepper <drepper@redhat.com>
371 * readelf.c (get_symbol_binding): For Linux targeted files return
372 UNIQUE for symbols with the STB_GNU_UNIQUE binding.
373 * doc/binutils.texi: Document the meaning of the 'u' symbol
374 binding in the output of nm and objdump --syms.
376 2009-07-20 H.J. Lu <hongjiu.lu@intel.com>
378 * NEWS: Mention --insn-width.
380 * objdump.c (insn_width): New.
381 (usage): Display --insn-width.
382 (option_values): Add OPTION_INSN_WIDTH.
383 (long_options): Add --insn-width.
384 (disassemble_bytes): Handle insn_width.
385 (main): Handle OPTION_INSN_WIDTH.
387 * doc/binutils.texi: Document --insn-width.
389 2009-07-17 Nick Clifton <nickc@redhat.com>
391 * dwarf.c (display_debug_lines): If do_debug_lines has not been
392 set then default to displaying raw .debug_line section contents.
394 2009-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
396 Support unordered .debug_info references to .debug_ranges.
397 * dwarf.c (struct range_entry, range_entry_compar): New.
398 (display_debug_ranges): Remove variables last_offset, first, j,
399 seen_first_offset, use_debug_info and next. New variables
400 range_entries and range_entry_fill. Create the sorted copy
401 range_entries. Remove the FIXME error on detected unordered references.
402 * dwarf.h (debug_info <range_lists>): New comment.
404 2009-07-14 Nick Clifton <nickc@redhat.com>
407 * README: Document use of LDFLAGS="--static".
409 2009-07-10 H.J. Lu <hongjiu.lu@intel.com>
411 * Makefile.am: Run "make dep-am".
412 * Makefile.in: Regenerated.
414 2009-07-10 Tom Tromey <tromey@redhat.com>
416 * Makefile.am (dwarf.o): Refer to dwarf2.h, not elf/dwarf2.h.
417 * Makefile.in: Rebuild.
418 * dwarf.c: Include dwarf2.h, not elf/dwarf2.h.
420 2009-07-06 Tristan Gingold <gingold@adacore.com>
422 * objdump.c (dump_dwarf_section): Handle .eh_frame like other dwarf
424 * dwarf.h (struct dwarf_section_display): Remove eh_frame field.
425 * dwarf.c (debug_displays): Adjust for removed field.
427 2009-07-03 Jakub Jelinek <jakub@redhat.com>
429 * dwarf.c (decode_location_expression): Handle DW_OP_stack_value
430 and DW_OP_implicit_value.
432 2009-07-01 Nick Clifton <nickc@redhat.com>
435 * rclex.c (handle_quotes): Do not complain about whitespace
436 separating quoted strings.
437 (rclex_string): Ignore whitespace when looking for a new opening
438 quote following a closing quote.
440 2009-06-27 H.J. Lu <hongjiu.lu@intel.com>
443 * bucomm.c (get_file_size): Return -1 on error.
445 * objcopy.c (copy_file): Report empty file.
447 2009-06-23 Nick Clifton <nickc@redhat.com>
449 * dwarf.c (display_debug_lines_raw): Include the name of the
450 section in warning message.
451 (struct debug_display): Enable reloc processing for .debug_line
452 and .debug_ranges sections.
454 * readelf.c: Add --relocated-dump command line option to dump the
455 relocated contents of a specified section.
456 (request_dump): New function.
457 (parse_args): Use it.
458 (dump_section_as_bytes): Add parameter to indicate whether the
459 contents should be relocated.
460 (target_specific_reloc_handling): Add code for a R_MN10300_16
461 reloc found after a R_MN10300_SYM_DIFF reloc.
462 (debug_apply_relocations): Rename to apply_relocations.
463 (get_section_contents): New function. Replaces common code found
464 in dump_section_as_strings and dump_section_as_bytes.
465 * doc/binutils.texi: Document new command line option.
466 * NEWS: Mention the new feature.
468 2009-06-22 Nick Clifton <nickc@redhat.com>
470 * readelf.c (target_specific_reloc_handling): New function:
471 Processes relocs in a target specific manner.
472 (debug_apply_relocations): Use the new function.
473 * dwarf.c (display_debug_loc): End the dump with a blank line.
474 (struct debug_display): Enable reloc processing for .debug_aranges
475 and .debug_loc sections.
477 2009-06-19 Nick Clifton <nickc@redhat.com>
479 * ar.c (usage): Do not use #ifdef inside _("...).
480 * nm.c (usage): Likewise.
482 2009-06-18 Nick Clifton <nickc@redhat.com>
485 * objdump.c (disassemble_bytes): Set the
486 USER_SPECIFIED_MACHINE_TYPE flag in the disassemble_info structure
487 if the user has invoked the -m switch.
488 * doc/binutils.texi: Document the additional behaviour of
489 objdump's -m switch for ARM targets.
491 2009-06-18 Dave Korn <dave.korn.cygwin@gmail.com>
493 * configure.in: Merge cegcc and mingw32ce target name changes from
496 2007-12-25 Pedro Alves <pedro_alves@portugalmail.pt>
498 * configure.in: Add arm*-*-cegcc* and arm*-*-mingw32ce* targets.
499 * configure: Regenerate.
501 2009-06-15 Nick Clifton <nickc@redhat.com>
504 * objdump.c (disassemble_bytes): Set the DISASSEMBLE_DATA bit in
505 the flags field of the disassemble_info structure if the -D switch
508 2009-06-12 Homer Xing <homer.xing@yahoo.com>
510 * NEWS: Mention new feature added to gprof.
512 2009-06-12 John Reiser <jreiser@BitWagon.com>
514 * readelf.c (process_symbol_table): Set gnubuckets to NULL after
515 freeing it and before returning.
517 2009-06-12 Jakub Jelinek <jakub@redhat.com>
519 * readelf.c (process_symbol_table): Don't return early if
520 .hash/.gnu.hash is empty/unusable and not -D.
522 2009-06-09 Tom Bramer <tjb@postpro.net>
525 * winduni.c (wind_MultiByteToWideChar): Do not pass MB_PRECOMPOSED
526 to MultiByteToWideChar when using the CP_UTF8 or CO_UTF7 types.
528 2009-06-04 Alan Modra <amodra@bigpond.net.au>
530 * strings.c (main): Delay parsing of decimal digits.
532 2009-06-04 Alan Modra <amodra@bigpond.net.au>
534 * dep-in.sed: Don't use \n in replacement part of s command.
535 * Makefile.am (DEP1): LC_ALL for uniq.
537 * Makefile.in: Regenerate.
539 2009-06-03 Tristan Gingold <gingold@adacore.com>
541 * MAINTAINERS: Add myself as Mach-O maintainer.
543 2009-06-01 Alan Modra <amodra@bigpond.net.au>
546 * doc/binutils.texi (nm): Correct -S description.
548 2009-05-28 Nick Clifton <nickc@redhat.com>
550 * po/da.po: Updated Danish translation.
552 2009-05-28 Nick Clifton <nickc@redhat.com>
554 * readelf.c (display_debug_section): Do not display debug sections
555 with the NOBITS section type.
557 2009-05-27 Rafael Avila de Espindola <espindola@google.com>
559 * aclocal.m4: Include ../config/plugins.m4.
560 * configure.in: Use AC_PLUGINS.
561 * configure: Regenerate.
562 * Makefile.in: Regenerate.
563 * doc/Makefile.in: Regenerate.
565 2009-05-27 Rafael Avila de Espindola <espindola@google.com>
567 * ar.c (main): Call bfd_plugin_set_program_name.
568 * nm.c (main): Call bfd_plugin_set_program_name.
570 2009-05-27 Nathan Sidwell <nathan@codesourcery.com>
572 * sysdump.c (tab): Use puts rather than two printfs.
574 2009-05-26 Nick Clifton <nickc@redhat.com>
576 * po/id.po: Updated Indonesian translation.
577 * po/binutils.pot: Updated template file.
579 2009-05-26 Rafael Avila de Espindola <espindola@google.com>
581 * ar.c: Include plugin.h.
582 (main): Handle the --plugin option.
583 * nm.c: Include plugin.h.
584 (OPTION_PLUGIN): New.
585 (long_options): Add plugin.
586 (main): Handle OPTION_PLUGIN.
587 * NEWS: Mention the new feature.
588 * doc/binutils: Documement the new command line options.
589 * configure.in: Check for --enable-plugins.
590 * configure: Regenerate.
592 2009-05-26 Alan Modra <amodra@bigpond.net.au>
594 * dep-in.sed: Output one filename per line with all lines having
595 continuation backslash. Prefix first line with "A", following
597 * Makefile.am (DEP): Don't use dep.sed here.
598 (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
600 * Makefile.in: Regenerate.
602 2009-05-25 Tristan Gingold <gingold@adacore.com>
604 * makefile.vms-in: Fix CFLAGS, add addr2line.exe target.
606 * configure.com: Fix it: handle alloca and define TARGET in config.h.
608 2009-05-22 Alan Modra <amodra@bigpond.net.au>
610 * Makefile.am: Run "make dep-am".
611 * Makefile.in: Regenerate.
613 2009-05-12 Alan Modra <amodra@bigpond.net.au>
615 * objcopy.c (set_long_section_mode): Check input_bfd is coff
616 before accessing coff specific fields of bfd.
618 2009-05-09 Dave Korn <dave.korn.cygwin@gmail.com>
620 * MAINTAINERS: Add myself as PE/COFF co-maintainer.
622 2009-05-08 Kai Tietz <kai.tietz@onevision.com>
624 * winduni.c (iconv_onechar): Only define when HAVE_ICONV
625 is defined, but not when __CYGWIN__ or _WIN32 are defined.
626 See wind_iconv_cp for call logic of this local funtion.
628 2009-05-05 Guillaume Duhamel <guillaume.duhamel@gmail.com>
631 * winduni.c: Replace test of HAVE_ICONV_H with a test of
633 (iconv_onechar): Use ICONV_CONST instead of "const".
634 (wind_MultiByteToWideChar): Initialise local strings.
636 2009-04-30 Nick Clifton <nickc@redhat.com>
638 * readelf.c (dump_relocations): Display a relocation against an
639 ifunc symbol as if it were a function invocation.
640 (get_symbol_type): Handle STT_GNU_IFUNC.
642 2009-04-29 Anthony Green <green@moxielogic.com>
644 * NEWS: Tweak verilog support description.
646 2009-04-29 Alan Modra <amodra@bigpond.net.au>
647 Denis Scherbakov <denis_scherbakov@yahoo.com>
649 * readelf.c (slurp_ia64_unwind_table): Correct 64-bit unwind table
650 read, and merge with 32-bit case.
652 2009-04-27 Anthony Green <green@moxielogic.com>
654 * NEWS: Mention verilog support added to bfd.
656 2009-04-27 H.J. Lu <hongjiu.lu@intel.com>
658 * objcopy.c (copy_object): Copy pe_opthdr before changing PE
661 2009-04-24 Cary Coutant <ccoutant@google.com>
663 * dwarf.c (process_extended_line_op): Add DW_LNE_set_discriminator.
664 Add missing newlines to HP extensions.
666 2009-04-17 H.J. Lu <hongjiu.lu@intel.com>
668 * objcopy.c (set_pe_subsystem): Replace efi-rom with sal-rtd.
669 * doc/binutils.texi: Likewise.
671 2009-04-17 H.J. Lu <hongjiu.lu@intel.com>
674 * objcopy.c: Include coff/i386.h and coff/pe.h.
675 (pe_file_alignment): New.
676 (pe_heap_commit): Likewise.
677 (pe_heap_reserve): Likewise.
678 (pe_image_base): Likewise.
679 (pe_section_alignment): Likewise.
680 (pe_stack_commit): Likewise.
681 (pe_stack_reserve): Likewise.
682 (pe_subsystem): Likewise.
683 (pe_major_subsystem_version): Likewise.
684 (pe_minor_subsystem_version): Likewise.
685 (set_pe_subsystem): Likewise.
686 (convert_efi_target): Likewise.
687 (command_line_switch): Add OPTION_FILE_ALIGNMENT,
688 OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT,
689 OPTION_STACK and OPTION_SUBSYSTEM.
690 (copy_options): Likewise.
691 (copy_usage): Add --file-alignment, --heap, --image-base,
692 --section-alignment, --stack and --subsystem.
693 (copy_object): Set up PE parameters.
694 (copy_main): Process Add OPTION_FILE_ALIGNMENT,
695 OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT,
696 OPTION_STACK and OPTION_SUBSYSTEM. Convert EFI target to
699 * NEWS: Mention --file-alignment, --heap, --image-base,
700 --section-alignment, --stack and --subsystem command line
703 * doc/binutils.texi: Document --file-alignment, --heap,
704 --image-base, --section-alignment, --stack and --subsystem
705 command line options for objcopy.
707 2009-04-15 Anthony Green <green@moxielogic.com>
709 * MAINTAINERS: Add myself as Moxie port maintainer.
711 2009-04-14 Dave Korn <dave.korn.cygwin@gmail.com>
713 * objcopy.c (enum long_section_name_handling): New enum type.
714 (enum command_line_switch): Add OPTION_LONG_SECTION_NAMES.
715 (copy_options[]): Add entry for --long-section-names option.
716 (copy_usage): Document it.
717 (set_long_section_mode): New subroutine.
718 (copy_file): Call it.
719 (copy_main): Accept OPTION_LONG_SECTION_NAMES and parse arg.
720 * doc/binutils.texi: Update objcopy documentation with details
723 2009-04-01 Dave Korn <dave.korn.cygwin@gmail.com>
725 * dlltool.c (set_dll_name_from_def): Accept new second arg that
726 indicates if we are building DLL or EXE, and use it to add a
727 default suffix to the output filename when none is already present.
728 (def_name): Indicate we are building an EXE when calling it.
729 (def_library): Indicate we are building a DLL when calling it.
731 2009-04-01 Jari Aalto <jari.aalto@cante.net>
734 * doc/binutils.texi (strings): Document the -V alias for the
736 * strings.c (usage): Likewise.
738 2009-03-31 Nick Clifton <nickc@redhat.com>
741 * configure.in: Import Solaris specific largefile test from
743 * configure: Regenerate.
745 2009-03-30 Richard Sandiford <rdsandiford@googlemail.com>
747 * MAINTAINERS: Add self.
749 2009-03-27 Nick Clifton <nickc@redhat.com>
751 * dwarf.c (display_debug_ranges): Add the base address to the
752 displayed values for 'Begin' and 'End'.
754 2009-03-25 Ryan Mansfield <rmansfield@qnx.com>
756 * readelf.c (process_file_header): Don't report a corrupt string
757 table index if it is zero.
759 2009-03-19 H.J. Lu <hongjiu.lu@intel.com>
761 * dwarf.c (dwarf_regnames): Moved before frame_need_space.
762 (dwarf_regnames_count): Likewise.
763 (frame_need_space): Return int.
764 (display_debug_frames): Check invalid registers.
766 2009-03-19 H.J. Lu <hongjiu.lu@intel.com>
768 * readelf.c (debug_apply_relocations): Check relocations
769 against STT_SECTION symbol.
771 2009-03-18 H.J. Lu <hongjiu.lu@intel.com>
773 * readelf.c (debug_apply_relocations): Allow relocations
774 against function symbols.
776 2009-03-18 Alan Modra <amodra@bigpond.net.au>
778 * sysdep.h: Include alloca-conf.h instead of config.h and remove
779 existing #if's handling alloca.
780 * Makefile.am: Run "make dep-am".
781 * Makefile.in: Regenerate.
783 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
785 * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
786 * configure.in: Likewise.
787 * configure: Regenerate.
789 2009-03-13 H.J. Lu <hongjiu.lu@intel.com>
792 * objcopy.c (copy_object): Clear HAS_RELOC when stripping all.
794 2009-03-11 Chris Demetriou <cgd@google.com>
796 * ar.c (deterministic): New global variable.
797 (main): Recognize new 'D' option, which enables 'deterministic mode'.
798 (usage): Document new 'D' option.
799 (write_archive): Set BFD_DETERMINISTIC_OUTPUT in output archive's
800 flags if deterministic mode was requested.
801 * doc/binutils.texi (ar): Document deterministic mode ('D' option).
803 2009-03-09 H.J. Lu <hongjiu.lu@intel.com>
806 * objcopy.c (filter_symbols): Properly handle common symbols
809 2009-03-06 Nick Clifton <nickc@redhat.com>
811 * po/es.po: Updated Spanish translation.
813 2009-03-05 Nick Clifton <nickc@redhat.com>
815 * objdump.c (disassemble_section): If the computed next offset is
816 not beyond the current offset then just continue to the end.
818 2009-03-04 Tristan Gingold <gingold@adacore.com>
820 * MAINTAINERS: Add myself as VMS maintainer.
822 2009-03-03 Nick Clifton <nickc@redhat.com>
824 * readelf.c: Update formatting.
826 2009-03-03 Alan Modra <amodra@bigpond.net.au>
828 * Makefile.am: Run "make dep-am".
829 * Makefile.in: Regenerate.
831 2009-03-03 Alan Modra <amodra@bigpond.net.au>
833 * objdump.c (disassemble_section): Mask address before sign extending.
835 2009-03-02 Sebastian Biallas <sb@biallas.net>
837 * ieee.c (parse_ieee_ty): Add support for undocumented 'v' type.
838 (parse_ieee_bb): Set the filename if it has not already been
841 2009-03-02 Cary Coutant <ccoutant@google.com>
843 * readelf.c (adjust_relative_path): New function.
844 (struct archive_info): New type.
845 (setup_archive): New function.
846 (release_archive): New function.
847 (setup_nested_archive): New function.
848 (get_archive_member_name): New function.
849 (get_archive_member_name_at): New function.
850 (make_qualified_name): New function.
851 (process_archive): Factor out code for reading archive index and
852 long filename table to setup_archive. Add support for thin archives.
854 2009-03-02 Nick Clifton <nickc@redhat.com>
856 * po/sk.po: Updated Slovak translation.
858 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
860 * configure: Regenerate.
862 2009-02-23 Cary Coutant <ccoutant@google.com>
864 * objdump.c (load_specific_debug_section): New function, from
866 (load_debug_section): Use load_specific_debug_section.
867 (dump_dwarf_section): Likewise.
869 2009-02-23 Cary Coutant <ccoutant@google.com>
871 * readelf.c (parse_args): Select all sections explicitly for -w.
873 2009-02-09 Kai Tietz <kai.tietz@onevision.com>
875 * windres.c (set_endianess): Copy name without leading '-'.
877 2009-02-09 Tristan Gingold <gingold@adacore.com>
879 * NEWS: Mention feature match between objdump and readelf for dumping
882 * doc/binutils.texi (objdump): Document -W/--dwarf improvments to
885 * objdump.c (usage): Update documentation for -W/--dwarf.
886 (enum option_values): Add OPTION_DWARF.
887 (long_options): --dwarf can accept arguments.
888 (dump_dwarf_section): Also check enabled field.
889 (main): Option -W can accept arguments, code moved to
890 dwarf.c and call dwarf_select_sections_all instead.
891 * readelf.c (process_section_headers): Remove do_debug_lines_decoded.
892 (parse_args): Move code to...
893 * dwarf.c (dwarf_select_sections_by_letters,
894 dwarf_select_sections_by_names): : ...here (new functions).
895 (do_debug_lines_decoded): Remove and replaced by ...
896 (FLAG_DEBUG_LINES_RAW, FLAG_DEBUG_LINES_DECODED): ... new macros.
897 (display_debug_lines): Adjust for previous change.
898 (dwarf_select_sections_all): New function.
899 (debug_displays): Add initializer for enabled field.
900 * dwarf.h (do_debug_lines_decoded): Remove.
901 Add prototypes for the new functions.
902 (struct dwarf_section_display): Add enabled field.
904 2009-02-06 Nick Clifton <nickc@redhat.com>
906 * po/vi.po: Updated Vietnamese translation.
908 2009-02-03 Sandip Matte <sandip@rmicorp.com>
910 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_XLR.
912 2009-02-03 H.J. Lu <hongjiu.lu@intel.com>
914 * NEWS: Move --as-needed change to ...
917 2009-02-03 Carlos O'Donell <carlos@codesourcery.com>
919 * configure.in: AC_SUBST pdfdir.
920 * Makefile.am: Add install-pdf, install-pdf-am,
921 and install-pdf-recursive targets.
922 * doc/Makefile.am: Define pdf__strip_dir. Add
923 install-pdf and install-pdf-am targets.
924 * po/Make-in: Add install-pdf target.
925 * configure: Regenerate.
926 * Makefile.in: Regenerate.
927 * doc/Makefile.in: Regenerate.
929 2009-02-03 H.J. Lu <hongjiu.lu@intel.com>
932 * NEWS: Mention --prefix=PREFIX and --prefix-strip=LEVEL.
934 * doc/binutils.texi: Document --prefix=PREFIX and
935 --prefix-strip=LEVEL.
937 * objdump.c: Include "filenames.h".
939 (prefix_strip): Likewise.
940 (prefix_length): Likewise.
941 (usage): Add --prefix=PREFIX and --prefix-strip=LEVEL.
942 (option_values): Add OPTION_PREFIX and OPTION_PREFIX_STRIP.
943 (long_options): Likewise.
944 (show_line): Handle prefix and prefix_strip.
945 (main): Handle OPTION_PREFIX and OPTION_PREFIX_STRIP.
947 * readelf.c (PATH_MAX): Moved to ...
950 2009-01-31 Alan Modra <amodra@bigpond.net.au>
952 * NEWS: Mention --as-needed change.
954 2009-01-29 Alan Modra <amodra@bigpond.net.au>
957 * bucomm.c (bfd_nonfatal_message): Use bfd_get_archive_filename.
958 (bfd_get_archive_filename): Constify param.
959 * bucomm.h (bfd_get_archive_filename): Update prototype.
960 * objcopy.c (RETURN_NONFATAL): Delete.
961 (copy_unknown_object): Don't call bfd_get_archive_filename for
962 bfd_nonfatal_message filename, instead just pass bfd.
963 (copy_object): Likewise.
964 (copy_archive, copy_file): Likewise. Expand RETURN_NONFATAL. On
965 bfd_close errors, do not pass the bfd to bfd_nonfatal_message.
966 (setup_bfd_headers): Fix error message.
968 2009-01-27 Nick Clifton <nickc@redhat.com>
971 * objdump.c (disassemble_section): When the target uses signed
972 addresses make sure that we compute signed values.
974 2009-01-27 Nick Clifton <nickc@redhat.com>
976 * MAINTAINERS: Remove Thiemo Seufer's name from the list of MIPS
979 2009-01-26 Nick Clifton <nickc@redhat.com>
982 * dlltool.c (xlate): When strip text after the @ sign, look for
983 the last one not the first one.
985 2009-01-16 Alan Modra <amodra@bigpond.net.au>
987 * configure.in (commonbfdlib): Delete.
988 * configure: Regenerate.
990 2008-01-14 Charles Wilson <cygwin@cwilson.fastmail.fm>
992 Cleanup code related to --identify option.
994 * dlltool.c (file scope): Removed globals identify_ms,
995 identify_member_contains_symname_result,
996 identify_dll_name_list_head, and identify_dll_name_list_tail.
997 Renamed existing typedef dll_name_list_type to
998 dll_name_list_node_type.
999 Added new typedefs dll_name_list_type, symname_search_data_type,
1000 and identify_data_type.
1001 (identify_append_dll_name_to_list): Renamed to...
1002 (dll_name_list_append): ...here. Changed signature to accept list
1003 argument rather than use global.
1004 (identify_count_dll_name_list): Renamed to...
1005 (dll_name_list_count): ...here. Changed signature to accept list
1006 argument rather than use global.
1007 (identify_print_dll_name_list): Renamed to...
1008 (dll_name_list_print): ...here. Changed signature to accept list
1009 argument rather than use global.
1010 (identify_free_dll_name_list): Renamed to...
1011 (dll_name_list_free_contents): ...here.
1012 (dll_name_list_free): New function.
1013 (dll_name_list_create): New function.
1014 (identify_process_section_p): Changed signature to accept
1015 ms_style_implib argument rather than use global.
1016 (identify_member_contains_symname): Expect incoming void * data to
1017 be symname_search_data_type.
1018 (identify_dll_for_implib): Use new functions dll_name_list_create
1019 and dll_name_list_free. Use new types symname_search_data_type
1020 and identify_data_type to communicate with search routines.
1021 (identify_search_section): Expect incoming void * data to be
1022 identify_data_type. Use its contents rather than global
1025 2009-01-13 Charles Wilson <cygwin@cwilson.fastmail.fm>
1027 Add --identify-strict option. Handle ms-style implibs:
1029 * dlltool.c (file scope): Added new globals identify_ms and
1030 identify_strict. New typedef dll_name_list_type, and globals
1031 identify_dll_name_list_head and identify_dll_name_list_tail. Added
1032 new global identify_member_contains_symname_result.
1033 (identify_append_dll_name_to_list): New function.
1034 (identify_count_dll_name_list): New function.
1035 (identify_print_dll_name_list): New function.
1036 (identify_free_dll_name_list): New function.
1037 (identify_search_archive): Changed signature to take function
1038 pointer to operation to apply to each member, and data to pass on
1040 (identify_search_member): Changed signature to accept user data
1042 (identify_member_contains_symname): New function.
1043 (identify_dll_for_implib): Rewrite. Now determines whether implib
1044 is ms- or binutils- style, before searching sections for
1045 dllname. Allows multiple dllnames.
1046 (identify_process_section_p): Search alternate section for dllname
1047 when implib is ms-style.
1048 (identify_search_section): Add additional conditions to excludes
1049 candidate sections from consideration.
1050 (usage): Added --identify-strict.
1051 (long_options): Added --identify-strict.
1052 (main): Handle --identify-strict option.
1053 * doc/binutils.texi: Document --identify-strict option.
1054 * NEWS: Document --identify and --identify-strict options.
1056 2009-01-13 Alan Modra <amodra@bigpond.net.au>
1059 * doc/binutils.texi (objdump -R): Note effect of -d or -D.
1061 2009-01-13 Alan Modra <amodra@bigpond.net.au>
1063 * objdump.c (disassemble_section): Don't assume non-instruction
1064 data if object symbol at given address is in different section.
1066 2009-01-12 Kai Tietz <kai.tietz@onevision.com>
1068 * dlltool.c (create_for_pep): New.
1069 (flush_page): Use create_for_pep instead of using
1070 macro DLLTOOL_MX86_64 clause.
1071 (generate_idata_ofile): Likewise.
1072 (make_one_lib_file): Likewise.
1073 (make_head): Likewise.
1074 (make_tail): Likewise.
1075 (main): Initialize create_for_pep.
1077 2009-01-08 Kai Tietz <kai.tietz@onevision.com>
1079 * dlltool.c (use_nul_prefixed_import_tables): New.
1080 (make_head): Make prefix leading zero prefix element for
1081 idata$4 and idata$5 dependent to new flag.
1082 (usage): Add new option --use-nul-prefixed-import-tables.
1083 (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
1084 (long_options): Add --use-nul-prefixed-import-tables.
1086 * doc/binutils.texi: Add new option documentation for
1087 --use-nul-prefixed-import-tables.
1088 * NEWS: Add new option.
1090 2009-01-06 Kai Tietz <kai.tietz@onevision.com>
1092 * windres.c (set_endianess): Get architecture name
1093 for internal target names like "pe-arm-wince-little".
1094 (find_arch_match): New helper.
1095 * ChangeLog: Reset it.
1096 * ChangeLog-2008: Moved old ChangeLog.
1098 For older changes see ChangeLog-2008
1104 version-control: never