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