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