1 2007-06-18 Thomas Weidenmueller <w3seek@reactos.org>
3 * resres.c (probe_binary): Fix test for badly formatted headers.
5 2007-06-18 Kai Tietz <Kai.Tietz@onevision.com>
7 * rclex.c: (cpp_line): Add code_page pragma support.
8 * windres.c: (usage, long_options, main): Add new option
10 * winduni.c: (wind_default_codepage, wind_current_codepage): New.
11 (unicode_from_ascii, ascii_from_unicode): Use
12 wind_current_codepage as codepage parameter.
13 (unicode_print): Print 4 characters for hexadecimal values in
15 * winduni.h: (wind_default_codepage, wind_current_codepage):
17 * doc/binutils.texi: Document new option.
18 * NEWS: Mention new feature.
20 2007-06-18 Brian D. Watt <bwatt@us.ibm.com>
22 * embedspu.sh: Parse _SPUEAR_ symbol values as hex.
24 2007-06-14 H.J. Lu <hongjiu.lu@intel.com>
26 * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
28 * acinclude.m4: Removed.
30 * Makefile.in: Regenerated.
31 * aclocal.m4: Likewise.
32 * configure: Likewise.
34 2007-06-11 Nathan Sidwell <nathan@codesourcery.com>
36 * dwarf.c (decode_location_expression): Add DW_OP_form_tls_address.
38 2007-06-06 Kai Tietz <Kai.Tietz@onevision.com>
40 PR binutils/4356 binutils/591
41 * resrc.c (filename_need_quotes): New function.
42 (look_for_default): If filename_need_quotes is true then quote the
43 filename in the command line being created.
44 (read_rc_file): Likewise.
46 2007-06-06 Ben Elliston <bje@au.ibm.com>
48 * doc/binutils.texi (objdump): Fix capitalisation of "PowerPC".
50 2007-06-05 Kai Tietz <Kai.Tietz@onevision.com>
52 * Makefile.am: Add LIBICONV to windres.
53 * acinclude.m4: Added missing "lib-*.m4" and "lt*.m4" files.
54 * configure.in: Add AC_CHECK_HEADER for iconv.h and use AM_ICONV.
55 * config.in: Add ICONV defines.
56 * aclocal.m4: Regenerate.
57 * confugure: Regenerate.
58 * winduni.c: (local_iconv_map codepages, wind_language_t,
59 languages, unicode_is_valid_codepage, wind_find_language_by_id,
60 wind_find_language_by_codepage, wind_find_codepage_info,
61 unicode_from_codepage, codepage_from_unicode, iconv_onechar,
62 wind_iconv_cp, wind_MultiByteToWideChar wind_WideCharToMultiByte):
64 (ascii_from_unicode): Use codepage_from_unicode.
65 (ascii_from_unicode): Use unicode_from_codepage.
66 Use for cygwin windows API for unicode transformation.
67 * winduni.h: (CP_ACP, CP_UTF7, CP_UTF8, CP_OEM, CP_UTF16): New
69 (wind_language_t, local_iconv_map): New types.
70 (wind_find_language_by_id, wind_find_language_by_codepage,
71 unicode_is_valid_codepage, wind_find_codepage_info,
72 unicode_from_codepage, codepage_from_unicode): New
75 2007-06-05 Alan Modra <amodra@bigpond.net.au>
77 * embedspu.sh: Handle R_SPU_PPU* relocs with no symbol.
79 2007-05-30 Alan Modra <amodra@bigpond.net.au>
81 * objcopy.c (copy_object): Revert 2007-05-11 change. Don't
82 avoid calling bfd_copy_private_bfd_data for ELF STRIP_NONDEBUG.
83 (setup_section): Don't modify flags, and don't avoid calling
84 bfd_copy_private_section_data for ELF STRIP_NONDEBUG.
85 * readelf.c (process_program_headers): Ignore .dynamic of type
88 2007-05-29 Alan Modra <amodra@bigpond.net.au>
90 * embedspu.sh: Emit SPU ELF image to .data.rel.ro.speelf if
91 pic or pie and image needs relocs.
93 2007-05-24 Steve Ellcey <sje@cup.hp.com>
95 * Makefile.in: Regenerate.
96 * configure: Regenerate.
97 * aclocal.m4: Regenerate.
98 * doc/Makefile.in: Regenerate.
100 2007-05-24 Kai Tietz <Kai.Tietz@onevision.com>
102 * rcparse.y: Join strings for elements having no side-effects in
105 2007-05-23 Kai Tietz <Kai.Tietz@onevision.com>
107 * rclex.c: New file replacing rclex.l.
109 * windint.h: New file holding common structure and type
111 * Makefile.am: Added new header windint.h and exchanged rclex.l by
113 * Makefile.in: Regenerate.
114 * rcparse.y: Renamed some structures.
115 Use in internal representation always bfd_vma instead of long or
117 Removed from %union unused stringtable.
118 Added to %union suni structure for unicode strings.
119 Added new tokens for ANICURSOR, ANIICON, DLGINCLUDE,
120 DLGINIT, FONTDIR, HTML, MANIFEST, PLUGPLAY, VXD,
121 TOOLBAR, BUTTON, QUOTEDUNISTRING, and SIZEDUNISTRING.
122 Added support for these new rc file tokens.
123 * resbin.c: Rewrote using bfd and binary structures, and support
125 * rescoff.c: Likewise.
126 * resres.c: Likewise.
127 * resrc.c: Likewise. Dumps as RC are now recompilable.
128 * windres.c: As above. Using bfd for res and provide target
129 specific endianess support.
130 * windres.h: Use windint.h as include. Additionally removed K&R
132 * winduni.c: New printing and unichar support routines.
133 * winduni.h: Prototypes for new unichar helpers.
134 * windint.h: New file.
136 2007-05-22 Paul Brook <paul@codesourcery.com>
138 * objdump.c (find_symbol_for_address): Merge section and target
139 specific filtering code.
141 2007-05-22 Nick Clifton <nickc@redhat.com>
143 * doc/binutils.texi: Use @copying around the copyright notice.
145 2007-05-21 Richard Sandiford <richard@codesourcery.com>
147 * objdump.c (disassemble_bytes): Ignore disassembler_needs_relocs
148 for executables and shared libraries.
150 2007-05-18 Nathan Sidwell <nathan@codesourcery.com>
152 * objcopy.c (strip_main): Detect identical input and output file
154 (copy_main): Refactor tempname detection and use.
156 2007-05-17 Nick Clifton <nickc@redhat.com>
158 * objdump.c (load_debug_section): Select bias for DWARF debug
159 addresses based on the flavour of the bfd.
161 2007-05-11 Alan Modra <amodra@bigpond.net.au>
164 * objcopy.c (copy_object): Don't copy ELF program headers for
167 2007-05-11 Alan Modra <amodra@bigpond.net.au>
169 * embedspu.sh (find_prog): Prefer prog in same dir as embedspu
170 over one found on the users path.
171 (main): Generate .reloc for each R_SPU_PPU* reloc.
173 2007-04-28 Alan Modra <amodra@bigpond.net.au>
175 * prdbg.c (tg_variable): Adjust for changed demangler.
176 (tg_start_function): Likewise.
178 2007-04-27 Alan Modra <amodra@bigpond.net.au>
180 * bucumm.h: Split off host dependencies to..
182 Many files: Include sysdep.h. Remove duplicate headers and reorder.
183 * Makefile.am: Run "make dep-am".
184 * Makefile.in: Regenerate.
186 2007-04-24 Nick Clifton <nickc@redhat.com>
188 * srconv.c (walk_tree_type_1): Initialise dpt.dunno.
190 2007-04-24 Nathan Froyd <froydnj@codesourcery.com>
191 Phil Edwards <phil@codesourcery.com>
193 * objcopy.c (filter_symbols): Explicitly stripping a symbol
194 used in relocations is an error.
195 Retype 'keep' to bfd_boolean.
197 2007-04-24 Alan Modra <amodra@bigpond.net.au>
199 * Makefile.in: Regenerate.
200 * doc/Makefile.in: Regenerate.
202 2007-04-20 Nathan Froyd <froydnj@codesourcery.com>
203 Phil Edwards <phil@codesourcery.com>
204 Thomas de Lellis <tdel@windriver.com>
206 * objcopy.c (reverse_bytes): New variable.
207 (command_line_switch, copy_main): Add OPTION_REVERSE_ENDIAN.
208 (copy_options, copy_usage): Add "reverse-bytes" entry.
209 (copy_section): Reverse bytes within output sections.
210 * doc/binutils.texi: Document new objcopy option.
212 2007-04-20 Nick Clifton <nickc@redhat.com>
214 * rclex.l: Allow underscores at the start of identifiers.
216 2007-04-19 Alan Modra <amodra@bigpond.net.au>
218 * budemang.c: Delete.
219 * budemang.h: Delete.
220 * addr2line.c (translate_addresses): Call bfd_demangle rather than
222 * nm.c (print_symname): Likewise.
223 * objdump.c (objdump_print_symname, dump_symbols): Likewise.
224 (dump_bfd): Likewise.
225 * prdbg.c (struct pr_handle <demangler>): Add int param.
226 (tg_variable, tg_start_function): Adjust demangler calls.
227 * Makefile.am: Remove mention of budemang.[ch]. Run "make dep-am".
228 * Makefile.in: Regenerate.
229 * po/POTFILES.in: Regenerate.
231 2007-04-14 Steve Ellcey <sje@cup.hp.com>
233 * Makefile.am: Add ACLOCAL_AMFLAGS.
234 * configure.in: Change macro call order.
235 * Makefile.in: Regenerate.
236 * configure: Regenerate.
238 2007-04-13 Nathan Sidwell <nathan@codesourcery.com>
240 * Makefile.am (TOOL_PROGS): Add objcopy.
241 * Makefile.in: Rebuilt.
243 2007-04-12 H.J. Lu <hongjiu.lu@intel.com>
246 * objcopy.c (copy_object): Don't stop when there are no
247 sections to be copied.
249 2007-04-10 Vladimir Prus <vladimir@codesourcery.com>
251 * NEWS: Mention disjoint histograms support in
254 2007-04-09 Daniel Jacobowitz <dan@codesourcery.com>
256 * dwarf.c (process_debug_info): Do not require DW_AT_frame_base for
257 DW_TAG_inlined_subroutine.
259 2007-04-06 Matt Thomas <matt@netbsd.org>
261 * MAINTAINERS: Add myself as VAX and NetBSD support maintainer.
263 2007-04-05 Alan Modra <amodra@bigpond.net.au>
266 * nm.c (print_value): Cast bfd_vma to unsigned long to suit
269 2007-04-02 Nick Clifton <nickc@redhat.com>
272 * nm.c (value_format): Replace with value_format_32bit and
274 (set_radix): Update setting of value_format.
275 (set_print_width): New function. Compute the address size of a
276 given bfd and set the print_width global appropriately.
277 (display_archive): Use set_print_width.
278 (display_file): Likewise,
279 (print_object_filename_sysv): Update use of print_width.
280 (print_archive_member_sysv): Likewise.
281 (print_symbol_filename_posix): Likewise.
282 (print_sumbol_info_bfd, print_symbol_info_sysv): Likewise.
284 2007-03-28 Richard Sandiford <richard@codesourcery.com>
285 Phil Edwards <phil@codesourcery.com>
287 * doc/binutils.texi: Put the contents after the title page rather
288 than at the end of the document.
290 2007-03-28 Nick Clifton <nickc@redhat.com>
292 * readelf.c (slurp_rela_relocs): Add newline to end of error
294 (slurp_rel_relocs, request_dump, request_dump_byname,
295 process_program_headers, process_dynamic_section,
296 process_symbol_table, process_mips_specific, main): Likewise.
298 2007-03-28 Alan Modra <amodra@bigpond.net.au>
300 * MAINTAINERS: Update mailing list addresses. Add myself
303 2007-03-27 Alan Modra <amodra@bigpond.net.au>
305 * embedspu.sh: Correct toe_addr quoting.
307 2007-03-27 Alan Modra <amodra@bigpond.net.au>
309 * embedspu.sh: Combine "_EAR_" and "_EAR_*" patterns. Tighten
310 .toe section and .toe address checks. Use .reloc for _EAR*
311 symbols defined in non-BSS sections. Build table for _SPUEAR_
314 2007-03-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
317 * readelf.c (debug_apply_rela_addends): Do nothing for SH.
319 2007-03-22 Joseph Myers <joseph@codesourcery.com>
321 * doc/binutils.texi: Include VERSION_PACKAGE when reporting
324 2007-03-16 Kai Tietz <Kai.Tietz@onevision.com>
326 * dlltool.c (make_one_lib_file): Use pc-relative relocation
327 instead of an absolute relocation for x86_64-pc-mingw32 target.
329 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
331 * Makefile.am (REPORT_BUGS_TO): Removed.
332 (INCLUDES): Remove -DREPORT_BUGS_TO.
333 * Makefile.in: Regenerated.
335 * bucomm.c: Don't include bfdver.h.
336 * objdump.c: Likewise.
337 * version.c: Likewise.
339 * bucomm.h: Include bfdver.h.
341 * configure.in (--with-bugurl): Removed.
342 * configure: Regenerated.
344 * doc/Makefile.am (binutils_TEXINFOS): Removed.
345 (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
346 (TEXI2DVI): Likewise.
347 (config.texi): Removed.
348 (MOSTLYCLEANFILES): Remove config.texi.
349 * doc/Makefile.in: Regenerated.
351 * doc/binutils.texi: Include bfdver.texi instead of
354 2007-03-13 Nick Clifton <nickc@redhat.com>
356 * readelf.c (dump_section): Also test for SHT_REL sections when
357 producing the warning about unapplied relocs.
359 2007-03-07 Joseph Myers <joseph@codesourcery.com>
361 * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
363 * doc/Makefile.am (config.texi): Define BUGURL.
364 * doc/binutils.texi: Use BUGURL. Remove text about large files
366 * Makefile.in, configure, doc/Makefile.in: Regenerate.
368 2007-03-01 Phil Edwards <phil@codesourcery.com>
369 Richard Sandiford <richard@codesourcery.com>
371 * NEWS: Mention addition of --extract-symbol.
372 * doc/binutils.texi: Document it.
373 * objcopy.c (extract_symbol): New variable.
374 (OPTION_EXTRACT_SYMBOLS): New command_line_switch.
375 (copy_options): Add an entry for --extract-symbol.
376 (copy_usage): Mention --extract-symbol.
377 (copy_object): Set the start address to zero for --extract-symbol.
378 Do not copy private BFD data in that case.
379 (setup_section): Set the size, LMA and VMA to zero for
380 --extract-symbol. Do not copy private BFD data in that case.
381 (copy_section): Do not copy section contents if --extract-symbol
383 (copy_main): Set extract_symbol to TRUE if --extract-symbol
386 2007-03-01 Paul Brook <paul@codesourcery.com>
388 * MAINTAINERS: Update my entry.
390 2007-03-01 Joseph Myers <joseph@codesourcery.com>
392 * version.c: Update copyright date.
394 2007-03-01 Daniel Jacobowitz <dan@codesourcery.com>
396 * Makefile.am (install-exec-local): Depend on $(noinst_PROGRAMS).
397 Adjust $(EXEEXT) handling for $(RENAMED_PROGS).
398 * Makefile.in, doc/Makefile.in: Regenerate.
400 2007-03-01 Alan Modra <amodra@bigpond.net.au>
402 * embedspu.sh: Set type and size of global program handle symbol.
404 2007-02-28 Alan Modra <amodra@bigpond.net.au>
406 * Makefile.am (PROGS): Delete.
407 (RENAMED_PROGS): Define. Extracted from..
408 (noinst_PROGRAMS): ..here. Add BUILD_MISC.
409 (install-exec-local): Adjust.
410 * Makefile.in: Regenerate.
412 2007-02-28 Alan Modra <amodra@bigpond.net.au>
414 * Makefile.am (PROGS): Add BUILD_INSTALL_MISC.
415 (bin_PROGRAMS): Replace BUILD_MISC with BUILD_INSTALL_MISC.
416 (EXTRA_PROGRAMS): Remove bin2c.
417 (bin2c$(EXEEXT_FOR_BUILD)): New rule.
418 (bin2c_SOURCES): Delete.
419 (DISTCLEANFILES): Remove sysinfo.
420 (MOSTLYCLEANFILES): Add sysinfo$(EXEEXT_FOR_BUILD) and
421 bin2c$(EXEEXT_FOR_BUILD).
422 * configure.in (BUILD_MISC): Add $(EXEEXT_FOR_BUILD) to bin2c.
424 (BUILD_INSTALL_MISC): ..here.
425 * Makefile.in: Regenerate.
426 * configure: Regenerate.
428 2007-02-27 Alan Modra <amodra@bigpond.net.au>
431 * Makefile.am (EXTRA_PROGRAMS): Add bin2c.
432 (CFILES): Add bin2c.c.
433 (bin2c_SOURCES): Define.
434 (bin2c.o): Dependencies from "make dep-am".
435 * configure.in (BUILD_MISC): Add bin2c.
436 * version.c: Update year.
437 * po/POTFILES.in: Regenerate.
438 * Makefile.in: Regenerate.
439 * configure: Regenerate.
441 2007-02-17 Mark Mitchell <mark@codesourcery.com>
442 Nathan Sidwell <nathan@codesourcery.com>
443 Vladimir Prus <vladimir@codesourcery.com
444 Joseph Myers <joseph@codesourcery.com>
446 * configure.in (--with-bugurl): New option.
447 * configure: Regenerate.
448 * Makefile.am (REPORT_BUGS_TO): Define.
449 (INCLUDES): Define REPORT_BUGS_TO.
450 Regenerate dependencies.
451 * Makefile.in: Regenerate.
452 * doc/Makefile.in: Regenerate.
453 * bucomm.h: Remove include of bin-bugs.h.
454 * addr2line.c (usage): Don't print empty REPORT_BUGS_TO.
455 * ar.c (usage): Pass s to list_supported_targets. Don't print
456 empty REPORT_BUGS_TO.
457 * coffdump.c (show_usage): Don't print empty REPORT_BUGS_TO.
458 * cxxfilt.c (usage): Print bug url when giving help.
459 * dlltool.c (usage): Likewise.
460 * dllwrap.c (usage): Likewise.
461 * nlmconv.c (show_usage): Don't print empty REPORT_BUGS_TO.
462 * nm.c (usage): Likewise.
463 * objcopy.c (copy_usage, strip_usage): Likewise.
464 * objdump.c (usage): Likewise.
465 * readelf.c ((usage): Likewise. Add STREAM argument. Adjust
467 * size.c (usage): Don't print empty REPORT_BUGS_TO.
468 * srconv.c (show_usage): Likewise.
469 * strings.c (usage): Likewise.
470 * sysdymp.c (show_usage): Likewise.
471 * windres.c (usage): Likewise.
473 2007-02-13 Alan Modra <amodra@bigpond.net.au>
475 * embedspu.sh: Add -W to readelf invocation.
477 2007-02-06 Dave Brolley <brolley@redhat.com>
479 * MAINTAINERS: Add myself as the maintainer of the MeP port.
481 2007-02-06 Nick Clifton <nickc@redhat.com>
484 * readelf.c: Include elf/h8.h twice. The first time in order to
485 get the reloc numbers, the second time in order to get the reloc
487 (dump_section): Tell the user if the section being displayed has
488 unprocessed relocs associated with it.
489 (get_reloc_size): New function - returns the size of a reloc.
490 (debug_apply_rela_addends): Use get_reloc_size().
491 * dwarf.c (read_and_display_attr_value): Extend number of
492 languages known for the DW_AT_language attribute.
493 (process_debug_info): Display the attribute offset before decoding
494 the attribute, in case there are problems.
496 2007-02-05 Dave Brolley <brolley@redhat.com>
498 * readelf.c (dump_relocations): Don't check for
499 (rtype == NULL && type == R_RELC).
501 2007-02-05 Dave Brolley <brolley@redhat.com>
503 * Makefile.am (readelf.o): Depends on $(INCDIR)/elf/mep.h.
504 * Makefile.in: Regenerated.
505 * Contribute the following changes:
506 2003-10-29 Dave Brolley <brolley@redhat.com>
508 * configure.in: Define SKIP_ZEROES and SKIP_ZEROES_AT_END for mep.
509 * configure: Regenerated.
511 2001-04-03 Ben Elliston <bje@redhat.com>
513 * readelf.c: Include "elf/mep.h".
514 (guess_is_rela): Handle EM_CYGNUS_MEP.
515 (get_machine_name): Ditto.
516 (dump_relocations): Ditto.
518 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
520 * MAINTAINERS: Add a space between H.J. and Lu.
522 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
524 * doc/binutils.texi (objdump): Document the new addr64 option
525 for i386 disassembler.
527 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
530 * configure.in (DLLTOOL_DEFAULT): New. Defined for the first PE
532 (DLLTOOL_DEFS): Add $DLLTOOL_DEFAULT.
533 * configure: Regenerated.
535 * dlltool.c (mname): Defined with DLLTOOL_DEFAULT_XXX.
537 2007-02-02 Nick Clifton <nickc@redhat.com>
539 * doc/binutils.texi (objdump): Document support for disassembling
540 the 440 PowerPC architecture.
542 2007-01-31 Nathan Sidwell <nathan@codesourcery.com>
544 * dwarf.c (process_debug_info): Protect against bogus length and
547 2007-01-25 Kazu Hirata <kazu@codesourcery.com>
549 * ar.c (print_contents, extract_file): Cast the return value
552 2007-01-12 Alan Modra <amodra@bigpond.net.au>
554 * ar.c (open_inarch): Check fwrite return. Use size_t.
555 (extract_file): Likewise. Remove test for "negative" file size.
556 * readelf.c (process_program_headers): Check fscanf return.
558 2007-01-11 H.J. Lu <hongjiu.lu@intel.com>
560 * bucomm.c (template_in_dir): Fix typo.
562 2007-01-11 Alan Modra <amodra@bigpond.net.au>
564 * embedspu.sh: New file.
565 * Makefile.am (embedspu): Add rule.
566 * configure.in (BUILD_MISC): Add embedspu for powerpc-linux.
567 * Makefile.in: Regenerate.
568 * configure: Regenerate.
570 2007-01-11 Alan Modra <amodra@bigpond.net.au>
572 * bucomm.h (make_tempdir): Declare independently of HAVE_MKDTEMP.
573 * bucomm.c (template_in_dir): New function, split out from..
574 (make_tempname): ..here. Open the file with O_EXCL if !HAVE_MKSTEMP.
575 (make_tempdir): Use template_in_dir. Handle directory creation
577 * objcopy.c (MKDIR): Don't define.
578 (copy_archive): Use make_tempdir when !HAVE_MKDTEMP too. Fix
581 2007-01-08 Kazu Hirata <kazu@codesourcery.com>
583 * readelf.c (get_machine_flags): Treat Fido as an architecture
586 2007-01-08 Kai Tietz <kai.tietz@onevision.com>
588 * configure.in: Renamed target x86_64-*-mingw64 to
590 * configure: Regenerated.
592 2007-01-05 Alan Modra <amodra@bigpond.net.au>
594 * readelf.c (dump_section): Don't print 32-bit values, which
595 were done incorrectly for little-endian. Instead print bytes.
597 For older changes see ChangeLog-2006
603 version-control: never