1 2009-08-03 H.J. Lu <hongjiu.lu@intel.com>
4 * objcopy.c (strip_main): Check return from smart_rename.
7 2009-07-27 Nick Clifton <nickc@redhat.com>
10 * objdump.c (dump_section_header): Skip sections that we are
13 2009-07-25 H.J. Lu <hongjiu.lu@intel.com>
15 * readelf.c (guess_is_rela): Handle EM_L1OM.
16 (dump_relocations): Likewise.
17 (get_machine_name): Likewise.
18 (get_section_type_name): Likewise.
19 (get_elf_section_flags): Likewise.
20 (get_symbol_index_type): Likewise.
21 (is_32bit_abs_reloc): Likewise.
22 (is_32bit_pcrel_reloc): Likewise.
23 (is_64bit_abs_reloc): Likewise.
24 (is_64bit_pcrel_reloc): Likewise.
25 (is_none_reloc): Likewise.
27 2009-07-23 Ulrich Drepper <drepper@redhat.com>
29 * readelf.c (get_symbol_binding): For Linux targeted files return
30 UNIQUE for symbols with the STB_GNU_UNIQUE binding.
31 * doc/binutils.texi: Document the meaning of the 'u' symbol
32 binding in the output of nm and objdump --syms.
34 2009-07-20 H.J. Lu <hongjiu.lu@intel.com>
36 * NEWS: Mention --insn-width.
38 * objdump.c (insn_width): New.
39 (usage): Display --insn-width.
40 (option_values): Add OPTION_INSN_WIDTH.
41 (long_options): Add --insn-width.
42 (disassemble_bytes): Handle insn_width.
43 (main): Handle OPTION_INSN_WIDTH.
45 * doc/binutils.texi: Document --insn-width.
47 2009-07-17 Nick Clifton <nickc@redhat.com>
49 * dwarf.c (display_debug_lines): If do_debug_lines has not been
50 set then default to displaying raw .debug_line section contents.
52 2009-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
54 Support unordered .debug_info references to .debug_ranges.
55 * dwarf.c (struct range_entry, range_entry_compar): New.
56 (display_debug_ranges): Remove variables last_offset, first, j,
57 seen_first_offset, use_debug_info and next. New variables
58 range_entries and range_entry_fill. Create the sorted copy
59 range_entries. Remove the FIXME error on detected unordered references.
60 * dwarf.h (debug_info <range_lists>): New comment.
62 2009-07-14 Nick Clifton <nickc@redhat.com>
65 * README: Document use of LDFLAGS="--static".
67 2009-07-10 H.J. Lu <hongjiu.lu@intel.com>
69 * Makefile.am: Run "make dep-am".
70 * Makefile.in: Regenerated.
72 2009-07-10 Tom Tromey <tromey@redhat.com>
74 * Makefile.am (dwarf.o): Refer to dwarf2.h, not elf/dwarf2.h.
75 * Makefile.in: Rebuild.
76 * dwarf.c: Include dwarf2.h, not elf/dwarf2.h.
78 2009-07-06 Tristan Gingold <gingold@adacore.com>
80 * objdump.c (dump_dwarf_section): Handle .eh_frame like other dwarf
82 * dwarf.h (struct dwarf_section_display): Remove eh_frame field.
83 * dwarf.c (debug_displays): Adjust for removed field.
85 2009-07-03 Jakub Jelinek <jakub@redhat.com>
87 * dwarf.c (decode_location_expression): Handle DW_OP_stack_value
88 and DW_OP_implicit_value.
90 2009-07-01 Nick Clifton <nickc@redhat.com>
93 * rclex.c (handle_quotes): Do not complain about whitespace
94 separating quoted strings.
95 (rclex_string): Ignore whitespace when looking for a new opening
96 quote following a closing quote.
98 2009-06-27 H.J. Lu <hongjiu.lu@intel.com>
101 * bucomm.c (get_file_size): Return -1 on error.
103 * objcopy.c (copy_file): Report empty file.
105 2009-06-23 Nick Clifton <nickc@redhat.com>
107 * dwarf.c (display_debug_lines_raw): Include the name of the
108 section in warning message.
109 (struct debug_display): Enable reloc processing for .debug_line
110 and .debug_ranges sections.
112 * readelf.c: Add --relocated-dump command line option to dump the
113 relocated contents of a specified section.
114 (request_dump): New function.
115 (parse_args): Use it.
116 (dump_section_as_bytes): Add parameter to indicate whether the
117 contents should be relocated.
118 (target_specific_reloc_handling): Add code for a R_MN10300_16
119 reloc found after a R_MN10300_SYM_DIFF reloc.
120 (debug_apply_relocations): Rename to apply_relocations.
121 (get_section_contents): New function. Replaces common code found
122 in dump_section_as_strings and dump_section_as_bytes.
123 * doc/binutils.texi: Document new command line option.
124 * NEWS: Mention the new feature.
126 2009-06-22 Nick Clifton <nickc@redhat.com>
128 * readelf.c (target_specific_reloc_handling): New function:
129 Processes relocs in a target specific manner.
130 (debug_apply_relocations): Use the new function.
131 * dwarf.c (display_debug_loc): End the dump with a blank line.
132 (struct debug_display): Enable reloc processing for .debug_aranges
133 and .debug_loc sections.
135 2009-06-19 Nick Clifton <nickc@redhat.com>
137 * ar.c (usage): Do not use #ifdef inside _("...).
138 * nm.c (usage): Likewise.
140 2009-06-18 Nick Clifton <nickc@redhat.com>
143 * objdump.c (disassemble_bytes): Set the
144 USER_SPECIFIED_MACHINE_TYPE flag in the disassemble_info structure
145 if the user has invoked the -m switch.
146 * doc/binutils.texi: Document the additional behaviour of
147 objdump's -m switch for ARM targets.
149 2009-06-18 Dave Korn <dave.korn.cygwin@gmail.com>
151 * configure.in: Merge cegcc and mingw32ce target name changes from
154 2007-12-25 Pedro Alves <pedro_alves@portugalmail.pt>
156 * configure.in: Add arm*-*-cegcc* and arm*-*-mingw32ce* targets.
157 * configure: Regenerate.
159 2009-06-15 Nick Clifton <nickc@redhat.com>
162 * objdump.c (disassemble_bytes): Set the DISASSEMBLE_DATA bit in
163 the flags field of the disassemble_info structure if the -D switch
166 2009-06-12 Homer Xing <homer.xing@yahoo.com>
168 * NEWS: Mention new feature added to gprof.
170 2009-06-12 John Reiser <jreiser@BitWagon.com>
172 * readelf.c (process_symbol_table): Set gnubuckets to NULL after
173 freeing it and before returning.
175 2009-06-12 Jakub Jelinek <jakub@redhat.com>
177 * readelf.c (process_symbol_table): Don't return early if
178 .hash/.gnu.hash is empty/unusable and not -D.
180 2009-06-09 Tom Bramer <tjb@postpro.net>
183 * winduni.c (wind_MultiByteToWideChar): Do not pass MB_PRECOMPOSED
184 to MultiByteToWideChar when using the CP_UTF8 or CO_UTF7 types.
186 2009-06-04 Alan Modra <amodra@bigpond.net.au>
188 * strings.c (main): Delay parsing of decimal digits.
190 2009-06-04 Alan Modra <amodra@bigpond.net.au>
192 * dep-in.sed: Don't use \n in replacement part of s command.
193 * Makefile.am (DEP1): LC_ALL for uniq.
195 * Makefile.in: Regenerate.
197 2009-06-03 Tristan Gingold <gingold@adacore.com>
199 * MAINTAINERS: Add myself as Mach-O maintainer.
201 2009-06-01 Alan Modra <amodra@bigpond.net.au>
204 * doc/binutils.texi (nm): Correct -S description.
206 2009-05-28 Nick Clifton <nickc@redhat.com>
208 * po/da.po: Updated Danish translation.
210 2009-05-28 Nick Clifton <nickc@redhat.com>
212 * readelf.c (display_debug_section): Do not display debug sections
213 with the NOBITS section type.
215 2009-05-27 Rafael Avila de Espindola <espindola@google.com>
217 * aclocal.m4: Include ../config/plugins.m4.
218 * configure.in: Use AC_PLUGINS.
219 * configure: Regenerate.
220 * Makefile.in: Regenerate.
221 * doc/Makefile.in: Regenerate.
223 2009-05-27 Rafael Avila de Espindola <espindola@google.com>
225 * ar.c (main): Call bfd_plugin_set_program_name.
226 * nm.c (main): Call bfd_plugin_set_program_name.
228 2009-05-27 Nathan Sidwell <nathan@codesourcery.com>
230 * sysdump.c (tab): Use puts rather than two printfs.
232 2009-05-26 Nick Clifton <nickc@redhat.com>
234 * po/id.po: Updated Indonesian translation.
235 * po/binutils.pot: Updated template file.
237 2009-05-26 Rafael Avila de Espindola <espindola@google.com>
239 * ar.c: Include plugin.h.
240 (main): Handle the --plugin option.
241 * nm.c: Include plugin.h.
242 (OPTION_PLUGIN): New.
243 (long_options): Add plugin.
244 (main): Handle OPTION_PLUGIN.
245 * NEWS: Mention the new feature.
246 * doc/binutils: Documement the new command line options.
247 * configure.in: Check for --enable-plugins.
248 * configure: Regenerate.
250 2009-05-26 Alan Modra <amodra@bigpond.net.au>
252 * dep-in.sed: Output one filename per line with all lines having
253 continuation backslash. Prefix first line with "A", following
255 * Makefile.am (DEP): Don't use dep.sed here.
256 (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
258 * Makefile.in: Regenerate.
260 2009-05-25 Tristan Gingold <gingold@adacore.com>
262 * makefile.vms-in: Fix CFLAGS, add addr2line.exe target.
264 * configure.com: Fix it: handle alloca and define TARGET in config.h.
266 2009-05-22 Alan Modra <amodra@bigpond.net.au>
268 * Makefile.am: Run "make dep-am".
269 * Makefile.in: Regenerate.
271 2009-05-12 Alan Modra <amodra@bigpond.net.au>
273 * objcopy.c (set_long_section_mode): Check input_bfd is coff
274 before accessing coff specific fields of bfd.
276 2009-05-09 Dave Korn <dave.korn.cygwin@gmail.com>
278 * MAINTAINERS: Add myself as PE/COFF co-maintainer.
280 2009-05-08 Kai Tietz <kai.tietz@onevision.com>
282 * winduni.c (iconv_onechar): Only define when HAVE_ICONV
283 is defined, but not when __CYGWIN__ or _WIN32 are defined.
284 See wind_iconv_cp for call logic of this local funtion.
286 2009-05-05 Guillaume Duhamel <guillaume.duhamel@gmail.com>
289 * winduni.c: Replace test of HAVE_ICONV_H with a test of
291 (iconv_onechar): Use ICONV_CONST instead of "const".
292 (wind_MultiByteToWideChar): Initialise local strings.
294 2009-04-30 Nick Clifton <nickc@redhat.com>
296 * readelf.c (dump_relocations): Display a relocation against an
297 ifunc symbol as if it were a function invocation.
298 (get_symbol_type): Handle STT_GNU_IFUNC.
300 2009-04-29 Anthony Green <green@moxielogic.com>
302 * NEWS: Tweak verilog support description.
304 2009-04-29 Alan Modra <amodra@bigpond.net.au>
305 Denis Scherbakov <denis_scherbakov@yahoo.com>
307 * readelf.c (slurp_ia64_unwind_table): Correct 64-bit unwind table
308 read, and merge with 32-bit case.
310 2009-04-27 Anthony Green <green@moxielogic.com>
312 * NEWS: Mention verilog support added to bfd.
314 2009-04-27 H.J. Lu <hongjiu.lu@intel.com>
316 * objcopy.c (copy_object): Copy pe_opthdr before changing PE
319 2009-04-24 Cary Coutant <ccoutant@google.com>
321 * dwarf.c (process_extended_line_op): Add DW_LNE_set_discriminator.
322 Add missing newlines to HP extensions.
324 2009-04-17 H.J. Lu <hongjiu.lu@intel.com>
326 * objcopy.c (set_pe_subsystem): Replace efi-rom with sal-rtd.
327 * doc/binutils.texi: Likewise.
329 2009-04-17 H.J. Lu <hongjiu.lu@intel.com>
332 * objcopy.c: Include coff/i386.h and coff/pe.h.
333 (pe_file_alignment): New.
334 (pe_heap_commit): Likewise.
335 (pe_heap_reserve): Likewise.
336 (pe_image_base): Likewise.
337 (pe_section_alignment): Likewise.
338 (pe_stack_commit): Likewise.
339 (pe_stack_reserve): Likewise.
340 (pe_subsystem): Likewise.
341 (pe_major_subsystem_version): Likewise.
342 (pe_minor_subsystem_version): Likewise.
343 (set_pe_subsystem): Likewise.
344 (convert_efi_target): Likewise.
345 (command_line_switch): Add OPTION_FILE_ALIGNMENT,
346 OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT,
347 OPTION_STACK and OPTION_SUBSYSTEM.
348 (copy_options): Likewise.
349 (copy_usage): Add --file-alignment, --heap, --image-base,
350 --section-alignment, --stack and --subsystem.
351 (copy_object): Set up PE parameters.
352 (copy_main): Process Add OPTION_FILE_ALIGNMENT,
353 OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT,
354 OPTION_STACK and OPTION_SUBSYSTEM. Convert EFI target to
357 * NEWS: Mention --file-alignment, --heap, --image-base,
358 --section-alignment, --stack and --subsystem command line
361 * doc/binutils.texi: Document --file-alignment, --heap,
362 --image-base, --section-alignment, --stack and --subsystem
363 command line options for objcopy.
365 2009-04-15 Anthony Green <green@moxielogic.com>
367 * MAINTAINERS: Add myself as Moxie port maintainer.
369 2009-04-14 Dave Korn <dave.korn.cygwin@gmail.com>
371 * objcopy.c (enum long_section_name_handling): New enum type.
372 (enum command_line_switch): Add OPTION_LONG_SECTION_NAMES.
373 (copy_options[]): Add entry for --long-section-names option.
374 (copy_usage): Document it.
375 (set_long_section_mode): New subroutine.
376 (copy_file): Call it.
377 (copy_main): Accept OPTION_LONG_SECTION_NAMES and parse arg.
378 * doc/binutils.texi: Update objcopy documentation with details
381 2009-04-01 Dave Korn <dave.korn.cygwin@gmail.com>
383 * dlltool.c (set_dll_name_from_def): Accept new second arg that
384 indicates if we are building DLL or EXE, and use it to add a
385 default suffix to the output filename when none is already present.
386 (def_name): Indicate we are building an EXE when calling it.
387 (def_library): Indicate we are building a DLL when calling it.
389 2009-04-01 Jari Aalto <jari.aalto@cante.net>
392 * doc/binutils.texi (strings): Document the -V alias for the
394 * strings.c (usage): Likewise.
396 2009-03-31 Nick Clifton <nickc@redhat.com>
399 * configure.in: Import Solaris specific largefile test from
401 * configure: Regenerate.
403 2009-03-30 Richard Sandiford <rdsandiford@googlemail.com>
405 * MAINTAINERS: Add self.
407 2009-03-27 Nick Clifton <nickc@redhat.com>
409 * dwarf.c (display_debug_ranges): Add the base address to the
410 displayed values for 'Begin' and 'End'.
412 2009-03-25 Ryan Mansfield <rmansfield@qnx.com>
414 * readelf.c (process_file_header): Don't report a corrupt string
415 table index if it is zero.
417 2009-03-19 H.J. Lu <hongjiu.lu@intel.com>
419 * dwarf.c (dwarf_regnames): Moved before frame_need_space.
420 (dwarf_regnames_count): Likewise.
421 (frame_need_space): Return int.
422 (display_debug_frames): Check invalid registers.
424 2009-03-19 H.J. Lu <hongjiu.lu@intel.com>
426 * readelf.c (debug_apply_relocations): Check relocations
427 against STT_SECTION symbol.
429 2009-03-18 H.J. Lu <hongjiu.lu@intel.com>
431 * readelf.c (debug_apply_relocations): Allow relocations
432 against function symbols.
434 2009-03-18 Alan Modra <amodra@bigpond.net.au>
436 * sysdep.h: Include alloca-conf.h instead of config.h and remove
437 existing #if's handling alloca.
438 * Makefile.am: Run "make dep-am".
439 * Makefile.in: Regenerate.
441 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
443 * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
444 * configure.in: Likewise.
445 * configure: Regenerate.
447 2009-03-13 H.J. Lu <hongjiu.lu@intel.com>
450 * objcopy.c (copy_object): Clear HAS_RELOC when stripping all.
452 2009-03-11 Chris Demetriou <cgd@google.com>
454 * ar.c (deterministic): New global variable.
455 (main): Recognize new 'D' option, which enables 'deterministic mode'.
456 (usage): Document new 'D' option.
457 (write_archive): Set BFD_DETERMINISTIC_OUTPUT in output archive's
458 flags if deterministic mode was requested.
459 * doc/binutils.texi (ar): Document deterministic mode ('D' option).
461 2009-03-09 H.J. Lu <hongjiu.lu@intel.com>
464 * objcopy.c (filter_symbols): Properly handle common symbols
467 2009-03-06 Nick Clifton <nickc@redhat.com>
469 * po/es.po: Updated Spanish translation.
471 2009-03-05 Nick Clifton <nickc@redhat.com>
473 * objdump.c (disassemble_section): If the computed next offset is
474 not beyond the current offset then just continue to the end.
476 2009-03-04 Tristan Gingold <gingold@adacore.com>
478 * MAINTAINERS: Add myself as VMS maintainer.
480 2009-03-03 Nick Clifton <nickc@redhat.com>
482 * readelf.c: Update formatting.
484 2009-03-03 Alan Modra <amodra@bigpond.net.au>
486 * Makefile.am: Run "make dep-am".
487 * Makefile.in: Regenerate.
489 2009-03-03 Alan Modra <amodra@bigpond.net.au>
491 * objdump.c (disassemble_section): Mask address before sign extending.
493 2009-03-02 Sebastian Biallas <sb@biallas.net>
495 * ieee.c (parse_ieee_ty): Add support for undocumented 'v' type.
496 (parse_ieee_bb): Set the filename if it has not already been
499 2009-03-02 Cary Coutant <ccoutant@google.com>
501 * readelf.c (adjust_relative_path): New function.
502 (struct archive_info): New type.
503 (setup_archive): New function.
504 (release_archive): New function.
505 (setup_nested_archive): New function.
506 (get_archive_member_name): New function.
507 (get_archive_member_name_at): New function.
508 (make_qualified_name): New function.
509 (process_archive): Factor out code for reading archive index and
510 long filename table to setup_archive. Add support for thin archives.
512 2009-03-02 Nick Clifton <nickc@redhat.com>
514 * po/sk.po: Updated Slovak translation.
516 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
518 * configure: Regenerate.
520 2009-02-23 Cary Coutant <ccoutant@google.com>
522 * objdump.c (load_specific_debug_section): New function, from
524 (load_debug_section): Use load_specific_debug_section.
525 (dump_dwarf_section): Likewise.
527 2009-02-23 Cary Coutant <ccoutant@google.com>
529 * readelf.c (parse_args): Select all sections explicitly for -w.
531 2009-02-09 Kai Tietz <kai.tietz@onevision.com>
533 * windres.c (set_endianess): Copy name without leading '-'.
535 2009-02-09 Tristan Gingold <gingold@adacore.com>
537 * NEWS: Mention feature match between objdump and readelf for dumping
540 * doc/binutils.texi (objdump): Document -W/--dwarf improvments to
543 * objdump.c (usage): Update documentation for -W/--dwarf.
544 (enum option_values): Add OPTION_DWARF.
545 (long_options): --dwarf can accept arguments.
546 (dump_dwarf_section): Also check enabled field.
547 (main): Option -W can accept arguments, code moved to
548 dwarf.c and call dwarf_select_sections_all instead.
549 * readelf.c (process_section_headers): Remove do_debug_lines_decoded.
550 (parse_args): Move code to...
551 * dwarf.c (dwarf_select_sections_by_letters,
552 dwarf_select_sections_by_names): : ...here (new functions).
553 (do_debug_lines_decoded): Remove and replaced by ...
554 (FLAG_DEBUG_LINES_RAW, FLAG_DEBUG_LINES_DECODED): ... new macros.
555 (display_debug_lines): Adjust for previous change.
556 (dwarf_select_sections_all): New function.
557 (debug_displays): Add initializer for enabled field.
558 * dwarf.h (do_debug_lines_decoded): Remove.
559 Add prototypes for the new functions.
560 (struct dwarf_section_display): Add enabled field.
562 2009-02-06 Nick Clifton <nickc@redhat.com>
564 * po/vi.po: Updated Vietnamese translation.
566 2009-02-03 Sandip Matte <sandip@rmicorp.com>
568 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_XLR.
570 2009-02-03 H.J. Lu <hongjiu.lu@intel.com>
572 * NEWS: Move --as-needed change to ...
575 2009-02-03 Carlos O'Donell <carlos@codesourcery.com>
577 * configure.in: AC_SUBST pdfdir.
578 * Makefile.am: Add install-pdf, install-pdf-am,
579 and install-pdf-recursive targets.
580 * doc/Makefile.am: Define pdf__strip_dir. Add
581 install-pdf and install-pdf-am targets.
582 * po/Make-in: Add install-pdf target.
583 * configure: Regenerate.
584 * Makefile.in: Regenerate.
585 * doc/Makefile.in: Regenerate.
587 2009-02-03 H.J. Lu <hongjiu.lu@intel.com>
590 * NEWS: Mention --prefix=PREFIX and --prefix-strip=LEVEL.
592 * doc/binutils.texi: Document --prefix=PREFIX and
593 --prefix-strip=LEVEL.
595 * objdump.c: Include "filenames.h".
597 (prefix_strip): Likewise.
598 (prefix_length): Likewise.
599 (usage): Add --prefix=PREFIX and --prefix-strip=LEVEL.
600 (option_values): Add OPTION_PREFIX and OPTION_PREFIX_STRIP.
601 (long_options): Likewise.
602 (show_line): Handle prefix and prefix_strip.
603 (main): Handle OPTION_PREFIX and OPTION_PREFIX_STRIP.
605 * readelf.c (PATH_MAX): Moved to ...
608 2009-01-31 Alan Modra <amodra@bigpond.net.au>
610 * NEWS: Mention --as-needed change.
612 2009-01-29 Alan Modra <amodra@bigpond.net.au>
615 * bucomm.c (bfd_nonfatal_message): Use bfd_get_archive_filename.
616 (bfd_get_archive_filename): Constify param.
617 * bucomm.h (bfd_get_archive_filename): Update prototype.
618 * objcopy.c (RETURN_NONFATAL): Delete.
619 (copy_unknown_object): Don't call bfd_get_archive_filename for
620 bfd_nonfatal_message filename, instead just pass bfd.
621 (copy_object): Likewise.
622 (copy_archive, copy_file): Likewise. Expand RETURN_NONFATAL. On
623 bfd_close errors, do not pass the bfd to bfd_nonfatal_message.
624 (setup_bfd_headers): Fix error message.
626 2009-01-27 Nick Clifton <nickc@redhat.com>
629 * objdump.c (disassemble_section): When the target uses signed
630 addresses make sure that we compute signed values.
632 2009-01-27 Nick Clifton <nickc@redhat.com>
634 * MAINTAINERS: Remove Thiemo Seufer's name from the list of MIPS
637 2009-01-26 Nick Clifton <nickc@redhat.com>
640 * dlltool.c (xlate): When strip text after the @ sign, look for
641 the last one not the first one.
643 2009-01-16 Alan Modra <amodra@bigpond.net.au>
645 * configure.in (commonbfdlib): Delete.
646 * configure: Regenerate.
648 2008-01-14 Charles Wilson <cygwin@cwilson.fastmail.fm>
650 Cleanup code related to --identify option.
652 * binutils/dlltool.c (file scope): Removed globals identify_ms,
653 identify_member_contains_symname_result,
654 identify_dll_name_list_head, and identify_dll_name_list_tail.
655 Renamed existing typedef dll_name_list_type to
656 dll_name_list_node_type.
657 Added new typedefs dll_name_list_type, symname_search_data_type,
658 and identify_data_type.
659 (identify_append_dll_name_to_list): Renamed to...
660 (dll_name_list_append): ...here. Changed signature to accept list
661 argument rather than use global.
662 (identify_count_dll_name_list): Renamed to...
663 (dll_name_list_count): ...here. Changed signature to accept list
664 argument rather than use global.
665 (identify_print_dll_name_list): Renamed to...
666 (dll_name_list_print): ...here. Changed signature to accept list
667 argument rather than use global.
668 (identify_free_dll_name_list): Renamed to...
669 (dll_name_list_free_contents): ...here.
670 (dll_name_list_free): New function.
671 (dll_name_list_create): New function.
672 (identify_process_section_p): Changed signature to accept
673 ms_style_implib argument rather than use global.
674 (identify_member_contains_symname): Expect incoming void * data to
675 be symname_search_data_type.
676 (identify_dll_for_implib): Use new functions dll_name_list_create
677 and dll_name_list_free. Use new types symname_search_data_type
678 and identify_data_type to communicate with search routines.
679 (identify_search_section): Expect incoming void * data to be
680 identify_data_type. Use its contents rather than global
683 2009-01-13 Charles Wilson <cygwin@cwilson.fastmail.fm>
685 Add --identify-strict option. Handle ms-style implibs:
687 * dlltool.c (file scope): Added new globals identify_ms and
688 identify_strict. New typedef dll_name_list_type, and globals
689 identify_dll_name_list_head and identify_dll_name_list_tail. Added
690 new global identify_member_contains_symname_result.
691 (identify_append_dll_name_to_list): New function.
692 (identify_count_dll_name_list): New function.
693 (identify_print_dll_name_list): New function.
694 (identify_free_dll_name_list): New function.
695 (identify_search_archive): Changed signature to take function
696 pointer to operation to apply to each member, and data to pass on
698 (identify_search_member): Changed signature to accept user data
700 (identify_member_contains_symname): New function.
701 (identify_dll_for_implib): Rewrite. Now determines whether implib
702 is ms- or binutils- style, before searching sections for
703 dllname. Allows multiple dllnames.
704 (identify_process_section_p): Search alternate section for dllname
705 when implib is ms-style.
706 (identify_search_section): Add additional conditions to excludes
707 candidate sections from consideration.
708 (usage): Added --identify-strict.
709 (long_options): Added --identify-strict.
710 (main): Handle --identify-strict option.
711 * doc/binutils.texi: Document --identify-strict option.
712 * NEWS: Document --identify and --identify-strict options.
714 2009-01-13 Alan Modra <amodra@bigpond.net.au>
717 * doc/binutils.texi (objdump -R): Note effect of -d or -D.
719 2009-01-13 Alan Modra <amodra@bigpond.net.au>
721 * objdump.c (disassemble_section): Don't assume non-instruction
722 data if object symbol at given address is in different section.
724 2009-01-12 Kai Tietz <kai.tietz@onevision.com>
726 * dlltool.c (create_for_pep): New.
727 (flush_page): Use create_for_pep instead of using
728 macro DLLTOOL_MX86_64 clause.
729 (generate_idata_ofile): Likewise.
730 (make_one_lib_file): Likewise.
731 (make_head): Likewise.
732 (make_tail): Likewise.
733 (main): Initialize create_for_pep.
735 2009-01-08 Kai Tietz <kai.tietz@onevision.com>
737 * dlltool.c (use_nul_prefixed_import_tables): New.
738 (make_head): Make prefix leading zero prefix element for
739 idata$4 and idata$5 dependent to new flag.
740 (usage): Add new option --use-nul-prefixed-import-tables.
741 (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
742 (long_options): Add --use-nul-prefixed-import-tables.
744 * doc/binutils.texi: Add new option documentation for
745 --use-nul-prefixed-import-tables.
746 * NEWS: Add new option.
748 2009-01-06 Kai Tietz <kai.tietz@onevision.com>
750 * windres.c (set_endianess): Get architecture name
751 for internal target names like "pe-arm-wince-little".
752 (find_arch_match): New helper.
753 * ChangeLog: Reset it.
754 * ChangeLog-2008: Moved old ChangeLog.
756 For older changes see ChangeLog-2008
762 version-control: never