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