Fix typo: "Dimitry" should be "Dmitry"
[external/binutils.git] / binutils / ChangeLog
1 2009-11-20  Nick Clifton  <nickc@redhat.com>
2
3         * readelf.c: Include xc16x.h.
4         (dump_relocations): Handle relocations for the xc16x target.
5         (get_machine_name): Accept EM_C166 for xc16x targets.
6         (is_32bit_abs_reloc): Add support for xc16c 32-bit absolute reloc.
7         (is_16bit_abs_reloc): Add support for xc16c 16-bit absolute reloc.
8         (is_none_reloc): Add support for xc16c null reloc.
9         
10 2009-11-20  Ben Elliston  <bje@au.ibm.com>
11
12         * Makefile.am (syslex.o): Use $(NO_WERROR) not -Wno-error.
13         (sysinfo.o): Likewise.
14         * Makefile.in: Regenerate.
15
16 2009-11-19  Ben Elliston  <bje@au.ibm.com>
17
18         * arlex.l: Enable noinput, nounput flex options.
19         * syslex.l: Likewise.
20
21 2009-11-17  Paul Brook  <paul@codesourcery.com>
22             Daniel Jacobowitz  <dan@codesourcery.com>
23
24         * readelf.c (arm_attr_tag_CPU_arch): Add v7E-M.
25
26 2009-11-16  Kai Tietz  <kai.tietz@onevision.com>
27
28         * windmc.c (set_endianess): Use bfd_get_target_info.
29         * windres.c (set_endianess): Likewise.
30         (find_arch_match): Removed.
31
32 2009-11-11  Nick Clifton  <nickc@redhat.com>
33
34         * po/id.po: Updated Indonesian translation.
35
36 2009-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
37
38         * configure.in: Stop checking for fopen64 and stat64.
39         * strings.c (file_off, file_open, statbuf, file_stat): Remove.
40         (strings_file): Change file_off to file_ptr, file_open to fopen,
41         statbuf to struct stat and file_stat to stat.
42         (get_char): Change parameter type file_off * to file_ptr *.
43         (print_strings): Change parameter and variable `start' type file_off to
44         file_ptr.
45         * configure: Regenerate.
46         * config.in: Regenerate.
47
48 2009-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
49
50         * configure.in: Call ACX_LARGEFILE.  Stop calling AC_PLUGINS,
51         AC_SYS_LARGEFILE and checking the Solaris largefile exception.
52         * aclocal.m4: Regenerate.
53         * configure: Regenerate.
54
55 2009-11-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
56
57         * bucomm.c (get_file_size): Update comment for the error return value.
58
59 2009-11-08  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
60
61         * readelf.c (slurp_hppa_unwind_table): Don't relocate address twice.
62
63 2009-11-05  Kai Tietz  <kai.tietz@onevision.com>
64
65         * dllwrap.c (is_leading_underscore): New variable.
66         (cpu_type): New enum type.
67         (which_cpu): New variable.
68         (usage): Add new options --no-leading-underscore
69         and --leading-underscore.
70         (long_options): Likewise.
71         (OPTION_NO_LEADING_UNDERSCORE): New define.
72         (OPTION_LEADING_UNDERSCORE): Likewise.
73         (main): Initialize which_host, pass new options
74         to dlltool, do underscoring dependent on
75         is_leading_underscore, and do '@12' decoration
76         only for x86.
77
78 2009-11-02  Paul Brook  <paul@codesourcery.com>
79
80         * readelf.c (arm_attr_tag_VFP_arch): Add VFPv4 and VFPv4-D16.
81
82 2009-10-28  Kai Tietz <kai.tietz@onevision.com>
83
84         * dlltool.c (leading_underscore): New local variable.
85         (asm_prefix): Interpret leading_underscore.
86         (xlate): Likewise.
87         (add_excludes): Use leading_underscore for making
88         symbol name.
89         (gen_exp_file): Use leading_underscore for internal
90         _imp_ symbols.
91         (usage): Add display of --no-leading-underscore and
92         --leading-underscore option.
93         (OPTION_NO_LEADING_UNDERSCORE): New.
94         (OPTION_LEADING_UNDERSCORE): New.
95         (long_options): Add --no-leading-underscore and
96         --leading-underscore option.
97         (main): Handle new options.
98         * doc/binutils.text: Add documentation of the options
99         --no-leading-underscore and --leading-underscore.
100
101 2009-10-23  Kai Tietz  <kai.tietz@onevision.com>
102
103         * deflex.l: Allow '<' and '>' in ID names.
104
105         * defparse.y (EQUAL): New token constant.
106         (opt_import_name): New rule for emptry or '==' ID.
107         (expline): Add opt_import_name as last line element.
108         (impline): Likewise.
109         * dlltool.c (ifunct): New member its_name.
110         (export): Likewise.
111         (append_import): Add its_name argument.
112         (defexports): Likewise.
113         (defimport): Likewise.
114         (scan_drectve_symbols): Adjust calls to def_exports.
115         (dump_def_info): Print new optinal import/export table
116         symbol name.
117         (generate_idata_ofile): Use its_name member.
118         (make_one_lib_file): Likewise.
119         (nfunc): Take its_name in account on sort.
120         * dlltool.h (def_exports): Add its_name as argument.
121         (def_import): Likewise.
122         * doc/binutils.texi: Add new def file syntax extension.
123         * deflex.l (EQUAL): Add rule for '=='.
124         * NEWS: Mention new feature.
125
126 2009-10-23  Thomas Cougnard  <thomas.cougnard@gmail.com>
127
128         * readelf.c (dynamic_info): Correct size of array.
129
130 2009-10-21  Ben Elliston  <bje@gnu.org>
131
132         * MAINTAINERS (BUILD SYSTEM, TESTSUITES): Remove myself.
133
134 2009-10-19  Jerker Bäck  <jerker.back@gmail.com>
135
136         PR binutils/10793
137         * prdbg.c (tg_end_struct_type): Warning fix.
138
139         PR binutils/10792
140         * dlltool.c (dll_name_list_append): Declare variable at start
141         of block.
142         (dll_name_list_count, dll_name-list_print): Likewise.
143
144 2009-10-16  Doug Evans  <dje@sebabeach.org>
145
146         * MAINTAINERS: Add myself as m32r maintainer.
147
148 2009-10-16  Jerker Bäck <jerker.back@gmail.com>
149
150         PR 10764
151         * Makefile.am (sysinfo.o, syslex.o): Place source file after all
152         command line switches.
153         * Makefile.in: Regenerate.
154
155 2009-10-16  Yann Droneaud  <yann@droneaud.fr>
156
157         PR 10768
158         * dlltool.c (bfd_get_errmsg): New macro.
159         (scan_obj_file): Use it.
160         (make_one_lib_file): Use it.
161         (make_head): Use it.
162         (make_delay_head): Use it.
163         (make_tail): Use it.
164         (gen_lib_file): Use it.
165         (identify_dll_for_implib): Use it.
166         (identify_search_archive):  Use it.
167
168 2009-10-16  Nick Clifton  <nickc@redhat.com>
169
170         * readelf.c (usage): Add mention of --debug-dump=frames-interp.
171         Wrap output to 80 columns.
172         * objdump.c (usage): Likewise.
173         * doc/binutils.texi (readelf): Add note about =frames-interp.
174
175 2009-10-01  Alan Modra  <amodra@bigpond.net.au>
176
177         * addr2line.c (slurp_symtab): Don't use bfd_read_minisymbols.
178
179 2009-09-29  Nick Clifton  <nickc@redhat.com>
180
181         * doc/binutils.texi (c++filt): Remove spurious description of
182         nonexistent --java command line switch for cxxfilt.
183
184 2009-09-29  DJ Delorie  <dj@redhat.com>
185
186         * readelf.c: Add support for RX target.
187         * MAINTAINERS: Add DJ and NickC as maintainers for RX.
188
189 2009-09-28  Alan Modra  <amodra@bigpond.net.au>
190
191         * configure.in: Don't invoke configure.tgt on $enable_targets.
192         * configure: Regenerate.
193
194 2009-09-28  Nick Clifton  <nickc@redhat.com>
195
196         PR 10478
197         * readelf.c (get_elf_section_flags): Allow SHN_BEFORE and
198         SHN_AFTER section link values in x86 binaries.
199         (process_section_headers): Likewise.
200
201 2009-09-25  Dmitry Gorbachev  <d.g.gorbachev@gmail.com>
202
203         PR 10656
204         * readelf.c: Remove duplicate declaration of variable do_wide.
205         * dwarf.h: Add export of do_wide.
206
207 2009-09-24  Cary Coutant  <ccoutant@google.com>
208
209         * dwarf.c (get_TAG_name): Add missing DWARF-3 and new DWARF-4 tags.
210         (get_FORM_name): Add new DWARF-4 forms.
211         (read_and_display_attr_value): Add DW_FORM_ref_sig8, DW_LANG_Python.
212         (get_AT_name): Add new DWARF-4 and GNU-specific attributes.
213         (process_debug_info): Add do_types parameter; change all callers.
214         Add support for .debug_types sections.
215         (display_debug_types): New function.
216         (debug_displays): Add .debug_types section.
217         * readelf.c (process_section_headers): Add .debug_types section.
218         (display_debug_section): Simplify call to streq.
219
220 2009-09-25  Alan Modra  <amodra@bigpond.net.au>
221
222         * readelf.c (print_dynamic_symbol): Format entries as for
223         normal symbol table.
224         (process_symbol_table): Use -7s format string for visibility.
225
226 2009-09-22  Richard Sandiford  <rdsandiford@googlemail.com>
227
228         * objdump.c (disassemble_section): Use bfd_get_arch_size
229         instead of assuming that the address size is 32 bits.
230
231 2009-09-21  Alan Modra  <amodra@bigpond.net.au>
232
233         * readelf.c (get_ppc_dynamic_type): Add TLSOPT.
234         (get_ppc64_dynamic_type): Likewise.
235
236 2009-09-18  Nick Clifton  <nickc@redhat.com>
237
238         * po/es.po: Updated Spanish translation.
239         * po/vi.po: Updated Vietnamese translation.
240
241 2009-09-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
242
243         * readelf.c (process_version_sections, process_symbol_table):
244         Use symbolic constants.
245
246 2009-09-11  Nick Clifton  <nickc@redhat.com>
247
248         * po/binutils.pot: Updated by the Translation project.
249
250 2009-09-11  Philippe De Muyter  <phdm@macqel.be>
251
252         * obcopy.c (copy_object): New parameter `input_arch', architecture
253         of input file, if not specified in input file itself; all callers
254         updated; `binary_architecture' hack removed.
255         (copy_archive, copy_file): New parameter `input_arch', for
256         `copy_object' usage.
257         (copy_main): Accept `-B' (`--binary-architecture') option also
258         for any arch-less input ifile format, not only `binary'; remove
259         bfd_external_binary_architecture hack; instead, add `input_arch'
260         to calls to `copy_file'.
261         * windres.c, windmc.c : Obsolete and useless external references
262         to `bfd_external_binary_architecture' or `bfd_external_machine'
263         removed.
264         * doc/binutils.texi: Mention that -B parameter can be used for any
265         input file type which does not have its own architecture.
266
267 2009-09-10  Martin Thuresson  <martin@mtme.org>
268
269         Update sources to compile cleanly with -Wc++-compat:
270         * addr2line.c (slurp_symtab): Fix casts. Introduce variable
271         minisyms to avoid aliasing varning.
272         * ar.c: Add casts.
273         (normalize): Use name del instead of delete.
274         (display_target_list,display_info_table): Change loop counter
275         variable a to int.
276         * bucomm.c: Add casts.
277         * debug.c: Update function to use new names.
278         (struct debug_baseclass): Rename member from virtual to
279         is_virtual.
280         (struct debug_type_s, struct debug_field_s, struct
281         debug_baseclass_s, struct debug_method_s, struct
282         debug_method_variant_s, struct debug_type_s): Rename struct from
283         avoid name collision.
284         * debug.h: Use new struct names.
285         * dwarf.c: Add casts.
286         (free_debug_memory): Change loop counter variable a to int.
287         * ieee.c: Add casts.
288         (enum ieee_var_kind): Move to top level.
289         (ieee_class_baseclass): Rename parameter virtual to is_virtual.
290         (ieee_class_method_var): Rename variable virtual to is_virtual.
291         * nm.c: Add casts.
292         * objcopy.c: Add casts.
293         (copy_archive): Rename variable delete to del.
294         * objdump.c: Add casts.
295         (dump_dwarf_section): Change loop counter variable i to int.
296         * prdbg.c: Add casts.
297         (pr_class_baseclass,tg_class_baseclass): Rename parameters virtual
298         to is_virtual.
299         * readelf.c: Add casts.
300         (struct ia64_unw_table_entry,struct hppa_unw_table_entry): Move to
301         top level.
302         * size.c: Add casts.
303         * stabs.c (parse_stab_type, parse_stab_range_type,
304         (parse_stab_cpp_abbrev): Rename parameter from typename to
305         type_name.
306         (parse_stab_baseclasses): Rename variable virtual to is_virtual.
307         * strings.c: Add casts.
308         * wrstabs.c (stab_class_baseclass): Rename parameter virtual to
309         is_virtual.
310
311 2009-09-09  Nick Clifton  <nickc@redhat.com>
312
313         PR 10478:
314         readelf.c (get_elf_section_flags): Add support for SHF_EXCLUDE and
315         SHF_ORDERED.
316         (process_section_headers): Warn about out of range sh_link
317         values.  When displaying detailed section header information
318         annote the SHN_BEFORE and SHN_AFTER values.
319
320 2009-09-08  Alan Modra  <amodra@bigpond.net.au>
321
322         * dwarf.c (byte_get_little_endian): Handle size of 3.
323         (byte_get_big_endian): Likewise.
324         * readelf.c (byte_put_little_endian): Likewise.
325         (byte_put_big_endian): Likewise.
326         (is_24bit_abs_reloc): New function.
327         (is_none_reloc): Formatting.
328         (apply_relocations): Use is_24bit_abs_reloc.  Handle pj and xtensa
329         reloc peculiarity.
330
331 2009-09-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
332
333         * readelf.c (is_none_reloc <EM_XTENSA_OLD>, is_none_reloc <EM_XTENSA>):
334         New.
335
336 2009-09-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
337
338         * dwarf.c (process_debug_info): Support section padding abbrev codes.
339
340 2009-09-07  Tristan Gingold  <gingold@adacore.com>
341
342         * po/binutils.pot: Regenerate.
343
344 2009-09-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
345
346         * Makefile.am (sysdump.o): Depend on sysroff.c.
347         * Makefile.in: Regenerate.
348
349 2009-09-05  Martin Thuresson  <martin@mtme.org>
350
351         * ieee.c (ieee_read_cxx_misc, ieee_read_cxx_class,
352         ieee_read_reference): Rename variables named class to cxxclass.
353
354 2009-09-04  Tristan Gingold  <gingold@adacore.com>
355
356         * BRANCHES: Add binutils-2_20-branch.
357
358 2009-09-04  Tristan Gingold  <gingold@adacore.com>
359
360         * NEWS: Add marker for 2.20.
361
362 2009-09-04  Timo Kreuzer  <timo.kreuzer@web.de>
363
364         * dlltool.c (delayimp_name): Add new global variable
365         (usage, long_options, main): Add new option "-y" / "--output-delaylib"
366         (struct mac): Add fields how_dljtab_size, how_dljtab_roff1,
367         how_dljtab_roff2, how_dljtab, trampoline.
368         (i386_dljtab): Add binary stub for x86 delay import.
369         (i386_trampoline): Add text assembly stub for x86 delay import.
370         (mtable): Add delay import data for M386 and MX86 only.
371         (make_delay_head): New function.
372         (make_one_lib_file): New arg delay creates delay-load import stub.
373         (gen_lib_file): New arg delay likewise.
374         (HOW_JTAB, HOW_JTAB_SIZE, HOW_JTAB_ROFF): New arg delay likewise.
375         (HOW_JTAB_ROFF2, HOW_JTAB_ROFF3): New macros for delay import.
376         (make_tail): Convert hard TABS embedded in strings to "\t" escapes.
377         * NEWS: Mention new feature.  Also fix whitespace.
378         * doc/binutils.texi: Updated dlltool documentation.
379
380 2009-09-02  Tristan Gingold  <gingold@adacore.com>
381
382         * configure.com: Do not copy makefile.vms-in to makefile.vms
383         * makefile.vms-in: Renamed to...
384         * makefile.vms: ... this usual name as it is not processed anymore.
385         Remove WRITE_DEBUG_OBJS (unused) and reorder object files for
386         objdump.exe.
387
388 2009-09-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
389
390         * Makefile.am (arparse.o, arlex.o, sysroff.o, defparse.o)
391         (deflex.o, nlmheaders.o, rcparse.o, mcparse.o): Supply correct
392         source file name for generated files which may be in $(srcdir).
393         * Makefile.in: Regenerate.
394
395 2009-09-01  H.J. Lu  <hongjiu.lu@intel.com>
396
397         * version.c (print_version): Change to "Copyright 2009".
398
399 2009-09-01  Tristan Gingold  <gingold@adacore.com>
400
401         * makefile.vms-in: Remove unused VERSION variable.  Remove unused
402         dependencies.
403         * configure.com: Ported to Itanium VMS.  Create build.com DCL script.
404
405 2009-08-29  Martin Thuresson  <martin@mtme.org>
406
407         * nlmconv.c (main): Rename variable new to new_name.
408
409 2009-08-28  H.J. Lu  <hongjiu.lu@intel.com>
410
411         * Makefile.am (sysinfo$(EXEEXT_FOR_BUILD)): Replace
412         CFLAGS/LDFLAGS with CFLAGS_FOR_BUILD/LDFLAGS_FOR_BUILD.
413         (syslex.o): Likewise.
414         (sysinfo.o): Likewise.
415         (bin2c$(EXEEXT_FOR_BUILD)): Likewise.
416         * Makefile.in: Regenerated.
417
418 2009-08-27  Dave Korn  <dave.korn.cygwin@gmail.com>
419
420         * doc/binutils.texi (--only-keep-debug): Relocate stray para here ...
421         (--subsystem): ... from here.
422
423 2009-08-24  Cary Coutant  <ccoutant@google.com>
424
425         * objdump.c (find_symbol_for_address): Avoid costly call to
426         bfd_octets_per_byte.
427
428 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
429
430         * Makefile.am (am__skiplex, am__skipyacc): New.
431         * Makefile.in: Regenerate.
432
433 2009-08-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
434
435         * Makefile.am (syslex.o): Depend on sysinfo.h config.h.
436         * Makefile.in: Regenerate.
437
438 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
439
440         * Makefile.am (AM_CPPFLAGS): Renamed from ...
441         (INCLUDES): ... this.
442         (bin2c$(EXEEXT_FOR_BUILD): Adjust rule.
443         (installcheck-local): Renamed from ...
444         (installcheck): ... this.
445         * Makefile.in: Regenerate.
446
447         * Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add no-dist and
448         foreign.
449         (MKDEP, CLEANFILES): Remove now-unneeded variables.
450         (DEP, DEP1, dep.sed, dep, dep-in, dep-am): Remove.
451         (mkdep section): Remove.
452         (BUILT_SOURCES): New variable, list $(GENERATED_HFILES).
453         (EXTRA_ar_SOURCES): New, list $(CFILES).
454         (syslex.o): Depend on syslex.c.
455         (sysinfo.o): Depend on sysinfo.c.
456         (arparse.h, defparse.h, nlmheaders.h rcparse.h mcparse.h):
457         Remove dependencies, now tracked by automake.
458         (srconv.o): Depend on sysroff.c.
459         (objdump.o, arparse.o, arlex.o, sysroff.o, defparse.o, deflex.o)
460         (nlmheader.o, rcparse.o, mcparse.o, rclex.o, mclex.o, dlltool.o)
461         (rescoff.o, nlmconv.o): Rewrite using automake-style dependency
462         tracking rules; only list the dependency upon the primary source
463         file, but no included headers.
464         * Makefile.in: Regenerate.
465
466         * Makefile.am (install-pdf, install-pdf-recursive, install-html)
467         (install-html-recursive): Remove.
468         * Makefile.in: Regenerate.
469         * doc/Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
470         (html__strip_dir, install-html, install-html-am): Remove.
471         * doc/Makefile.in: Regenerate.
472
473         * Makefile.in: Regenerate.
474         * aclocal.m4: Likewise.
475         * config.in: Likewise.
476         * configure: Likewise.
477         * doc/Makefile.in: Likewise.
478
479 2009-08-17  Nick Clifton  <nickc@redhat.com>
480
481         * readelf.c (is_32bit_abs_reloc): Treat R_PARISC_SECREL32 as a
482         32-bit absolute reloc for the purposes of processing debug
483         sections.
484
485 2009-08-10  Daniel Gutson  <dgutson@codesourcery.com>
486
487         * readelf.c (get_arm_section_type_name): Added support for
488         new sections headers.
489
490 2009-08-03  H.J. Lu  <hongjiu.lu@intel.com>
491
492         PR binutils/10364
493         * objcopy.c (strip_main): Check return from smart_rename.
494         (copy_main): Likewise.
495
496 2009-07-27  Nick Clifton  <nickc@redhat.com>
497
498         PR 10413
499         * objdump.c (dump_section_header): Skip sections that we are
500         ignoring.
501
502 2009-07-25  H.J. Lu  <hongjiu.lu@intel.com>
503
504         * readelf.c (guess_is_rela): Handle EM_L1OM.
505         (dump_relocations): Likewise.
506         (get_machine_name): Likewise.
507         (get_section_type_name): Likewise.
508         (get_elf_section_flags): Likewise.
509         (get_symbol_index_type): Likewise.
510         (is_32bit_abs_reloc): Likewise.
511         (is_32bit_pcrel_reloc): Likewise.
512         (is_64bit_abs_reloc): Likewise.
513         (is_64bit_pcrel_reloc): Likewise.
514         (is_none_reloc): Likewise.
515
516 2009-07-23  Ulrich Drepper  <drepper@redhat.com>
517
518         * readelf.c (get_symbol_binding): For Linux targeted files return
519         UNIQUE for symbols with the STB_GNU_UNIQUE binding.
520         * doc/binutils.texi: Document the meaning of the 'u' symbol
521         binding in the output of nm and objdump --syms.
522
523 2009-07-20  H.J. Lu  <hongjiu.lu@intel.com>
524
525         * NEWS: Mention --insn-width.
526
527         * objdump.c (insn_width): New.
528         (usage): Display --insn-width.
529         (option_values): Add OPTION_INSN_WIDTH.
530         (long_options): Add --insn-width.
531         (disassemble_bytes): Handle insn_width.
532         (main): Handle OPTION_INSN_WIDTH.
533
534         * doc/binutils.texi: Document --insn-width.
535
536 2009-07-17  Nick Clifton  <nickc@redhat.com>
537
538         * dwarf.c (display_debug_lines): If do_debug_lines has not been
539         set then default to displaying raw .debug_line section contents.
540
541 2009-07-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
542
543         Support unordered .debug_info references to .debug_ranges.
544         * dwarf.c (struct range_entry, range_entry_compar): New.
545         (display_debug_ranges): Remove variables last_offset, first, j,
546         seen_first_offset, use_debug_info and next.  New variables
547         range_entries and range_entry_fill.  Create the sorted copy
548         range_entries.  Remove the FIXME error on detected unordered references.
549         * dwarf.h (debug_info <range_lists>): New comment.
550
551 2009-07-14  Nick Clifton  <nickc@redhat.com>
552
553         PR 10380
554         * README: Document use of LDFLAGS="--static".
555
556 2009-07-10  H.J. Lu  <hongjiu.lu@intel.com>
557
558         * Makefile.am: Run "make dep-am".
559         * Makefile.in: Regenerated.
560
561 2009-07-10  Tom Tromey  <tromey@redhat.com>
562
563         * Makefile.am (dwarf.o): Refer to dwarf2.h, not elf/dwarf2.h.
564         * Makefile.in: Rebuild.
565         * dwarf.c: Include dwarf2.h, not elf/dwarf2.h.
566
567 2009-07-06  Tristan Gingold  <gingold@adacore.com>
568
569         * objdump.c (dump_dwarf_section): Handle .eh_frame like other dwarf
570         sections.
571         * dwarf.h (struct dwarf_section_display): Remove eh_frame field.
572         * dwarf.c (debug_displays): Adjust for removed field.
573
574 2009-07-03  Jakub Jelinek  <jakub@redhat.com>
575
576         * dwarf.c (decode_location_expression): Handle DW_OP_stack_value
577         and DW_OP_implicit_value.
578
579 2009-07-01  Nick Clifton  <nickc@redhat.com>
580
581         PR 6714
582         * rclex.c (handle_quotes): Do not complain about whitespace
583         separating quoted strings.
584         (rclex_string): Ignore whitespace when looking for a new opening
585         quote following a closing quote.
586
587 2009-06-27  H.J. Lu  <hongjiu.lu@intel.com>
588
589         PR binutils/10321
590         * bucomm.c (get_file_size): Return -1 on error.
591
592         * objcopy.c (copy_file): Report empty file.
593
594 2009-06-23  Nick Clifton  <nickc@redhat.com>
595
596         * dwarf.c (display_debug_lines_raw): Include the name of the
597         section in warning message.
598         (struct debug_display): Enable reloc processing for .debug_line
599         and .debug_ranges sections.
600
601         * readelf.c: Add --relocated-dump command line option to dump the
602         relocated contents of a specified section.
603         (request_dump): New function.
604         (parse_args): Use it.
605         (dump_section_as_bytes): Add parameter to indicate whether the
606         contents should be relocated.
607         (target_specific_reloc_handling): Add code for a R_MN10300_16
608         reloc found after a R_MN10300_SYM_DIFF reloc.
609         (debug_apply_relocations): Rename to apply_relocations.
610         (get_section_contents): New function.  Replaces common code found
611         in dump_section_as_strings and dump_section_as_bytes.
612         * doc/binutils.texi: Document new command line option.
613         * NEWS: Mention the new feature.
614
615 2009-06-22  Nick Clifton  <nickc@redhat.com>
616
617         * readelf.c (target_specific_reloc_handling): New function:
618         Processes relocs in a target specific manner.
619         (debug_apply_relocations): Use the new function.
620         * dwarf.c (display_debug_loc): End the dump with a blank line.
621         (struct debug_display): Enable reloc processing for .debug_aranges
622         and .debug_loc sections.
623
624 2009-06-19  Nick Clifton  <nickc@redhat.com>
625
626         * ar.c (usage): Do not use #ifdef inside _("...).
627         * nm.c (usage): Likewise.
628
629 2009-06-18  Nick Clifton  <nickc@redhat.com>
630
631         PR 10288
632         * objdump.c (disassemble_bytes): Set the
633         USER_SPECIFIED_MACHINE_TYPE flag in the disassemble_info structure
634         if the user has invoked the -m switch.
635         * doc/binutils.texi: Document the additional behaviour of
636         objdump's -m switch for ARM targets.
637
638 2009-06-18  Dave Korn  <dave.korn.cygwin@gmail.com>
639
640         * configure.in: Merge cegcc and mingw32ce target name changes from
641         CeGCC project.
642
643 2007-12-25  Pedro Alves  <pedro_alves@portugalmail.pt>
644
645         * configure.in: Add arm*-*-cegcc* and arm*-*-mingw32ce* targets.
646         * configure: Regenerate.
647
648 2009-06-15  Nick Clifton  <nickc@redhat.com>
649
650         PR 10263
651         * objdump.c (disassemble_bytes): Set the DISASSEMBLE_DATA bit in
652         the flags field of the disassemble_info structure if the -D switch
653         is in operation.
654
655 2009-06-12  Homer Xing  <homer.xing@yahoo.com>
656
657         * NEWS: Mention new feature added to gprof.
658
659 2009-06-12  John Reiser  <jreiser@BitWagon.com>
660
661         * readelf.c (process_symbol_table): Set gnubuckets to NULL after
662         freeing it and before returning.
663
664 2009-06-12  Jakub Jelinek  <jakub@redhat.com>
665
666         * readelf.c (process_symbol_table): Don't return early if
667         .hash/.gnu.hash is empty/unusable and not -D.
668
669 2009-06-09  Tom Bramer  <tjb@postpro.net>
670
671         PR 10165
672         * winduni.c (wind_MultiByteToWideChar): Do not pass MB_PRECOMPOSED
673         to MultiByteToWideChar when using the CP_UTF8 or CO_UTF7 types.
674
675 2009-06-04  Alan Modra  <amodra@bigpond.net.au>
676
677         * strings.c (main): Delay parsing of decimal digits.
678
679 2009-06-04  Alan Modra  <amodra@bigpond.net.au>
680
681         * dep-in.sed: Don't use \n in replacement part of s command.
682         * Makefile.am (DEP1): LC_ALL for uniq.
683         Run "make dep-am".
684         * Makefile.in: Regenerate.
685
686 2009-06-03  Tristan Gingold  <gingold@adacore.com>
687
688         * MAINTAINERS: Add myself as Mach-O maintainer.
689
690 2009-06-01  Alan Modra  <amodra@bigpond.net.au>
691
692         PR 10199
693         * doc/binutils.texi (nm): Correct -S description.
694
695 2009-05-28  Nick Clifton  <nickc@redhat.com>
696
697         * po/da.po: Updated Danish translation.
698
699 2009-05-28  Nick Clifton  <nickc@redhat.com>
700
701         * readelf.c (display_debug_section): Do not display debug sections
702         with the NOBITS section type.
703
704 2009-05-27  Rafael Avila de Espindola  <espindola@google.com>
705
706         * aclocal.m4: Include ../config/plugins.m4.
707         * configure.in: Use AC_PLUGINS.
708         * configure: Regenerate.
709         * Makefile.in: Regenerate.
710         * doc/Makefile.in: Regenerate.
711
712 2009-05-27  Rafael Avila de Espindola  <espindola@google.com>
713
714         * ar.c (main): Call bfd_plugin_set_program_name.
715         * nm.c (main): Call bfd_plugin_set_program_name.
716
717 2009-05-27  Nathan Sidwell  <nathan@codesourcery.com>
718
719         * sysdump.c (tab): Use puts rather than two printfs.
720
721 2009-05-26  Nick Clifton  <nickc@redhat.com>
722
723         * po/id.po: Updated Indonesian translation.
724         * po/binutils.pot: Updated template file.
725
726 2009-05-26  Rafael Avila de Espindola  <espindola@google.com>
727
728         * ar.c: Include plugin.h.
729         (main): Handle the --plugin option.
730         * nm.c: Include plugin.h.
731         (OPTION_PLUGIN): New.
732         (long_options): Add plugin.
733         (main): Handle OPTION_PLUGIN.
734         * NEWS: Mention  the new feature.
735         * doc/binutils: Documement the new command line options.
736         * configure.in: Check for --enable-plugins.
737         * configure: Regenerate.
738
739 2009-05-26  Alan Modra  <amodra@bigpond.net.au>
740
741         * dep-in.sed: Output one filename per line with all lines having
742         continuation backslash.  Prefix first line with "A", following
743         lines with "B".
744         * Makefile.am (DEP): Don't use dep.sed here.
745         (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
746         sort and uniq.
747         * Makefile.in: Regenerate.
748
749 2009-05-25  Tristan Gingold  <gingold@adacore.com>
750
751         * makefile.vms-in: Fix CFLAGS, add addr2line.exe target.
752
753         * configure.com: Fix it: handle alloca and define TARGET in config.h.
754
755 2009-05-22  Alan Modra  <amodra@bigpond.net.au>
756
757         * Makefile.am: Run "make dep-am".
758         * Makefile.in: Regenerate.
759
760 2009-05-12  Alan Modra  <amodra@bigpond.net.au>
761
762         * objcopy.c (set_long_section_mode): Check input_bfd is coff
763         before accessing coff specific fields of bfd.
764
765 2009-05-09  Dave Korn  <dave.korn.cygwin@gmail.com>
766
767         * MAINTAINERS:  Add myself as PE/COFF co-maintainer.
768
769 2009-05-08  Kai Tietz  <kai.tietz@onevision.com>
770
771         * winduni.c (iconv_onechar): Only define when HAVE_ICONV
772         is defined, but not when __CYGWIN__ or _WIN32 are defined.
773         See wind_iconv_cp for call logic of this local funtion.
774
775 2009-05-05  Guillaume Duhamel  <guillaume.duhamel@gmail.com>
776
777         PR 10109
778         * winduni.c: Replace test of HAVE_ICONV_H with a test of
779         HAVE_ICONV.
780         (iconv_onechar): Use ICONV_CONST instead of "const".
781         (wind_MultiByteToWideChar): Initialise local strings.
782
783 2009-04-30  Nick Clifton  <nickc@redhat.com>
784
785         * readelf.c (dump_relocations): Display a relocation against an
786         ifunc symbol as if it were a function invocation.
787         (get_symbol_type): Handle STT_GNU_IFUNC.
788
789 2009-04-29  Anthony Green  <green@moxielogic.com>
790
791         * NEWS: Tweak verilog support description.
792
793 2009-04-29  Alan Modra  <amodra@bigpond.net.au>
794             Denis Scherbakov <denis_scherbakov@yahoo.com>
795
796         * readelf.c (slurp_ia64_unwind_table): Correct 64-bit unwind table
797         read, and merge with 32-bit case.
798
799 2009-04-27  Anthony Green  <green@moxielogic.com>
800
801         * NEWS: Mention verilog support added to bfd.
802
803 2009-04-27  H.J. Lu  <hongjiu.lu@intel.com>
804
805         * objcopy.c (copy_object): Copy pe_opthdr before changing PE
806         parameters.
807
808 2009-04-24  Cary Coutant  <ccoutant@google.com>
809
810         * dwarf.c (process_extended_line_op): Add DW_LNE_set_discriminator.
811         Add missing newlines to HP extensions.
812
813 2009-04-17  H.J. Lu  <hongjiu.lu@intel.com>
814
815         * objcopy.c (set_pe_subsystem): Replace efi-rom with sal-rtd.
816         * doc/binutils.texi: Likewise.
817
818 2009-04-17  H.J. Lu  <hongjiu.lu@intel.com>
819
820         PR binutils/10074
821         * objcopy.c: Include coff/i386.h and coff/pe.h.
822         (pe_file_alignment): New.
823         (pe_heap_commit): Likewise.
824         (pe_heap_reserve): Likewise.
825         (pe_image_base): Likewise.
826         (pe_section_alignment): Likewise.
827         (pe_stack_commit): Likewise.
828         (pe_stack_reserve): Likewise.
829         (pe_subsystem): Likewise.
830         (pe_major_subsystem_version): Likewise.
831         (pe_minor_subsystem_version): Likewise.
832         (set_pe_subsystem): Likewise.
833         (convert_efi_target): Likewise.
834         (command_line_switch): Add OPTION_FILE_ALIGNMENT,
835         OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT,
836         OPTION_STACK and OPTION_SUBSYSTEM.
837         (copy_options): Likewise.
838         (copy_usage): Add --file-alignment, --heap, --image-base,
839         --section-alignment, --stack and --subsystem.
840         (copy_object): Set up PE parameters.
841         (copy_main): Process Add OPTION_FILE_ALIGNMENT,
842         OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT,
843         OPTION_STACK and OPTION_SUBSYSTEM.   Convert EFI target to
844         PEI target.
845
846         * NEWS: Mention --file-alignment, --heap, --image-base,
847         --section-alignment, --stack and --subsystem command line
848         options for objcopy.
849
850         * doc/binutils.texi: Document --file-alignment, --heap,
851         --image-base, --section-alignment, --stack and --subsystem
852         command line options for objcopy.
853
854 2009-04-15  Anthony Green  <green@moxielogic.com>
855
856         * MAINTAINERS: Add myself as Moxie port maintainer.
857
858 2009-04-14  Dave Korn  <dave.korn.cygwin@gmail.com>
859
860         * objcopy.c (enum long_section_name_handling):  New enum type.
861         (enum command_line_switch):  Add OPTION_LONG_SECTION_NAMES.
862         (copy_options[]):  Add entry for --long-section-names option.
863         (copy_usage):  Document it.
864         (set_long_section_mode):  New subroutine.
865         (copy_file):  Call it.
866         (copy_main):  Accept OPTION_LONG_SECTION_NAMES and parse arg.
867         * doc/binutils.texi:  Update objcopy documentation with details
868         of new option.
869
870 2009-04-01  Dave Korn  <dave.korn.cygwin@gmail.com>
871
872         * dlltool.c (set_dll_name_from_def):  Accept new second arg that
873         indicates if we are building DLL or EXE, and use it to add a
874         default suffix to the output filename when none is already present.
875         (def_name):  Indicate we are building an EXE when calling it.
876         (def_library):  Indicate we are building a DLL when calling it.
877
878 2009-04-01  Jari Aalto  <jari.aalto@cante.net>
879
880         PR 9972
881         * doc/binutils.texi (strings): Document the -V alias for the
882         --version option.
883         * strings.c (usage): Likewise.
884
885 2009-03-31  Nick Clifton  <nickc@redhat.com>
886
887         PR 9992
888         * configure.in: Import Solaris specific largefile test from
889         bfd/configure.in.
890         * configure: Regenerate.
891
892 2009-03-30  Richard Sandiford  <rdsandiford@googlemail.com>
893
894         * MAINTAINERS: Add self.
895
896 2009-03-27  Nick Clifton  <nickc@redhat.com>
897
898         * dwarf.c (display_debug_ranges): Add the base address to the
899         displayed values for 'Begin' and 'End'.
900
901 2009-03-25  Ryan Mansfield  <rmansfield@qnx.com>
902
903         * readelf.c (process_file_header): Don't report a corrupt string
904         table index if it is zero.
905
906 2009-03-19  H.J. Lu  <hongjiu.lu@intel.com>
907
908         * dwarf.c (dwarf_regnames): Moved before frame_need_space.
909         (dwarf_regnames_count): Likewise.
910         (frame_need_space): Return int.
911         (display_debug_frames): Check invalid registers.
912
913 2009-03-19  H.J. Lu  <hongjiu.lu@intel.com>
914
915         * readelf.c (debug_apply_relocations): Check relocations
916         against STT_SECTION symbol.
917
918 2009-03-18  H.J. Lu  <hongjiu.lu@intel.com>
919
920         * readelf.c (debug_apply_relocations): Allow relocations
921         against function symbols.
922
923 2009-03-18  Alan Modra  <amodra@bigpond.net.au>
924
925         * sysdep.h: Include alloca-conf.h instead of config.h and remove
926         existing #if's handling alloca.
927         * Makefile.am: Run "make dep-am".
928         * Makefile.in: Regenerate.
929
930 2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
931
932         * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
933         * configure.in: Likewise.
934         * configure: Regenerate.
935
936 2009-03-13  H.J. Lu  <hongjiu.lu@intel.com>
937
938         PR binutils/9945
939         * objcopy.c (copy_object): Clear HAS_RELOC when stripping all.
940
941 2009-03-11  Chris Demetriou  <cgd@google.com>
942
943         * ar.c (deterministic): New global variable.
944         (main): Recognize new 'D' option, which enables 'deterministic mode'.
945         (usage): Document new 'D' option.
946         (write_archive): Set BFD_DETERMINISTIC_OUTPUT in output archive's
947         flags if deterministic mode was requested.
948         * doc/binutils.texi (ar): Document deterministic mode ('D' option).
949
950 2009-03-09  H.J. Lu  <hongjiu.lu@intel.com>
951
952         PR binutils/9933
953         * objcopy.c (filter_symbols): Properly handle common symbols
954         in relocatable file.
955
956 2009-03-06  Nick Clifton  <nickc@redhat.com>
957
958         * po/es.po: Updated Spanish translation.
959
960 2009-03-05  Nick Clifton  <nickc@redhat.com>
961
962         * objdump.c (disassemble_section): If the computed next offset is
963         not beyond the current offset then just continue to the end.
964
965 2009-03-04  Tristan Gingold  <gingold@adacore.com>
966
967         * MAINTAINERS: Add myself as VMS maintainer.
968
969 2009-03-03  Nick Clifton  <nickc@redhat.com>
970
971         * readelf.c: Update formatting.
972
973 2009-03-03  Alan Modra  <amodra@bigpond.net.au>
974
975         * Makefile.am: Run "make dep-am".
976         * Makefile.in: Regenerate.
977
978 2009-03-03  Alan Modra  <amodra@bigpond.net.au>
979
980         * objdump.c (disassemble_section): Mask address before sign extending.
981
982 2009-03-02  Sebastian Biallas  <sb@biallas.net>
983
984         * ieee.c (parse_ieee_ty): Add support for undocumented 'v' type.
985         (parse_ieee_bb): Set the filename if it has not already been
986         discovered.
987
988 2009-03-02  Cary Coutant  <ccoutant@google.com>
989
990         * readelf.c (adjust_relative_path): New function.
991         (struct archive_info): New type.
992         (setup_archive): New function.
993         (release_archive): New function.
994         (setup_nested_archive): New function.
995         (get_archive_member_name): New function.
996         (get_archive_member_name_at): New function.
997         (make_qualified_name): New function.
998         (process_archive): Factor out code for reading archive index and
999         long filename table to setup_archive.  Add support for thin archives.
1000
1001 2009-03-02  Nick Clifton  <nickc@redhat.com>
1002
1003         * po/sk.po: Updated Slovak translation.
1004
1005 2009-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1006
1007         * configure: Regenerate.
1008
1009 2009-02-23  Cary Coutant <ccoutant@google.com>
1010
1011         * objdump.c (load_specific_debug_section): New function, from
1012         load_debug_section.
1013         (load_debug_section): Use load_specific_debug_section.
1014         (dump_dwarf_section): Likewise.
1015
1016 2009-02-23  Cary Coutant <ccoutant@google.com>
1017
1018         * readelf.c (parse_args): Select all sections explicitly for -w.
1019
1020 2009-02-09  Kai Tietz  <kai.tietz@onevision.com>
1021
1022         * windres.c (set_endianess): Copy name without leading '-'.
1023
1024 2009-02-09  Tristan Gingold  <gingold@adacore.com>
1025
1026         * NEWS: Mention feature match between objdump and readelf for dumping
1027         dwarf info.
1028
1029         * doc/binutils.texi (objdump): Document -W/--dwarf improvments to
1030         objdump.
1031
1032         * objdump.c (usage): Update documentation for -W/--dwarf.
1033         (enum option_values): Add OPTION_DWARF.
1034         (long_options): --dwarf can accept arguments.
1035         (dump_dwarf_section): Also check enabled field.
1036         (main): Option -W can accept arguments, code moved to
1037         dwarf.c and call dwarf_select_sections_all instead.
1038         * readelf.c (process_section_headers): Remove do_debug_lines_decoded.
1039         (parse_args): Move code to...
1040         * dwarf.c (dwarf_select_sections_by_letters,
1041         dwarf_select_sections_by_names): : ...here (new functions).
1042         (do_debug_lines_decoded): Remove and replaced by ...
1043         (FLAG_DEBUG_LINES_RAW, FLAG_DEBUG_LINES_DECODED): ... new macros.
1044         (display_debug_lines): Adjust for previous change.
1045         (dwarf_select_sections_all): New function.
1046         (debug_displays): Add initializer for enabled field.
1047         * dwarf.h (do_debug_lines_decoded): Remove.
1048         Add prototypes for the new functions.
1049         (struct dwarf_section_display): Add enabled field.
1050
1051 2009-02-06  Nick Clifton  <nickc@redhat.com>
1052
1053         * po/vi.po: Updated Vietnamese translation.
1054
1055 2009-02-03  Sandip Matte  <sandip@rmicorp.com>
1056
1057         * readelf.c (get_machine_flags): Handle E_MIPS_MACH_XLR.
1058
1059 2009-02-03  H.J. Lu  <hongjiu.lu@intel.com>
1060
1061         * NEWS: Move --as-needed change to ...
1062         * ../ld/NEWS: Here.
1063
1064 2009-02-03  Carlos O'Donell  <carlos@codesourcery.com>
1065
1066         * configure.in: AC_SUBST pdfdir.
1067         * Makefile.am: Add install-pdf, install-pdf-am,
1068         and install-pdf-recursive targets.
1069         * doc/Makefile.am: Define pdf__strip_dir. Add
1070         install-pdf and install-pdf-am targets.
1071         * po/Make-in: Add install-pdf target.
1072         * configure: Regenerate.
1073         * Makefile.in: Regenerate.
1074         * doc/Makefile.in: Regenerate.
1075
1076 2009-02-03  H.J. Lu  <hongjiu.lu@intel.com>
1077
1078         PR binutils/9784
1079         * NEWS: Mention --prefix=PREFIX and --prefix-strip=LEVEL.
1080
1081         * doc/binutils.texi: Document --prefix=PREFIX and
1082         --prefix-strip=LEVEL.
1083
1084         * objdump.c: Include "filenames.h".
1085         (prefix): New.
1086         (prefix_strip): Likewise.
1087         (prefix_length): Likewise.
1088         (usage): Add --prefix=PREFIX and --prefix-strip=LEVEL.
1089         (option_values): Add OPTION_PREFIX and OPTION_PREFIX_STRIP.
1090         (long_options): Likewise.
1091         (show_line): Handle prefix and prefix_strip.
1092         (main): Handle OPTION_PREFIX and OPTION_PREFIX_STRIP.
1093
1094         * readelf.c (PATH_MAX): Moved to ...
1095         * sysdep.h: Here.
1096
1097 2009-01-31  Alan Modra  <amodra@bigpond.net.au>
1098
1099         * NEWS: Mention --as-needed change.
1100
1101 2009-01-29  Alan Modra  <amodra@bigpond.net.au>
1102
1103         PR 9798
1104         * bucomm.c (bfd_nonfatal_message): Use bfd_get_archive_filename.
1105         (bfd_get_archive_filename): Constify param.
1106         * bucomm.h (bfd_get_archive_filename): Update prototype.
1107         * objcopy.c (RETURN_NONFATAL): Delete.
1108         (copy_unknown_object): Don't call bfd_get_archive_filename for
1109         bfd_nonfatal_message filename, instead just pass bfd.
1110         (copy_object): Likewise.
1111         (copy_archive, copy_file): Likewise.  Expand RETURN_NONFATAL.  On
1112         bfd_close errors, do not pass the bfd to bfd_nonfatal_message.
1113         (setup_bfd_headers): Fix error message.
1114
1115 2009-01-27  Nick Clifton  <nickc@redhat.com>
1116
1117         PR 9774
1118         * objdump.c (disassemble_section): When the target uses signed
1119         addresses make sure that we compute signed values.
1120
1121 2009-01-27  Nick Clifton  <nickc@redhat.com>
1122
1123         * MAINTAINERS: Remove Thiemo Seufer's name from the list of MIPS
1124         maintainers.
1125
1126 2009-01-26  Nick Clifton  <nickc@redhat.com>
1127
1128         PR 9766
1129         * dlltool.c (xlate): When strip text after the @ sign, look for
1130         the last one not the first one.
1131
1132 2009-01-16  Alan Modra  <amodra@bigpond.net.au>
1133
1134         * configure.in (commonbfdlib): Delete.
1135         * configure: Regenerate.
1136
1137 2008-01-14  Charles Wilson  <cygwin@cwilson.fastmail.fm>
1138
1139         Cleanup code related to --identify option.
1140
1141         * dlltool.c (file scope): Removed globals identify_ms,
1142         identify_member_contains_symname_result,
1143         identify_dll_name_list_head, and identify_dll_name_list_tail.
1144         Renamed existing typedef dll_name_list_type to
1145         dll_name_list_node_type.
1146         Added new typedefs dll_name_list_type, symname_search_data_type,
1147         and identify_data_type.
1148         (identify_append_dll_name_to_list): Renamed to...
1149         (dll_name_list_append): ...here.  Changed signature to accept list
1150         argument rather than use global.
1151         (identify_count_dll_name_list): Renamed to...
1152         (dll_name_list_count): ...here.  Changed signature to accept list
1153         argument rather than use global.
1154         (identify_print_dll_name_list): Renamed to...
1155         (dll_name_list_print): ...here.  Changed signature to accept list
1156         argument rather than use global.
1157         (identify_free_dll_name_list): Renamed to...
1158         (dll_name_list_free_contents): ...here.
1159         (dll_name_list_free): New function.
1160         (dll_name_list_create): New function.
1161         (identify_process_section_p): Changed signature to accept
1162         ms_style_implib argument rather than use global.
1163         (identify_member_contains_symname): Expect incoming void * data to
1164         be symname_search_data_type.
1165         (identify_dll_for_implib): Use new functions dll_name_list_create
1166         and dll_name_list_free.  Use new types symname_search_data_type
1167         and identify_data_type to communicate with search routines.
1168         (identify_search_section): Expect incoming void * data to be
1169         identify_data_type. Use its contents rather than global
1170         variables.
1171
1172 2009-01-13  Charles Wilson  <cygwin@cwilson.fastmail.fm>
1173
1174         Add --identify-strict option.  Handle ms-style implibs:
1175
1176         * dlltool.c (file scope): Added new globals identify_ms and
1177         identify_strict. New typedef dll_name_list_type, and globals
1178         identify_dll_name_list_head and identify_dll_name_list_tail. Added
1179         new global identify_member_contains_symname_result.
1180         (identify_append_dll_name_to_list): New function.
1181         (identify_count_dll_name_list): New function.
1182         (identify_print_dll_name_list): New function.
1183         (identify_free_dll_name_list): New function.
1184         (identify_search_archive): Changed signature to take function
1185         pointer to operation to apply to each member, and data to pass on
1186         to that function.
1187         (identify_search_member): Changed signature to accept user data
1188         from caller.
1189         (identify_member_contains_symname): New function.
1190         (identify_dll_for_implib): Rewrite. Now determines whether implib
1191         is ms- or binutils- style, before searching sections for
1192         dllname. Allows multiple dllnames.
1193         (identify_process_section_p): Search alternate section for dllname
1194         when implib is ms-style.
1195         (identify_search_section): Add additional conditions to excludes
1196         candidate sections from consideration.
1197         (usage): Added --identify-strict.
1198         (long_options): Added --identify-strict.
1199         (main): Handle --identify-strict option.
1200         * doc/binutils.texi: Document --identify-strict option.
1201         * NEWS: Document --identify and --identify-strict options.
1202
1203 2009-01-13  Alan Modra  <amodra@bigpond.net.au>
1204
1205         PR 7034
1206         * doc/binutils.texi (objdump -R): Note effect of -d or -D.
1207
1208 2009-01-13  Alan Modra  <amodra@bigpond.net.au>
1209
1210         * objdump.c (disassemble_section): Don't assume non-instruction
1211         data if object symbol at given address is in different section.
1212
1213 2009-01-12  Kai Tietz  <kai.tietz@onevision.com>
1214
1215         * dlltool.c (create_for_pep): New.
1216         (flush_page): Use create_for_pep instead of using
1217         macro DLLTOOL_MX86_64 clause.
1218         (generate_idata_ofile): Likewise.
1219         (make_one_lib_file): Likewise.
1220         (make_head): Likewise.
1221         (make_tail): Likewise.
1222         (main): Initialize create_for_pep.
1223
1224 2009-01-08  Kai Tietz  <kai.tietz@onevision.com>
1225
1226         * dlltool.c (use_nul_prefixed_import_tables): New.
1227         (make_head): Make prefix leading zero prefix element for
1228         idata$4 and idata$5 dependent to new flag.
1229         (usage): Add new option  --use-nul-prefixed-import-tables.
1230         (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
1231         (long_options): Add --use-nul-prefixed-import-tables.
1232         (main): Likewise.
1233         * doc/binutils.texi: Add new option documentation for
1234         --use-nul-prefixed-import-tables.
1235         * NEWS: Add new option.
1236
1237 2009-01-06  Kai Tietz  <kai.tietz@onevision.com>
1238
1239         * windres.c (set_endianess): Get architecture name
1240         for internal target names like "pe-arm-wince-little".
1241         (find_arch_match): New helper.
1242         * ChangeLog: Reset it.
1243         * ChangeLog-2008: Moved old ChangeLog.
1244
1245 For older changes see ChangeLog-2008
1246 \f
1247 Local Variables:
1248 mode: change-log
1249 left-margin: 8
1250 fill-column: 74
1251 version-control: never
1252 End: