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