PR 10413
[binutils.git] / binutils / ChangeLog
blob7aadd75d0c64818cfc9232e012e0defb1670bd67
1 2009-07-27  Nick Clifton  <nickc@redhat.com>
3         PR 10413
4         * objdump.c (dump_section_header): Skip sections that we are
5         ignoring.
7 2009-07-25  H.J. Lu  <hongjiu.lu@intel.com>
9         * readelf.c (guess_is_rela): Handle EM_L1OM.
10         (dump_relocations): Likewise.
11         (get_machine_name): Likewise.
12         (get_section_type_name): Likewise.
13         (get_elf_section_flags): Likewise.
14         (get_symbol_index_type): Likewise.
15         (is_32bit_abs_reloc): Likewise.
16         (is_32bit_pcrel_reloc): Likewise.
17         (is_64bit_abs_reloc): Likewise.
18         (is_64bit_pcrel_reloc): Likewise.
19         (is_none_reloc): Likewise.
21 2009-07-23  Ulrich Drepper  <drepper@redhat.com>
23         * readelf.c (get_symbol_binding): For Linux targeted files return
24         UNIQUE for symbols with the STB_GNU_UNIQUE binding.
25         * doc/binutils.texi: Document the meaning of the 'u' symbol
26         binding in the output of nm and objdump --syms.
28 2009-07-20  H.J. Lu  <hongjiu.lu@intel.com>
30         * NEWS: Mention --insn-width.
32         * objdump.c (insn_width): New.
33         (usage): Display --insn-width.
34         (option_values): Add OPTION_INSN_WIDTH.
35         (long_options): Add --insn-width.
36         (disassemble_bytes): Handle insn_width.
37         (main): Handle OPTION_INSN_WIDTH.
39         * doc/binutils.texi: Document --insn-width.
41 2009-07-17  Nick Clifton  <nickc@redhat.com>
43         * dwarf.c (display_debug_lines): If do_debug_lines has not been
44         set then default to displaying raw .debug_line section contents.
46 2009-07-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
48         Support unordered .debug_info references to .debug_ranges.
49         * dwarf.c (struct range_entry, range_entry_compar): New.
50         (display_debug_ranges): Remove variables last_offset, first, j,
51         seen_first_offset, use_debug_info and next.  New variables
52         range_entries and range_entry_fill.  Create the sorted copy
53         range_entries.  Remove the FIXME error on detected unordered references.
54         * dwarf.h (debug_info <range_lists>): New comment.
56 2009-07-14  Nick Clifton  <nickc@redhat.com>
58         PR 10380
59         * README: Document use of LDFLAGS="--static".
61 2009-07-10  H.J. Lu  <hongjiu.lu@intel.com>
63         * Makefile.am: Run "make dep-am".
64         * Makefile.in: Regenerated.
66 2009-07-10  Tom Tromey  <tromey@redhat.com>
68         * Makefile.am (dwarf.o): Refer to dwarf2.h, not elf/dwarf2.h.
69         * Makefile.in: Rebuild.
70         * dwarf.c: Include dwarf2.h, not elf/dwarf2.h.
72 2009-07-06  Tristan Gingold  <gingold@adacore.com>
74         * objdump.c (dump_dwarf_section): Handle .eh_frame like other dwarf
75         sections.
76         * dwarf.h (struct dwarf_section_display): Remove eh_frame field.
77         * dwarf.c (debug_displays): Adjust for removed field.
79 2009-07-03  Jakub Jelinek  <jakub@redhat.com>
81         * dwarf.c (decode_location_expression): Handle DW_OP_stack_value
82         and DW_OP_implicit_value.
84 2009-07-01  Nick Clifton  <nickc@redhat.com>
86         PR 6714
87         * rclex.c (handle_quotes): Do not complain about whitespace
88         separating quoted strings.
89         (rclex_string): Ignore whitespace when looking for a new opening
90         quote following a closing quote.
92 2009-06-27  H.J. Lu  <hongjiu.lu@intel.com>
94         PR binutils/10321
95         * bucomm.c (get_file_size): Return -1 on error.
97         * objcopy.c (copy_file): Report empty file.
99 2009-06-23  Nick Clifton  <nickc@redhat.com>
101         * dwarf.c (display_debug_lines_raw): Include the name of the
102         section in warning message.
103         (struct debug_display): Enable reloc processing for .debug_line
104         and .debug_ranges sections.
106         * readelf.c: Add --relocated-dump command line option to dump the
107         relocated contents of a specified section.
108         (request_dump): New function.
109         (parse_args): Use it.
110         (dump_section_as_bytes): Add parameter to indicate whether the
111         contents should be relocated.
112         (target_specific_reloc_handling): Add code for a R_MN10300_16
113         reloc found after a R_MN10300_SYM_DIFF reloc.
114         (debug_apply_relocations): Rename to apply_relocations.
115         (get_section_contents): New function.  Replaces common code found
116         in dump_section_as_strings and dump_section_as_bytes.
117         * doc/binutils.texi: Document new command line option.
118         * NEWS: Mention the new feature.
120 2009-06-22  Nick Clifton  <nickc@redhat.com>
122         * readelf.c (target_specific_reloc_handling): New function:
123         Processes relocs in a target specific manner.
124         (debug_apply_relocations): Use the new function.
125         * dwarf.c (display_debug_loc): End the dump with a blank line.
126         (struct debug_display): Enable reloc processing for .debug_aranges
127         and .debug_loc sections.
129 2009-06-19  Nick Clifton  <nickc@redhat.com>
131         * ar.c (usage): Do not use #ifdef inside _("...).
132         * nm.c (usage): Likewise.
134 2009-06-18  Nick Clifton  <nickc@redhat.com>
136         PR 10288
137         * objdump.c (disassemble_bytes): Set the
138         USER_SPECIFIED_MACHINE_TYPE flag in the disassemble_info structure
139         if the user has invoked the -m switch.
140         * doc/binutils.texi: Document the additional behaviour of
141         objdump's -m switch for ARM targets.
143 2009-06-18  Dave Korn  <dave.korn.cygwin@gmail.com>
145         * configure.in: Merge cegcc and mingw32ce target name changes from
146         CeGCC project.
148 2007-12-25  Pedro Alves  <pedro_alves@portugalmail.pt>
150         * configure.in: Add arm*-*-cegcc* and arm*-*-mingw32ce* targets.
151         * configure: Regenerate.
153 2009-06-15  Nick Clifton  <nickc@redhat.com>
155         PR 10263
156         * objdump.c (disassemble_bytes): Set the DISASSEMBLE_DATA bit in
157         the flags field of the disassemble_info structure if the -D switch
158         is in operation.
160 2009-06-12  Homer Xing  <homer.xing@yahoo.com>
162         * NEWS: Mention new feature added to gprof.
164 2009-06-12  John Reiser  <jreiser@BitWagon.com>
166         * readelf.c (process_symbol_table): Set gnubuckets to NULL after
167         freeing it and before returning.
169 2009-06-12  Jakub Jelinek  <jakub@redhat.com>
171         * readelf.c (process_symbol_table): Don't return early if
172         .hash/.gnu.hash is empty/unusable and not -D.
174 2009-06-09  Tom Bramer  <tjb@postpro.net>
176         PR 10165
177         * winduni.c (wind_MultiByteToWideChar): Do not pass MB_PRECOMPOSED
178         to MultiByteToWideChar when using the CP_UTF8 or CO_UTF7 types.
180 2009-06-04  Alan Modra  <amodra@bigpond.net.au>
182         * strings.c (main): Delay parsing of decimal digits.
184 2009-06-04  Alan Modra  <amodra@bigpond.net.au>
186         * dep-in.sed: Don't use \n in replacement part of s command.
187         * Makefile.am (DEP1): LC_ALL for uniq.
188         Run "make dep-am".
189         * Makefile.in: Regenerate.
191 2009-06-03  Tristan Gingold  <gingold@adacore.com>
193         * MAINTAINERS: Add myself as Mach-O maintainer.
195 2009-06-01  Alan Modra  <amodra@bigpond.net.au>
197         PR 10199
198         * doc/binutils.texi (nm): Correct -S description.
200 2009-05-28  Nick Clifton  <nickc@redhat.com>
202         * po/da.po: Updated Danish translation.
204 2009-05-28  Nick Clifton  <nickc@redhat.com>
206         * readelf.c (display_debug_section): Do not display debug sections
207         with the NOBITS section type.
209 2009-05-27  Rafael Avila de Espindola  <espindola@google.com>
211         * aclocal.m4: Include ../config/plugins.m4.
212         * configure.in: Use AC_PLUGINS.
213         * configure: Regenerate.
214         * Makefile.in: Regenerate.
215         * doc/Makefile.in: Regenerate.
217 2009-05-27  Rafael Avila de Espindola  <espindola@google.com>
219         * ar.c (main): Call bfd_plugin_set_program_name.
220         * nm.c (main): Call bfd_plugin_set_program_name.
222 2009-05-27  Nathan Sidwell  <nathan@codesourcery.com>
224         * sysdump.c (tab): Use puts rather than two printfs.
226 2009-05-26  Nick Clifton  <nickc@redhat.com>
228         * po/id.po: Updated Indonesian translation.
229         * po/binutils.pot: Updated template file.
231 2009-05-26  Rafael Avila de Espindola  <espindola@google.com>
233         * ar.c: Include plugin.h.
234         (main): Handle the --plugin option.
235         * nm.c: Include plugin.h.
236         (OPTION_PLUGIN): New.
237         (long_options): Add plugin.
238         (main): Handle OPTION_PLUGIN.
239         * NEWS: Mention  the new feature.
240         * doc/binutils: Documement the new command line options.
241         * configure.in: Check for --enable-plugins.
242         * configure: Regenerate.
244 2009-05-26  Alan Modra  <amodra@bigpond.net.au>
246         * dep-in.sed: Output one filename per line with all lines having
247         continuation backslash.  Prefix first line with "A", following
248         lines with "B".
249         * Makefile.am (DEP): Don't use dep.sed here.
250         (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
251         sort and uniq.
252         * Makefile.in: Regenerate.
254 2009-05-25  Tristan Gingold  <gingold@adacore.com>
256         * makefile.vms-in: Fix CFLAGS, add addr2line.exe target.
258         * configure.com: Fix it: handle alloca and define TARGET in config.h.
260 2009-05-22  Alan Modra  <amodra@bigpond.net.au>
262         * Makefile.am: Run "make dep-am".
263         * Makefile.in: Regenerate.
265 2009-05-12  Alan Modra  <amodra@bigpond.net.au>
267         * objcopy.c (set_long_section_mode): Check input_bfd is coff
268         before accessing coff specific fields of bfd.
270 2009-05-09  Dave Korn  <dave.korn.cygwin@gmail.com>
272         * MAINTAINERS:  Add myself as PE/COFF co-maintainer.
274 2009-05-08  Kai Tietz  <kai.tietz@onevision.com>
276         * winduni.c (iconv_onechar): Only define when HAVE_ICONV
277         is defined, but not when __CYGWIN__ or _WIN32 are defined.
278         See wind_iconv_cp for call logic of this local funtion.
280 2009-05-05  Guillaume Duhamel  <guillaume.duhamel@gmail.com>
282         PR 10109
283         * winduni.c: Replace test of HAVE_ICONV_H with a test of
284         HAVE_ICONV.
285         (iconv_onechar): Use ICONV_CONST instead of "const".
286         (wind_MultiByteToWideChar): Initialise local strings.
288 2009-04-30  Nick Clifton  <nickc@redhat.com>
290         * readelf.c (dump_relocations): Display a relocation against an
291         ifunc symbol as if it were a function invocation.
292         (get_symbol_type): Handle STT_GNU_IFUNC.
294 2009-04-29  Anthony Green  <green@moxielogic.com>
296         * NEWS: Tweak verilog support description.
298 2009-04-29  Alan Modra  <amodra@bigpond.net.au>
299             Denis Scherbakov <denis_scherbakov@yahoo.com>
301         * readelf.c (slurp_ia64_unwind_table): Correct 64-bit unwind table
302         read, and merge with 32-bit case.
304 2009-04-27  Anthony Green  <green@moxielogic.com>
306         * NEWS: Mention verilog support added to bfd.
308 2009-04-27  H.J. Lu  <hongjiu.lu@intel.com>
310         * objcopy.c (copy_object): Copy pe_opthdr before changing PE
311         parameters.
313 2009-04-24  Cary Coutant  <ccoutant@google.com>
315         * dwarf.c (process_extended_line_op): Add DW_LNE_set_discriminator.
316         Add missing newlines to HP extensions.
318 2009-04-17  H.J. Lu  <hongjiu.lu@intel.com>
320         * objcopy.c (set_pe_subsystem): Replace efi-rom with sal-rtd.
321         * doc/binutils.texi: Likewise.
323 2009-04-17  H.J. Lu  <hongjiu.lu@intel.com>
325         PR binutils/10074
326         * objcopy.c: Include coff/i386.h and coff/pe.h.
327         (pe_file_alignment): New.
328         (pe_heap_commit): Likewise.
329         (pe_heap_reserve): Likewise.
330         (pe_image_base): Likewise.
331         (pe_section_alignment): Likewise.
332         (pe_stack_commit): Likewise.
333         (pe_stack_reserve): Likewise.
334         (pe_subsystem): Likewise.
335         (pe_major_subsystem_version): Likewise.
336         (pe_minor_subsystem_version): Likewise.
337         (set_pe_subsystem): Likewise.
338         (convert_efi_target): Likewise.
339         (command_line_switch): Add OPTION_FILE_ALIGNMENT,
340         OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT,
341         OPTION_STACK and OPTION_SUBSYSTEM.
342         (copy_options): Likewise.
343         (copy_usage): Add --file-alignment, --heap, --image-base,
344         --section-alignment, --stack and --subsystem.
345         (copy_object): Set up PE parameters.
346         (copy_main): Process Add OPTION_FILE_ALIGNMENT,
347         OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT,
348         OPTION_STACK and OPTION_SUBSYSTEM.   Convert EFI target to
349         PEI target.
351         * NEWS: Mention --file-alignment, --heap, --image-base,
352         --section-alignment, --stack and --subsystem command line
353         options for objcopy.
355         * doc/binutils.texi: Document --file-alignment, --heap,
356         --image-base, --section-alignment, --stack and --subsystem
357         command line options for objcopy.
359 2009-04-15  Anthony Green  <green@moxielogic.com>
361         * MAINTAINERS: Add myself as Moxie port maintainer.
363 2009-04-14  Dave Korn  <dave.korn.cygwin@gmail.com>
365         * objcopy.c (enum long_section_name_handling):  New enum type.
366         (enum command_line_switch):  Add OPTION_LONG_SECTION_NAMES.
367         (copy_options[]):  Add entry for --long-section-names option.
368         (copy_usage):  Document it.
369         (set_long_section_mode):  New subroutine.
370         (copy_file):  Call it.
371         (copy_main):  Accept OPTION_LONG_SECTION_NAMES and parse arg.
372         * doc/binutils.texi:  Update objcopy documentation with details
373         of new option.
375 2009-04-01  Dave Korn  <dave.korn.cygwin@gmail.com>
377         * dlltool.c (set_dll_name_from_def):  Accept new second arg that
378         indicates if we are building DLL or EXE, and use it to add a
379         default suffix to the output filename when none is already present.
380         (def_name):  Indicate we are building an EXE when calling it.
381         (def_library):  Indicate we are building a DLL when calling it.
383 2009-04-01  Jari Aalto  <jari.aalto@cante.net>
385         PR 9972
386         * doc/binutils.texi (strings): Document the -V alias for the
387         --version option.
388         * strings.c (usage): Likewise.
390 2009-03-31  Nick Clifton  <nickc@redhat.com>
392         PR 9992
393         * configure.in: Import Solaris specific largefile test from
394         bfd/configure.in.
395         * configure: Regenerate.
397 2009-03-30  Richard Sandiford  <rdsandiford@googlemail.com>
399         * MAINTAINERS: Add self.
401 2009-03-27  Nick Clifton  <nickc@redhat.com>
403         * dwarf.c (display_debug_ranges): Add the base address to the
404         displayed values for 'Begin' and 'End'. 
406 2009-03-25  Ryan Mansfield  <rmansfield@qnx.com>
408         * readelf.c (process_file_header): Don't report a corrupt string
409         table index if it is zero.
411 2009-03-19  H.J. Lu  <hongjiu.lu@intel.com>
413         * dwarf.c (dwarf_regnames): Moved before frame_need_space.
414         (dwarf_regnames_count): Likewise.
415         (frame_need_space): Return int.
416         (display_debug_frames): Check invalid registers.
418 2009-03-19  H.J. Lu  <hongjiu.lu@intel.com>
420         * readelf.c (debug_apply_relocations): Check relocations
421         against STT_SECTION symbol.
423 2009-03-18  H.J. Lu  <hongjiu.lu@intel.com>
425         * readelf.c (debug_apply_relocations): Allow relocations
426         against function symbols.
428 2009-03-18  Alan Modra  <amodra@bigpond.net.au>
430         * sysdep.h: Include alloca-conf.h instead of config.h and remove
431         existing #if's handling alloca.
432         * Makefile.am: Run "make dep-am".
433         * Makefile.in: Regenerate.
435 2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
437         * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
438         * configure.in: Likewise.
439         * configure: Regenerate.
441 2009-03-13  H.J. Lu  <hongjiu.lu@intel.com>
443         PR binutils/9945
444         * objcopy.c (copy_object): Clear HAS_RELOC when stripping all.
446 2009-03-11  Chris Demetriou  <cgd@google.com>
448         * ar.c (deterministic): New global variable.
449         (main): Recognize new 'D' option, which enables 'deterministic mode'.
450         (usage): Document new 'D' option.
451         (write_archive): Set BFD_DETERMINISTIC_OUTPUT in output archive's
452         flags if deterministic mode was requested.
453         * doc/binutils.texi (ar): Document deterministic mode ('D' option).
455 2009-03-09  H.J. Lu  <hongjiu.lu@intel.com>
457         PR binutils/9933
458         * objcopy.c (filter_symbols): Properly handle common symbols
459         in relocatable file.
461 2009-03-06  Nick Clifton  <nickc@redhat.com>
463         * po/es.po: Updated Spanish translation.
465 2009-03-05  Nick Clifton  <nickc@redhat.com>
467         * objdump.c (disassemble_section): If the computed next offset is
468         not beyond the current offset then just continue to the end.
470 2009-03-04  Tristan Gingold  <gingold@adacore.com>
472         * MAINTAINERS: Add myself as VMS maintainer.
474 2009-03-03  Nick Clifton  <nickc@redhat.com>
476         * readelf.c: Update formatting.
478 2009-03-03  Alan Modra  <amodra@bigpond.net.au>
480         * Makefile.am: Run "make dep-am".
481         * Makefile.in: Regenerate.
483 2009-03-03  Alan Modra  <amodra@bigpond.net.au>
485         * objdump.c (disassemble_section): Mask address before sign extending.
487 2009-03-02  Sebastian Biallas  <sb@biallas.net>
489         * ieee.c (parse_ieee_ty): Add support for undocumented 'v' type.
490         (parse_ieee_bb): Set the filename if it has not already been
491         discovered.
493 2009-03-02  Cary Coutant  <ccoutant@google.com>
495         * readelf.c (adjust_relative_path): New function.
496         (struct archive_info): New type.
497         (setup_archive): New function.
498         (release_archive): New function.
499         (setup_nested_archive): New function.
500         (get_archive_member_name): New function.
501         (get_archive_member_name_at): New function.
502         (make_qualified_name): New function.
503         (process_archive): Factor out code for reading archive index and
504         long filename table to setup_archive.  Add support for thin archives.
506 2009-03-02  Nick Clifton  <nickc@redhat.com>
508         * po/sk.po: Updated Slovak translation.
510 2009-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
512         * configure: Regenerate.
514 2009-02-23  Cary Coutant <ccoutant@google.com>
516         * objdump.c (load_specific_debug_section): New function, from
517         load_debug_section.
518         (load_debug_section): Use load_specific_debug_section.
519         (dump_dwarf_section): Likewise.
521 2009-02-23  Cary Coutant <ccoutant@google.com>
523         * readelf.c (parse_args): Select all sections explicitly for -w.
525 2009-02-09  Kai Tietz  <kai.tietz@onevision.com>
527         * windres.c (set_endianess): Copy name without leading '-'.
529 2009-02-09  Tristan Gingold  <gingold@adacore.com>
531         * NEWS: Mention feature match between objdump and readelf for dumping
532         dwarf info.
534         * doc/binutils.texi (objdump): Document -W/--dwarf improvments to
535         objdump.
537         * objdump.c (usage): Update documentation for -W/--dwarf.
538         (enum option_values): Add OPTION_DWARF.
539         (long_options): --dwarf can accept arguments.
540         (dump_dwarf_section): Also check enabled field.
541         (main): Option -W can accept arguments, code moved to
542         dwarf.c and call dwarf_select_sections_all instead.
543         * readelf.c (process_section_headers): Remove do_debug_lines_decoded.
544         (parse_args): Move code to...
545         * dwarf.c (dwarf_select_sections_by_letters,
546         dwarf_select_sections_by_names): : ...here (new functions).
547         (do_debug_lines_decoded): Remove and replaced by ...
548         (FLAG_DEBUG_LINES_RAW, FLAG_DEBUG_LINES_DECODED): ... new macros.
549         (display_debug_lines): Adjust for previous change.
550         (dwarf_select_sections_all): New function.
551         (debug_displays): Add initializer for enabled field.
552         * dwarf.h (do_debug_lines_decoded): Remove.
553         Add prototypes for the new functions.
554         (struct dwarf_section_display): Add enabled field.
556 2009-02-06  Nick Clifton  <nickc@redhat.com>
558         * po/vi.po: Updated Vietnamese translation.
560 2009-02-03  Sandip Matte  <sandip@rmicorp.com>
562         * readelf.c (get_machine_flags): Handle E_MIPS_MACH_XLR.
564 2009-02-03  H.J. Lu  <hongjiu.lu@intel.com>
566         * NEWS: Move --as-needed change to ...
567         * ../ld/NEWS: Here.
569 2009-02-03  Carlos O'Donell  <carlos@codesourcery.com>
571         * configure.in: AC_SUBST pdfdir.
572         * Makefile.am: Add install-pdf, install-pdf-am,
573         and install-pdf-recursive targets.
574         * doc/Makefile.am: Define pdf__strip_dir. Add
575         install-pdf and install-pdf-am targets.
576         * po/Make-in: Add install-pdf target.
577         * configure: Regenerate.
578         * Makefile.in: Regenerate.
579         * doc/Makefile.in: Regenerate.
581 2009-02-03  H.J. Lu  <hongjiu.lu@intel.com>
583         PR binutils/9784
584         * NEWS: Mention --prefix=PREFIX and --prefix-strip=LEVEL.
586         * doc/binutils.texi: Document --prefix=PREFIX and
587         --prefix-strip=LEVEL.
589         * objdump.c: Include "filenames.h".
590         (prefix): New.
591         (prefix_strip): Likewise.
592         (prefix_length): Likewise.
593         (usage): Add --prefix=PREFIX and --prefix-strip=LEVEL.
594         (option_values): Add OPTION_PREFIX and OPTION_PREFIX_STRIP.
595         (long_options): Likewise.
596         (show_line): Handle prefix and prefix_strip.
597         (main): Handle OPTION_PREFIX and OPTION_PREFIX_STRIP.
599         * readelf.c (PATH_MAX): Moved to ...
600         * sysdep.h: Here.
602 2009-01-31  Alan Modra  <amodra@bigpond.net.au>
604         * NEWS: Mention --as-needed change.
606 2009-01-29  Alan Modra  <amodra@bigpond.net.au>
608         PR 9798
609         * bucomm.c (bfd_nonfatal_message): Use bfd_get_archive_filename.
610         (bfd_get_archive_filename): Constify param.
611         * bucomm.h (bfd_get_archive_filename): Update prototype.
612         * objcopy.c (RETURN_NONFATAL): Delete.
613         (copy_unknown_object): Don't call bfd_get_archive_filename for
614         bfd_nonfatal_message filename, instead just pass bfd.
615         (copy_object): Likewise.
616         (copy_archive, copy_file): Likewise.  Expand RETURN_NONFATAL.  On
617         bfd_close errors, do not pass the bfd to bfd_nonfatal_message.
618         (setup_bfd_headers): Fix error message.
620 2009-01-27  Nick Clifton  <nickc@redhat.com>
622         PR 9774
623         * objdump.c (disassemble_section): When the target uses signed
624         addresses make sure that we compute signed values.
626 2009-01-27  Nick Clifton  <nickc@redhat.com>
628         * MAINTAINERS: Remove Thiemo Seufer's name from the list of MIPS
629         maintainers.
631 2009-01-26  Nick Clifton  <nickc@redhat.com>
633         PR 9766
634         * dlltool.c (xlate): When strip text after the @ sign, look for
635         the last one not the first one.
637 2009-01-16  Alan Modra  <amodra@bigpond.net.au>
639         * configure.in (commonbfdlib): Delete.
640         * configure: Regenerate.
642 2008-01-14  Charles Wilson  <cygwin@cwilson.fastmail.fm>
644         Cleanup code related to --identify option.
646         * binutils/dlltool.c (file scope): Removed globals identify_ms,
647         identify_member_contains_symname_result,
648         identify_dll_name_list_head, and identify_dll_name_list_tail.
649         Renamed existing typedef dll_name_list_type to
650         dll_name_list_node_type.
651         Added new typedefs dll_name_list_type, symname_search_data_type,
652         and identify_data_type.
653         (identify_append_dll_name_to_list): Renamed to...
654         (dll_name_list_append): ...here.  Changed signature to accept list
655         argument rather than use global.
656         (identify_count_dll_name_list): Renamed to...
657         (dll_name_list_count): ...here.  Changed signature to accept list
658         argument rather than use global.
659         (identify_print_dll_name_list): Renamed to...
660         (dll_name_list_print): ...here.  Changed signature to accept list
661         argument rather than use global.
662         (identify_free_dll_name_list): Renamed to...
663         (dll_name_list_free_contents): ...here.
664         (dll_name_list_free): New function.
665         (dll_name_list_create): New function.
666         (identify_process_section_p): Changed signature to accept
667         ms_style_implib argument rather than use global.
668         (identify_member_contains_symname): Expect incoming void * data to
669         be symname_search_data_type.
670         (identify_dll_for_implib): Use new functions dll_name_list_create
671         and dll_name_list_free.  Use new types symname_search_data_type
672         and identify_data_type to communicate with search routines.
673         (identify_search_section): Expect incoming void * data to be
674         identify_data_type. Use its contents rather than global
675         variables.
677 2009-01-13  Charles Wilson  <cygwin@cwilson.fastmail.fm>
679         Add --identify-strict option.  Handle ms-style implibs:
681         * dlltool.c (file scope): Added new globals identify_ms and
682         identify_strict. New typedef dll_name_list_type, and globals
683         identify_dll_name_list_head and identify_dll_name_list_tail. Added
684         new global identify_member_contains_symname_result.
685         (identify_append_dll_name_to_list): New function.
686         (identify_count_dll_name_list): New function.
687         (identify_print_dll_name_list): New function.
688         (identify_free_dll_name_list): New function.
689         (identify_search_archive): Changed signature to take function
690         pointer to operation to apply to each member, and data to pass on
691         to that function.
692         (identify_search_member): Changed signature to accept user data
693         from caller.
694         (identify_member_contains_symname): New function.
695         (identify_dll_for_implib): Rewrite. Now determines whether implib
696         is ms- or binutils- style, before searching sections for
697         dllname. Allows multiple dllnames.
698         (identify_process_section_p): Search alternate section for dllname
699         when implib is ms-style.
700         (identify_search_section): Add additional conditions to excludes
701         candidate sections from consideration.
702         (usage): Added --identify-strict.
703         (long_options): Added --identify-strict.
704         (main): Handle --identify-strict option.
705         * doc/binutils.texi: Document --identify-strict option.
706         * NEWS: Document --identify and --identify-strict options.
708 2009-01-13  Alan Modra  <amodra@bigpond.net.au>
710         PR 7034
711         * doc/binutils.texi (objdump -R): Note effect of -d or -D.
713 2009-01-13  Alan Modra  <amodra@bigpond.net.au>
715         * objdump.c (disassemble_section): Don't assume non-instruction
716         data if object symbol at given address is in different section.
718 2009-01-12  Kai Tietz  <kai.tietz@onevision.com>
720         * dlltool.c (create_for_pep): New.
721         (flush_page): Use create_for_pep instead of using
722         macro DLLTOOL_MX86_64 clause.
723         (generate_idata_ofile): Likewise.
724         (make_one_lib_file): Likewise.
725         (make_head): Likewise.
726         (make_tail): Likewise.
727         (main): Initialize create_for_pep.
729 2009-01-08  Kai Tietz  <kai.tietz@onevision.com>
731         * dlltool.c (use_nul_prefixed_import_tables): New.
732         (make_head): Make prefix leading zero prefix element for
733         idata$4 and idata$5 dependent to new flag.
734         (usage): Add new option  --use-nul-prefixed-import-tables.
735         (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
736         (long_options): Add --use-nul-prefixed-import-tables.
737         (main): Likewise.
738         * doc/binutils.texi: Add new option documentation for
739         --use-nul-prefixed-import-tables.
740         * NEWS: Add new option.
742 2009-01-06  Kai Tietz  <kai.tietz@onevision.com>
744         * windres.c (set_endianess): Get architecture name
745         for internal target names like "pe-arm-wince-little".
746         (find_arch_match): New helper.
747         * ChangeLog: Reset it.
748         * ChangeLog-2008: Moved old ChangeLog.
750 For older changes see ChangeLog-2008
752 Local Variables:
753 mode: change-log
754 left-margin: 8
755 fill-column: 74
756 version-control: never
757 End: