PR binutils/4693
[platform/upstream/binutils.git] / binutils / ChangeLog
1 2007-06-26  Shantonu Sen  <ssen@apple.com>
2
3         PR binutils/4693
4         * Makefile.am (windres_DEPENDENCIES, windmc_DEPENDENCIES): Move
5         dependency on $(LIBICONV) to ...
6         (windres_LDADD, windmc_LDADD) ... here.
7         * Makefile.in: Regenerate.
8
9 2007-06-21  Alan Modra  <amodra@bigpond.net.au>
10
11         * embedspu.sh (relas): Correct sh_info parsing.
12
13 2007-06-19  Danny Smith  <dannysmith@users.sourceforge.net>
14  
15         * objdump.c: Include sys/stat.h.
16
17 2007-06-19  Kai Tietz  <kai.tietz@onevision.com>
18
19         * Makefile.am: Add windmc tool.
20         * Makefile.in: Regenerate.
21         * configure.in: Add windmc tool.
22         * configure: Regenerate.
23         * mclex.c: New.
24         * mcparse.y: New.
25         * windmc.c: New.
26         * windmc.h: New.
27         * doc/Makefile.am: Add windmc tool.
28         * doc/Makefile.in: Regenerate.
29         * doc/binutils.texi: Add windmc documentation.
30         * NEWS: Mention new tool.
31
32 2007-06-18  Andi Kleen  <ak@suse.de>
33
34         * objdump.c: Include sys/mman.h 
35         (print_file_list): Remove f, add map, mapsize, linemap, maxline,
36         last_line, first fields.
37         (slurp_file): Add.
38         (index_file): Add.
39         (print_file_open): Call slurp_file and index_file. Initialize new
40         fields.
41         (skip_to_line): Rename to print_line and write only single line.
42         (dump_line): Add.
43         (show_line): Change to new algorithm.
44
45 2007-06-18  Thomas Weidenmueller  <w3seek@reactos.org>
46
47         * resres.c (probe_binary): Fix test for badly formatted headers.
48
49 2007-06-18  Kai Tietz  <Kai.Tietz@onevision.com>
50
51         * rclex.c: (cpp_line): Add code_page pragma support.
52         * windres.c: (usage, long_options, main): Add new option
53         --codepage or -c.
54         * winduni.c: (wind_default_codepage, wind_current_codepage): New.
55         (unicode_from_ascii, ascii_from_unicode): Use
56         wind_current_codepage as codepage parameter.
57         (unicode_print): Print 4 characters for hexadecimal values in
58         unicode strings.
59         * winduni.h:  (wind_default_codepage, wind_current_codepage):
60         Export.
61         * doc/binutils.texi: Document new option.
62         * NEWS: Mention new features of windres.
63
64 2007-06-18  Brian D. Watt  <bwatt@us.ibm.com>
65
66         * embedspu.sh: Parse _SPUEAR_ symbol values as hex.
67
68 2007-06-14  H.J. Lu  <hongjiu.lu@intel.com>
69
70         * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
71
72         * acinclude.m4: Removed.
73
74         * Makefile.in: Regenerated.
75         * aclocal.m4: Likewise.
76         * configure: Likewise.
77
78 2007-06-11  Nathan Sidwell  <nathan@codesourcery.com>
79
80         * dwarf.c (decode_location_expression): Add DW_OP_form_tls_address.
81
82 2007-06-06  Kai Tietz  <Kai.Tietz@onevision.com>
83
84         PR binutils/4356 binutils/591
85         * resrc.c (filename_need_quotes): New function.
86         (look_for_default): If filename_need_quotes is true then quote the
87         filename in the command line being created.
88         (read_rc_file): Likewise.
89
90 2007-06-06  Ben Elliston  <bje@au.ibm.com>
91
92         * doc/binutils.texi (objdump): Fix capitalisation of "PowerPC".
93
94 2007-06-05  Kai Tietz  <Kai.Tietz@onevision.com>
95
96         * Makefile.am: Add LIBICONV to windres.
97         * acinclude.m4: Added missing "lib-*.m4" and "lt*.m4" files.
98         * configure.in: Add AC_CHECK_HEADER for iconv.h and use AM_ICONV.
99         * config.in: Add ICONV defines.
100         * aclocal.m4: Regenerate.
101         * confugure: Regenerate.
102         * winduni.c: (local_iconv_map codepages, wind_language_t,
103         languages, unicode_is_valid_codepage, wind_find_language_by_id,
104         wind_find_language_by_codepage, wind_find_codepage_info,
105         unicode_from_codepage, codepage_from_unicode, iconv_onechar,
106         wind_iconv_cp, wind_MultiByteToWideChar wind_WideCharToMultiByte):
107         New.
108         (ascii_from_unicode): Use codepage_from_unicode.
109         (ascii_from_unicode): Use unicode_from_codepage.
110         Use for cygwin windows API for unicode transformation.
111         * winduni.h: (CP_ACP, CP_UTF7, CP_UTF8, CP_OEM, CP_UTF16): New
112         macros.
113         (wind_language_t, local_iconv_map): New types.
114         (wind_find_language_by_id, wind_find_language_by_codepage,
115         unicode_is_valid_codepage, wind_find_codepage_info,
116         unicode_from_codepage, codepage_from_unicode): New
117         prototypes.
118
119 2007-06-05  Alan Modra  <amodra@bigpond.net.au>
120
121         * embedspu.sh: Handle R_SPU_PPU* relocs with no symbol.
122
123 2007-05-30  Alan Modra  <amodra@bigpond.net.au>
124
125         * objcopy.c (copy_object): Revert 2007-05-11 change.  Don't
126         avoid calling bfd_copy_private_bfd_data for ELF STRIP_NONDEBUG.
127         (setup_section): Don't modify flags, and don't avoid calling
128         bfd_copy_private_section_data for ELF STRIP_NONDEBUG.
129         * readelf.c (process_program_headers): Ignore .dynamic of type
130         SHT_NOBITS.
131
132 2007-05-29  Alan Modra  <amodra@bigpond.net.au>
133
134         * embedspu.sh: Emit SPU ELF image to .data.rel.ro.speelf if
135         pic or pie and image needs relocs.
136
137 2007-05-24  Steve Ellcey  <sje@cup.hp.com>
138
139         * Makefile.in: Regenerate.
140         * configure: Regenerate.
141         * aclocal.m4: Regenerate.
142         * doc/Makefile.in: Regenerate.
143
144 2007-05-24  Kai Tietz  <Kai.Tietz@onevision.com>
145
146         * rcparse.y: Join strings for elements having no side-effects in
147         "rc"-grammar.
148
149 2007-05-23  Kai Tietz  <Kai.Tietz@onevision.com>
150
151         * rclex.c: New file replacing rclex.l.
152         * rclex.l: Removed.
153         * windint.h: New file holding common structure and type
154         definitions.
155         * Makefile.am: Added new header windint.h and exchanged rclex.l by
156         rclex.c.
157         * Makefile.in: Regenerate.
158         * rcparse.y: Renamed some structures.
159         Use in internal representation always bfd_vma instead of long or
160         int.
161         Removed from %union unused stringtable.
162         Added to %union suni structure for unicode strings.
163         Added new tokens for ANICURSOR, ANIICON, DLGINCLUDE,
164         DLGINIT, FONTDIR, HTML, MANIFEST, PLUGPLAY, VXD,
165         TOOLBAR, BUTTON, QUOTEDUNISTRING, and SIZEDUNISTRING.
166         Added support for these new rc file tokens.
167         * resbin.c: Rewrote using bfd and binary structures, and support
168         new resource types.
169         * rescoff.c: Likewise.
170         * resres.c: Likewise.
171         * resrc.c: Likewise. Dumps as RC are now recompilable.
172         * windres.c: As above. Using bfd for res and provide target
173         specific endianess support.
174         * windres.h: Use windint.h as include. Additionally removed K&R
175         syntax.
176         * winduni.c: New printing and unichar support routines.
177         * winduni.h: Prototypes for new unichar helpers.
178         * windint.h: New file.
179
180 2007-05-22  Paul Brook  <paul@codesourcery.com>
181
182         * objdump.c (find_symbol_for_address): Merge section and target
183         specific filtering code.
184
185 2007-05-22  Nick Clifton  <nickc@redhat.com>
186
187         * doc/binutils.texi: Use @copying around the copyright notice.
188
189 2007-05-21  Richard Sandiford  <richard@codesourcery.com>
190
191         * objdump.c (disassemble_bytes): Ignore disassembler_needs_relocs
192         for executables and shared libraries.
193
194 2007-05-18  Nathan Sidwell  <nathan@codesourcery.com>
195
196         * objcopy.c (strip_main): Detect identical input and output file
197         names.
198         (copy_main): Refactor tempname detection and use.
199
200 2007-05-17  Nick Clifton  <nickc@redhat.com>
201
202         * objdump.c (load_debug_section): Select bias for DWARF debug
203         addresses based on the flavour of the bfd.
204
205 2007-05-11  Alan Modra  <amodra@bigpond.net.au>
206
207         PR 4479
208         * objcopy.c (copy_object): Don't copy ELF program headers for
209         --only-keep-debug.
210
211 2007-05-11  Alan Modra  <amodra@bigpond.net.au>
212
213         * embedspu.sh (find_prog): Prefer prog in same dir as embedspu
214         over one found on the users path.
215         (main): Generate .reloc for each R_SPU_PPU* reloc.
216
217 2007-04-28  Alan Modra  <amodra@bigpond.net.au>
218
219         * prdbg.c (tg_variable): Adjust for changed demangler.
220         (tg_start_function): Likewise.
221
222 2007-04-27  Alan Modra  <amodra@bigpond.net.au>
223
224         * bucumm.h: Split off host dependencies to..
225         * sysdep.h: ..here.
226         Many files: Include sysdep.h.  Remove duplicate headers and reorder.
227         * Makefile.am: Run "make dep-am".
228         * Makefile.in: Regenerate.
229
230 2007-04-24  Nick Clifton  <nickc@redhat.com>
231
232         * srconv.c (walk_tree_type_1): Initialise dpt.dunno.
233
234 2007-04-24  Nathan Froyd  <froydnj@codesourcery.com>
235             Phil Edwards  <phil@codesourcery.com>
236
237         * objcopy.c (filter_symbols): Explicitly stripping a symbol
238         used in relocations is an error.
239         Retype 'keep' to bfd_boolean.
240
241 2007-04-24  Alan Modra  <amodra@bigpond.net.au>
242
243         * Makefile.in: Regenerate.
244         * doc/Makefile.in: Regenerate.
245
246 2007-04-20  Nathan Froyd  <froydnj@codesourcery.com>
247             Phil Edwards  <phil@codesourcery.com>
248             Thomas de Lellis <tdel@windriver.com>
249
250         * objcopy.c (reverse_bytes):  New variable.
251         (command_line_switch, copy_main):  Add OPTION_REVERSE_ENDIAN.
252         (copy_options, copy_usage):  Add "reverse-bytes" entry.
253         (copy_section):  Reverse bytes within output sections.
254         * doc/binutils.texi:  Document new objcopy option.
255
256 2007-04-20  Nick Clifton  <nickc@redhat.com>
257
258         * rclex.l: Allow underscores at the start of identifiers.
259
260 2007-04-19  Alan Modra  <amodra@bigpond.net.au>
261
262         * budemang.c: Delete.
263         * budemang.h: Delete.
264         * addr2line.c (translate_addresses): Call bfd_demangle rather than
265         demangle.
266         * nm.c (print_symname): Likewise.
267         * objdump.c (objdump_print_symname, dump_symbols): Likewise.
268         (dump_bfd): Likewise.
269         * prdbg.c (struct pr_handle <demangler>): Add int param.
270         (tg_variable, tg_start_function): Adjust demangler calls.
271         * Makefile.am: Remove mention of budemang.[ch].  Run "make dep-am".
272         * Makefile.in: Regenerate.
273         * po/POTFILES.in: Regenerate.
274
275 2007-04-14  Steve Ellcey  <sje@cup.hp.com>
276
277         * Makefile.am: Add ACLOCAL_AMFLAGS.
278         * configure.in: Change macro call order.
279         * Makefile.in: Regenerate.
280         * configure: Regenerate.
281
282 2007-04-13  Nathan Sidwell  <nathan@codesourcery.com>
283
284         * Makefile.am (TOOL_PROGS): Add objcopy.
285         * Makefile.in: Rebuilt.
286
287 2007-04-12  H.J. Lu  <hongjiu.lu@intel.com>
288
289         PR binutils/4348
290         * objcopy.c (copy_object): Don't stop when there are no
291         sections to be copied.
292
293 2007-04-10  Vladimir Prus  <vladimir@codesourcery.com>
294
295         * NEWS: Mention disjoint histograms support in
296         gprof.
297
298 2007-04-09  Daniel Jacobowitz  <dan@codesourcery.com>
299
300         * dwarf.c (process_debug_info): Do not require DW_AT_frame_base for
301         DW_TAG_inlined_subroutine.
302
303 2007-04-06  Matt Thomas  <matt@netbsd.org>
304
305         * MAINTAINERS: Add myself as VAX and NetBSD support maintainer.
306
307 2007-04-05  Alan Modra  <amodra@bigpond.net.au>
308
309         PR binutils/4292
310         * nm.c (print_value): Cast bfd_vma to unsigned long to suit
311         value_format_32bit.
312
313 2007-04-02  Nick Clifton  <nickc@redhat.com>
314
315         PR binutils/4292
316         * nm.c (value_format): Replace with value_format_32bit and
317         value_format_64bit.
318         (set_radix): Update setting of value_format.
319         (set_print_width): New function.  Compute the address size of a
320         given bfd and set the print_width global appropriately.
321         (display_archive): Use set_print_width.
322         (display_file): Likewise,
323         (print_object_filename_sysv): Update use of print_width.
324         (print_archive_member_sysv): Likewise.
325         (print_symbol_filename_posix): Likewise.
326         (print_sumbol_info_bfd, print_symbol_info_sysv): Likewise.
327
328 2007-03-28  Richard Sandiford  <richard@codesourcery.com>
329             Phil Edwards  <phil@codesourcery.com>
330
331         * doc/binutils.texi: Put the contents after the title page rather
332         than at the end of the document.
333
334 2007-03-28  Nick Clifton  <nickc@redhat.com>
335
336         * readelf.c (slurp_rela_relocs): Add newline to end of error
337         messages.
338         (slurp_rel_relocs, request_dump, request_dump_byname,
339         process_program_headers, process_dynamic_section,
340         process_symbol_table, process_mips_specific, main): Likewise.
341
342 2007-03-28  Alan Modra  <amodra@bigpond.net.au>
343
344         * MAINTAINERS: Update mailing list addresses.  Add myself
345         as PPC maintainer.
346
347 2007-03-27  Alan Modra  <amodra@bigpond.net.au>
348
349         * embedspu.sh: Correct toe_addr quoting.
350
351 2007-03-27  Alan Modra  <amodra@bigpond.net.au>
352
353         * embedspu.sh: Combine "_EAR_" and "_EAR_*" patterns.  Tighten
354         .toe section and .toe address checks.  Use .reloc for _EAR*
355         symbols defined in non-BSS sections.  Build table for _SPUEAR_
356         symbols.
357
358 2007-03-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
359
360         PR gas/3811
361         * readelf.c (debug_apply_rela_addends): Do nothing for SH.
362
363 2007-03-22  Joseph Myers  <joseph@codesourcery.com>
364
365         * doc/binutils.texi: Include VERSION_PACKAGE when reporting
366         version.
367
368 2007-03-16  Kai Tietz  <Kai.Tietz@onevision.com>
369
370         * dlltool.c (make_one_lib_file): Use pc-relative relocation
371         instead of an absolute relocation for x86_64-pc-mingw32 target.
372
373 2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>
374
375         * Makefile.am (REPORT_BUGS_TO): Removed.
376         (INCLUDES): Remove -DREPORT_BUGS_TO.
377         * Makefile.in: Regenerated.
378
379         * bucomm.c: Don't include bfdver.h.
380         * objdump.c: Likewise.
381         * version.c: Likewise.
382
383         * bucomm.h: Include bfdver.h.
384
385         * configure.in (--with-bugurl): Removed.
386         * configure: Regenerated.
387
388         * doc/Makefile.am (binutils_TEXINFOS): Removed.
389         (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
390         (TEXI2DVI): Likewise.
391         (config.texi): Removed.
392         (MOSTLYCLEANFILES): Remove config.texi.
393         * doc/Makefile.in: Regenerated.
394
395         * doc/binutils.texi: Include bfdver.texi instead of
396         config.texi.
397
398 2007-03-13  Nick Clifton  <nickc@redhat.com>
399
400         * readelf.c (dump_section): Also test for SHT_REL sections when
401         producing the warning about unapplied relocs.
402
403 2007-03-07  Joseph Myers  <joseph@codesourcery.com>
404
405         * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
406         bug-reporting URL.
407         * doc/Makefile.am (config.texi): Define BUGURL.
408         * doc/binutils.texi: Use BUGURL.  Remove text about large files
409         and uuencoding.
410         * Makefile.in, configure, doc/Makefile.in: Regenerate.
411
412 2007-03-01  Phil Edwards  <phil@codesourcery.com>
413             Richard Sandiford  <richard@codesourcery.com>
414
415         * NEWS: Mention addition of --extract-symbol.
416         * doc/binutils.texi: Document it.
417         * objcopy.c (extract_symbol): New variable.
418         (OPTION_EXTRACT_SYMBOLS): New command_line_switch.
419         (copy_options): Add an entry for --extract-symbol.
420         (copy_usage): Mention --extract-symbol.
421         (copy_object): Set the start address to zero for --extract-symbol.
422         Do not copy private BFD data in that case.
423         (setup_section): Set the size, LMA and VMA to zero for
424         --extract-symbol.  Do not copy private BFD data in that case.
425         (copy_section): Do not copy section contents if --extract-symbol
426         is passed.
427         (copy_main): Set extract_symbol to TRUE if --extract-symbol
428         is passed.
429
430 2007-03-01  Paul Brook  <paul@codesourcery.com>
431
432         * MAINTAINERS: Update my entry.
433
434 2007-03-01  Joseph Myers  <joseph@codesourcery.com>
435
436         * version.c: Update copyright date.
437
438 2007-03-01  Daniel Jacobowitz  <dan@codesourcery.com>
439
440         * Makefile.am (install-exec-local): Depend on $(noinst_PROGRAMS).
441         Adjust $(EXEEXT) handling for $(RENAMED_PROGS).
442         * Makefile.in, doc/Makefile.in: Regenerate.
443
444 2007-03-01  Alan Modra  <amodra@bigpond.net.au>
445
446         * embedspu.sh: Set type and size of global program handle symbol.
447
448 2007-02-28  Alan Modra  <amodra@bigpond.net.au>
449
450         * Makefile.am (PROGS): Delete.
451         (RENAMED_PROGS): Define.  Extracted from..
452         (noinst_PROGRAMS): ..here.  Add BUILD_MISC.
453         (install-exec-local): Adjust.
454         * Makefile.in: Regenerate.
455
456 2007-02-28  Alan Modra  <amodra@bigpond.net.au>
457
458         * Makefile.am (PROGS): Add BUILD_INSTALL_MISC.
459         (bin_PROGRAMS): Replace BUILD_MISC with BUILD_INSTALL_MISC.
460         (EXTRA_PROGRAMS): Remove bin2c.
461         (bin2c$(EXEEXT_FOR_BUILD)): New rule.
462         (bin2c_SOURCES): Delete.
463         (DISTCLEANFILES): Remove sysinfo.
464         (MOSTLYCLEANFILES): Add sysinfo$(EXEEXT_FOR_BUILD) and
465         bin2c$(EXEEXT_FOR_BUILD).
466         * configure.in (BUILD_MISC): Add $(EXEEXT_FOR_BUILD) to bin2c.
467         Move embedspu to..
468         (BUILD_INSTALL_MISC): ..here.
469         * Makefile.in: Regenerate.
470         * configure: Regenerate.
471
472 2007-02-27  Alan Modra  <amodra@bigpond.net.au>
473
474         * bin2c.c: New file.
475         * Makefile.am (EXTRA_PROGRAMS): Add bin2c.
476         (CFILES): Add bin2c.c.
477         (bin2c_SOURCES): Define.
478         (bin2c.o): Dependencies from "make dep-am".
479         * configure.in (BUILD_MISC): Add bin2c.
480         * version.c: Update year.
481         * po/POTFILES.in: Regenerate.
482         * Makefile.in: Regenerate.
483         * configure: Regenerate.
484
485 2007-02-17  Mark Mitchell  <mark@codesourcery.com>
486             Nathan Sidwell  <nathan@codesourcery.com>
487             Vladimir Prus  <vladimir@codesourcery.com
488             Joseph Myers  <joseph@codesourcery.com>
489
490         * configure.in (--with-bugurl): New option.
491         * configure: Regenerate.
492         * Makefile.am (REPORT_BUGS_TO): Define.
493         (INCLUDES): Define REPORT_BUGS_TO.
494         Regenerate dependencies.
495         * Makefile.in: Regenerate.
496         * doc/Makefile.in: Regenerate.
497         * bucomm.h: Remove include of bin-bugs.h.
498         * addr2line.c (usage): Don't print empty REPORT_BUGS_TO.
499         * ar.c (usage): Pass s to list_supported_targets.  Don't print
500         empty REPORT_BUGS_TO.
501         * coffdump.c (show_usage): Don't print empty REPORT_BUGS_TO.
502         * cxxfilt.c (usage): Print bug url when giving help.
503         * dlltool.c (usage): Likewise.
504         * dllwrap.c (usage): Likewise.
505         * nlmconv.c (show_usage): Don't print empty REPORT_BUGS_TO.
506         * nm.c (usage): Likewise.
507         * objcopy.c (copy_usage, strip_usage): Likewise.
508         * objdump.c (usage): Likewise.
509         * readelf.c ((usage): Likewise. Add STREAM argument.  Adjust
510         callers.
511         * size.c (usage): Don't print empty REPORT_BUGS_TO.
512         * srconv.c (show_usage): Likewise.
513         * strings.c (usage): Likewise.
514         * sysdymp.c (show_usage): Likewise.
515         * windres.c (usage): Likewise.
516
517 2007-02-13  Alan Modra  <amodra@bigpond.net.au>
518
519         * embedspu.sh: Add -W to readelf invocation.
520
521 2007-02-06  Dave Brolley  <brolley@redhat.com>
522
523         * MAINTAINERS: Add myself as the maintainer of the MeP port.
524
525 2007-02-06  Nick Clifton  <nickc@redhat.com>
526
527         PR gas/3800
528         * readelf.c: Include elf/h8.h twice.  The first time in order to
529         get the reloc numbers, the second time in order to get the reloc
530         decoder function.
531         (dump_section): Tell the user if the section being displayed has
532         unprocessed relocs associated with it.
533         (get_reloc_size): New function - returns the size of a reloc.
534         (debug_apply_rela_addends): Use get_reloc_size().
535         * dwarf.c (read_and_display_attr_value): Extend number of
536         languages known for the DW_AT_language attribute.
537         (process_debug_info): Display the attribute offset before decoding
538         the attribute, in case there are problems.
539
540 2007-02-05  Dave Brolley  <brolley@redhat.com>
541
542         * readelf.c (dump_relocations): Don't check for
543         (rtype == NULL && type == R_RELC).
544
545 2007-02-05  Dave Brolley  <brolley@redhat.com>
546
547         * Makefile.am (readelf.o): Depends on $(INCDIR)/elf/mep.h.
548         * Makefile.in: Regenerated.
549         * Contribute the following changes:
550         2003-10-29  Dave Brolley  <brolley@redhat.com>
551
552         * configure.in: Define SKIP_ZEROES and SKIP_ZEROES_AT_END for mep.
553         * configure: Regenerated.
554
555         2001-04-03  Ben Elliston  <bje@redhat.com>
556
557         * readelf.c: Include "elf/mep.h".
558         (guess_is_rela): Handle EM_CYGNUS_MEP.
559         (get_machine_name): Ditto.
560         (dump_relocations): Ditto.
561
562 2007-02-02  H.J. Lu  <hongjiu.lu@intel.com>
563
564         * MAINTAINERS: Add a space between H.J. and Lu.
565
566 2007-02-02  H.J. Lu  <hongjiu.lu@intel.com>
567
568         * doc/binutils.texi (objdump): Document the new addr64 option
569         for i386 disassembler.
570
571 2007-02-02  H.J. Lu  <hongjiu.lu@intel.com>
572
573         PR binutils/3945
574         * configure.in (DLLTOOL_DEFAULT): New. Defined for the first PE
575         target.
576         (DLLTOOL_DEFS): Add $DLLTOOL_DEFAULT.
577         * configure: Regenerated.
578
579         * dlltool.c (mname): Defined with DLLTOOL_DEFAULT_XXX.
580
581 2007-02-02  Nick Clifton  <nickc@redhat.com>
582
583         * doc/binutils.texi (objdump): Document support for disassembling
584         the 440 PowerPC architecture.
585
586 2007-01-31  Nathan Sidwell  <nathan@codesourcery.com>
587
588         * dwarf.c (process_debug_info): Protect against bogus length and
589         abbrev offsets.
590
591 2007-01-25  Kazu Hirata  <kazu@codesourcery.com>
592
593         * ar.c (print_contents, extract_file): Cast the return value
594         of fwrite to size_t.
595
596 2007-01-12  Alan Modra  <amodra@bigpond.net.au>
597
598         * ar.c (open_inarch): Check fwrite return.  Use size_t.
599         (extract_file): Likewise.  Remove test for "negative" file size.
600         * readelf.c (process_program_headers): Check fscanf return.
601
602 2007-01-11  H.J. Lu  <hongjiu.lu@intel.com>
603
604         * bucomm.c (template_in_dir): Fix typo.
605
606 2007-01-11  Alan Modra  <amodra@bigpond.net.au>
607
608         * embedspu.sh: New file.
609         * Makefile.am (embedspu): Add rule.
610         * configure.in (BUILD_MISC): Add embedspu for powerpc-linux.
611         * Makefile.in: Regenerate.
612         * configure: Regenerate.
613
614 2007-01-11  Alan Modra  <amodra@bigpond.net.au>
615
616         * bucomm.h (make_tempdir): Declare independently of HAVE_MKDTEMP.
617         * bucomm.c (template_in_dir): New function, split out from..
618         (make_tempname): ..here.  Open the file with O_EXCL if !HAVE_MKSTEMP.
619         (make_tempdir): Use template_in_dir.  Handle directory creation
620         when !HAVE_MKDTEMP.
621         * objcopy.c (MKDIR): Don't define.
622         (copy_archive): Use make_tempdir when !HAVE_MKDTEMP too.  Fix
623         error message.
624
625 2007-01-08  Kazu Hirata  <kazu@codesourcery.com>
626
627         * readelf.c (get_machine_flags): Treat Fido as an architecture
628         by itself.
629
630 2007-01-08  Kai Tietz   <kai.tietz@onevision.com>
631
632         * configure.in: Renamed target x86_64-*-mingw64 to
633         x86_64-*-mingw*.
634         * configure: Regenerated.
635
636 2007-01-05  Alan Modra  <amodra@bigpond.net.au>
637
638         * readelf.c (dump_section): Don't print 32-bit values, which
639         were done incorrectly for little-endian.  Instead print bytes.
640
641 For older changes see ChangeLog-2006
642 \f
643 Local Variables:
644 mode: change-log
645 left-margin: 8
646 fill-column: 74
647 version-control: never
648 End: