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