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