1 2009-09-28 Nick Clifton <nickc@redhat.com>
4 * readelf.c (get_elf_section_flags): Allow SHN_BEFORE and
5 SHN_AFTER section link values in x86 binaries.
6 (process_section_headers): Likewise.
8 2009-09-25 Dimitry Gorbachev <d.g.gorbachev@gmail.com>
11 * readelf.c: Remove duplicate declaration of variable do_wide.
12 * dwarf.h: Add export of do_wide.
14 2009-09-24 Cary Coutant <ccoutant@google.com>
16 * dwarf.c (get_TAG_name): Add missing DWARF-3 and new DWARF-4 tags.
17 (get_FORM_name): Add new DWARF-4 forms.
18 (read_and_display_attr_value): Add DW_FORM_ref_sig8, DW_LANG_Python.
19 (get_AT_name): Add new DWARF-4 and GNU-specific attributes.
20 (process_debug_info): Add do_types parameter; change all callers.
21 Add support for .debug_types sections.
22 (display_debug_types): New function.
23 (debug_displays): Add .debug_types section.
24 * readelf.c (process_section_headers): Add .debug_types section.
25 (display_debug_section): Simplify call to streq.
27 2009-09-25 Alan Modra <amodra@bigpond.net.au>
29 * readelf.c (print_dynamic_symbol): Format entries as for
31 (process_symbol_table): Use -7s format string for visibility.
33 2009-09-22 Richard Sandiford <rdsandiford@googlemail.com>
35 * objdump.c (disassemble_section): Use bfd_get_arch_size
36 instead of assuming that the address size is 32 bits.
38 2009-09-21 Alan Modra <amodra@bigpond.net.au>
40 * readelf.c (get_ppc_dynamic_type): Add TLSOPT.
41 (get_ppc64_dynamic_type): Likewise.
43 2009-09-18 Nick Clifton <nickc@redhat.com>
45 * po/es.po: Updated Spanish translation.
46 * po/vi.po: Updated Vietnamese translation.
48 2009-09-11 Paul Pluzhnikov <ppluzhnikov@google.com>
50 * readelf.c (process_version_sections, process_symbol_table):
51 Use symbolic constants.
53 2009-09-11 Nick Clifton <nickc@redhat.com>
55 * po/binutils.pot: Updated by the Translation project.
57 2009-09-11 Philippe De Muyter <phdm@macqel.be>
59 * obcopy.c (copy_object): New parameter `input_arch', architecture
60 of input file, if not specified in input file itself; all callers
61 updated; `binary_architecture' hack removed.
62 (copy_archive, copy_file): New parameter `input_arch', for
64 (copy_main): Accept `-B' (`--binary-architecture') option also
65 for any arch-less input ifile format, not only `binary'; remove
66 bfd_external_binary_architecture hack; instead, add `input_arch'
67 to calls to `copy_file'.
68 * windres.c, windmc.c : Obsolete and useless external references
69 to `bfd_external_binary_architecture' or `bfd_external_machine'
71 * doc/binutils.texi: Mention that -B parameter can be used for any
72 input file type which does not have its own architecture.
74 2009-09-10 Martin Thuresson <martin@mtme.org>
76 Update soruces to compile cleanly with -Wc++-compat:
78 * addr2line.c (slurp_symtab): Fix casts. Introduce variable
79 minisyms to avoid aliasing varning.
81 (normalize): Use name del instead of delete.
82 (display_target_list,display_info_table): Change loop counter
84 * bucomm.c: Add casts.
85 * debug.c: Update function to use new names.
86 (struct debug_baseclass): Rename member from virtual to
88 (struct debug_type_s, struct debug_field_s, struct
89 debug_baseclass_s, struct debug_method_s, struct
90 debug_method_variant_s, struct debug_type_s): Rename struct from
92 * debug.h: Use new struct names.
94 (free_debug_memory): Change loop counter variable a to int.
96 (enum ieee_var_kind): Move to top level.
97 (ieee_class_baseclass): Rename parameter virtual to is_virtual.
98 (ieee_class_method_var): Rename variable virtual to is_virtual.
100 * objcopy.c: Add casts.
101 (copy_archive): Rename variable delete to del.
102 * objdump.c: Add casts.
103 (dump_dwarf_section): Change loop counter variable i to int.
104 * prdbg.c: Add casts.
105 (pr_class_baseclass,tg_class_baseclass): Rename parameters virtual
107 * readelf.c: Add casts.
108 (struct ia64_unw_table_entry,struct hppa_unw_table_entry): Move to
111 * stabs.c (parse_stab_type, parse_stab_range_type,
112 (parse_stab_cpp_abbrev): Rename parameter from typename to
114 (parse_stab_baseclasses): Rename variable virtual to is_virtual.
115 * strings.c: Add casts.
116 * wrstabs.c (stab_class_baseclass): Rename parameter virtual to
119 2009-09-09 Nick Clifton <nickc@redhat.com>
122 readelf.c (get_elf_section_flags): Add support for SHF_EXCLUDE and
124 (process_section_headers): Warn about out of range sh_link
125 values. When displaying detailed section header information
126 annote the SHN_BEFORE and SHN_AFTER values.
128 2009-09-08 Alan Modra <amodra@bigpond.net.au>
130 * dwarf.c (byte_get_little_endian): Handle size of 3.
131 (byte_get_big_endian): Likewise.
132 * readelf.c (byte_put_little_endian): Likewise.
133 (byte_put_big_endian): Likewise.
134 (is_24bit_abs_reloc): New function.
135 (is_none_reloc): Formatting.
136 (apply_relocations): Use is_24bit_abs_reloc. Handle pj and xtensa
139 2009-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
141 * readelf.c (is_none_reloc <EM_XTENSA_OLD>, is_none_reloc <EM_XTENSA>):
144 2009-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
146 * dwarf.c (process_debug_info): Support section padding abbrev codes.
148 2009-09-07 Tristan Gingold <gingold@adacore.com>
150 * po/binutils.pot: Regenerate.
152 2009-09-05 Jan Kratochvil <jan.kratochvil@redhat.com>
154 * Makefile.am (sysdump.o): Depend on sysroff.c.
155 * Makefile.in: Regenerate.
157 2009-09-05 Martin Thuresson <martin@mtme.org>
159 * ieee.c (ieee_read_cxx_misc, ieee_read_cxx_class,
160 ieee_read_reference): Rename variables named class to cxxclass.
162 2009-09-04 Tristan Gingold <gingold@adacore.com>
164 * BRANCHES: Add binutils-2_20-branch.
166 2009-09-04 Tristan Gingold <gingold@adacore.com>
168 * NEWS: Add marker for 2.20.
170 2009-09-04 Timo Kreuzer <timo.kreuzer@web.de>
172 * dlltool.c (delayimp_name): Add new global variable
173 (usage, long_options, main): Add new option "-y" / "--output-delaylib"
174 (struct mac): Add fields how_dljtab_size, how_dljtab_roff1,
175 how_dljtab_roff2, how_dljtab, trampoline.
176 (i386_dljtab): Add binary stub for x86 delay import.
177 (i386_trampoline): Add text assembly stub for x86 delay import.
178 (mtable): Add delay import data for M386 and MX86 only.
179 (make_delay_head): New function.
180 (make_one_lib_file): New arg delay creates delay-load import stub.
181 (gen_lib_file): New arg delay likewise.
182 (HOW_JTAB, HOW_JTAB_SIZE, HOW_JTAB_ROFF): New arg delay likewise.
183 (HOW_JTAB_ROFF2, HOW_JTAB_ROFF3): New macros for delay import.
184 (make_tail): Convert hard TABS embedded in strings to "\t" escapes.
185 * NEWS: Mention new feature. Also fix whitespace.
186 * doc/binutils.texi: Updated dlltool documentation.
188 2009-09-02 Tristan Gingold <gingold@adacore.com>
190 * configure.com: Do not copy makefile.vms-in to makefile.vms
191 * makefile.vms-in: Renamed to...
192 * makefile.vms: ... this usual name as it is not processed anymore.
193 Remove WRITE_DEBUG_OBJS (unused) and reorder object files for
196 2009-09-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
198 * Makefile.am (arparse.o, arlex.o, sysroff.o, defparse.o)
199 (deflex.o, nlmheaders.o, rcparse.o, mcparse.o): Supply correct
200 source file name for generated files which may be in $(srcdir).
201 * Makefile.in: Regenerate.
203 2009-09-01 H.J. Lu <hongjiu.lu@intel.com>
205 * version.c (print_version): Change to "Copyright 2009".
207 2009-09-01 Tristan Gingold <gingold@adacore.com>
209 * makefile.vms-in: Remove unused VERSION variable. Remove unused
211 * configure.com: Ported to Itanium VMS. Create build.com DCL script.
213 2009-08-29 Martin Thuresson <martin@mtme.org>
215 * nlmconv.c (main): Rename variable new to new_name.
217 2009-08-28 H.J. Lu <hongjiu.lu@intel.com>
219 * Makefile.am (sysinfo$(EXEEXT_FOR_BUILD)): Replace
220 CFLAGS/LDFLAGS with CFLAGS_FOR_BUILD/LDFLAGS_FOR_BUILD.
221 (syslex.o): Likewise.
222 (sysinfo.o): Likewise.
223 (bin2c$(EXEEXT_FOR_BUILD)): Likewise.
224 * Makefile.in: Regenerated.
226 2009-08-27 Dave Korn <dave.korn.cygwin@gmail.com>
228 * doc/binutils.texi (--only-keep-debug): Relocate stray para here ...
229 (--subsystem): ... from here.
231 2009-08-24 Cary Coutant <ccoutant@google.com>
233 * objdump.c (find_symbol_for_address): Avoid costly call to
236 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
238 * Makefile.am (am__skiplex, am__skipyacc): New.
239 * Makefile.in: Regenerate.
241 2009-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
243 * Makefile.am (syslex.o): Depend on sysinfo.h config.h.
244 * Makefile.in: Regenerate.
246 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
248 * Makefile.am (AM_CPPFLAGS): Renamed from ...
249 (INCLUDES): ... this.
250 (bin2c$(EXEEXT_FOR_BUILD): Adjust rule.
251 (installcheck-local): Renamed from ...
252 (installcheck): ... this.
253 * Makefile.in: Regenerate.
255 * Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add no-dist and
257 (MKDEP, CLEANFILES): Remove now-unneeded variables.
258 (DEP, DEP1, dep.sed, dep, dep-in, dep-am): Remove.
259 (mkdep section): Remove.
260 (BUILT_SOURCES): New variable, list $(GENERATED_HFILES).
261 (EXTRA_ar_SOURCES): New, list $(CFILES).
262 (syslex.o): Depend on syslex.c.
263 (sysinfo.o): Depend on sysinfo.c.
264 (arparse.h, defparse.h, nlmheaders.h rcparse.h mcparse.h):
265 Remove dependencies, now tracked by automake.
266 (srconv.o): Depend on sysroff.c.
267 (objdump.o, arparse.o, arlex.o, sysroff.o, defparse.o, deflex.o)
268 (nlmheader.o, rcparse.o, mcparse.o, rclex.o, mclex.o, dlltool.o)
269 (rescoff.o, nlmconv.o): Rewrite using automake-style dependency
270 tracking rules; only list the dependency upon the primary source
271 file, but no included headers.
272 * Makefile.in: Regenerate.
274 * Makefile.am (install-pdf, install-pdf-recursive, install-html)
275 (install-html-recursive): Remove.
276 * Makefile.in: Regenerate.
277 * doc/Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
278 (html__strip_dir, install-html, install-html-am): Remove.
279 * doc/Makefile.in: Regenerate.
281 * Makefile.in: Regenerate.
282 * aclocal.m4: Likewise.
283 * config.in: Likewise.
284 * configure: Likewise.
285 * doc/Makefile.in: Likewise.
287 2009-08-17 Nick Clifton <nickc@redhat.com>
289 * readelf.c (is_32bit_abs_reloc): Treat R_PARISC_SECREL32 as a
290 32-bit absolute reloc for the purposes of processing debug
293 2009-08-10 Daniel Gutson <dgutson@codesourcery.com>
295 * readelf.c (get_arm_section_type_name): Added support for
296 new sections headers.
298 2009-08-03 H.J. Lu <hongjiu.lu@intel.com>
301 * objcopy.c (strip_main): Check return from smart_rename.
302 (copy_main): Likewise.
304 2009-07-27 Nick Clifton <nickc@redhat.com>
307 * objdump.c (dump_section_header): Skip sections that we are
310 2009-07-25 H.J. Lu <hongjiu.lu@intel.com>
312 * readelf.c (guess_is_rela): Handle EM_L1OM.
313 (dump_relocations): Likewise.
314 (get_machine_name): Likewise.
315 (get_section_type_name): Likewise.
316 (get_elf_section_flags): Likewise.
317 (get_symbol_index_type): Likewise.
318 (is_32bit_abs_reloc): Likewise.
319 (is_32bit_pcrel_reloc): Likewise.
320 (is_64bit_abs_reloc): Likewise.
321 (is_64bit_pcrel_reloc): Likewise.
322 (is_none_reloc): Likewise.
324 2009-07-23 Ulrich Drepper <drepper@redhat.com>
326 * readelf.c (get_symbol_binding): For Linux targeted files return
327 UNIQUE for symbols with the STB_GNU_UNIQUE binding.
328 * doc/binutils.texi: Document the meaning of the 'u' symbol
329 binding in the output of nm and objdump --syms.
331 2009-07-20 H.J. Lu <hongjiu.lu@intel.com>
333 * NEWS: Mention --insn-width.
335 * objdump.c (insn_width): New.
336 (usage): Display --insn-width.
337 (option_values): Add OPTION_INSN_WIDTH.
338 (long_options): Add --insn-width.
339 (disassemble_bytes): Handle insn_width.
340 (main): Handle OPTION_INSN_WIDTH.
342 * doc/binutils.texi: Document --insn-width.
344 2009-07-17 Nick Clifton <nickc@redhat.com>
346 * dwarf.c (display_debug_lines): If do_debug_lines has not been
347 set then default to displaying raw .debug_line section contents.
349 2009-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
351 Support unordered .debug_info references to .debug_ranges.
352 * dwarf.c (struct range_entry, range_entry_compar): New.
353 (display_debug_ranges): Remove variables last_offset, first, j,
354 seen_first_offset, use_debug_info and next. New variables
355 range_entries and range_entry_fill. Create the sorted copy
356 range_entries. Remove the FIXME error on detected unordered references.
357 * dwarf.h (debug_info <range_lists>): New comment.
359 2009-07-14 Nick Clifton <nickc@redhat.com>
362 * README: Document use of LDFLAGS="--static".
364 2009-07-10 H.J. Lu <hongjiu.lu@intel.com>
366 * Makefile.am: Run "make dep-am".
367 * Makefile.in: Regenerated.
369 2009-07-10 Tom Tromey <tromey@redhat.com>
371 * Makefile.am (dwarf.o): Refer to dwarf2.h, not elf/dwarf2.h.
372 * Makefile.in: Rebuild.
373 * dwarf.c: Include dwarf2.h, not elf/dwarf2.h.
375 2009-07-06 Tristan Gingold <gingold@adacore.com>
377 * objdump.c (dump_dwarf_section): Handle .eh_frame like other dwarf
379 * dwarf.h (struct dwarf_section_display): Remove eh_frame field.
380 * dwarf.c (debug_displays): Adjust for removed field.
382 2009-07-03 Jakub Jelinek <jakub@redhat.com>
384 * dwarf.c (decode_location_expression): Handle DW_OP_stack_value
385 and DW_OP_implicit_value.
387 2009-07-01 Nick Clifton <nickc@redhat.com>
390 * rclex.c (handle_quotes): Do not complain about whitespace
391 separating quoted strings.
392 (rclex_string): Ignore whitespace when looking for a new opening
393 quote following a closing quote.
395 2009-06-27 H.J. Lu <hongjiu.lu@intel.com>
398 * bucomm.c (get_file_size): Return -1 on error.
400 * objcopy.c (copy_file): Report empty file.
402 2009-06-23 Nick Clifton <nickc@redhat.com>
404 * dwarf.c (display_debug_lines_raw): Include the name of the
405 section in warning message.
406 (struct debug_display): Enable reloc processing for .debug_line
407 and .debug_ranges sections.
409 * readelf.c: Add --relocated-dump command line option to dump the
410 relocated contents of a specified section.
411 (request_dump): New function.
412 (parse_args): Use it.
413 (dump_section_as_bytes): Add parameter to indicate whether the
414 contents should be relocated.
415 (target_specific_reloc_handling): Add code for a R_MN10300_16
416 reloc found after a R_MN10300_SYM_DIFF reloc.
417 (debug_apply_relocations): Rename to apply_relocations.
418 (get_section_contents): New function. Replaces common code found
419 in dump_section_as_strings and dump_section_as_bytes.
420 * doc/binutils.texi: Document new command line option.
421 * NEWS: Mention the new feature.
423 2009-06-22 Nick Clifton <nickc@redhat.com>
425 * readelf.c (target_specific_reloc_handling): New function:
426 Processes relocs in a target specific manner.
427 (debug_apply_relocations): Use the new function.
428 * dwarf.c (display_debug_loc): End the dump with a blank line.
429 (struct debug_display): Enable reloc processing for .debug_aranges
430 and .debug_loc sections.
432 2009-06-19 Nick Clifton <nickc@redhat.com>
434 * ar.c (usage): Do not use #ifdef inside _("...).
435 * nm.c (usage): Likewise.
437 2009-06-18 Nick Clifton <nickc@redhat.com>
440 * objdump.c (disassemble_bytes): Set the
441 USER_SPECIFIED_MACHINE_TYPE flag in the disassemble_info structure
442 if the user has invoked the -m switch.
443 * doc/binutils.texi: Document the additional behaviour of
444 objdump's -m switch for ARM targets.
446 2009-06-18 Dave Korn <dave.korn.cygwin@gmail.com>
448 * configure.in: Merge cegcc and mingw32ce target name changes from
451 2007-12-25 Pedro Alves <pedro_alves@portugalmail.pt>
453 * configure.in: Add arm*-*-cegcc* and arm*-*-mingw32ce* targets.
454 * configure: Regenerate.
456 2009-06-15 Nick Clifton <nickc@redhat.com>
459 * objdump.c (disassemble_bytes): Set the DISASSEMBLE_DATA bit in
460 the flags field of the disassemble_info structure if the -D switch
463 2009-06-12 Homer Xing <homer.xing@yahoo.com>
465 * NEWS: Mention new feature added to gprof.
467 2009-06-12 John Reiser <jreiser@BitWagon.com>
469 * readelf.c (process_symbol_table): Set gnubuckets to NULL after
470 freeing it and before returning.
472 2009-06-12 Jakub Jelinek <jakub@redhat.com>
474 * readelf.c (process_symbol_table): Don't return early if
475 .hash/.gnu.hash is empty/unusable and not -D.
477 2009-06-09 Tom Bramer <tjb@postpro.net>
480 * winduni.c (wind_MultiByteToWideChar): Do not pass MB_PRECOMPOSED
481 to MultiByteToWideChar when using the CP_UTF8 or CO_UTF7 types.
483 2009-06-04 Alan Modra <amodra@bigpond.net.au>
485 * strings.c (main): Delay parsing of decimal digits.
487 2009-06-04 Alan Modra <amodra@bigpond.net.au>
489 * dep-in.sed: Don't use \n in replacement part of s command.
490 * Makefile.am (DEP1): LC_ALL for uniq.
492 * Makefile.in: Regenerate.
494 2009-06-03 Tristan Gingold <gingold@adacore.com>
496 * MAINTAINERS: Add myself as Mach-O maintainer.
498 2009-06-01 Alan Modra <amodra@bigpond.net.au>
501 * doc/binutils.texi (nm): Correct -S description.
503 2009-05-28 Nick Clifton <nickc@redhat.com>
505 * po/da.po: Updated Danish translation.
507 2009-05-28 Nick Clifton <nickc@redhat.com>
509 * readelf.c (display_debug_section): Do not display debug sections
510 with the NOBITS section type.
512 2009-05-27 Rafael Avila de Espindola <espindola@google.com>
514 * aclocal.m4: Include ../config/plugins.m4.
515 * configure.in: Use AC_PLUGINS.
516 * configure: Regenerate.
517 * Makefile.in: Regenerate.
518 * doc/Makefile.in: Regenerate.
520 2009-05-27 Rafael Avila de Espindola <espindola@google.com>
522 * ar.c (main): Call bfd_plugin_set_program_name.
523 * nm.c (main): Call bfd_plugin_set_program_name.
525 2009-05-27 Nathan Sidwell <nathan@codesourcery.com>
527 * sysdump.c (tab): Use puts rather than two printfs.
529 2009-05-26 Nick Clifton <nickc@redhat.com>
531 * po/id.po: Updated Indonesian translation.
532 * po/binutils.pot: Updated template file.
534 2009-05-26 Rafael Avila de Espindola <espindola@google.com>
536 * ar.c: Include plugin.h.
537 (main): Handle the --plugin option.
538 * nm.c: Include plugin.h.
539 (OPTION_PLUGIN): New.
540 (long_options): Add plugin.
541 (main): Handle OPTION_PLUGIN.
542 * NEWS: Mention the new feature.
543 * doc/binutils: Documement the new command line options.
544 * configure.in: Check for --enable-plugins.
545 * configure: Regenerate.
547 2009-05-26 Alan Modra <amodra@bigpond.net.au>
549 * dep-in.sed: Output one filename per line with all lines having
550 continuation backslash. Prefix first line with "A", following
552 * Makefile.am (DEP): Don't use dep.sed here.
553 (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
555 * Makefile.in: Regenerate.
557 2009-05-25 Tristan Gingold <gingold@adacore.com>
559 * makefile.vms-in: Fix CFLAGS, add addr2line.exe target.
561 * configure.com: Fix it: handle alloca and define TARGET in config.h.
563 2009-05-22 Alan Modra <amodra@bigpond.net.au>
565 * Makefile.am: Run "make dep-am".
566 * Makefile.in: Regenerate.
568 2009-05-12 Alan Modra <amodra@bigpond.net.au>
570 * objcopy.c (set_long_section_mode): Check input_bfd is coff
571 before accessing coff specific fields of bfd.
573 2009-05-09 Dave Korn <dave.korn.cygwin@gmail.com>
575 * MAINTAINERS: Add myself as PE/COFF co-maintainer.
577 2009-05-08 Kai Tietz <kai.tietz@onevision.com>
579 * winduni.c (iconv_onechar): Only define when HAVE_ICONV
580 is defined, but not when __CYGWIN__ or _WIN32 are defined.
581 See wind_iconv_cp for call logic of this local funtion.
583 2009-05-05 Guillaume Duhamel <guillaume.duhamel@gmail.com>
586 * winduni.c: Replace test of HAVE_ICONV_H with a test of
588 (iconv_onechar): Use ICONV_CONST instead of "const".
589 (wind_MultiByteToWideChar): Initialise local strings.
591 2009-04-30 Nick Clifton <nickc@redhat.com>
593 * readelf.c (dump_relocations): Display a relocation against an
594 ifunc symbol as if it were a function invocation.
595 (get_symbol_type): Handle STT_GNU_IFUNC.
597 2009-04-29 Anthony Green <green@moxielogic.com>
599 * NEWS: Tweak verilog support description.
601 2009-04-29 Alan Modra <amodra@bigpond.net.au>
602 Denis Scherbakov <denis_scherbakov@yahoo.com>
604 * readelf.c (slurp_ia64_unwind_table): Correct 64-bit unwind table
605 read, and merge with 32-bit case.
607 2009-04-27 Anthony Green <green@moxielogic.com>
609 * NEWS: Mention verilog support added to bfd.
611 2009-04-27 H.J. Lu <hongjiu.lu@intel.com>
613 * objcopy.c (copy_object): Copy pe_opthdr before changing PE
616 2009-04-24 Cary Coutant <ccoutant@google.com>
618 * dwarf.c (process_extended_line_op): Add DW_LNE_set_discriminator.
619 Add missing newlines to HP extensions.
621 2009-04-17 H.J. Lu <hongjiu.lu@intel.com>
623 * objcopy.c (set_pe_subsystem): Replace efi-rom with sal-rtd.
624 * doc/binutils.texi: Likewise.
626 2009-04-17 H.J. Lu <hongjiu.lu@intel.com>
629 * objcopy.c: Include coff/i386.h and coff/pe.h.
630 (pe_file_alignment): New.
631 (pe_heap_commit): Likewise.
632 (pe_heap_reserve): Likewise.
633 (pe_image_base): Likewise.
634 (pe_section_alignment): Likewise.
635 (pe_stack_commit): Likewise.
636 (pe_stack_reserve): Likewise.
637 (pe_subsystem): Likewise.
638 (pe_major_subsystem_version): Likewise.
639 (pe_minor_subsystem_version): Likewise.
640 (set_pe_subsystem): Likewise.
641 (convert_efi_target): Likewise.
642 (command_line_switch): Add OPTION_FILE_ALIGNMENT,
643 OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT,
644 OPTION_STACK and OPTION_SUBSYSTEM.
645 (copy_options): Likewise.
646 (copy_usage): Add --file-alignment, --heap, --image-base,
647 --section-alignment, --stack and --subsystem.
648 (copy_object): Set up PE parameters.
649 (copy_main): Process Add OPTION_FILE_ALIGNMENT,
650 OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT,
651 OPTION_STACK and OPTION_SUBSYSTEM. Convert EFI target to
654 * NEWS: Mention --file-alignment, --heap, --image-base,
655 --section-alignment, --stack and --subsystem command line
658 * doc/binutils.texi: Document --file-alignment, --heap,
659 --image-base, --section-alignment, --stack and --subsystem
660 command line options for objcopy.
662 2009-04-15 Anthony Green <green@moxielogic.com>
664 * MAINTAINERS: Add myself as Moxie port maintainer.
666 2009-04-14 Dave Korn <dave.korn.cygwin@gmail.com>
668 * objcopy.c (enum long_section_name_handling): New enum type.
669 (enum command_line_switch): Add OPTION_LONG_SECTION_NAMES.
670 (copy_options[]): Add entry for --long-section-names option.
671 (copy_usage): Document it.
672 (set_long_section_mode): New subroutine.
673 (copy_file): Call it.
674 (copy_main): Accept OPTION_LONG_SECTION_NAMES and parse arg.
675 * doc/binutils.texi: Update objcopy documentation with details
678 2009-04-01 Dave Korn <dave.korn.cygwin@gmail.com>
680 * dlltool.c (set_dll_name_from_def): Accept new second arg that
681 indicates if we are building DLL or EXE, and use it to add a
682 default suffix to the output filename when none is already present.
683 (def_name): Indicate we are building an EXE when calling it.
684 (def_library): Indicate we are building a DLL when calling it.
686 2009-04-01 Jari Aalto <jari.aalto@cante.net>
689 * doc/binutils.texi (strings): Document the -V alias for the
691 * strings.c (usage): Likewise.
693 2009-03-31 Nick Clifton <nickc@redhat.com>
696 * configure.in: Import Solaris specific largefile test from
698 * configure: Regenerate.
700 2009-03-30 Richard Sandiford <rdsandiford@googlemail.com>
702 * MAINTAINERS: Add self.
704 2009-03-27 Nick Clifton <nickc@redhat.com>
706 * dwarf.c (display_debug_ranges): Add the base address to the
707 displayed values for 'Begin' and 'End'.
709 2009-03-25 Ryan Mansfield <rmansfield@qnx.com>
711 * readelf.c (process_file_header): Don't report a corrupt string
712 table index if it is zero.
714 2009-03-19 H.J. Lu <hongjiu.lu@intel.com>
716 * dwarf.c (dwarf_regnames): Moved before frame_need_space.
717 (dwarf_regnames_count): Likewise.
718 (frame_need_space): Return int.
719 (display_debug_frames): Check invalid registers.
721 2009-03-19 H.J. Lu <hongjiu.lu@intel.com>
723 * readelf.c (debug_apply_relocations): Check relocations
724 against STT_SECTION symbol.
726 2009-03-18 H.J. Lu <hongjiu.lu@intel.com>
728 * readelf.c (debug_apply_relocations): Allow relocations
729 against function symbols.
731 2009-03-18 Alan Modra <amodra@bigpond.net.au>
733 * sysdep.h: Include alloca-conf.h instead of config.h and remove
734 existing #if's handling alloca.
735 * Makefile.am: Run "make dep-am".
736 * Makefile.in: Regenerate.
738 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
740 * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
741 * configure.in: Likewise.
742 * configure: Regenerate.
744 2009-03-13 H.J. Lu <hongjiu.lu@intel.com>
747 * objcopy.c (copy_object): Clear HAS_RELOC when stripping all.
749 2009-03-11 Chris Demetriou <cgd@google.com>
751 * ar.c (deterministic): New global variable.
752 (main): Recognize new 'D' option, which enables 'deterministic mode'.
753 (usage): Document new 'D' option.
754 (write_archive): Set BFD_DETERMINISTIC_OUTPUT in output archive's
755 flags if deterministic mode was requested.
756 * doc/binutils.texi (ar): Document deterministic mode ('D' option).
758 2009-03-09 H.J. Lu <hongjiu.lu@intel.com>
761 * objcopy.c (filter_symbols): Properly handle common symbols
764 2009-03-06 Nick Clifton <nickc@redhat.com>
766 * po/es.po: Updated Spanish translation.
768 2009-03-05 Nick Clifton <nickc@redhat.com>
770 * objdump.c (disassemble_section): If the computed next offset is
771 not beyond the current offset then just continue to the end.
773 2009-03-04 Tristan Gingold <gingold@adacore.com>
775 * MAINTAINERS: Add myself as VMS maintainer.
777 2009-03-03 Nick Clifton <nickc@redhat.com>
779 * readelf.c: Update formatting.
781 2009-03-03 Alan Modra <amodra@bigpond.net.au>
783 * Makefile.am: Run "make dep-am".
784 * Makefile.in: Regenerate.
786 2009-03-03 Alan Modra <amodra@bigpond.net.au>
788 * objdump.c (disassemble_section): Mask address before sign extending.
790 2009-03-02 Sebastian Biallas <sb@biallas.net>
792 * ieee.c (parse_ieee_ty): Add support for undocumented 'v' type.
793 (parse_ieee_bb): Set the filename if it has not already been
796 2009-03-02 Cary Coutant <ccoutant@google.com>
798 * readelf.c (adjust_relative_path): New function.
799 (struct archive_info): New type.
800 (setup_archive): New function.
801 (release_archive): New function.
802 (setup_nested_archive): New function.
803 (get_archive_member_name): New function.
804 (get_archive_member_name_at): New function.
805 (make_qualified_name): New function.
806 (process_archive): Factor out code for reading archive index and
807 long filename table to setup_archive. Add support for thin archives.
809 2009-03-02 Nick Clifton <nickc@redhat.com>
811 * po/sk.po: Updated Slovak translation.
813 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
815 * configure: Regenerate.
817 2009-02-23 Cary Coutant <ccoutant@google.com>
819 * objdump.c (load_specific_debug_section): New function, from
821 (load_debug_section): Use load_specific_debug_section.
822 (dump_dwarf_section): Likewise.
824 2009-02-23 Cary Coutant <ccoutant@google.com>
826 * readelf.c (parse_args): Select all sections explicitly for -w.
828 2009-02-09 Kai Tietz <kai.tietz@onevision.com>
830 * windres.c (set_endianess): Copy name without leading '-'.
832 2009-02-09 Tristan Gingold <gingold@adacore.com>
834 * NEWS: Mention feature match between objdump and readelf for dumping
837 * doc/binutils.texi (objdump): Document -W/--dwarf improvments to
840 * objdump.c (usage): Update documentation for -W/--dwarf.
841 (enum option_values): Add OPTION_DWARF.
842 (long_options): --dwarf can accept arguments.
843 (dump_dwarf_section): Also check enabled field.
844 (main): Option -W can accept arguments, code moved to
845 dwarf.c and call dwarf_select_sections_all instead.
846 * readelf.c (process_section_headers): Remove do_debug_lines_decoded.
847 (parse_args): Move code to...
848 * dwarf.c (dwarf_select_sections_by_letters,
849 dwarf_select_sections_by_names): : ...here (new functions).
850 (do_debug_lines_decoded): Remove and replaced by ...
851 (FLAG_DEBUG_LINES_RAW, FLAG_DEBUG_LINES_DECODED): ... new macros.
852 (display_debug_lines): Adjust for previous change.
853 (dwarf_select_sections_all): New function.
854 (debug_displays): Add initializer for enabled field.
855 * dwarf.h (do_debug_lines_decoded): Remove.
856 Add prototypes for the new functions.
857 (struct dwarf_section_display): Add enabled field.
859 2009-02-06 Nick Clifton <nickc@redhat.com>
861 * po/vi.po: Updated Vietnamese translation.
863 2009-02-03 Sandip Matte <sandip@rmicorp.com>
865 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_XLR.
867 2009-02-03 H.J. Lu <hongjiu.lu@intel.com>
869 * NEWS: Move --as-needed change to ...
872 2009-02-03 Carlos O'Donell <carlos@codesourcery.com>
874 * configure.in: AC_SUBST pdfdir.
875 * Makefile.am: Add install-pdf, install-pdf-am,
876 and install-pdf-recursive targets.
877 * doc/Makefile.am: Define pdf__strip_dir. Add
878 install-pdf and install-pdf-am targets.
879 * po/Make-in: Add install-pdf target.
880 * configure: Regenerate.
881 * Makefile.in: Regenerate.
882 * doc/Makefile.in: Regenerate.
884 2009-02-03 H.J. Lu <hongjiu.lu@intel.com>
887 * NEWS: Mention --prefix=PREFIX and --prefix-strip=LEVEL.
889 * doc/binutils.texi: Document --prefix=PREFIX and
890 --prefix-strip=LEVEL.
892 * objdump.c: Include "filenames.h".
894 (prefix_strip): Likewise.
895 (prefix_length): Likewise.
896 (usage): Add --prefix=PREFIX and --prefix-strip=LEVEL.
897 (option_values): Add OPTION_PREFIX and OPTION_PREFIX_STRIP.
898 (long_options): Likewise.
899 (show_line): Handle prefix and prefix_strip.
900 (main): Handle OPTION_PREFIX and OPTION_PREFIX_STRIP.
902 * readelf.c (PATH_MAX): Moved to ...
905 2009-01-31 Alan Modra <amodra@bigpond.net.au>
907 * NEWS: Mention --as-needed change.
909 2009-01-29 Alan Modra <amodra@bigpond.net.au>
912 * bucomm.c (bfd_nonfatal_message): Use bfd_get_archive_filename.
913 (bfd_get_archive_filename): Constify param.
914 * bucomm.h (bfd_get_archive_filename): Update prototype.
915 * objcopy.c (RETURN_NONFATAL): Delete.
916 (copy_unknown_object): Don't call bfd_get_archive_filename for
917 bfd_nonfatal_message filename, instead just pass bfd.
918 (copy_object): Likewise.
919 (copy_archive, copy_file): Likewise. Expand RETURN_NONFATAL. On
920 bfd_close errors, do not pass the bfd to bfd_nonfatal_message.
921 (setup_bfd_headers): Fix error message.
923 2009-01-27 Nick Clifton <nickc@redhat.com>
926 * objdump.c (disassemble_section): When the target uses signed
927 addresses make sure that we compute signed values.
929 2009-01-27 Nick Clifton <nickc@redhat.com>
931 * MAINTAINERS: Remove Thiemo Seufer's name from the list of MIPS
934 2009-01-26 Nick Clifton <nickc@redhat.com>
937 * dlltool.c (xlate): When strip text after the @ sign, look for
938 the last one not the first one.
940 2009-01-16 Alan Modra <amodra@bigpond.net.au>
942 * configure.in (commonbfdlib): Delete.
943 * configure: Regenerate.
945 2008-01-14 Charles Wilson <cygwin@cwilson.fastmail.fm>
947 Cleanup code related to --identify option.
949 * dlltool.c (file scope): Removed globals identify_ms,
950 identify_member_contains_symname_result,
951 identify_dll_name_list_head, and identify_dll_name_list_tail.
952 Renamed existing typedef dll_name_list_type to
953 dll_name_list_node_type.
954 Added new typedefs dll_name_list_type, symname_search_data_type,
955 and identify_data_type.
956 (identify_append_dll_name_to_list): Renamed to...
957 (dll_name_list_append): ...here. Changed signature to accept list
958 argument rather than use global.
959 (identify_count_dll_name_list): Renamed to...
960 (dll_name_list_count): ...here. Changed signature to accept list
961 argument rather than use global.
962 (identify_print_dll_name_list): Renamed to...
963 (dll_name_list_print): ...here. Changed signature to accept list
964 argument rather than use global.
965 (identify_free_dll_name_list): Renamed to...
966 (dll_name_list_free_contents): ...here.
967 (dll_name_list_free): New function.
968 (dll_name_list_create): New function.
969 (identify_process_section_p): Changed signature to accept
970 ms_style_implib argument rather than use global.
971 (identify_member_contains_symname): Expect incoming void * data to
972 be symname_search_data_type.
973 (identify_dll_for_implib): Use new functions dll_name_list_create
974 and dll_name_list_free. Use new types symname_search_data_type
975 and identify_data_type to communicate with search routines.
976 (identify_search_section): Expect incoming void * data to be
977 identify_data_type. Use its contents rather than global
980 2009-01-13 Charles Wilson <cygwin@cwilson.fastmail.fm>
982 Add --identify-strict option. Handle ms-style implibs:
984 * dlltool.c (file scope): Added new globals identify_ms and
985 identify_strict. New typedef dll_name_list_type, and globals
986 identify_dll_name_list_head and identify_dll_name_list_tail. Added
987 new global identify_member_contains_symname_result.
988 (identify_append_dll_name_to_list): New function.
989 (identify_count_dll_name_list): New function.
990 (identify_print_dll_name_list): New function.
991 (identify_free_dll_name_list): New function.
992 (identify_search_archive): Changed signature to take function
993 pointer to operation to apply to each member, and data to pass on
995 (identify_search_member): Changed signature to accept user data
997 (identify_member_contains_symname): New function.
998 (identify_dll_for_implib): Rewrite. Now determines whether implib
999 is ms- or binutils- style, before searching sections for
1000 dllname. Allows multiple dllnames.
1001 (identify_process_section_p): Search alternate section for dllname
1002 when implib is ms-style.
1003 (identify_search_section): Add additional conditions to excludes
1004 candidate sections from consideration.
1005 (usage): Added --identify-strict.
1006 (long_options): Added --identify-strict.
1007 (main): Handle --identify-strict option.
1008 * doc/binutils.texi: Document --identify-strict option.
1009 * NEWS: Document --identify and --identify-strict options.
1011 2009-01-13 Alan Modra <amodra@bigpond.net.au>
1014 * doc/binutils.texi (objdump -R): Note effect of -d or -D.
1016 2009-01-13 Alan Modra <amodra@bigpond.net.au>
1018 * objdump.c (disassemble_section): Don't assume non-instruction
1019 data if object symbol at given address is in different section.
1021 2009-01-12 Kai Tietz <kai.tietz@onevision.com>
1023 * dlltool.c (create_for_pep): New.
1024 (flush_page): Use create_for_pep instead of using
1025 macro DLLTOOL_MX86_64 clause.
1026 (generate_idata_ofile): Likewise.
1027 (make_one_lib_file): Likewise.
1028 (make_head): Likewise.
1029 (make_tail): Likewise.
1030 (main): Initialize create_for_pep.
1032 2009-01-08 Kai Tietz <kai.tietz@onevision.com>
1034 * dlltool.c (use_nul_prefixed_import_tables): New.
1035 (make_head): Make prefix leading zero prefix element for
1036 idata$4 and idata$5 dependent to new flag.
1037 (usage): Add new option --use-nul-prefixed-import-tables.
1038 (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
1039 (long_options): Add --use-nul-prefixed-import-tables.
1041 * doc/binutils.texi: Add new option documentation for
1042 --use-nul-prefixed-import-tables.
1043 * NEWS: Add new option.
1045 2009-01-06 Kai Tietz <kai.tietz@onevision.com>
1047 * windres.c (set_endianess): Get architecture name
1048 for internal target names like "pe-arm-wince-little".
1049 (find_arch_match): New helper.
1050 * ChangeLog: Reset it.
1051 * ChangeLog-2008: Moved old ChangeLog.
1053 For older changes see ChangeLog-2008
1059 version-control: never