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