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