1 2009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3 * bucomm.c (get_file_size): Update comment for the error return value.
5 2009-11-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7 * readelf.c (slurp_hppa_unwind_table): Don't relocate address twice.
9 2009-11-05 Kai Tietz <kai.tietz@onevision.com>
11 * dllwrap.c (is_leading_underscore): New variable.
12 (cpu_type): New enum type.
13 (which_cpu): New variable.
14 (usage): Add new options --no-leading-underscore
15 and --leading-underscore.
16 (long_options): Likewise.
17 (OPTION_NO_LEADING_UNDERSCORE): New define.
18 (OPTION_LEADING_UNDERSCORE): Likewise.
19 (main): Initialize which_host, pass new options
20 to dlltool, do underscoring dependent on
21 is_leading_underscore, and do '@12' decoration
24 2009-11-02 Paul Brook <paul@codesourcery.com>
26 * readelf.c (arm_attr_tag_VFP_arch): Add VFPv4 and VFPv4-D16.
28 2009-10-28 Kai Tietz <kai.tietz@onevision.com>
30 * dlltool.c (leading_underscore): New local variable.
31 (asm_prefix): Interpret leading_underscore.
33 (add_excludes): Use leading_underscore for making
35 (gen_exp_file): Use leading_underscore for internal
37 (usage): Add display of --no-leading-underscore and
38 --leading-underscore option.
39 (OPTION_NO_LEADING_UNDERSCORE): New.
40 (OPTION_LEADING_UNDERSCORE): New.
41 (long_options): Add --no-leading-underscore and
42 --leading-underscore option.
43 (main): Handle new options.
44 * doc/binutils.text: Add documentation of the options
45 --no-leading-underscore and --leading-underscore.
47 2009-10-23 Kai Tietz <kai.tietz@onevision.com>
49 * deflex.l: Allow '<' and '>' in ID names.
51 * defparse.y (EQUAL): New token constant.
52 (opt_import_name): New rule for emptry or '==' ID.
53 (expline): Add opt_import_name as last line element.
55 * dlltool.c (ifunct): New member its_name.
57 (append_import): Add its_name argument.
58 (defexports): Likewise.
59 (defimport): Likewise.
60 (scan_drectve_symbols): Adjust calls to def_exports.
61 (dump_def_info): Print new optinal import/export table
63 (generate_idata_ofile): Use its_name member.
64 (make_one_lib_file): Likewise.
65 (nfunc): Take its_name in account on sort.
66 * dlltool.h (def_exports): Add its_name as argument.
67 (def_import): Likewise.
68 * doc/binutils.texi: Add new def file syntax extension.
69 * deflex.l (EQUAL): Add rule for '=='.
70 * NEWS: Mention new feature.
72 2009-10-23 Thomas Cougnard <thomas.cougnard@gmail.com>
74 * readelf.c (dynamic_info): Correct size of array.
76 2009-10-21 Ben Elliston <bje@gnu.org>
78 * MAINTAINERS (BUILD SYSTEM, TESTSUITES): Remove myself.
80 2009-10-19 Jerker Bäck <jerker.back@gmail.com>
83 * prdbg.c (tg_end_struct_type): Warning fix.
86 * dlltool.c (dll_name_list_append): Declare variable at start
88 (dll_name_list_count, dll_name-list_print): Likewise.
90 2009-10-16 Doug Evans <dje@sebabeach.org>
92 * MAINTAINERS: Add myself as m32r maintainer.
94 2009-10-16 Jerker Bäck <jerker.back@gmail.com>
97 * Makefile.am (sysinfo.o, syslex.o): Place source file after all
98 command line switches.
99 * Makefile.in: Regenerate.
101 2009-10-16 Yann Droneaud <yann@droneaud.fr>
104 * dlltool.c (bfd_get_errmsg): New macro.
105 (scan_obj_file): Use it.
106 (make_one_lib_file): Use it.
108 (make_delay_head): Use it.
110 (gen_lib_file): Use it.
111 (identify_dll_for_implib): Use it.
112 (identify_search_archive): Use it.
114 2009-10-16 Nick Clifton <nickc@redhat.com>
116 * readelf.c (usage): Add mention of --debug-dump=frames-interp.
117 Wrap output to 80 columns.
118 * objdump.c (usage): Likewise.
119 * doc/binutils.texi (readelf): Add note about =frames-interp.
121 2009-10-01 Alan Modra <amodra@bigpond.net.au>
123 * addr2line.c (slurp_symtab): Don't use bfd_read_minisymbols.
125 2009-09-29 Nick Clifton <nickc@redhat.com>
127 * doc/binutils.texi (c++filt): Remove spurious description of
128 nonexistent --java command line switch for cxxfilt.
130 2009-09-29 DJ Delorie <dj@redhat.com>
132 * readelf.c: Add support for RX target.
133 * MAINTAINERS: Add DJ and NickC as maintainers for RX.
135 2009-09-28 Alan Modra <amodra@bigpond.net.au>
137 * configure.in: Don't invoke configure.tgt on $enable_targets.
138 * configure: Regenerate.
140 2009-09-28 Nick Clifton <nickc@redhat.com>
143 * readelf.c (get_elf_section_flags): Allow SHN_BEFORE and
144 SHN_AFTER section link values in x86 binaries.
145 (process_section_headers): Likewise.
147 2009-09-25 Dimitry Gorbachev <d.g.gorbachev@gmail.com>
150 * readelf.c: Remove duplicate declaration of variable do_wide.
151 * dwarf.h: Add export of do_wide.
153 2009-09-24 Cary Coutant <ccoutant@google.com>
155 * dwarf.c (get_TAG_name): Add missing DWARF-3 and new DWARF-4 tags.
156 (get_FORM_name): Add new DWARF-4 forms.
157 (read_and_display_attr_value): Add DW_FORM_ref_sig8, DW_LANG_Python.
158 (get_AT_name): Add new DWARF-4 and GNU-specific attributes.
159 (process_debug_info): Add do_types parameter; change all callers.
160 Add support for .debug_types sections.
161 (display_debug_types): New function.
162 (debug_displays): Add .debug_types section.
163 * readelf.c (process_section_headers): Add .debug_types section.
164 (display_debug_section): Simplify call to streq.
166 2009-09-25 Alan Modra <amodra@bigpond.net.au>
168 * readelf.c (print_dynamic_symbol): Format entries as for
170 (process_symbol_table): Use -7s format string for visibility.
172 2009-09-22 Richard Sandiford <rdsandiford@googlemail.com>
174 * objdump.c (disassemble_section): Use bfd_get_arch_size
175 instead of assuming that the address size is 32 bits.
177 2009-09-21 Alan Modra <amodra@bigpond.net.au>
179 * readelf.c (get_ppc_dynamic_type): Add TLSOPT.
180 (get_ppc64_dynamic_type): Likewise.
182 2009-09-18 Nick Clifton <nickc@redhat.com>
184 * po/es.po: Updated Spanish translation.
185 * po/vi.po: Updated Vietnamese translation.
187 2009-09-11 Paul Pluzhnikov <ppluzhnikov@google.com>
189 * readelf.c (process_version_sections, process_symbol_table):
190 Use symbolic constants.
192 2009-09-11 Nick Clifton <nickc@redhat.com>
194 * po/binutils.pot: Updated by the Translation project.
196 2009-09-11 Philippe De Muyter <phdm@macqel.be>
198 * obcopy.c (copy_object): New parameter `input_arch', architecture
199 of input file, if not specified in input file itself; all callers
200 updated; `binary_architecture' hack removed.
201 (copy_archive, copy_file): New parameter `input_arch', for
203 (copy_main): Accept `-B' (`--binary-architecture') option also
204 for any arch-less input ifile format, not only `binary'; remove
205 bfd_external_binary_architecture hack; instead, add `input_arch'
206 to calls to `copy_file'.
207 * windres.c, windmc.c : Obsolete and useless external references
208 to `bfd_external_binary_architecture' or `bfd_external_machine'
210 * doc/binutils.texi: Mention that -B parameter can be used for any
211 input file type which does not have its own architecture.
213 2009-09-10 Martin Thuresson <martin@mtme.org>
215 Update sources to compile cleanly with -Wc++-compat:
216 * addr2line.c (slurp_symtab): Fix casts. Introduce variable
217 minisyms to avoid aliasing varning.
219 (normalize): Use name del instead of delete.
220 (display_target_list,display_info_table): Change loop counter
222 * bucomm.c: Add casts.
223 * debug.c: Update function to use new names.
224 (struct debug_baseclass): Rename member from virtual to
226 (struct debug_type_s, struct debug_field_s, struct
227 debug_baseclass_s, struct debug_method_s, struct
228 debug_method_variant_s, struct debug_type_s): Rename struct from
229 avoid name collision.
230 * debug.h: Use new struct names.
231 * dwarf.c: Add casts.
232 (free_debug_memory): Change loop counter variable a to int.
234 (enum ieee_var_kind): Move to top level.
235 (ieee_class_baseclass): Rename parameter virtual to is_virtual.
236 (ieee_class_method_var): Rename variable virtual to is_virtual.
238 * objcopy.c: Add casts.
239 (copy_archive): Rename variable delete to del.
240 * objdump.c: Add casts.
241 (dump_dwarf_section): Change loop counter variable i to int.
242 * prdbg.c: Add casts.
243 (pr_class_baseclass,tg_class_baseclass): Rename parameters virtual
245 * readelf.c: Add casts.
246 (struct ia64_unw_table_entry,struct hppa_unw_table_entry): Move to
249 * stabs.c (parse_stab_type, parse_stab_range_type,
250 (parse_stab_cpp_abbrev): Rename parameter from typename to
252 (parse_stab_baseclasses): Rename variable virtual to is_virtual.
253 * strings.c: Add casts.
254 * wrstabs.c (stab_class_baseclass): Rename parameter virtual to
257 2009-09-09 Nick Clifton <nickc@redhat.com>
260 readelf.c (get_elf_section_flags): Add support for SHF_EXCLUDE and
262 (process_section_headers): Warn about out of range sh_link
263 values. When displaying detailed section header information
264 annote the SHN_BEFORE and SHN_AFTER values.
266 2009-09-08 Alan Modra <amodra@bigpond.net.au>
268 * dwarf.c (byte_get_little_endian): Handle size of 3.
269 (byte_get_big_endian): Likewise.
270 * readelf.c (byte_put_little_endian): Likewise.
271 (byte_put_big_endian): Likewise.
272 (is_24bit_abs_reloc): New function.
273 (is_none_reloc): Formatting.
274 (apply_relocations): Use is_24bit_abs_reloc. Handle pj and xtensa
277 2009-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
279 * readelf.c (is_none_reloc <EM_XTENSA_OLD>, is_none_reloc <EM_XTENSA>):
282 2009-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
284 * dwarf.c (process_debug_info): Support section padding abbrev codes.
286 2009-09-07 Tristan Gingold <gingold@adacore.com>
288 * po/binutils.pot: Regenerate.
290 2009-09-05 Jan Kratochvil <jan.kratochvil@redhat.com>
292 * Makefile.am (sysdump.o): Depend on sysroff.c.
293 * Makefile.in: Regenerate.
295 2009-09-05 Martin Thuresson <martin@mtme.org>
297 * ieee.c (ieee_read_cxx_misc, ieee_read_cxx_class,
298 ieee_read_reference): Rename variables named class to cxxclass.
300 2009-09-04 Tristan Gingold <gingold@adacore.com>
302 * BRANCHES: Add binutils-2_20-branch.
304 2009-09-04 Tristan Gingold <gingold@adacore.com>
306 * NEWS: Add marker for 2.20.
308 2009-09-04 Timo Kreuzer <timo.kreuzer@web.de>
310 * dlltool.c (delayimp_name): Add new global variable
311 (usage, long_options, main): Add new option "-y" / "--output-delaylib"
312 (struct mac): Add fields how_dljtab_size, how_dljtab_roff1,
313 how_dljtab_roff2, how_dljtab, trampoline.
314 (i386_dljtab): Add binary stub for x86 delay import.
315 (i386_trampoline): Add text assembly stub for x86 delay import.
316 (mtable): Add delay import data for M386 and MX86 only.
317 (make_delay_head): New function.
318 (make_one_lib_file): New arg delay creates delay-load import stub.
319 (gen_lib_file): New arg delay likewise.
320 (HOW_JTAB, HOW_JTAB_SIZE, HOW_JTAB_ROFF): New arg delay likewise.
321 (HOW_JTAB_ROFF2, HOW_JTAB_ROFF3): New macros for delay import.
322 (make_tail): Convert hard TABS embedded in strings to "\t" escapes.
323 * NEWS: Mention new feature. Also fix whitespace.
324 * doc/binutils.texi: Updated dlltool documentation.
326 2009-09-02 Tristan Gingold <gingold@adacore.com>
328 * configure.com: Do not copy makefile.vms-in to makefile.vms
329 * makefile.vms-in: Renamed to...
330 * makefile.vms: ... this usual name as it is not processed anymore.
331 Remove WRITE_DEBUG_OBJS (unused) and reorder object files for
334 2009-09-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
336 * Makefile.am (arparse.o, arlex.o, sysroff.o, defparse.o)
337 (deflex.o, nlmheaders.o, rcparse.o, mcparse.o): Supply correct
338 source file name for generated files which may be in $(srcdir).
339 * Makefile.in: Regenerate.
341 2009-09-01 H.J. Lu <hongjiu.lu@intel.com>
343 * version.c (print_version): Change to "Copyright 2009".
345 2009-09-01 Tristan Gingold <gingold@adacore.com>
347 * makefile.vms-in: Remove unused VERSION variable. Remove unused
349 * configure.com: Ported to Itanium VMS. Create build.com DCL script.
351 2009-08-29 Martin Thuresson <martin@mtme.org>
353 * nlmconv.c (main): Rename variable new to new_name.
355 2009-08-28 H.J. Lu <hongjiu.lu@intel.com>
357 * Makefile.am (sysinfo$(EXEEXT_FOR_BUILD)): Replace
358 CFLAGS/LDFLAGS with CFLAGS_FOR_BUILD/LDFLAGS_FOR_BUILD.
359 (syslex.o): Likewise.
360 (sysinfo.o): Likewise.
361 (bin2c$(EXEEXT_FOR_BUILD)): Likewise.
362 * Makefile.in: Regenerated.
364 2009-08-27 Dave Korn <dave.korn.cygwin@gmail.com>
366 * doc/binutils.texi (--only-keep-debug): Relocate stray para here ...
367 (--subsystem): ... from here.
369 2009-08-24 Cary Coutant <ccoutant@google.com>
371 * objdump.c (find_symbol_for_address): Avoid costly call to
374 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
376 * Makefile.am (am__skiplex, am__skipyacc): New.
377 * Makefile.in: Regenerate.
379 2009-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
381 * Makefile.am (syslex.o): Depend on sysinfo.h config.h.
382 * Makefile.in: Regenerate.
384 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
386 * Makefile.am (AM_CPPFLAGS): Renamed from ...
387 (INCLUDES): ... this.
388 (bin2c$(EXEEXT_FOR_BUILD): Adjust rule.
389 (installcheck-local): Renamed from ...
390 (installcheck): ... this.
391 * Makefile.in: Regenerate.
393 * Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add no-dist and
395 (MKDEP, CLEANFILES): Remove now-unneeded variables.
396 (DEP, DEP1, dep.sed, dep, dep-in, dep-am): Remove.
397 (mkdep section): Remove.
398 (BUILT_SOURCES): New variable, list $(GENERATED_HFILES).
399 (EXTRA_ar_SOURCES): New, list $(CFILES).
400 (syslex.o): Depend on syslex.c.
401 (sysinfo.o): Depend on sysinfo.c.
402 (arparse.h, defparse.h, nlmheaders.h rcparse.h mcparse.h):
403 Remove dependencies, now tracked by automake.
404 (srconv.o): Depend on sysroff.c.
405 (objdump.o, arparse.o, arlex.o, sysroff.o, defparse.o, deflex.o)
406 (nlmheader.o, rcparse.o, mcparse.o, rclex.o, mclex.o, dlltool.o)
407 (rescoff.o, nlmconv.o): Rewrite using automake-style dependency
408 tracking rules; only list the dependency upon the primary source
409 file, but no included headers.
410 * Makefile.in: Regenerate.
412 * Makefile.am (install-pdf, install-pdf-recursive, install-html)
413 (install-html-recursive): Remove.
414 * Makefile.in: Regenerate.
415 * doc/Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
416 (html__strip_dir, install-html, install-html-am): Remove.
417 * doc/Makefile.in: Regenerate.
419 * Makefile.in: Regenerate.
420 * aclocal.m4: Likewise.
421 * config.in: Likewise.
422 * configure: Likewise.
423 * doc/Makefile.in: Likewise.
425 2009-08-17 Nick Clifton <nickc@redhat.com>
427 * readelf.c (is_32bit_abs_reloc): Treat R_PARISC_SECREL32 as a
428 32-bit absolute reloc for the purposes of processing debug
431 2009-08-10 Daniel Gutson <dgutson@codesourcery.com>
433 * readelf.c (get_arm_section_type_name): Added support for
434 new sections headers.
436 2009-08-03 H.J. Lu <hongjiu.lu@intel.com>
439 * objcopy.c (strip_main): Check return from smart_rename.
440 (copy_main): Likewise.
442 2009-07-27 Nick Clifton <nickc@redhat.com>
445 * objdump.c (dump_section_header): Skip sections that we are
448 2009-07-25 H.J. Lu <hongjiu.lu@intel.com>
450 * readelf.c (guess_is_rela): Handle EM_L1OM.
451 (dump_relocations): Likewise.
452 (get_machine_name): Likewise.
453 (get_section_type_name): Likewise.
454 (get_elf_section_flags): Likewise.
455 (get_symbol_index_type): Likewise.
456 (is_32bit_abs_reloc): Likewise.
457 (is_32bit_pcrel_reloc): Likewise.
458 (is_64bit_abs_reloc): Likewise.
459 (is_64bit_pcrel_reloc): Likewise.
460 (is_none_reloc): Likewise.
462 2009-07-23 Ulrich Drepper <drepper@redhat.com>
464 * readelf.c (get_symbol_binding): For Linux targeted files return
465 UNIQUE for symbols with the STB_GNU_UNIQUE binding.
466 * doc/binutils.texi: Document the meaning of the 'u' symbol
467 binding in the output of nm and objdump --syms.
469 2009-07-20 H.J. Lu <hongjiu.lu@intel.com>
471 * NEWS: Mention --insn-width.
473 * objdump.c (insn_width): New.
474 (usage): Display --insn-width.
475 (option_values): Add OPTION_INSN_WIDTH.
476 (long_options): Add --insn-width.
477 (disassemble_bytes): Handle insn_width.
478 (main): Handle OPTION_INSN_WIDTH.
480 * doc/binutils.texi: Document --insn-width.
482 2009-07-17 Nick Clifton <nickc@redhat.com>
484 * dwarf.c (display_debug_lines): If do_debug_lines has not been
485 set then default to displaying raw .debug_line section contents.
487 2009-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
489 Support unordered .debug_info references to .debug_ranges.
490 * dwarf.c (struct range_entry, range_entry_compar): New.
491 (display_debug_ranges): Remove variables last_offset, first, j,
492 seen_first_offset, use_debug_info and next. New variables
493 range_entries and range_entry_fill. Create the sorted copy
494 range_entries. Remove the FIXME error on detected unordered references.
495 * dwarf.h (debug_info <range_lists>): New comment.
497 2009-07-14 Nick Clifton <nickc@redhat.com>
500 * README: Document use of LDFLAGS="--static".
502 2009-07-10 H.J. Lu <hongjiu.lu@intel.com>
504 * Makefile.am: Run "make dep-am".
505 * Makefile.in: Regenerated.
507 2009-07-10 Tom Tromey <tromey@redhat.com>
509 * Makefile.am (dwarf.o): Refer to dwarf2.h, not elf/dwarf2.h.
510 * Makefile.in: Rebuild.
511 * dwarf.c: Include dwarf2.h, not elf/dwarf2.h.
513 2009-07-06 Tristan Gingold <gingold@adacore.com>
515 * objdump.c (dump_dwarf_section): Handle .eh_frame like other dwarf
517 * dwarf.h (struct dwarf_section_display): Remove eh_frame field.
518 * dwarf.c (debug_displays): Adjust for removed field.
520 2009-07-03 Jakub Jelinek <jakub@redhat.com>
522 * dwarf.c (decode_location_expression): Handle DW_OP_stack_value
523 and DW_OP_implicit_value.
525 2009-07-01 Nick Clifton <nickc@redhat.com>
528 * rclex.c (handle_quotes): Do not complain about whitespace
529 separating quoted strings.
530 (rclex_string): Ignore whitespace when looking for a new opening
531 quote following a closing quote.
533 2009-06-27 H.J. Lu <hongjiu.lu@intel.com>
536 * bucomm.c (get_file_size): Return -1 on error.
538 * objcopy.c (copy_file): Report empty file.
540 2009-06-23 Nick Clifton <nickc@redhat.com>
542 * dwarf.c (display_debug_lines_raw): Include the name of the
543 section in warning message.
544 (struct debug_display): Enable reloc processing for .debug_line
545 and .debug_ranges sections.
547 * readelf.c: Add --relocated-dump command line option to dump the
548 relocated contents of a specified section.
549 (request_dump): New function.
550 (parse_args): Use it.
551 (dump_section_as_bytes): Add parameter to indicate whether the
552 contents should be relocated.
553 (target_specific_reloc_handling): Add code for a R_MN10300_16
554 reloc found after a R_MN10300_SYM_DIFF reloc.
555 (debug_apply_relocations): Rename to apply_relocations.
556 (get_section_contents): New function. Replaces common code found
557 in dump_section_as_strings and dump_section_as_bytes.
558 * doc/binutils.texi: Document new command line option.
559 * NEWS: Mention the new feature.
561 2009-06-22 Nick Clifton <nickc@redhat.com>
563 * readelf.c (target_specific_reloc_handling): New function:
564 Processes relocs in a target specific manner.
565 (debug_apply_relocations): Use the new function.
566 * dwarf.c (display_debug_loc): End the dump with a blank line.
567 (struct debug_display): Enable reloc processing for .debug_aranges
568 and .debug_loc sections.
570 2009-06-19 Nick Clifton <nickc@redhat.com>
572 * ar.c (usage): Do not use #ifdef inside _("...).
573 * nm.c (usage): Likewise.
575 2009-06-18 Nick Clifton <nickc@redhat.com>
578 * objdump.c (disassemble_bytes): Set the
579 USER_SPECIFIED_MACHINE_TYPE flag in the disassemble_info structure
580 if the user has invoked the -m switch.
581 * doc/binutils.texi: Document the additional behaviour of
582 objdump's -m switch for ARM targets.
584 2009-06-18 Dave Korn <dave.korn.cygwin@gmail.com>
586 * configure.in: Merge cegcc and mingw32ce target name changes from
589 2007-12-25 Pedro Alves <pedro_alves@portugalmail.pt>
591 * configure.in: Add arm*-*-cegcc* and arm*-*-mingw32ce* targets.
592 * configure: Regenerate.
594 2009-06-15 Nick Clifton <nickc@redhat.com>
597 * objdump.c (disassemble_bytes): Set the DISASSEMBLE_DATA bit in
598 the flags field of the disassemble_info structure if the -D switch
601 2009-06-12 Homer Xing <homer.xing@yahoo.com>
603 * NEWS: Mention new feature added to gprof.
605 2009-06-12 John Reiser <jreiser@BitWagon.com>
607 * readelf.c (process_symbol_table): Set gnubuckets to NULL after
608 freeing it and before returning.
610 2009-06-12 Jakub Jelinek <jakub@redhat.com>
612 * readelf.c (process_symbol_table): Don't return early if
613 .hash/.gnu.hash is empty/unusable and not -D.
615 2009-06-09 Tom Bramer <tjb@postpro.net>
618 * winduni.c (wind_MultiByteToWideChar): Do not pass MB_PRECOMPOSED
619 to MultiByteToWideChar when using the CP_UTF8 or CO_UTF7 types.
621 2009-06-04 Alan Modra <amodra@bigpond.net.au>
623 * strings.c (main): Delay parsing of decimal digits.
625 2009-06-04 Alan Modra <amodra@bigpond.net.au>
627 * dep-in.sed: Don't use \n in replacement part of s command.
628 * Makefile.am (DEP1): LC_ALL for uniq.
630 * Makefile.in: Regenerate.
632 2009-06-03 Tristan Gingold <gingold@adacore.com>
634 * MAINTAINERS: Add myself as Mach-O maintainer.
636 2009-06-01 Alan Modra <amodra@bigpond.net.au>
639 * doc/binutils.texi (nm): Correct -S description.
641 2009-05-28 Nick Clifton <nickc@redhat.com>
643 * po/da.po: Updated Danish translation.
645 2009-05-28 Nick Clifton <nickc@redhat.com>
647 * readelf.c (display_debug_section): Do not display debug sections
648 with the NOBITS section type.
650 2009-05-27 Rafael Avila de Espindola <espindola@google.com>
652 * aclocal.m4: Include ../config/plugins.m4.
653 * configure.in: Use AC_PLUGINS.
654 * configure: Regenerate.
655 * Makefile.in: Regenerate.
656 * doc/Makefile.in: Regenerate.
658 2009-05-27 Rafael Avila de Espindola <espindola@google.com>
660 * ar.c (main): Call bfd_plugin_set_program_name.
661 * nm.c (main): Call bfd_plugin_set_program_name.
663 2009-05-27 Nathan Sidwell <nathan@codesourcery.com>
665 * sysdump.c (tab): Use puts rather than two printfs.
667 2009-05-26 Nick Clifton <nickc@redhat.com>
669 * po/id.po: Updated Indonesian translation.
670 * po/binutils.pot: Updated template file.
672 2009-05-26 Rafael Avila de Espindola <espindola@google.com>
674 * ar.c: Include plugin.h.
675 (main): Handle the --plugin option.
676 * nm.c: Include plugin.h.
677 (OPTION_PLUGIN): New.
678 (long_options): Add plugin.
679 (main): Handle OPTION_PLUGIN.
680 * NEWS: Mention the new feature.
681 * doc/binutils: Documement the new command line options.
682 * configure.in: Check for --enable-plugins.
683 * configure: Regenerate.
685 2009-05-26 Alan Modra <amodra@bigpond.net.au>
687 * dep-in.sed: Output one filename per line with all lines having
688 continuation backslash. Prefix first line with "A", following
690 * Makefile.am (DEP): Don't use dep.sed here.
691 (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
693 * Makefile.in: Regenerate.
695 2009-05-25 Tristan Gingold <gingold@adacore.com>
697 * makefile.vms-in: Fix CFLAGS, add addr2line.exe target.
699 * configure.com: Fix it: handle alloca and define TARGET in config.h.
701 2009-05-22 Alan Modra <amodra@bigpond.net.au>
703 * Makefile.am: Run "make dep-am".
704 * Makefile.in: Regenerate.
706 2009-05-12 Alan Modra <amodra@bigpond.net.au>
708 * objcopy.c (set_long_section_mode): Check input_bfd is coff
709 before accessing coff specific fields of bfd.
711 2009-05-09 Dave Korn <dave.korn.cygwin@gmail.com>
713 * MAINTAINERS: Add myself as PE/COFF co-maintainer.
715 2009-05-08 Kai Tietz <kai.tietz@onevision.com>
717 * winduni.c (iconv_onechar): Only define when HAVE_ICONV
718 is defined, but not when __CYGWIN__ or _WIN32 are defined.
719 See wind_iconv_cp for call logic of this local funtion.
721 2009-05-05 Guillaume Duhamel <guillaume.duhamel@gmail.com>
724 * winduni.c: Replace test of HAVE_ICONV_H with a test of
726 (iconv_onechar): Use ICONV_CONST instead of "const".
727 (wind_MultiByteToWideChar): Initialise local strings.
729 2009-04-30 Nick Clifton <nickc@redhat.com>
731 * readelf.c (dump_relocations): Display a relocation against an
732 ifunc symbol as if it were a function invocation.
733 (get_symbol_type): Handle STT_GNU_IFUNC.
735 2009-04-29 Anthony Green <green@moxielogic.com>
737 * NEWS: Tweak verilog support description.
739 2009-04-29 Alan Modra <amodra@bigpond.net.au>
740 Denis Scherbakov <denis_scherbakov@yahoo.com>
742 * readelf.c (slurp_ia64_unwind_table): Correct 64-bit unwind table
743 read, and merge with 32-bit case.
745 2009-04-27 Anthony Green <green@moxielogic.com>
747 * NEWS: Mention verilog support added to bfd.
749 2009-04-27 H.J. Lu <hongjiu.lu@intel.com>
751 * objcopy.c (copy_object): Copy pe_opthdr before changing PE
754 2009-04-24 Cary Coutant <ccoutant@google.com>
756 * dwarf.c (process_extended_line_op): Add DW_LNE_set_discriminator.
757 Add missing newlines to HP extensions.
759 2009-04-17 H.J. Lu <hongjiu.lu@intel.com>
761 * objcopy.c (set_pe_subsystem): Replace efi-rom with sal-rtd.
762 * doc/binutils.texi: Likewise.
764 2009-04-17 H.J. Lu <hongjiu.lu@intel.com>
767 * objcopy.c: Include coff/i386.h and coff/pe.h.
768 (pe_file_alignment): New.
769 (pe_heap_commit): Likewise.
770 (pe_heap_reserve): Likewise.
771 (pe_image_base): Likewise.
772 (pe_section_alignment): Likewise.
773 (pe_stack_commit): Likewise.
774 (pe_stack_reserve): Likewise.
775 (pe_subsystem): Likewise.
776 (pe_major_subsystem_version): Likewise.
777 (pe_minor_subsystem_version): Likewise.
778 (set_pe_subsystem): Likewise.
779 (convert_efi_target): Likewise.
780 (command_line_switch): Add OPTION_FILE_ALIGNMENT,
781 OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT,
782 OPTION_STACK and OPTION_SUBSYSTEM.
783 (copy_options): Likewise.
784 (copy_usage): Add --file-alignment, --heap, --image-base,
785 --section-alignment, --stack and --subsystem.
786 (copy_object): Set up PE parameters.
787 (copy_main): Process Add OPTION_FILE_ALIGNMENT,
788 OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT,
789 OPTION_STACK and OPTION_SUBSYSTEM. Convert EFI target to
792 * NEWS: Mention --file-alignment, --heap, --image-base,
793 --section-alignment, --stack and --subsystem command line
796 * doc/binutils.texi: Document --file-alignment, --heap,
797 --image-base, --section-alignment, --stack and --subsystem
798 command line options for objcopy.
800 2009-04-15 Anthony Green <green@moxielogic.com>
802 * MAINTAINERS: Add myself as Moxie port maintainer.
804 2009-04-14 Dave Korn <dave.korn.cygwin@gmail.com>
806 * objcopy.c (enum long_section_name_handling): New enum type.
807 (enum command_line_switch): Add OPTION_LONG_SECTION_NAMES.
808 (copy_options[]): Add entry for --long-section-names option.
809 (copy_usage): Document it.
810 (set_long_section_mode): New subroutine.
811 (copy_file): Call it.
812 (copy_main): Accept OPTION_LONG_SECTION_NAMES and parse arg.
813 * doc/binutils.texi: Update objcopy documentation with details
816 2009-04-01 Dave Korn <dave.korn.cygwin@gmail.com>
818 * dlltool.c (set_dll_name_from_def): Accept new second arg that
819 indicates if we are building DLL or EXE, and use it to add a
820 default suffix to the output filename when none is already present.
821 (def_name): Indicate we are building an EXE when calling it.
822 (def_library): Indicate we are building a DLL when calling it.
824 2009-04-01 Jari Aalto <jari.aalto@cante.net>
827 * doc/binutils.texi (strings): Document the -V alias for the
829 * strings.c (usage): Likewise.
831 2009-03-31 Nick Clifton <nickc@redhat.com>
834 * configure.in: Import Solaris specific largefile test from
836 * configure: Regenerate.
838 2009-03-30 Richard Sandiford <rdsandiford@googlemail.com>
840 * MAINTAINERS: Add self.
842 2009-03-27 Nick Clifton <nickc@redhat.com>
844 * dwarf.c (display_debug_ranges): Add the base address to the
845 displayed values for 'Begin' and 'End'.
847 2009-03-25 Ryan Mansfield <rmansfield@qnx.com>
849 * readelf.c (process_file_header): Don't report a corrupt string
850 table index if it is zero.
852 2009-03-19 H.J. Lu <hongjiu.lu@intel.com>
854 * dwarf.c (dwarf_regnames): Moved before frame_need_space.
855 (dwarf_regnames_count): Likewise.
856 (frame_need_space): Return int.
857 (display_debug_frames): Check invalid registers.
859 2009-03-19 H.J. Lu <hongjiu.lu@intel.com>
861 * readelf.c (debug_apply_relocations): Check relocations
862 against STT_SECTION symbol.
864 2009-03-18 H.J. Lu <hongjiu.lu@intel.com>
866 * readelf.c (debug_apply_relocations): Allow relocations
867 against function symbols.
869 2009-03-18 Alan Modra <amodra@bigpond.net.au>
871 * sysdep.h: Include alloca-conf.h instead of config.h and remove
872 existing #if's handling alloca.
873 * Makefile.am: Run "make dep-am".
874 * Makefile.in: Regenerate.
876 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
878 * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
879 * configure.in: Likewise.
880 * configure: Regenerate.
882 2009-03-13 H.J. Lu <hongjiu.lu@intel.com>
885 * objcopy.c (copy_object): Clear HAS_RELOC when stripping all.
887 2009-03-11 Chris Demetriou <cgd@google.com>
889 * ar.c (deterministic): New global variable.
890 (main): Recognize new 'D' option, which enables 'deterministic mode'.
891 (usage): Document new 'D' option.
892 (write_archive): Set BFD_DETERMINISTIC_OUTPUT in output archive's
893 flags if deterministic mode was requested.
894 * doc/binutils.texi (ar): Document deterministic mode ('D' option).
896 2009-03-09 H.J. Lu <hongjiu.lu@intel.com>
899 * objcopy.c (filter_symbols): Properly handle common symbols
902 2009-03-06 Nick Clifton <nickc@redhat.com>
904 * po/es.po: Updated Spanish translation.
906 2009-03-05 Nick Clifton <nickc@redhat.com>
908 * objdump.c (disassemble_section): If the computed next offset is
909 not beyond the current offset then just continue to the end.
911 2009-03-04 Tristan Gingold <gingold@adacore.com>
913 * MAINTAINERS: Add myself as VMS maintainer.
915 2009-03-03 Nick Clifton <nickc@redhat.com>
917 * readelf.c: Update formatting.
919 2009-03-03 Alan Modra <amodra@bigpond.net.au>
921 * Makefile.am: Run "make dep-am".
922 * Makefile.in: Regenerate.
924 2009-03-03 Alan Modra <amodra@bigpond.net.au>
926 * objdump.c (disassemble_section): Mask address before sign extending.
928 2009-03-02 Sebastian Biallas <sb@biallas.net>
930 * ieee.c (parse_ieee_ty): Add support for undocumented 'v' type.
931 (parse_ieee_bb): Set the filename if it has not already been
934 2009-03-02 Cary Coutant <ccoutant@google.com>
936 * readelf.c (adjust_relative_path): New function.
937 (struct archive_info): New type.
938 (setup_archive): New function.
939 (release_archive): New function.
940 (setup_nested_archive): New function.
941 (get_archive_member_name): New function.
942 (get_archive_member_name_at): New function.
943 (make_qualified_name): New function.
944 (process_archive): Factor out code for reading archive index and
945 long filename table to setup_archive. Add support for thin archives.
947 2009-03-02 Nick Clifton <nickc@redhat.com>
949 * po/sk.po: Updated Slovak translation.
951 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
953 * configure: Regenerate.
955 2009-02-23 Cary Coutant <ccoutant@google.com>
957 * objdump.c (load_specific_debug_section): New function, from
959 (load_debug_section): Use load_specific_debug_section.
960 (dump_dwarf_section): Likewise.
962 2009-02-23 Cary Coutant <ccoutant@google.com>
964 * readelf.c (parse_args): Select all sections explicitly for -w.
966 2009-02-09 Kai Tietz <kai.tietz@onevision.com>
968 * windres.c (set_endianess): Copy name without leading '-'.
970 2009-02-09 Tristan Gingold <gingold@adacore.com>
972 * NEWS: Mention feature match between objdump and readelf for dumping
975 * doc/binutils.texi (objdump): Document -W/--dwarf improvments to
978 * objdump.c (usage): Update documentation for -W/--dwarf.
979 (enum option_values): Add OPTION_DWARF.
980 (long_options): --dwarf can accept arguments.
981 (dump_dwarf_section): Also check enabled field.
982 (main): Option -W can accept arguments, code moved to
983 dwarf.c and call dwarf_select_sections_all instead.
984 * readelf.c (process_section_headers): Remove do_debug_lines_decoded.
985 (parse_args): Move code to...
986 * dwarf.c (dwarf_select_sections_by_letters,
987 dwarf_select_sections_by_names): : ...here (new functions).
988 (do_debug_lines_decoded): Remove and replaced by ...
989 (FLAG_DEBUG_LINES_RAW, FLAG_DEBUG_LINES_DECODED): ... new macros.
990 (display_debug_lines): Adjust for previous change.
991 (dwarf_select_sections_all): New function.
992 (debug_displays): Add initializer for enabled field.
993 * dwarf.h (do_debug_lines_decoded): Remove.
994 Add prototypes for the new functions.
995 (struct dwarf_section_display): Add enabled field.
997 2009-02-06 Nick Clifton <nickc@redhat.com>
999 * po/vi.po: Updated Vietnamese translation.
1001 2009-02-03 Sandip Matte <sandip@rmicorp.com>
1003 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_XLR.
1005 2009-02-03 H.J. Lu <hongjiu.lu@intel.com>
1007 * NEWS: Move --as-needed change to ...
1010 2009-02-03 Carlos O'Donell <carlos@codesourcery.com>
1012 * configure.in: AC_SUBST pdfdir.
1013 * Makefile.am: Add install-pdf, install-pdf-am,
1014 and install-pdf-recursive targets.
1015 * doc/Makefile.am: Define pdf__strip_dir. Add
1016 install-pdf and install-pdf-am targets.
1017 * po/Make-in: Add install-pdf target.
1018 * configure: Regenerate.
1019 * Makefile.in: Regenerate.
1020 * doc/Makefile.in: Regenerate.
1022 2009-02-03 H.J. Lu <hongjiu.lu@intel.com>
1025 * NEWS: Mention --prefix=PREFIX and --prefix-strip=LEVEL.
1027 * doc/binutils.texi: Document --prefix=PREFIX and
1028 --prefix-strip=LEVEL.
1030 * objdump.c: Include "filenames.h".
1032 (prefix_strip): Likewise.
1033 (prefix_length): Likewise.
1034 (usage): Add --prefix=PREFIX and --prefix-strip=LEVEL.
1035 (option_values): Add OPTION_PREFIX and OPTION_PREFIX_STRIP.
1036 (long_options): Likewise.
1037 (show_line): Handle prefix and prefix_strip.
1038 (main): Handle OPTION_PREFIX and OPTION_PREFIX_STRIP.
1040 * readelf.c (PATH_MAX): Moved to ...
1043 2009-01-31 Alan Modra <amodra@bigpond.net.au>
1045 * NEWS: Mention --as-needed change.
1047 2009-01-29 Alan Modra <amodra@bigpond.net.au>
1050 * bucomm.c (bfd_nonfatal_message): Use bfd_get_archive_filename.
1051 (bfd_get_archive_filename): Constify param.
1052 * bucomm.h (bfd_get_archive_filename): Update prototype.
1053 * objcopy.c (RETURN_NONFATAL): Delete.
1054 (copy_unknown_object): Don't call bfd_get_archive_filename for
1055 bfd_nonfatal_message filename, instead just pass bfd.
1056 (copy_object): Likewise.
1057 (copy_archive, copy_file): Likewise. Expand RETURN_NONFATAL. On
1058 bfd_close errors, do not pass the bfd to bfd_nonfatal_message.
1059 (setup_bfd_headers): Fix error message.
1061 2009-01-27 Nick Clifton <nickc@redhat.com>
1064 * objdump.c (disassemble_section): When the target uses signed
1065 addresses make sure that we compute signed values.
1067 2009-01-27 Nick Clifton <nickc@redhat.com>
1069 * MAINTAINERS: Remove Thiemo Seufer's name from the list of MIPS
1072 2009-01-26 Nick Clifton <nickc@redhat.com>
1075 * dlltool.c (xlate): When strip text after the @ sign, look for
1076 the last one not the first one.
1078 2009-01-16 Alan Modra <amodra@bigpond.net.au>
1080 * configure.in (commonbfdlib): Delete.
1081 * configure: Regenerate.
1083 2008-01-14 Charles Wilson <cygwin@cwilson.fastmail.fm>
1085 Cleanup code related to --identify option.
1087 * dlltool.c (file scope): Removed globals identify_ms,
1088 identify_member_contains_symname_result,
1089 identify_dll_name_list_head, and identify_dll_name_list_tail.
1090 Renamed existing typedef dll_name_list_type to
1091 dll_name_list_node_type.
1092 Added new typedefs dll_name_list_type, symname_search_data_type,
1093 and identify_data_type.
1094 (identify_append_dll_name_to_list): Renamed to...
1095 (dll_name_list_append): ...here. Changed signature to accept list
1096 argument rather than use global.
1097 (identify_count_dll_name_list): Renamed to...
1098 (dll_name_list_count): ...here. Changed signature to accept list
1099 argument rather than use global.
1100 (identify_print_dll_name_list): Renamed to...
1101 (dll_name_list_print): ...here. Changed signature to accept list
1102 argument rather than use global.
1103 (identify_free_dll_name_list): Renamed to...
1104 (dll_name_list_free_contents): ...here.
1105 (dll_name_list_free): New function.
1106 (dll_name_list_create): New function.
1107 (identify_process_section_p): Changed signature to accept
1108 ms_style_implib argument rather than use global.
1109 (identify_member_contains_symname): Expect incoming void * data to
1110 be symname_search_data_type.
1111 (identify_dll_for_implib): Use new functions dll_name_list_create
1112 and dll_name_list_free. Use new types symname_search_data_type
1113 and identify_data_type to communicate with search routines.
1114 (identify_search_section): Expect incoming void * data to be
1115 identify_data_type. Use its contents rather than global
1118 2009-01-13 Charles Wilson <cygwin@cwilson.fastmail.fm>
1120 Add --identify-strict option. Handle ms-style implibs:
1122 * dlltool.c (file scope): Added new globals identify_ms and
1123 identify_strict. New typedef dll_name_list_type, and globals
1124 identify_dll_name_list_head and identify_dll_name_list_tail. Added
1125 new global identify_member_contains_symname_result.
1126 (identify_append_dll_name_to_list): New function.
1127 (identify_count_dll_name_list): New function.
1128 (identify_print_dll_name_list): New function.
1129 (identify_free_dll_name_list): New function.
1130 (identify_search_archive): Changed signature to take function
1131 pointer to operation to apply to each member, and data to pass on
1133 (identify_search_member): Changed signature to accept user data
1135 (identify_member_contains_symname): New function.
1136 (identify_dll_for_implib): Rewrite. Now determines whether implib
1137 is ms- or binutils- style, before searching sections for
1138 dllname. Allows multiple dllnames.
1139 (identify_process_section_p): Search alternate section for dllname
1140 when implib is ms-style.
1141 (identify_search_section): Add additional conditions to excludes
1142 candidate sections from consideration.
1143 (usage): Added --identify-strict.
1144 (long_options): Added --identify-strict.
1145 (main): Handle --identify-strict option.
1146 * doc/binutils.texi: Document --identify-strict option.
1147 * NEWS: Document --identify and --identify-strict options.
1149 2009-01-13 Alan Modra <amodra@bigpond.net.au>
1152 * doc/binutils.texi (objdump -R): Note effect of -d or -D.
1154 2009-01-13 Alan Modra <amodra@bigpond.net.au>
1156 * objdump.c (disassemble_section): Don't assume non-instruction
1157 data if object symbol at given address is in different section.
1159 2009-01-12 Kai Tietz <kai.tietz@onevision.com>
1161 * dlltool.c (create_for_pep): New.
1162 (flush_page): Use create_for_pep instead of using
1163 macro DLLTOOL_MX86_64 clause.
1164 (generate_idata_ofile): Likewise.
1165 (make_one_lib_file): Likewise.
1166 (make_head): Likewise.
1167 (make_tail): Likewise.
1168 (main): Initialize create_for_pep.
1170 2009-01-08 Kai Tietz <kai.tietz@onevision.com>
1172 * dlltool.c (use_nul_prefixed_import_tables): New.
1173 (make_head): Make prefix leading zero prefix element for
1174 idata$4 and idata$5 dependent to new flag.
1175 (usage): Add new option --use-nul-prefixed-import-tables.
1176 (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
1177 (long_options): Add --use-nul-prefixed-import-tables.
1179 * doc/binutils.texi: Add new option documentation for
1180 --use-nul-prefixed-import-tables.
1181 * NEWS: Add new option.
1183 2009-01-06 Kai Tietz <kai.tietz@onevision.com>
1185 * windres.c (set_endianess): Get architecture name
1186 for internal target names like "pe-arm-wince-little".
1187 (find_arch_match): New helper.
1188 * ChangeLog: Reset it.
1189 * ChangeLog-2008: Moved old ChangeLog.
1191 For older changes see ChangeLog-2008
1197 version-control: never