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