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