1 2009-11-05 Kai Tietz <kai.tietz@onevision.com>
3 * dllwrap.c (is_leading_underscore): New variable.
4 (cpu_type): New enum type.
5 (which_cpu): New variable.
6 (usage): Add new options --no-leading-underscore
7 and --leading-underscore.
8 (long_options): Likewise.
9 (OPTION_NO_LEADING_UNDERSCORE): New define.
10 (OPTION_LEADING_UNDERSCORE): Likewise.
11 (main): Initialize which_host, pass new options
12 to dlltool, do underscoring dependent on
13 is_leading_underscore, and do '@12' decoration
16 2009-11-02 Paul Brook <paul@codesourcery.com>
18 * readelf.c (arm_attr_tag_VFP_arch): Add VFPv4 and VFPv4-D16.
20 2009-10-28 Kai Tietz <kai.tietz@onevision.com>
22 * dlltool.c (leading_underscore): New local variable.
23 (asm_prefix): Interpret leading_underscore.
25 (add_excludes): Use leading_underscore for making
27 (gen_exp_file): Use leading_underscore for internal
29 (usage): Add display of --no-leading-underscore and
30 --leading-underscore option.
31 (OPTION_NO_LEADING_UNDERSCORE): New.
32 (OPTION_LEADING_UNDERSCORE): New.
33 (long_options): Add --no-leading-underscore and
34 --leading-underscore option.
35 (main): Handle new options.
36 * doc/binutils.text: Add documentation of the options
37 --no-leading-underscore and --leading-underscore.
39 2009-10-23 Kai Tietz <kai.tietz@onevision.com>
41 * deflex.l: Allow '<' and '>' in ID names.
43 * defparse.y (EQUAL): New token constant.
44 (opt_import_name): New rule for emptry or '==' ID.
45 (expline): Add opt_import_name as last line element.
47 * dlltool.c (ifunct): New member its_name.
49 (append_import): Add its_name argument.
50 (defexports): Likewise.
51 (defimport): Likewise.
52 (scan_drectve_symbols): Adjust calls to def_exports.
53 (dump_def_info): Print new optinal import/export table
55 (generate_idata_ofile): Use its_name member.
56 (make_one_lib_file): Likewise.
57 (nfunc): Take its_name in account on sort.
58 * dlltool.h (def_exports): Add its_name as argument.
59 (def_import): Likewise.
60 * doc/binutils.texi: Add new def file syntax extension.
61 * deflex.l (EQUAL): Add rule for '=='.
62 * NEWS: Mention new feature.
64 2009-10-23 Thomas Cougnard <thomas.cougnard@gmail.com>
66 * readelf.c (dynamic_info): Correct size of array.
68 2009-10-21 Ben Elliston <bje@gnu.org>
70 * MAINTAINERS (BUILD SYSTEM, TESTSUITES): Remove myself.
72 2009-10-19 Jerker Bäck <jerker.back@gmail.com>
75 * prdbg.c (tg_end_struct_type): Warning fix.
78 * dlltool.c (dll_name_list_append): Declare variable at start
80 (dll_name_list_count, dll_name-list_print): Likewise.
82 2009-10-16 Doug Evans <dje@sebabeach.org>
84 * MAINTAINERS: Add myself as m32r maintainer.
86 2009-10-16 Jerker Bäck <jerker.back@gmail.com>
89 * Makefile.am (sysinfo.o, syslex.o): Place source file after all
90 command line switches.
91 * Makefile.in: Regenerate.
93 2009-10-16 Yann Droneaud <yann@droneaud.fr>
96 * dlltool.c (bfd_get_errmsg): New macro.
97 (scan_obj_file): Use it.
98 (make_one_lib_file): Use it.
100 (make_delay_head): Use it.
102 (gen_lib_file): Use it.
103 (identify_dll_for_implib): Use it.
104 (identify_search_archive): Use it.
106 2009-10-16 Nick Clifton <nickc@redhat.com>
108 * readelf.c (usage): Add mention of --debug-dump=frames-interp.
109 Wrap output to 80 columns.
110 * objdump.c (usage): Likewise.
111 * doc/binutils.texi (readelf): Add note about =frames-interp.
113 2009-10-01 Alan Modra <amodra@bigpond.net.au>
115 * addr2line.c (slurp_symtab): Don't use bfd_read_minisymbols.
117 2009-09-29 Nick Clifton <nickc@redhat.com>
119 * doc/binutils.texi (c++filt): Remove spurious description of
120 nonexistent --java command line switch for cxxfilt.
122 2009-09-29 DJ Delorie <dj@redhat.com>
124 * readelf.c: Add support for RX target.
125 * MAINTAINERS: Add DJ and NickC as maintainers for RX.
127 2009-09-28 Alan Modra <amodra@bigpond.net.au>
129 * configure.in: Don't invoke configure.tgt on $enable_targets.
130 * configure: Regenerate.
132 2009-09-28 Nick Clifton <nickc@redhat.com>
135 * readelf.c (get_elf_section_flags): Allow SHN_BEFORE and
136 SHN_AFTER section link values in x86 binaries.
137 (process_section_headers): Likewise.
139 2009-09-25 Dimitry Gorbachev <d.g.gorbachev@gmail.com>
142 * readelf.c: Remove duplicate declaration of variable do_wide.
143 * dwarf.h: Add export of do_wide.
145 2009-09-24 Cary Coutant <ccoutant@google.com>
147 * dwarf.c (get_TAG_name): Add missing DWARF-3 and new DWARF-4 tags.
148 (get_FORM_name): Add new DWARF-4 forms.
149 (read_and_display_attr_value): Add DW_FORM_ref_sig8, DW_LANG_Python.
150 (get_AT_name): Add new DWARF-4 and GNU-specific attributes.
151 (process_debug_info): Add do_types parameter; change all callers.
152 Add support for .debug_types sections.
153 (display_debug_types): New function.
154 (debug_displays): Add .debug_types section.
155 * readelf.c (process_section_headers): Add .debug_types section.
156 (display_debug_section): Simplify call to streq.
158 2009-09-25 Alan Modra <amodra@bigpond.net.au>
160 * readelf.c (print_dynamic_symbol): Format entries as for
162 (process_symbol_table): Use -7s format string for visibility.
164 2009-09-22 Richard Sandiford <rdsandiford@googlemail.com>
166 * objdump.c (disassemble_section): Use bfd_get_arch_size
167 instead of assuming that the address size is 32 bits.
169 2009-09-21 Alan Modra <amodra@bigpond.net.au>
171 * readelf.c (get_ppc_dynamic_type): Add TLSOPT.
172 (get_ppc64_dynamic_type): Likewise.
174 2009-09-18 Nick Clifton <nickc@redhat.com>
176 * po/es.po: Updated Spanish translation.
177 * po/vi.po: Updated Vietnamese translation.
179 2009-09-11 Paul Pluzhnikov <ppluzhnikov@google.com>
181 * readelf.c (process_version_sections, process_symbol_table):
182 Use symbolic constants.
184 2009-09-11 Nick Clifton <nickc@redhat.com>
186 * po/binutils.pot: Updated by the Translation project.
188 2009-09-11 Philippe De Muyter <phdm@macqel.be>
190 * obcopy.c (copy_object): New parameter `input_arch', architecture
191 of input file, if not specified in input file itself; all callers
192 updated; `binary_architecture' hack removed.
193 (copy_archive, copy_file): New parameter `input_arch', for
195 (copy_main): Accept `-B' (`--binary-architecture') option also
196 for any arch-less input ifile format, not only `binary'; remove
197 bfd_external_binary_architecture hack; instead, add `input_arch'
198 to calls to `copy_file'.
199 * windres.c, windmc.c : Obsolete and useless external references
200 to `bfd_external_binary_architecture' or `bfd_external_machine'
202 * doc/binutils.texi: Mention that -B parameter can be used for any
203 input file type which does not have its own architecture.
205 2009-09-10 Martin Thuresson <martin@mtme.org>
207 Update sources to compile cleanly with -Wc++-compat:
208 * addr2line.c (slurp_symtab): Fix casts. Introduce variable
209 minisyms to avoid aliasing varning.
211 (normalize): Use name del instead of delete.
212 (display_target_list,display_info_table): Change loop counter
214 * bucomm.c: Add casts.
215 * debug.c: Update function to use new names.
216 (struct debug_baseclass): Rename member from virtual to
218 (struct debug_type_s, struct debug_field_s, struct
219 debug_baseclass_s, struct debug_method_s, struct
220 debug_method_variant_s, struct debug_type_s): Rename struct from
221 avoid name collision.
222 * debug.h: Use new struct names.
223 * dwarf.c: Add casts.
224 (free_debug_memory): Change loop counter variable a to int.
226 (enum ieee_var_kind): Move to top level.
227 (ieee_class_baseclass): Rename parameter virtual to is_virtual.
228 (ieee_class_method_var): Rename variable virtual to is_virtual.
230 * objcopy.c: Add casts.
231 (copy_archive): Rename variable delete to del.
232 * objdump.c: Add casts.
233 (dump_dwarf_section): Change loop counter variable i to int.
234 * prdbg.c: Add casts.
235 (pr_class_baseclass,tg_class_baseclass): Rename parameters virtual
237 * readelf.c: Add casts.
238 (struct ia64_unw_table_entry,struct hppa_unw_table_entry): Move to
241 * stabs.c (parse_stab_type, parse_stab_range_type,
242 (parse_stab_cpp_abbrev): Rename parameter from typename to
244 (parse_stab_baseclasses): Rename variable virtual to is_virtual.
245 * strings.c: Add casts.
246 * wrstabs.c (stab_class_baseclass): Rename parameter virtual to
249 2009-09-09 Nick Clifton <nickc@redhat.com>
252 readelf.c (get_elf_section_flags): Add support for SHF_EXCLUDE and
254 (process_section_headers): Warn about out of range sh_link
255 values. When displaying detailed section header information
256 annote the SHN_BEFORE and SHN_AFTER values.
258 2009-09-08 Alan Modra <amodra@bigpond.net.au>
260 * dwarf.c (byte_get_little_endian): Handle size of 3.
261 (byte_get_big_endian): Likewise.
262 * readelf.c (byte_put_little_endian): Likewise.
263 (byte_put_big_endian): Likewise.
264 (is_24bit_abs_reloc): New function.
265 (is_none_reloc): Formatting.
266 (apply_relocations): Use is_24bit_abs_reloc. Handle pj and xtensa
269 2009-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
271 * readelf.c (is_none_reloc <EM_XTENSA_OLD>, is_none_reloc <EM_XTENSA>):
274 2009-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
276 * dwarf.c (process_debug_info): Support section padding abbrev codes.
278 2009-09-07 Tristan Gingold <gingold@adacore.com>
280 * po/binutils.pot: Regenerate.
282 2009-09-05 Jan Kratochvil <jan.kratochvil@redhat.com>
284 * Makefile.am (sysdump.o): Depend on sysroff.c.
285 * Makefile.in: Regenerate.
287 2009-09-05 Martin Thuresson <martin@mtme.org>
289 * ieee.c (ieee_read_cxx_misc, ieee_read_cxx_class,
290 ieee_read_reference): Rename variables named class to cxxclass.
292 2009-09-04 Tristan Gingold <gingold@adacore.com>
294 * BRANCHES: Add binutils-2_20-branch.
296 2009-09-04 Tristan Gingold <gingold@adacore.com>
298 * NEWS: Add marker for 2.20.
300 2009-09-04 Timo Kreuzer <timo.kreuzer@web.de>
302 * dlltool.c (delayimp_name): Add new global variable
303 (usage, long_options, main): Add new option "-y" / "--output-delaylib"
304 (struct mac): Add fields how_dljtab_size, how_dljtab_roff1,
305 how_dljtab_roff2, how_dljtab, trampoline.
306 (i386_dljtab): Add binary stub for x86 delay import.
307 (i386_trampoline): Add text assembly stub for x86 delay import.
308 (mtable): Add delay import data for M386 and MX86 only.
309 (make_delay_head): New function.
310 (make_one_lib_file): New arg delay creates delay-load import stub.
311 (gen_lib_file): New arg delay likewise.
312 (HOW_JTAB, HOW_JTAB_SIZE, HOW_JTAB_ROFF): New arg delay likewise.
313 (HOW_JTAB_ROFF2, HOW_JTAB_ROFF3): New macros for delay import.
314 (make_tail): Convert hard TABS embedded in strings to "\t" escapes.
315 * NEWS: Mention new feature. Also fix whitespace.
316 * doc/binutils.texi: Updated dlltool documentation.
318 2009-09-02 Tristan Gingold <gingold@adacore.com>
320 * configure.com: Do not copy makefile.vms-in to makefile.vms
321 * makefile.vms-in: Renamed to...
322 * makefile.vms: ... this usual name as it is not processed anymore.
323 Remove WRITE_DEBUG_OBJS (unused) and reorder object files for
326 2009-09-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
328 * Makefile.am (arparse.o, arlex.o, sysroff.o, defparse.o)
329 (deflex.o, nlmheaders.o, rcparse.o, mcparse.o): Supply correct
330 source file name for generated files which may be in $(srcdir).
331 * Makefile.in: Regenerate.
333 2009-09-01 H.J. Lu <hongjiu.lu@intel.com>
335 * version.c (print_version): Change to "Copyright 2009".
337 2009-09-01 Tristan Gingold <gingold@adacore.com>
339 * makefile.vms-in: Remove unused VERSION variable. Remove unused
341 * configure.com: Ported to Itanium VMS. Create build.com DCL script.
343 2009-08-29 Martin Thuresson <martin@mtme.org>
345 * nlmconv.c (main): Rename variable new to new_name.
347 2009-08-28 H.J. Lu <hongjiu.lu@intel.com>
349 * Makefile.am (sysinfo$(EXEEXT_FOR_BUILD)): Replace
350 CFLAGS/LDFLAGS with CFLAGS_FOR_BUILD/LDFLAGS_FOR_BUILD.
351 (syslex.o): Likewise.
352 (sysinfo.o): Likewise.
353 (bin2c$(EXEEXT_FOR_BUILD)): Likewise.
354 * Makefile.in: Regenerated.
356 2009-08-27 Dave Korn <dave.korn.cygwin@gmail.com>
358 * doc/binutils.texi (--only-keep-debug): Relocate stray para here ...
359 (--subsystem): ... from here.
361 2009-08-24 Cary Coutant <ccoutant@google.com>
363 * objdump.c (find_symbol_for_address): Avoid costly call to
366 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
368 * Makefile.am (am__skiplex, am__skipyacc): New.
369 * Makefile.in: Regenerate.
371 2009-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
373 * Makefile.am (syslex.o): Depend on sysinfo.h config.h.
374 * Makefile.in: Regenerate.
376 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
378 * Makefile.am (AM_CPPFLAGS): Renamed from ...
379 (INCLUDES): ... this.
380 (bin2c$(EXEEXT_FOR_BUILD): Adjust rule.
381 (installcheck-local): Renamed from ...
382 (installcheck): ... this.
383 * Makefile.in: Regenerate.
385 * Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add no-dist and
387 (MKDEP, CLEANFILES): Remove now-unneeded variables.
388 (DEP, DEP1, dep.sed, dep, dep-in, dep-am): Remove.
389 (mkdep section): Remove.
390 (BUILT_SOURCES): New variable, list $(GENERATED_HFILES).
391 (EXTRA_ar_SOURCES): New, list $(CFILES).
392 (syslex.o): Depend on syslex.c.
393 (sysinfo.o): Depend on sysinfo.c.
394 (arparse.h, defparse.h, nlmheaders.h rcparse.h mcparse.h):
395 Remove dependencies, now tracked by automake.
396 (srconv.o): Depend on sysroff.c.
397 (objdump.o, arparse.o, arlex.o, sysroff.o, defparse.o, deflex.o)
398 (nlmheader.o, rcparse.o, mcparse.o, rclex.o, mclex.o, dlltool.o)
399 (rescoff.o, nlmconv.o): Rewrite using automake-style dependency
400 tracking rules; only list the dependency upon the primary source
401 file, but no included headers.
402 * Makefile.in: Regenerate.
404 * Makefile.am (install-pdf, install-pdf-recursive, install-html)
405 (install-html-recursive): Remove.
406 * Makefile.in: Regenerate.
407 * doc/Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
408 (html__strip_dir, install-html, install-html-am): Remove.
409 * doc/Makefile.in: Regenerate.
411 * Makefile.in: Regenerate.
412 * aclocal.m4: Likewise.
413 * config.in: Likewise.
414 * configure: Likewise.
415 * doc/Makefile.in: Likewise.
417 2009-08-17 Nick Clifton <nickc@redhat.com>
419 * readelf.c (is_32bit_abs_reloc): Treat R_PARISC_SECREL32 as a
420 32-bit absolute reloc for the purposes of processing debug
423 2009-08-10 Daniel Gutson <dgutson@codesourcery.com>
425 * readelf.c (get_arm_section_type_name): Added support for
426 new sections headers.
428 2009-08-03 H.J. Lu <hongjiu.lu@intel.com>
431 * objcopy.c (strip_main): Check return from smart_rename.
432 (copy_main): Likewise.
434 2009-07-27 Nick Clifton <nickc@redhat.com>
437 * objdump.c (dump_section_header): Skip sections that we are
440 2009-07-25 H.J. Lu <hongjiu.lu@intel.com>
442 * readelf.c (guess_is_rela): Handle EM_L1OM.
443 (dump_relocations): Likewise.
444 (get_machine_name): Likewise.
445 (get_section_type_name): Likewise.
446 (get_elf_section_flags): Likewise.
447 (get_symbol_index_type): Likewise.
448 (is_32bit_abs_reloc): Likewise.
449 (is_32bit_pcrel_reloc): Likewise.
450 (is_64bit_abs_reloc): Likewise.
451 (is_64bit_pcrel_reloc): Likewise.
452 (is_none_reloc): Likewise.
454 2009-07-23 Ulrich Drepper <drepper@redhat.com>
456 * readelf.c (get_symbol_binding): For Linux targeted files return
457 UNIQUE for symbols with the STB_GNU_UNIQUE binding.
458 * doc/binutils.texi: Document the meaning of the 'u' symbol
459 binding in the output of nm and objdump --syms.
461 2009-07-20 H.J. Lu <hongjiu.lu@intel.com>
463 * NEWS: Mention --insn-width.
465 * objdump.c (insn_width): New.
466 (usage): Display --insn-width.
467 (option_values): Add OPTION_INSN_WIDTH.
468 (long_options): Add --insn-width.
469 (disassemble_bytes): Handle insn_width.
470 (main): Handle OPTION_INSN_WIDTH.
472 * doc/binutils.texi: Document --insn-width.
474 2009-07-17 Nick Clifton <nickc@redhat.com>
476 * dwarf.c (display_debug_lines): If do_debug_lines has not been
477 set then default to displaying raw .debug_line section contents.
479 2009-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
481 Support unordered .debug_info references to .debug_ranges.
482 * dwarf.c (struct range_entry, range_entry_compar): New.
483 (display_debug_ranges): Remove variables last_offset, first, j,
484 seen_first_offset, use_debug_info and next. New variables
485 range_entries and range_entry_fill. Create the sorted copy
486 range_entries. Remove the FIXME error on detected unordered references.
487 * dwarf.h (debug_info <range_lists>): New comment.
489 2009-07-14 Nick Clifton <nickc@redhat.com>
492 * README: Document use of LDFLAGS="--static".
494 2009-07-10 H.J. Lu <hongjiu.lu@intel.com>
496 * Makefile.am: Run "make dep-am".
497 * Makefile.in: Regenerated.
499 2009-07-10 Tom Tromey <tromey@redhat.com>
501 * Makefile.am (dwarf.o): Refer to dwarf2.h, not elf/dwarf2.h.
502 * Makefile.in: Rebuild.
503 * dwarf.c: Include dwarf2.h, not elf/dwarf2.h.
505 2009-07-06 Tristan Gingold <gingold@adacore.com>
507 * objdump.c (dump_dwarf_section): Handle .eh_frame like other dwarf
509 * dwarf.h (struct dwarf_section_display): Remove eh_frame field.
510 * dwarf.c (debug_displays): Adjust for removed field.
512 2009-07-03 Jakub Jelinek <jakub@redhat.com>
514 * dwarf.c (decode_location_expression): Handle DW_OP_stack_value
515 and DW_OP_implicit_value.
517 2009-07-01 Nick Clifton <nickc@redhat.com>
520 * rclex.c (handle_quotes): Do not complain about whitespace
521 separating quoted strings.
522 (rclex_string): Ignore whitespace when looking for a new opening
523 quote following a closing quote.
525 2009-06-27 H.J. Lu <hongjiu.lu@intel.com>
528 * bucomm.c (get_file_size): Return -1 on error.
530 * objcopy.c (copy_file): Report empty file.
532 2009-06-23 Nick Clifton <nickc@redhat.com>
534 * dwarf.c (display_debug_lines_raw): Include the name of the
535 section in warning message.
536 (struct debug_display): Enable reloc processing for .debug_line
537 and .debug_ranges sections.
539 * readelf.c: Add --relocated-dump command line option to dump the
540 relocated contents of a specified section.
541 (request_dump): New function.
542 (parse_args): Use it.
543 (dump_section_as_bytes): Add parameter to indicate whether the
544 contents should be relocated.
545 (target_specific_reloc_handling): Add code for a R_MN10300_16
546 reloc found after a R_MN10300_SYM_DIFF reloc.
547 (debug_apply_relocations): Rename to apply_relocations.
548 (get_section_contents): New function. Replaces common code found
549 in dump_section_as_strings and dump_section_as_bytes.
550 * doc/binutils.texi: Document new command line option.
551 * NEWS: Mention the new feature.
553 2009-06-22 Nick Clifton <nickc@redhat.com>
555 * readelf.c (target_specific_reloc_handling): New function:
556 Processes relocs in a target specific manner.
557 (debug_apply_relocations): Use the new function.
558 * dwarf.c (display_debug_loc): End the dump with a blank line.
559 (struct debug_display): Enable reloc processing for .debug_aranges
560 and .debug_loc sections.
562 2009-06-19 Nick Clifton <nickc@redhat.com>
564 * ar.c (usage): Do not use #ifdef inside _("...).
565 * nm.c (usage): Likewise.
567 2009-06-18 Nick Clifton <nickc@redhat.com>
570 * objdump.c (disassemble_bytes): Set the
571 USER_SPECIFIED_MACHINE_TYPE flag in the disassemble_info structure
572 if the user has invoked the -m switch.
573 * doc/binutils.texi: Document the additional behaviour of
574 objdump's -m switch for ARM targets.
576 2009-06-18 Dave Korn <dave.korn.cygwin@gmail.com>
578 * configure.in: Merge cegcc and mingw32ce target name changes from
581 2007-12-25 Pedro Alves <pedro_alves@portugalmail.pt>
583 * configure.in: Add arm*-*-cegcc* and arm*-*-mingw32ce* targets.
584 * configure: Regenerate.
586 2009-06-15 Nick Clifton <nickc@redhat.com>
589 * objdump.c (disassemble_bytes): Set the DISASSEMBLE_DATA bit in
590 the flags field of the disassemble_info structure if the -D switch
593 2009-06-12 Homer Xing <homer.xing@yahoo.com>
595 * NEWS: Mention new feature added to gprof.
597 2009-06-12 John Reiser <jreiser@BitWagon.com>
599 * readelf.c (process_symbol_table): Set gnubuckets to NULL after
600 freeing it and before returning.
602 2009-06-12 Jakub Jelinek <jakub@redhat.com>
604 * readelf.c (process_symbol_table): Don't return early if
605 .hash/.gnu.hash is empty/unusable and not -D.
607 2009-06-09 Tom Bramer <tjb@postpro.net>
610 * winduni.c (wind_MultiByteToWideChar): Do not pass MB_PRECOMPOSED
611 to MultiByteToWideChar when using the CP_UTF8 or CO_UTF7 types.
613 2009-06-04 Alan Modra <amodra@bigpond.net.au>
615 * strings.c (main): Delay parsing of decimal digits.
617 2009-06-04 Alan Modra <amodra@bigpond.net.au>
619 * dep-in.sed: Don't use \n in replacement part of s command.
620 * Makefile.am (DEP1): LC_ALL for uniq.
622 * Makefile.in: Regenerate.
624 2009-06-03 Tristan Gingold <gingold@adacore.com>
626 * MAINTAINERS: Add myself as Mach-O maintainer.
628 2009-06-01 Alan Modra <amodra@bigpond.net.au>
631 * doc/binutils.texi (nm): Correct -S description.
633 2009-05-28 Nick Clifton <nickc@redhat.com>
635 * po/da.po: Updated Danish translation.
637 2009-05-28 Nick Clifton <nickc@redhat.com>
639 * readelf.c (display_debug_section): Do not display debug sections
640 with the NOBITS section type.
642 2009-05-27 Rafael Avila de Espindola <espindola@google.com>
644 * aclocal.m4: Include ../config/plugins.m4.
645 * configure.in: Use AC_PLUGINS.
646 * configure: Regenerate.
647 * Makefile.in: Regenerate.
648 * doc/Makefile.in: Regenerate.
650 2009-05-27 Rafael Avila de Espindola <espindola@google.com>
652 * ar.c (main): Call bfd_plugin_set_program_name.
653 * nm.c (main): Call bfd_plugin_set_program_name.
655 2009-05-27 Nathan Sidwell <nathan@codesourcery.com>
657 * sysdump.c (tab): Use puts rather than two printfs.
659 2009-05-26 Nick Clifton <nickc@redhat.com>
661 * po/id.po: Updated Indonesian translation.
662 * po/binutils.pot: Updated template file.
664 2009-05-26 Rafael Avila de Espindola <espindola@google.com>
666 * ar.c: Include plugin.h.
667 (main): Handle the --plugin option.
668 * nm.c: Include plugin.h.
669 (OPTION_PLUGIN): New.
670 (long_options): Add plugin.
671 (main): Handle OPTION_PLUGIN.
672 * NEWS: Mention the new feature.
673 * doc/binutils: Documement the new command line options.
674 * configure.in: Check for --enable-plugins.
675 * configure: Regenerate.
677 2009-05-26 Alan Modra <amodra@bigpond.net.au>
679 * dep-in.sed: Output one filename per line with all lines having
680 continuation backslash. Prefix first line with "A", following
682 * Makefile.am (DEP): Don't use dep.sed here.
683 (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
685 * Makefile.in: Regenerate.
687 2009-05-25 Tristan Gingold <gingold@adacore.com>
689 * makefile.vms-in: Fix CFLAGS, add addr2line.exe target.
691 * configure.com: Fix it: handle alloca and define TARGET in config.h.
693 2009-05-22 Alan Modra <amodra@bigpond.net.au>
695 * Makefile.am: Run "make dep-am".
696 * Makefile.in: Regenerate.
698 2009-05-12 Alan Modra <amodra@bigpond.net.au>
700 * objcopy.c (set_long_section_mode): Check input_bfd is coff
701 before accessing coff specific fields of bfd.
703 2009-05-09 Dave Korn <dave.korn.cygwin@gmail.com>
705 * MAINTAINERS: Add myself as PE/COFF co-maintainer.
707 2009-05-08 Kai Tietz <kai.tietz@onevision.com>
709 * winduni.c (iconv_onechar): Only define when HAVE_ICONV
710 is defined, but not when __CYGWIN__ or _WIN32 are defined.
711 See wind_iconv_cp for call logic of this local funtion.
713 2009-05-05 Guillaume Duhamel <guillaume.duhamel@gmail.com>
716 * winduni.c: Replace test of HAVE_ICONV_H with a test of
718 (iconv_onechar): Use ICONV_CONST instead of "const".
719 (wind_MultiByteToWideChar): Initialise local strings.
721 2009-04-30 Nick Clifton <nickc@redhat.com>
723 * readelf.c (dump_relocations): Display a relocation against an
724 ifunc symbol as if it were a function invocation.
725 (get_symbol_type): Handle STT_GNU_IFUNC.
727 2009-04-29 Anthony Green <green@moxielogic.com>
729 * NEWS: Tweak verilog support description.
731 2009-04-29 Alan Modra <amodra@bigpond.net.au>
732 Denis Scherbakov <denis_scherbakov@yahoo.com>
734 * readelf.c (slurp_ia64_unwind_table): Correct 64-bit unwind table
735 read, and merge with 32-bit case.
737 2009-04-27 Anthony Green <green@moxielogic.com>
739 * NEWS: Mention verilog support added to bfd.
741 2009-04-27 H.J. Lu <hongjiu.lu@intel.com>
743 * objcopy.c (copy_object): Copy pe_opthdr before changing PE
746 2009-04-24 Cary Coutant <ccoutant@google.com>
748 * dwarf.c (process_extended_line_op): Add DW_LNE_set_discriminator.
749 Add missing newlines to HP extensions.
751 2009-04-17 H.J. Lu <hongjiu.lu@intel.com>
753 * objcopy.c (set_pe_subsystem): Replace efi-rom with sal-rtd.
754 * doc/binutils.texi: Likewise.
756 2009-04-17 H.J. Lu <hongjiu.lu@intel.com>
759 * objcopy.c: Include coff/i386.h and coff/pe.h.
760 (pe_file_alignment): New.
761 (pe_heap_commit): Likewise.
762 (pe_heap_reserve): Likewise.
763 (pe_image_base): Likewise.
764 (pe_section_alignment): Likewise.
765 (pe_stack_commit): Likewise.
766 (pe_stack_reserve): Likewise.
767 (pe_subsystem): Likewise.
768 (pe_major_subsystem_version): Likewise.
769 (pe_minor_subsystem_version): Likewise.
770 (set_pe_subsystem): Likewise.
771 (convert_efi_target): Likewise.
772 (command_line_switch): Add OPTION_FILE_ALIGNMENT,
773 OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT,
774 OPTION_STACK and OPTION_SUBSYSTEM.
775 (copy_options): Likewise.
776 (copy_usage): Add --file-alignment, --heap, --image-base,
777 --section-alignment, --stack and --subsystem.
778 (copy_object): Set up PE parameters.
779 (copy_main): Process Add OPTION_FILE_ALIGNMENT,
780 OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT,
781 OPTION_STACK and OPTION_SUBSYSTEM. Convert EFI target to
784 * NEWS: Mention --file-alignment, --heap, --image-base,
785 --section-alignment, --stack and --subsystem command line
788 * doc/binutils.texi: Document --file-alignment, --heap,
789 --image-base, --section-alignment, --stack and --subsystem
790 command line options for objcopy.
792 2009-04-15 Anthony Green <green@moxielogic.com>
794 * MAINTAINERS: Add myself as Moxie port maintainer.
796 2009-04-14 Dave Korn <dave.korn.cygwin@gmail.com>
798 * objcopy.c (enum long_section_name_handling): New enum type.
799 (enum command_line_switch): Add OPTION_LONG_SECTION_NAMES.
800 (copy_options[]): Add entry for --long-section-names option.
801 (copy_usage): Document it.
802 (set_long_section_mode): New subroutine.
803 (copy_file): Call it.
804 (copy_main): Accept OPTION_LONG_SECTION_NAMES and parse arg.
805 * doc/binutils.texi: Update objcopy documentation with details
808 2009-04-01 Dave Korn <dave.korn.cygwin@gmail.com>
810 * dlltool.c (set_dll_name_from_def): Accept new second arg that
811 indicates if we are building DLL or EXE, and use it to add a
812 default suffix to the output filename when none is already present.
813 (def_name): Indicate we are building an EXE when calling it.
814 (def_library): Indicate we are building a DLL when calling it.
816 2009-04-01 Jari Aalto <jari.aalto@cante.net>
819 * doc/binutils.texi (strings): Document the -V alias for the
821 * strings.c (usage): Likewise.
823 2009-03-31 Nick Clifton <nickc@redhat.com>
826 * configure.in: Import Solaris specific largefile test from
828 * configure: Regenerate.
830 2009-03-30 Richard Sandiford <rdsandiford@googlemail.com>
832 * MAINTAINERS: Add self.
834 2009-03-27 Nick Clifton <nickc@redhat.com>
836 * dwarf.c (display_debug_ranges): Add the base address to the
837 displayed values for 'Begin' and 'End'.
839 2009-03-25 Ryan Mansfield <rmansfield@qnx.com>
841 * readelf.c (process_file_header): Don't report a corrupt string
842 table index if it is zero.
844 2009-03-19 H.J. Lu <hongjiu.lu@intel.com>
846 * dwarf.c (dwarf_regnames): Moved before frame_need_space.
847 (dwarf_regnames_count): Likewise.
848 (frame_need_space): Return int.
849 (display_debug_frames): Check invalid registers.
851 2009-03-19 H.J. Lu <hongjiu.lu@intel.com>
853 * readelf.c (debug_apply_relocations): Check relocations
854 against STT_SECTION symbol.
856 2009-03-18 H.J. Lu <hongjiu.lu@intel.com>
858 * readelf.c (debug_apply_relocations): Allow relocations
859 against function symbols.
861 2009-03-18 Alan Modra <amodra@bigpond.net.au>
863 * sysdep.h: Include alloca-conf.h instead of config.h and remove
864 existing #if's handling alloca.
865 * Makefile.am: Run "make dep-am".
866 * Makefile.in: Regenerate.
868 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
870 * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
871 * configure.in: Likewise.
872 * configure: Regenerate.
874 2009-03-13 H.J. Lu <hongjiu.lu@intel.com>
877 * objcopy.c (copy_object): Clear HAS_RELOC when stripping all.
879 2009-03-11 Chris Demetriou <cgd@google.com>
881 * ar.c (deterministic): New global variable.
882 (main): Recognize new 'D' option, which enables 'deterministic mode'.
883 (usage): Document new 'D' option.
884 (write_archive): Set BFD_DETERMINISTIC_OUTPUT in output archive's
885 flags if deterministic mode was requested.
886 * doc/binutils.texi (ar): Document deterministic mode ('D' option).
888 2009-03-09 H.J. Lu <hongjiu.lu@intel.com>
891 * objcopy.c (filter_symbols): Properly handle common symbols
894 2009-03-06 Nick Clifton <nickc@redhat.com>
896 * po/es.po: Updated Spanish translation.
898 2009-03-05 Nick Clifton <nickc@redhat.com>
900 * objdump.c (disassemble_section): If the computed next offset is
901 not beyond the current offset then just continue to the end.
903 2009-03-04 Tristan Gingold <gingold@adacore.com>
905 * MAINTAINERS: Add myself as VMS maintainer.
907 2009-03-03 Nick Clifton <nickc@redhat.com>
909 * readelf.c: Update formatting.
911 2009-03-03 Alan Modra <amodra@bigpond.net.au>
913 * Makefile.am: Run "make dep-am".
914 * Makefile.in: Regenerate.
916 2009-03-03 Alan Modra <amodra@bigpond.net.au>
918 * objdump.c (disassemble_section): Mask address before sign extending.
920 2009-03-02 Sebastian Biallas <sb@biallas.net>
922 * ieee.c (parse_ieee_ty): Add support for undocumented 'v' type.
923 (parse_ieee_bb): Set the filename if it has not already been
926 2009-03-02 Cary Coutant <ccoutant@google.com>
928 * readelf.c (adjust_relative_path): New function.
929 (struct archive_info): New type.
930 (setup_archive): New function.
931 (release_archive): New function.
932 (setup_nested_archive): New function.
933 (get_archive_member_name): New function.
934 (get_archive_member_name_at): New function.
935 (make_qualified_name): New function.
936 (process_archive): Factor out code for reading archive index and
937 long filename table to setup_archive. Add support for thin archives.
939 2009-03-02 Nick Clifton <nickc@redhat.com>
941 * po/sk.po: Updated Slovak translation.
943 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
945 * configure: Regenerate.
947 2009-02-23 Cary Coutant <ccoutant@google.com>
949 * objdump.c (load_specific_debug_section): New function, from
951 (load_debug_section): Use load_specific_debug_section.
952 (dump_dwarf_section): Likewise.
954 2009-02-23 Cary Coutant <ccoutant@google.com>
956 * readelf.c (parse_args): Select all sections explicitly for -w.
958 2009-02-09 Kai Tietz <kai.tietz@onevision.com>
960 * windres.c (set_endianess): Copy name without leading '-'.
962 2009-02-09 Tristan Gingold <gingold@adacore.com>
964 * NEWS: Mention feature match between objdump and readelf for dumping
967 * doc/binutils.texi (objdump): Document -W/--dwarf improvments to
970 * objdump.c (usage): Update documentation for -W/--dwarf.
971 (enum option_values): Add OPTION_DWARF.
972 (long_options): --dwarf can accept arguments.
973 (dump_dwarf_section): Also check enabled field.
974 (main): Option -W can accept arguments, code moved to
975 dwarf.c and call dwarf_select_sections_all instead.
976 * readelf.c (process_section_headers): Remove do_debug_lines_decoded.
977 (parse_args): Move code to...
978 * dwarf.c (dwarf_select_sections_by_letters,
979 dwarf_select_sections_by_names): : ...here (new functions).
980 (do_debug_lines_decoded): Remove and replaced by ...
981 (FLAG_DEBUG_LINES_RAW, FLAG_DEBUG_LINES_DECODED): ... new macros.
982 (display_debug_lines): Adjust for previous change.
983 (dwarf_select_sections_all): New function.
984 (debug_displays): Add initializer for enabled field.
985 * dwarf.h (do_debug_lines_decoded): Remove.
986 Add prototypes for the new functions.
987 (struct dwarf_section_display): Add enabled field.
989 2009-02-06 Nick Clifton <nickc@redhat.com>
991 * po/vi.po: Updated Vietnamese translation.
993 2009-02-03 Sandip Matte <sandip@rmicorp.com>
995 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_XLR.
997 2009-02-03 H.J. Lu <hongjiu.lu@intel.com>
999 * NEWS: Move --as-needed change to ...
1002 2009-02-03 Carlos O'Donell <carlos@codesourcery.com>
1004 * configure.in: AC_SUBST pdfdir.
1005 * Makefile.am: Add install-pdf, install-pdf-am,
1006 and install-pdf-recursive targets.
1007 * doc/Makefile.am: Define pdf__strip_dir. Add
1008 install-pdf and install-pdf-am targets.
1009 * po/Make-in: Add install-pdf target.
1010 * configure: Regenerate.
1011 * Makefile.in: Regenerate.
1012 * doc/Makefile.in: Regenerate.
1014 2009-02-03 H.J. Lu <hongjiu.lu@intel.com>
1017 * NEWS: Mention --prefix=PREFIX and --prefix-strip=LEVEL.
1019 * doc/binutils.texi: Document --prefix=PREFIX and
1020 --prefix-strip=LEVEL.
1022 * objdump.c: Include "filenames.h".
1024 (prefix_strip): Likewise.
1025 (prefix_length): Likewise.
1026 (usage): Add --prefix=PREFIX and --prefix-strip=LEVEL.
1027 (option_values): Add OPTION_PREFIX and OPTION_PREFIX_STRIP.
1028 (long_options): Likewise.
1029 (show_line): Handle prefix and prefix_strip.
1030 (main): Handle OPTION_PREFIX and OPTION_PREFIX_STRIP.
1032 * readelf.c (PATH_MAX): Moved to ...
1035 2009-01-31 Alan Modra <amodra@bigpond.net.au>
1037 * NEWS: Mention --as-needed change.
1039 2009-01-29 Alan Modra <amodra@bigpond.net.au>
1042 * bucomm.c (bfd_nonfatal_message): Use bfd_get_archive_filename.
1043 (bfd_get_archive_filename): Constify param.
1044 * bucomm.h (bfd_get_archive_filename): Update prototype.
1045 * objcopy.c (RETURN_NONFATAL): Delete.
1046 (copy_unknown_object): Don't call bfd_get_archive_filename for
1047 bfd_nonfatal_message filename, instead just pass bfd.
1048 (copy_object): Likewise.
1049 (copy_archive, copy_file): Likewise. Expand RETURN_NONFATAL. On
1050 bfd_close errors, do not pass the bfd to bfd_nonfatal_message.
1051 (setup_bfd_headers): Fix error message.
1053 2009-01-27 Nick Clifton <nickc@redhat.com>
1056 * objdump.c (disassemble_section): When the target uses signed
1057 addresses make sure that we compute signed values.
1059 2009-01-27 Nick Clifton <nickc@redhat.com>
1061 * MAINTAINERS: Remove Thiemo Seufer's name from the list of MIPS
1064 2009-01-26 Nick Clifton <nickc@redhat.com>
1067 * dlltool.c (xlate): When strip text after the @ sign, look for
1068 the last one not the first one.
1070 2009-01-16 Alan Modra <amodra@bigpond.net.au>
1072 * configure.in (commonbfdlib): Delete.
1073 * configure: Regenerate.
1075 2008-01-14 Charles Wilson <cygwin@cwilson.fastmail.fm>
1077 Cleanup code related to --identify option.
1079 * dlltool.c (file scope): Removed globals identify_ms,
1080 identify_member_contains_symname_result,
1081 identify_dll_name_list_head, and identify_dll_name_list_tail.
1082 Renamed existing typedef dll_name_list_type to
1083 dll_name_list_node_type.
1084 Added new typedefs dll_name_list_type, symname_search_data_type,
1085 and identify_data_type.
1086 (identify_append_dll_name_to_list): Renamed to...
1087 (dll_name_list_append): ...here. Changed signature to accept list
1088 argument rather than use global.
1089 (identify_count_dll_name_list): Renamed to...
1090 (dll_name_list_count): ...here. Changed signature to accept list
1091 argument rather than use global.
1092 (identify_print_dll_name_list): Renamed to...
1093 (dll_name_list_print): ...here. Changed signature to accept list
1094 argument rather than use global.
1095 (identify_free_dll_name_list): Renamed to...
1096 (dll_name_list_free_contents): ...here.
1097 (dll_name_list_free): New function.
1098 (dll_name_list_create): New function.
1099 (identify_process_section_p): Changed signature to accept
1100 ms_style_implib argument rather than use global.
1101 (identify_member_contains_symname): Expect incoming void * data to
1102 be symname_search_data_type.
1103 (identify_dll_for_implib): Use new functions dll_name_list_create
1104 and dll_name_list_free. Use new types symname_search_data_type
1105 and identify_data_type to communicate with search routines.
1106 (identify_search_section): Expect incoming void * data to be
1107 identify_data_type. Use its contents rather than global
1110 2009-01-13 Charles Wilson <cygwin@cwilson.fastmail.fm>
1112 Add --identify-strict option. Handle ms-style implibs:
1114 * dlltool.c (file scope): Added new globals identify_ms and
1115 identify_strict. New typedef dll_name_list_type, and globals
1116 identify_dll_name_list_head and identify_dll_name_list_tail. Added
1117 new global identify_member_contains_symname_result.
1118 (identify_append_dll_name_to_list): New function.
1119 (identify_count_dll_name_list): New function.
1120 (identify_print_dll_name_list): New function.
1121 (identify_free_dll_name_list): New function.
1122 (identify_search_archive): Changed signature to take function
1123 pointer to operation to apply to each member, and data to pass on
1125 (identify_search_member): Changed signature to accept user data
1127 (identify_member_contains_symname): New function.
1128 (identify_dll_for_implib): Rewrite. Now determines whether implib
1129 is ms- or binutils- style, before searching sections for
1130 dllname. Allows multiple dllnames.
1131 (identify_process_section_p): Search alternate section for dllname
1132 when implib is ms-style.
1133 (identify_search_section): Add additional conditions to excludes
1134 candidate sections from consideration.
1135 (usage): Added --identify-strict.
1136 (long_options): Added --identify-strict.
1137 (main): Handle --identify-strict option.
1138 * doc/binutils.texi: Document --identify-strict option.
1139 * NEWS: Document --identify and --identify-strict options.
1141 2009-01-13 Alan Modra <amodra@bigpond.net.au>
1144 * doc/binutils.texi (objdump -R): Note effect of -d or -D.
1146 2009-01-13 Alan Modra <amodra@bigpond.net.au>
1148 * objdump.c (disassemble_section): Don't assume non-instruction
1149 data if object symbol at given address is in different section.
1151 2009-01-12 Kai Tietz <kai.tietz@onevision.com>
1153 * dlltool.c (create_for_pep): New.
1154 (flush_page): Use create_for_pep instead of using
1155 macro DLLTOOL_MX86_64 clause.
1156 (generate_idata_ofile): Likewise.
1157 (make_one_lib_file): Likewise.
1158 (make_head): Likewise.
1159 (make_tail): Likewise.
1160 (main): Initialize create_for_pep.
1162 2009-01-08 Kai Tietz <kai.tietz@onevision.com>
1164 * dlltool.c (use_nul_prefixed_import_tables): New.
1165 (make_head): Make prefix leading zero prefix element for
1166 idata$4 and idata$5 dependent to new flag.
1167 (usage): Add new option --use-nul-prefixed-import-tables.
1168 (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
1169 (long_options): Add --use-nul-prefixed-import-tables.
1171 * doc/binutils.texi: Add new option documentation for
1172 --use-nul-prefixed-import-tables.
1173 * NEWS: Add new option.
1175 2009-01-06 Kai Tietz <kai.tietz@onevision.com>
1177 * windres.c (set_endianess): Get architecture name
1178 for internal target names like "pe-arm-wince-little".
1179 (find_arch_match): New helper.
1180 * ChangeLog: Reset it.
1181 * ChangeLog-2008: Moved old ChangeLog.
1183 For older changes see ChangeLog-2008
1189 version-control: never