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