1 2009-10-16 Nick Clifton <nickc@redhat.com>
3 * readelf.c (usage): Add mention of --debug-dump=frames-interp.
4 Wrap output to 80 columns.
5 * objdump.c (usage): Likewise.
6 * doc/binutils.texi (readelf): Add note about =frames-interp.
8 2009-10-01 Alan Modra <amodra@bigpond.net.au>
10 * addr2line.c (slurp_symtab): Don't use bfd_read_minisymbols.
12 2009-09-29 Nick Clifton <nickc@redhat.com>
14 * doc/binutils.texi (c++filt): Remove spurious description of
15 nonexistent --java command line switch for cxxfilt.
17 2009-09-29 DJ Delorie <dj@redhat.com>
19 * readelf.c: Add support for RX target.
20 * MAINTAINERS: Add DJ and NickC as maintainers for RX.
22 2009-09-28 Alan Modra <amodra@bigpond.net.au>
24 * configure.in: Don't invoke configure.tgt on $enable_targets.
25 * configure: Regenerate.
27 2009-09-28 Nick Clifton <nickc@redhat.com>
30 * readelf.c (get_elf_section_flags): Allow SHN_BEFORE and
31 SHN_AFTER section link values in x86 binaries.
32 (process_section_headers): Likewise.
34 2009-09-25 Dimitry Gorbachev <d.g.gorbachev@gmail.com>
37 * readelf.c: Remove duplicate declaration of variable do_wide.
38 * dwarf.h: Add export of do_wide.
40 2009-09-24 Cary Coutant <ccoutant@google.com>
42 * dwarf.c (get_TAG_name): Add missing DWARF-3 and new DWARF-4 tags.
43 (get_FORM_name): Add new DWARF-4 forms.
44 (read_and_display_attr_value): Add DW_FORM_ref_sig8, DW_LANG_Python.
45 (get_AT_name): Add new DWARF-4 and GNU-specific attributes.
46 (process_debug_info): Add do_types parameter; change all callers.
47 Add support for .debug_types sections.
48 (display_debug_types): New function.
49 (debug_displays): Add .debug_types section.
50 * readelf.c (process_section_headers): Add .debug_types section.
51 (display_debug_section): Simplify call to streq.
53 2009-09-25 Alan Modra <amodra@bigpond.net.au>
55 * readelf.c (print_dynamic_symbol): Format entries as for
57 (process_symbol_table): Use -7s format string for visibility.
59 2009-09-22 Richard Sandiford <rdsandiford@googlemail.com>
61 * objdump.c (disassemble_section): Use bfd_get_arch_size
62 instead of assuming that the address size is 32 bits.
64 2009-09-21 Alan Modra <amodra@bigpond.net.au>
66 * readelf.c (get_ppc_dynamic_type): Add TLSOPT.
67 (get_ppc64_dynamic_type): Likewise.
69 2009-09-18 Nick Clifton <nickc@redhat.com>
71 * po/es.po: Updated Spanish translation.
72 * po/vi.po: Updated Vietnamese translation.
74 2009-09-11 Paul Pluzhnikov <ppluzhnikov@google.com>
76 * readelf.c (process_version_sections, process_symbol_table):
77 Use symbolic constants.
79 2009-09-11 Nick Clifton <nickc@redhat.com>
81 * po/binutils.pot: Updated by the Translation project.
83 2009-09-11 Philippe De Muyter <phdm@macqel.be>
85 * obcopy.c (copy_object): New parameter `input_arch', architecture
86 of input file, if not specified in input file itself; all callers
87 updated; `binary_architecture' hack removed.
88 (copy_archive, copy_file): New parameter `input_arch', for
90 (copy_main): Accept `-B' (`--binary-architecture') option also
91 for any arch-less input ifile format, not only `binary'; remove
92 bfd_external_binary_architecture hack; instead, add `input_arch'
93 to calls to `copy_file'.
94 * windres.c, windmc.c : Obsolete and useless external references
95 to `bfd_external_binary_architecture' or `bfd_external_machine'
97 * doc/binutils.texi: Mention that -B parameter can be used for any
98 input file type which does not have its own architecture.
100 2009-09-10 Martin Thuresson <martin@mtme.org>
102 Update sources to compile cleanly with -Wc++-compat:
103 * addr2line.c (slurp_symtab): Fix casts. Introduce variable
104 minisyms to avoid aliasing varning.
106 (normalize): Use name del instead of delete.
107 (display_target_list,display_info_table): Change loop counter
109 * bucomm.c: Add casts.
110 * debug.c: Update function to use new names.
111 (struct debug_baseclass): Rename member from virtual to
113 (struct debug_type_s, struct debug_field_s, struct
114 debug_baseclass_s, struct debug_method_s, struct
115 debug_method_variant_s, struct debug_type_s): Rename struct from
116 avoid name collision.
117 * debug.h: Use new struct names.
118 * dwarf.c: Add casts.
119 (free_debug_memory): Change loop counter variable a to int.
121 (enum ieee_var_kind): Move to top level.
122 (ieee_class_baseclass): Rename parameter virtual to is_virtual.
123 (ieee_class_method_var): Rename variable virtual to is_virtual.
125 * objcopy.c: Add casts.
126 (copy_archive): Rename variable delete to del.
127 * objdump.c: Add casts.
128 (dump_dwarf_section): Change loop counter variable i to int.
129 * prdbg.c: Add casts.
130 (pr_class_baseclass,tg_class_baseclass): Rename parameters virtual
132 * readelf.c: Add casts.
133 (struct ia64_unw_table_entry,struct hppa_unw_table_entry): Move to
136 * stabs.c (parse_stab_type, parse_stab_range_type,
137 (parse_stab_cpp_abbrev): Rename parameter from typename to
139 (parse_stab_baseclasses): Rename variable virtual to is_virtual.
140 * strings.c: Add casts.
141 * wrstabs.c (stab_class_baseclass): Rename parameter virtual to
144 2009-09-09 Nick Clifton <nickc@redhat.com>
147 readelf.c (get_elf_section_flags): Add support for SHF_EXCLUDE and
149 (process_section_headers): Warn about out of range sh_link
150 values. When displaying detailed section header information
151 annote the SHN_BEFORE and SHN_AFTER values.
153 2009-09-08 Alan Modra <amodra@bigpond.net.au>
155 * dwarf.c (byte_get_little_endian): Handle size of 3.
156 (byte_get_big_endian): Likewise.
157 * readelf.c (byte_put_little_endian): Likewise.
158 (byte_put_big_endian): Likewise.
159 (is_24bit_abs_reloc): New function.
160 (is_none_reloc): Formatting.
161 (apply_relocations): Use is_24bit_abs_reloc. Handle pj and xtensa
164 2009-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
166 * readelf.c (is_none_reloc <EM_XTENSA_OLD>, is_none_reloc <EM_XTENSA>):
169 2009-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
171 * dwarf.c (process_debug_info): Support section padding abbrev codes.
173 2009-09-07 Tristan Gingold <gingold@adacore.com>
175 * po/binutils.pot: Regenerate.
177 2009-09-05 Jan Kratochvil <jan.kratochvil@redhat.com>
179 * Makefile.am (sysdump.o): Depend on sysroff.c.
180 * Makefile.in: Regenerate.
182 2009-09-05 Martin Thuresson <martin@mtme.org>
184 * ieee.c (ieee_read_cxx_misc, ieee_read_cxx_class,
185 ieee_read_reference): Rename variables named class to cxxclass.
187 2009-09-04 Tristan Gingold <gingold@adacore.com>
189 * BRANCHES: Add binutils-2_20-branch.
191 2009-09-04 Tristan Gingold <gingold@adacore.com>
193 * NEWS: Add marker for 2.20.
195 2009-09-04 Timo Kreuzer <timo.kreuzer@web.de>
197 * dlltool.c (delayimp_name): Add new global variable
198 (usage, long_options, main): Add new option "-y" / "--output-delaylib"
199 (struct mac): Add fields how_dljtab_size, how_dljtab_roff1,
200 how_dljtab_roff2, how_dljtab, trampoline.
201 (i386_dljtab): Add binary stub for x86 delay import.
202 (i386_trampoline): Add text assembly stub for x86 delay import.
203 (mtable): Add delay import data for M386 and MX86 only.
204 (make_delay_head): New function.
205 (make_one_lib_file): New arg delay creates delay-load import stub.
206 (gen_lib_file): New arg delay likewise.
207 (HOW_JTAB, HOW_JTAB_SIZE, HOW_JTAB_ROFF): New arg delay likewise.
208 (HOW_JTAB_ROFF2, HOW_JTAB_ROFF3): New macros for delay import.
209 (make_tail): Convert hard TABS embedded in strings to "\t" escapes.
210 * NEWS: Mention new feature. Also fix whitespace.
211 * doc/binutils.texi: Updated dlltool documentation.
213 2009-09-02 Tristan Gingold <gingold@adacore.com>
215 * configure.com: Do not copy makefile.vms-in to makefile.vms
216 * makefile.vms-in: Renamed to...
217 * makefile.vms: ... this usual name as it is not processed anymore.
218 Remove WRITE_DEBUG_OBJS (unused) and reorder object files for
221 2009-09-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
223 * Makefile.am (arparse.o, arlex.o, sysroff.o, defparse.o)
224 (deflex.o, nlmheaders.o, rcparse.o, mcparse.o): Supply correct
225 source file name for generated files which may be in $(srcdir).
226 * Makefile.in: Regenerate.
228 2009-09-01 H.J. Lu <hongjiu.lu@intel.com>
230 * version.c (print_version): Change to "Copyright 2009".
232 2009-09-01 Tristan Gingold <gingold@adacore.com>
234 * makefile.vms-in: Remove unused VERSION variable. Remove unused
236 * configure.com: Ported to Itanium VMS. Create build.com DCL script.
238 2009-08-29 Martin Thuresson <martin@mtme.org>
240 * nlmconv.c (main): Rename variable new to new_name.
242 2009-08-28 H.J. Lu <hongjiu.lu@intel.com>
244 * Makefile.am (sysinfo$(EXEEXT_FOR_BUILD)): Replace
245 CFLAGS/LDFLAGS with CFLAGS_FOR_BUILD/LDFLAGS_FOR_BUILD.
246 (syslex.o): Likewise.
247 (sysinfo.o): Likewise.
248 (bin2c$(EXEEXT_FOR_BUILD)): Likewise.
249 * Makefile.in: Regenerated.
251 2009-08-27 Dave Korn <dave.korn.cygwin@gmail.com>
253 * doc/binutils.texi (--only-keep-debug): Relocate stray para here ...
254 (--subsystem): ... from here.
256 2009-08-24 Cary Coutant <ccoutant@google.com>
258 * objdump.c (find_symbol_for_address): Avoid costly call to
261 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
263 * Makefile.am (am__skiplex, am__skipyacc): New.
264 * Makefile.in: Regenerate.
266 2009-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
268 * Makefile.am (syslex.o): Depend on sysinfo.h config.h.
269 * Makefile.in: Regenerate.
271 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
273 * Makefile.am (AM_CPPFLAGS): Renamed from ...
274 (INCLUDES): ... this.
275 (bin2c$(EXEEXT_FOR_BUILD): Adjust rule.
276 (installcheck-local): Renamed from ...
277 (installcheck): ... this.
278 * Makefile.in: Regenerate.
280 * Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add no-dist and
282 (MKDEP, CLEANFILES): Remove now-unneeded variables.
283 (DEP, DEP1, dep.sed, dep, dep-in, dep-am): Remove.
284 (mkdep section): Remove.
285 (BUILT_SOURCES): New variable, list $(GENERATED_HFILES).
286 (EXTRA_ar_SOURCES): New, list $(CFILES).
287 (syslex.o): Depend on syslex.c.
288 (sysinfo.o): Depend on sysinfo.c.
289 (arparse.h, defparse.h, nlmheaders.h rcparse.h mcparse.h):
290 Remove dependencies, now tracked by automake.
291 (srconv.o): Depend on sysroff.c.
292 (objdump.o, arparse.o, arlex.o, sysroff.o, defparse.o, deflex.o)
293 (nlmheader.o, rcparse.o, mcparse.o, rclex.o, mclex.o, dlltool.o)
294 (rescoff.o, nlmconv.o): Rewrite using automake-style dependency
295 tracking rules; only list the dependency upon the primary source
296 file, but no included headers.
297 * Makefile.in: Regenerate.
299 * Makefile.am (install-pdf, install-pdf-recursive, install-html)
300 (install-html-recursive): Remove.
301 * Makefile.in: Regenerate.
302 * doc/Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
303 (html__strip_dir, install-html, install-html-am): Remove.
304 * doc/Makefile.in: Regenerate.
306 * Makefile.in: Regenerate.
307 * aclocal.m4: Likewise.
308 * config.in: Likewise.
309 * configure: Likewise.
310 * doc/Makefile.in: Likewise.
312 2009-08-17 Nick Clifton <nickc@redhat.com>
314 * readelf.c (is_32bit_abs_reloc): Treat R_PARISC_SECREL32 as a
315 32-bit absolute reloc for the purposes of processing debug
318 2009-08-10 Daniel Gutson <dgutson@codesourcery.com>
320 * readelf.c (get_arm_section_type_name): Added support for
321 new sections headers.
323 2009-08-03 H.J. Lu <hongjiu.lu@intel.com>
326 * objcopy.c (strip_main): Check return from smart_rename.
327 (copy_main): Likewise.
329 2009-07-27 Nick Clifton <nickc@redhat.com>
332 * objdump.c (dump_section_header): Skip sections that we are
335 2009-07-25 H.J. Lu <hongjiu.lu@intel.com>
337 * readelf.c (guess_is_rela): Handle EM_L1OM.
338 (dump_relocations): Likewise.
339 (get_machine_name): Likewise.
340 (get_section_type_name): Likewise.
341 (get_elf_section_flags): Likewise.
342 (get_symbol_index_type): Likewise.
343 (is_32bit_abs_reloc): Likewise.
344 (is_32bit_pcrel_reloc): Likewise.
345 (is_64bit_abs_reloc): Likewise.
346 (is_64bit_pcrel_reloc): Likewise.
347 (is_none_reloc): Likewise.
349 2009-07-23 Ulrich Drepper <drepper@redhat.com>
351 * readelf.c (get_symbol_binding): For Linux targeted files return
352 UNIQUE for symbols with the STB_GNU_UNIQUE binding.
353 * doc/binutils.texi: Document the meaning of the 'u' symbol
354 binding in the output of nm and objdump --syms.
356 2009-07-20 H.J. Lu <hongjiu.lu@intel.com>
358 * NEWS: Mention --insn-width.
360 * objdump.c (insn_width): New.
361 (usage): Display --insn-width.
362 (option_values): Add OPTION_INSN_WIDTH.
363 (long_options): Add --insn-width.
364 (disassemble_bytes): Handle insn_width.
365 (main): Handle OPTION_INSN_WIDTH.
367 * doc/binutils.texi: Document --insn-width.
369 2009-07-17 Nick Clifton <nickc@redhat.com>
371 * dwarf.c (display_debug_lines): If do_debug_lines has not been
372 set then default to displaying raw .debug_line section contents.
374 2009-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
376 Support unordered .debug_info references to .debug_ranges.
377 * dwarf.c (struct range_entry, range_entry_compar): New.
378 (display_debug_ranges): Remove variables last_offset, first, j,
379 seen_first_offset, use_debug_info and next. New variables
380 range_entries and range_entry_fill. Create the sorted copy
381 range_entries. Remove the FIXME error on detected unordered references.
382 * dwarf.h (debug_info <range_lists>): New comment.
384 2009-07-14 Nick Clifton <nickc@redhat.com>
387 * README: Document use of LDFLAGS="--static".
389 2009-07-10 H.J. Lu <hongjiu.lu@intel.com>
391 * Makefile.am: Run "make dep-am".
392 * Makefile.in: Regenerated.
394 2009-07-10 Tom Tromey <tromey@redhat.com>
396 * Makefile.am (dwarf.o): Refer to dwarf2.h, not elf/dwarf2.h.
397 * Makefile.in: Rebuild.
398 * dwarf.c: Include dwarf2.h, not elf/dwarf2.h.
400 2009-07-06 Tristan Gingold <gingold@adacore.com>
402 * objdump.c (dump_dwarf_section): Handle .eh_frame like other dwarf
404 * dwarf.h (struct dwarf_section_display): Remove eh_frame field.
405 * dwarf.c (debug_displays): Adjust for removed field.
407 2009-07-03 Jakub Jelinek <jakub@redhat.com>
409 * dwarf.c (decode_location_expression): Handle DW_OP_stack_value
410 and DW_OP_implicit_value.
412 2009-07-01 Nick Clifton <nickc@redhat.com>
415 * rclex.c (handle_quotes): Do not complain about whitespace
416 separating quoted strings.
417 (rclex_string): Ignore whitespace when looking for a new opening
418 quote following a closing quote.
420 2009-06-27 H.J. Lu <hongjiu.lu@intel.com>
423 * bucomm.c (get_file_size): Return -1 on error.
425 * objcopy.c (copy_file): Report empty file.
427 2009-06-23 Nick Clifton <nickc@redhat.com>
429 * dwarf.c (display_debug_lines_raw): Include the name of the
430 section in warning message.
431 (struct debug_display): Enable reloc processing for .debug_line
432 and .debug_ranges sections.
434 * readelf.c: Add --relocated-dump command line option to dump the
435 relocated contents of a specified section.
436 (request_dump): New function.
437 (parse_args): Use it.
438 (dump_section_as_bytes): Add parameter to indicate whether the
439 contents should be relocated.
440 (target_specific_reloc_handling): Add code for a R_MN10300_16
441 reloc found after a R_MN10300_SYM_DIFF reloc.
442 (debug_apply_relocations): Rename to apply_relocations.
443 (get_section_contents): New function. Replaces common code found
444 in dump_section_as_strings and dump_section_as_bytes.
445 * doc/binutils.texi: Document new command line option.
446 * NEWS: Mention the new feature.
448 2009-06-22 Nick Clifton <nickc@redhat.com>
450 * readelf.c (target_specific_reloc_handling): New function:
451 Processes relocs in a target specific manner.
452 (debug_apply_relocations): Use the new function.
453 * dwarf.c (display_debug_loc): End the dump with a blank line.
454 (struct debug_display): Enable reloc processing for .debug_aranges
455 and .debug_loc sections.
457 2009-06-19 Nick Clifton <nickc@redhat.com>
459 * ar.c (usage): Do not use #ifdef inside _("...).
460 * nm.c (usage): Likewise.
462 2009-06-18 Nick Clifton <nickc@redhat.com>
465 * objdump.c (disassemble_bytes): Set the
466 USER_SPECIFIED_MACHINE_TYPE flag in the disassemble_info structure
467 if the user has invoked the -m switch.
468 * doc/binutils.texi: Document the additional behaviour of
469 objdump's -m switch for ARM targets.
471 2009-06-18 Dave Korn <dave.korn.cygwin@gmail.com>
473 * configure.in: Merge cegcc and mingw32ce target name changes from
476 2007-12-25 Pedro Alves <pedro_alves@portugalmail.pt>
478 * configure.in: Add arm*-*-cegcc* and arm*-*-mingw32ce* targets.
479 * configure: Regenerate.
481 2009-06-15 Nick Clifton <nickc@redhat.com>
484 * objdump.c (disassemble_bytes): Set the DISASSEMBLE_DATA bit in
485 the flags field of the disassemble_info structure if the -D switch
488 2009-06-12 Homer Xing <homer.xing@yahoo.com>
490 * NEWS: Mention new feature added to gprof.
492 2009-06-12 John Reiser <jreiser@BitWagon.com>
494 * readelf.c (process_symbol_table): Set gnubuckets to NULL after
495 freeing it and before returning.
497 2009-06-12 Jakub Jelinek <jakub@redhat.com>
499 * readelf.c (process_symbol_table): Don't return early if
500 .hash/.gnu.hash is empty/unusable and not -D.
502 2009-06-09 Tom Bramer <tjb@postpro.net>
505 * winduni.c (wind_MultiByteToWideChar): Do not pass MB_PRECOMPOSED
506 to MultiByteToWideChar when using the CP_UTF8 or CO_UTF7 types.
508 2009-06-04 Alan Modra <amodra@bigpond.net.au>
510 * strings.c (main): Delay parsing of decimal digits.
512 2009-06-04 Alan Modra <amodra@bigpond.net.au>
514 * dep-in.sed: Don't use \n in replacement part of s command.
515 * Makefile.am (DEP1): LC_ALL for uniq.
517 * Makefile.in: Regenerate.
519 2009-06-03 Tristan Gingold <gingold@adacore.com>
521 * MAINTAINERS: Add myself as Mach-O maintainer.
523 2009-06-01 Alan Modra <amodra@bigpond.net.au>
526 * doc/binutils.texi (nm): Correct -S description.
528 2009-05-28 Nick Clifton <nickc@redhat.com>
530 * po/da.po: Updated Danish translation.
532 2009-05-28 Nick Clifton <nickc@redhat.com>
534 * readelf.c (display_debug_section): Do not display debug sections
535 with the NOBITS section type.
537 2009-05-27 Rafael Avila de Espindola <espindola@google.com>
539 * aclocal.m4: Include ../config/plugins.m4.
540 * configure.in: Use AC_PLUGINS.
541 * configure: Regenerate.
542 * Makefile.in: Regenerate.
543 * doc/Makefile.in: Regenerate.
545 2009-05-27 Rafael Avila de Espindola <espindola@google.com>
547 * ar.c (main): Call bfd_plugin_set_program_name.
548 * nm.c (main): Call bfd_plugin_set_program_name.
550 2009-05-27 Nathan Sidwell <nathan@codesourcery.com>
552 * sysdump.c (tab): Use puts rather than two printfs.
554 2009-05-26 Nick Clifton <nickc@redhat.com>
556 * po/id.po: Updated Indonesian translation.
557 * po/binutils.pot: Updated template file.
559 2009-05-26 Rafael Avila de Espindola <espindola@google.com>
561 * ar.c: Include plugin.h.
562 (main): Handle the --plugin option.
563 * nm.c: Include plugin.h.
564 (OPTION_PLUGIN): New.
565 (long_options): Add plugin.
566 (main): Handle OPTION_PLUGIN.
567 * NEWS: Mention the new feature.
568 * doc/binutils: Documement the new command line options.
569 * configure.in: Check for --enable-plugins.
570 * configure: Regenerate.
572 2009-05-26 Alan Modra <amodra@bigpond.net.au>
574 * dep-in.sed: Output one filename per line with all lines having
575 continuation backslash. Prefix first line with "A", following
577 * Makefile.am (DEP): Don't use dep.sed here.
578 (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
580 * Makefile.in: Regenerate.
582 2009-05-25 Tristan Gingold <gingold@adacore.com>
584 * makefile.vms-in: Fix CFLAGS, add addr2line.exe target.
586 * configure.com: Fix it: handle alloca and define TARGET in config.h.
588 2009-05-22 Alan Modra <amodra@bigpond.net.au>
590 * Makefile.am: Run "make dep-am".
591 * Makefile.in: Regenerate.
593 2009-05-12 Alan Modra <amodra@bigpond.net.au>
595 * objcopy.c (set_long_section_mode): Check input_bfd is coff
596 before accessing coff specific fields of bfd.
598 2009-05-09 Dave Korn <dave.korn.cygwin@gmail.com>
600 * MAINTAINERS: Add myself as PE/COFF co-maintainer.
602 2009-05-08 Kai Tietz <kai.tietz@onevision.com>
604 * winduni.c (iconv_onechar): Only define when HAVE_ICONV
605 is defined, but not when __CYGWIN__ or _WIN32 are defined.
606 See wind_iconv_cp for call logic of this local funtion.
608 2009-05-05 Guillaume Duhamel <guillaume.duhamel@gmail.com>
611 * winduni.c: Replace test of HAVE_ICONV_H with a test of
613 (iconv_onechar): Use ICONV_CONST instead of "const".
614 (wind_MultiByteToWideChar): Initialise local strings.
616 2009-04-30 Nick Clifton <nickc@redhat.com>
618 * readelf.c (dump_relocations): Display a relocation against an
619 ifunc symbol as if it were a function invocation.
620 (get_symbol_type): Handle STT_GNU_IFUNC.
622 2009-04-29 Anthony Green <green@moxielogic.com>
624 * NEWS: Tweak verilog support description.
626 2009-04-29 Alan Modra <amodra@bigpond.net.au>
627 Denis Scherbakov <denis_scherbakov@yahoo.com>
629 * readelf.c (slurp_ia64_unwind_table): Correct 64-bit unwind table
630 read, and merge with 32-bit case.
632 2009-04-27 Anthony Green <green@moxielogic.com>
634 * NEWS: Mention verilog support added to bfd.
636 2009-04-27 H.J. Lu <hongjiu.lu@intel.com>
638 * objcopy.c (copy_object): Copy pe_opthdr before changing PE
641 2009-04-24 Cary Coutant <ccoutant@google.com>
643 * dwarf.c (process_extended_line_op): Add DW_LNE_set_discriminator.
644 Add missing newlines to HP extensions.
646 2009-04-17 H.J. Lu <hongjiu.lu@intel.com>
648 * objcopy.c (set_pe_subsystem): Replace efi-rom with sal-rtd.
649 * doc/binutils.texi: Likewise.
651 2009-04-17 H.J. Lu <hongjiu.lu@intel.com>
654 * objcopy.c: Include coff/i386.h and coff/pe.h.
655 (pe_file_alignment): New.
656 (pe_heap_commit): Likewise.
657 (pe_heap_reserve): Likewise.
658 (pe_image_base): Likewise.
659 (pe_section_alignment): Likewise.
660 (pe_stack_commit): Likewise.
661 (pe_stack_reserve): Likewise.
662 (pe_subsystem): Likewise.
663 (pe_major_subsystem_version): Likewise.
664 (pe_minor_subsystem_version): Likewise.
665 (set_pe_subsystem): Likewise.
666 (convert_efi_target): Likewise.
667 (command_line_switch): Add OPTION_FILE_ALIGNMENT,
668 OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT,
669 OPTION_STACK and OPTION_SUBSYSTEM.
670 (copy_options): Likewise.
671 (copy_usage): Add --file-alignment, --heap, --image-base,
672 --section-alignment, --stack and --subsystem.
673 (copy_object): Set up PE parameters.
674 (copy_main): Process Add OPTION_FILE_ALIGNMENT,
675 OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT,
676 OPTION_STACK and OPTION_SUBSYSTEM. Convert EFI target to
679 * NEWS: Mention --file-alignment, --heap, --image-base,
680 --section-alignment, --stack and --subsystem command line
683 * doc/binutils.texi: Document --file-alignment, --heap,
684 --image-base, --section-alignment, --stack and --subsystem
685 command line options for objcopy.
687 2009-04-15 Anthony Green <green@moxielogic.com>
689 * MAINTAINERS: Add myself as Moxie port maintainer.
691 2009-04-14 Dave Korn <dave.korn.cygwin@gmail.com>
693 * objcopy.c (enum long_section_name_handling): New enum type.
694 (enum command_line_switch): Add OPTION_LONG_SECTION_NAMES.
695 (copy_options[]): Add entry for --long-section-names option.
696 (copy_usage): Document it.
697 (set_long_section_mode): New subroutine.
698 (copy_file): Call it.
699 (copy_main): Accept OPTION_LONG_SECTION_NAMES and parse arg.
700 * doc/binutils.texi: Update objcopy documentation with details
703 2009-04-01 Dave Korn <dave.korn.cygwin@gmail.com>
705 * dlltool.c (set_dll_name_from_def): Accept new second arg that
706 indicates if we are building DLL or EXE, and use it to add a
707 default suffix to the output filename when none is already present.
708 (def_name): Indicate we are building an EXE when calling it.
709 (def_library): Indicate we are building a DLL when calling it.
711 2009-04-01 Jari Aalto <jari.aalto@cante.net>
714 * doc/binutils.texi (strings): Document the -V alias for the
716 * strings.c (usage): Likewise.
718 2009-03-31 Nick Clifton <nickc@redhat.com>
721 * configure.in: Import Solaris specific largefile test from
723 * configure: Regenerate.
725 2009-03-30 Richard Sandiford <rdsandiford@googlemail.com>
727 * MAINTAINERS: Add self.
729 2009-03-27 Nick Clifton <nickc@redhat.com>
731 * dwarf.c (display_debug_ranges): Add the base address to the
732 displayed values for 'Begin' and 'End'.
734 2009-03-25 Ryan Mansfield <rmansfield@qnx.com>
736 * readelf.c (process_file_header): Don't report a corrupt string
737 table index if it is zero.
739 2009-03-19 H.J. Lu <hongjiu.lu@intel.com>
741 * dwarf.c (dwarf_regnames): Moved before frame_need_space.
742 (dwarf_regnames_count): Likewise.
743 (frame_need_space): Return int.
744 (display_debug_frames): Check invalid registers.
746 2009-03-19 H.J. Lu <hongjiu.lu@intel.com>
748 * readelf.c (debug_apply_relocations): Check relocations
749 against STT_SECTION symbol.
751 2009-03-18 H.J. Lu <hongjiu.lu@intel.com>
753 * readelf.c (debug_apply_relocations): Allow relocations
754 against function symbols.
756 2009-03-18 Alan Modra <amodra@bigpond.net.au>
758 * sysdep.h: Include alloca-conf.h instead of config.h and remove
759 existing #if's handling alloca.
760 * Makefile.am: Run "make dep-am".
761 * Makefile.in: Regenerate.
763 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
765 * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
766 * configure.in: Likewise.
767 * configure: Regenerate.
769 2009-03-13 H.J. Lu <hongjiu.lu@intel.com>
772 * objcopy.c (copy_object): Clear HAS_RELOC when stripping all.
774 2009-03-11 Chris Demetriou <cgd@google.com>
776 * ar.c (deterministic): New global variable.
777 (main): Recognize new 'D' option, which enables 'deterministic mode'.
778 (usage): Document new 'D' option.
779 (write_archive): Set BFD_DETERMINISTIC_OUTPUT in output archive's
780 flags if deterministic mode was requested.
781 * doc/binutils.texi (ar): Document deterministic mode ('D' option).
783 2009-03-09 H.J. Lu <hongjiu.lu@intel.com>
786 * objcopy.c (filter_symbols): Properly handle common symbols
789 2009-03-06 Nick Clifton <nickc@redhat.com>
791 * po/es.po: Updated Spanish translation.
793 2009-03-05 Nick Clifton <nickc@redhat.com>
795 * objdump.c (disassemble_section): If the computed next offset is
796 not beyond the current offset then just continue to the end.
798 2009-03-04 Tristan Gingold <gingold@adacore.com>
800 * MAINTAINERS: Add myself as VMS maintainer.
802 2009-03-03 Nick Clifton <nickc@redhat.com>
804 * readelf.c: Update formatting.
806 2009-03-03 Alan Modra <amodra@bigpond.net.au>
808 * Makefile.am: Run "make dep-am".
809 * Makefile.in: Regenerate.
811 2009-03-03 Alan Modra <amodra@bigpond.net.au>
813 * objdump.c (disassemble_section): Mask address before sign extending.
815 2009-03-02 Sebastian Biallas <sb@biallas.net>
817 * ieee.c (parse_ieee_ty): Add support for undocumented 'v' type.
818 (parse_ieee_bb): Set the filename if it has not already been
821 2009-03-02 Cary Coutant <ccoutant@google.com>
823 * readelf.c (adjust_relative_path): New function.
824 (struct archive_info): New type.
825 (setup_archive): New function.
826 (release_archive): New function.
827 (setup_nested_archive): New function.
828 (get_archive_member_name): New function.
829 (get_archive_member_name_at): New function.
830 (make_qualified_name): New function.
831 (process_archive): Factor out code for reading archive index and
832 long filename table to setup_archive. Add support for thin archives.
834 2009-03-02 Nick Clifton <nickc@redhat.com>
836 * po/sk.po: Updated Slovak translation.
838 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
840 * configure: Regenerate.
842 2009-02-23 Cary Coutant <ccoutant@google.com>
844 * objdump.c (load_specific_debug_section): New function, from
846 (load_debug_section): Use load_specific_debug_section.
847 (dump_dwarf_section): Likewise.
849 2009-02-23 Cary Coutant <ccoutant@google.com>
851 * readelf.c (parse_args): Select all sections explicitly for -w.
853 2009-02-09 Kai Tietz <kai.tietz@onevision.com>
855 * windres.c (set_endianess): Copy name without leading '-'.
857 2009-02-09 Tristan Gingold <gingold@adacore.com>
859 * NEWS: Mention feature match between objdump and readelf for dumping
862 * doc/binutils.texi (objdump): Document -W/--dwarf improvments to
865 * objdump.c (usage): Update documentation for -W/--dwarf.
866 (enum option_values): Add OPTION_DWARF.
867 (long_options): --dwarf can accept arguments.
868 (dump_dwarf_section): Also check enabled field.
869 (main): Option -W can accept arguments, code moved to
870 dwarf.c and call dwarf_select_sections_all instead.
871 * readelf.c (process_section_headers): Remove do_debug_lines_decoded.
872 (parse_args): Move code to...
873 * dwarf.c (dwarf_select_sections_by_letters,
874 dwarf_select_sections_by_names): : ...here (new functions).
875 (do_debug_lines_decoded): Remove and replaced by ...
876 (FLAG_DEBUG_LINES_RAW, FLAG_DEBUG_LINES_DECODED): ... new macros.
877 (display_debug_lines): Adjust for previous change.
878 (dwarf_select_sections_all): New function.
879 (debug_displays): Add initializer for enabled field.
880 * dwarf.h (do_debug_lines_decoded): Remove.
881 Add prototypes for the new functions.
882 (struct dwarf_section_display): Add enabled field.
884 2009-02-06 Nick Clifton <nickc@redhat.com>
886 * po/vi.po: Updated Vietnamese translation.
888 2009-02-03 Sandip Matte <sandip@rmicorp.com>
890 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_XLR.
892 2009-02-03 H.J. Lu <hongjiu.lu@intel.com>
894 * NEWS: Move --as-needed change to ...
897 2009-02-03 Carlos O'Donell <carlos@codesourcery.com>
899 * configure.in: AC_SUBST pdfdir.
900 * Makefile.am: Add install-pdf, install-pdf-am,
901 and install-pdf-recursive targets.
902 * doc/Makefile.am: Define pdf__strip_dir. Add
903 install-pdf and install-pdf-am targets.
904 * po/Make-in: Add install-pdf target.
905 * configure: Regenerate.
906 * Makefile.in: Regenerate.
907 * doc/Makefile.in: Regenerate.
909 2009-02-03 H.J. Lu <hongjiu.lu@intel.com>
912 * NEWS: Mention --prefix=PREFIX and --prefix-strip=LEVEL.
914 * doc/binutils.texi: Document --prefix=PREFIX and
915 --prefix-strip=LEVEL.
917 * objdump.c: Include "filenames.h".
919 (prefix_strip): Likewise.
920 (prefix_length): Likewise.
921 (usage): Add --prefix=PREFIX and --prefix-strip=LEVEL.
922 (option_values): Add OPTION_PREFIX and OPTION_PREFIX_STRIP.
923 (long_options): Likewise.
924 (show_line): Handle prefix and prefix_strip.
925 (main): Handle OPTION_PREFIX and OPTION_PREFIX_STRIP.
927 * readelf.c (PATH_MAX): Moved to ...
930 2009-01-31 Alan Modra <amodra@bigpond.net.au>
932 * NEWS: Mention --as-needed change.
934 2009-01-29 Alan Modra <amodra@bigpond.net.au>
937 * bucomm.c (bfd_nonfatal_message): Use bfd_get_archive_filename.
938 (bfd_get_archive_filename): Constify param.
939 * bucomm.h (bfd_get_archive_filename): Update prototype.
940 * objcopy.c (RETURN_NONFATAL): Delete.
941 (copy_unknown_object): Don't call bfd_get_archive_filename for
942 bfd_nonfatal_message filename, instead just pass bfd.
943 (copy_object): Likewise.
944 (copy_archive, copy_file): Likewise. Expand RETURN_NONFATAL. On
945 bfd_close errors, do not pass the bfd to bfd_nonfatal_message.
946 (setup_bfd_headers): Fix error message.
948 2009-01-27 Nick Clifton <nickc@redhat.com>
951 * objdump.c (disassemble_section): When the target uses signed
952 addresses make sure that we compute signed values.
954 2009-01-27 Nick Clifton <nickc@redhat.com>
956 * MAINTAINERS: Remove Thiemo Seufer's name from the list of MIPS
959 2009-01-26 Nick Clifton <nickc@redhat.com>
962 * dlltool.c (xlate): When strip text after the @ sign, look for
963 the last one not the first one.
965 2009-01-16 Alan Modra <amodra@bigpond.net.au>
967 * configure.in (commonbfdlib): Delete.
968 * configure: Regenerate.
970 2008-01-14 Charles Wilson <cygwin@cwilson.fastmail.fm>
972 Cleanup code related to --identify option.
974 * dlltool.c (file scope): Removed globals identify_ms,
975 identify_member_contains_symname_result,
976 identify_dll_name_list_head, and identify_dll_name_list_tail.
977 Renamed existing typedef dll_name_list_type to
978 dll_name_list_node_type.
979 Added new typedefs dll_name_list_type, symname_search_data_type,
980 and identify_data_type.
981 (identify_append_dll_name_to_list): Renamed to...
982 (dll_name_list_append): ...here. Changed signature to accept list
983 argument rather than use global.
984 (identify_count_dll_name_list): Renamed to...
985 (dll_name_list_count): ...here. Changed signature to accept list
986 argument rather than use global.
987 (identify_print_dll_name_list): Renamed to...
988 (dll_name_list_print): ...here. Changed signature to accept list
989 argument rather than use global.
990 (identify_free_dll_name_list): Renamed to...
991 (dll_name_list_free_contents): ...here.
992 (dll_name_list_free): New function.
993 (dll_name_list_create): New function.
994 (identify_process_section_p): Changed signature to accept
995 ms_style_implib argument rather than use global.
996 (identify_member_contains_symname): Expect incoming void * data to
997 be symname_search_data_type.
998 (identify_dll_for_implib): Use new functions dll_name_list_create
999 and dll_name_list_free. Use new types symname_search_data_type
1000 and identify_data_type to communicate with search routines.
1001 (identify_search_section): Expect incoming void * data to be
1002 identify_data_type. Use its contents rather than global
1005 2009-01-13 Charles Wilson <cygwin@cwilson.fastmail.fm>
1007 Add --identify-strict option. Handle ms-style implibs:
1009 * dlltool.c (file scope): Added new globals identify_ms and
1010 identify_strict. New typedef dll_name_list_type, and globals
1011 identify_dll_name_list_head and identify_dll_name_list_tail. Added
1012 new global identify_member_contains_symname_result.
1013 (identify_append_dll_name_to_list): New function.
1014 (identify_count_dll_name_list): New function.
1015 (identify_print_dll_name_list): New function.
1016 (identify_free_dll_name_list): New function.
1017 (identify_search_archive): Changed signature to take function
1018 pointer to operation to apply to each member, and data to pass on
1020 (identify_search_member): Changed signature to accept user data
1022 (identify_member_contains_symname): New function.
1023 (identify_dll_for_implib): Rewrite. Now determines whether implib
1024 is ms- or binutils- style, before searching sections for
1025 dllname. Allows multiple dllnames.
1026 (identify_process_section_p): Search alternate section for dllname
1027 when implib is ms-style.
1028 (identify_search_section): Add additional conditions to excludes
1029 candidate sections from consideration.
1030 (usage): Added --identify-strict.
1031 (long_options): Added --identify-strict.
1032 (main): Handle --identify-strict option.
1033 * doc/binutils.texi: Document --identify-strict option.
1034 * NEWS: Document --identify and --identify-strict options.
1036 2009-01-13 Alan Modra <amodra@bigpond.net.au>
1039 * doc/binutils.texi (objdump -R): Note effect of -d or -D.
1041 2009-01-13 Alan Modra <amodra@bigpond.net.au>
1043 * objdump.c (disassemble_section): Don't assume non-instruction
1044 data if object symbol at given address is in different section.
1046 2009-01-12 Kai Tietz <kai.tietz@onevision.com>
1048 * dlltool.c (create_for_pep): New.
1049 (flush_page): Use create_for_pep instead of using
1050 macro DLLTOOL_MX86_64 clause.
1051 (generate_idata_ofile): Likewise.
1052 (make_one_lib_file): Likewise.
1053 (make_head): Likewise.
1054 (make_tail): Likewise.
1055 (main): Initialize create_for_pep.
1057 2009-01-08 Kai Tietz <kai.tietz@onevision.com>
1059 * dlltool.c (use_nul_prefixed_import_tables): New.
1060 (make_head): Make prefix leading zero prefix element for
1061 idata$4 and idata$5 dependent to new flag.
1062 (usage): Add new option --use-nul-prefixed-import-tables.
1063 (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
1064 (long_options): Add --use-nul-prefixed-import-tables.
1066 * doc/binutils.texi: Add new option documentation for
1067 --use-nul-prefixed-import-tables.
1068 * NEWS: Add new option.
1070 2009-01-06 Kai Tietz <kai.tietz@onevision.com>
1072 * windres.c (set_endianess): Get architecture name
1073 for internal target names like "pe-arm-wince-little".
1074 (find_arch_match): New helper.
1075 * ChangeLog: Reset it.
1076 * ChangeLog-2008: Moved old ChangeLog.
1078 For older changes see ChangeLog-2008
1084 version-control: never