1 007-06-05 Kai Tietz <Kai.Tietz@onevision.com>
3 * Makefile.am: Add LIBICONV to windres.
4 * acinclude.m4: Added missing "lib-*.m4" and "lt*.m4" files.
5 * configure.in: Add AC_CHECK_HEADER for iconv.h and use AM_ICONV.
6 * config.in: Add ICONV defines.
8 * confugure: Regenerate.
9 * winduni.c: (local_iconv_map codepages, wind_language_t
10 languages, unicode_is_valid_codepage, wind_find_language_by_id,
11 wind_find_language_by_codepage, wind_find_codepage_info,
12 unicode_from_codepage, codepage_from_unicode, iconv_onechar,
13 wind_iconv_cp, wind_MultiByteToWideChar wind_WideCharToMultiByte):
15 (ascii_from_unicode): Use codepage_from_unicode.
16 (ascii_from_unicode): Use unicode_from_codepage.
17 Use for cygwin windows API for unicode transformation.
18 * winduni.h: (CP_ACP, CP_UTF7, CP_UTF8, CP_OEM, CP_UTF16): New
20 (wind_language_t, local_iconv_map): New types.
21 (wind_find_language_by_id, wind_find_language_by_codepage,
22 unicode_is_valid_codepage, wind_find_codepage_info,
23 unicode_from_codepage, codepage_from_unicode): New
26 2007-06-05 Alan Modra <amodra@bigpond.net.au>
28 * embedspu.sh: Handle R_SPU_PPU* relocs with no symbol.
30 2007-05-30 Alan Modra <amodra@bigpond.net.au>
32 * objcopy.c (copy_object): Revert 2007-05-11 change. Don't
33 avoid calling bfd_copy_private_bfd_data for ELF STRIP_NONDEBUG.
34 (setup_section): Don't modify flags, and don't avoid calling
35 bfd_copy_private_section_data for ELF STRIP_NONDEBUG.
36 * readelf.c (process_program_headers): Ignore .dynamic of type
39 2007-05-29 Alan Modra <amodra@bigpond.net.au>
41 * embedspu.sh: Emit SPU ELF image to .data.rel.ro.speelf if
42 pic or pie and image needs relocs.
44 2007-05-24 Steve Ellcey <sje@cup.hp.com>
46 * Makefile.in: Regenerate.
47 * configure: Regenerate.
48 * aclocal.m4: Regenerate.
49 * doc/Makefile.in: Regenerate.
51 2007-05-24 Kai Tietz <Kai.Tietz@onevision.com>
53 * rcparse.y: Join strings for elements having no side-effects in
56 2007-05-23 Kai Tietz <Kai.Tietz@onevision.com>
58 * rclex.c: New file replacing rclex.l.
60 * windint.h: New file holding common structure and type
62 * Makefile.am: Added new header windint.h and exchanged rclex.l by
64 * Makefile.in: Regenerate.
65 * rcparse.y: Renamed some structures.
66 Use in internal representation always bfd_vma instead of long or
68 Removed from %union unused stringtable.
69 Added to %union suni structure for unicode strings.
70 Added new tokens for ANICURSOR, ANIICON, DLGINCLUDE,
71 DLGINIT, FONTDIR, HTML, MANIFEST, PLUGPLAY, VXD,
72 TOOLBAR, BUTTON, QUOTEDUNISTRING, and SIZEDUNISTRING.
73 Added support for these new rc file tokens.
74 * resbin.c: Rewrote using bfd and binary structures, and support
76 * rescoff.c: Likewise.
78 * resrc.c: Likewise. Dumps as RC are now recompilable.
79 * windres.c: As above. Using bfd for res and provide target
80 specific endianess support.
81 * windres.h: Use windint.h as include. Additionally removed K&R
83 * winduni.c: New printing and unichar support routines.
84 * winduni.h: Prototypes for new unichar helpers.
85 * windint.h: New file.
87 2007-05-22 Paul Brook <paul@codesourcery.com>
89 * objdump.c (find_symbol_for_address): Merge section and target
90 specific filtering code.
92 2007-05-22 Nick Clifton <nickc@redhat.com>
94 * doc/binutils.texi: Use @copying around the copyright notice.
96 2007-05-21 Richard Sandiford <richard@codesourcery.com>
98 * objdump.c (disassemble_bytes): Ignore disassembler_needs_relocs
99 for executables and shared libraries.
101 2007-05-18 Nathan Sidwell <nathan@codesourcery.com>
103 * objcopy.c (strip_main): Detect identical input and output file
105 (copy_main): Refactor tempname detection and use.
107 2007-05-17 Nick Clifton <nickc@redhat.com>
109 * objdump.c (load_debug_section): Select bias for DWARF debug
110 addresses based on the flavour of the bfd.
112 2007-05-11 Alan Modra <amodra@bigpond.net.au>
115 * objcopy.c (copy_object): Don't copy ELF program headers for
118 2007-05-11 Alan Modra <amodra@bigpond.net.au>
120 * embedspu.sh (find_prog): Prefer prog in same dir as embedspu
121 over one found on the users path.
122 (main): Generate .reloc for each R_SPU_PPU* reloc.
124 2007-04-28 Alan Modra <amodra@bigpond.net.au>
126 * prdbg.c (tg_variable): Adjust for changed demangler.
127 (tg_start_function): Likewise.
129 2007-04-27 Alan Modra <amodra@bigpond.net.au>
131 * bucumm.h: Split off host dependencies to..
133 Many files: Include sysdep.h. Remove duplicate headers and reorder.
134 * Makefile.am: Run "make dep-am".
135 * Makefile.in: Regenerate.
137 2007-04-24 Nick Clifton <nickc@redhat.com>
139 * srconv.c (walk_tree_type_1): Initialise dpt.dunno.
141 2007-04-24 Nathan Froyd <froydnj@codesourcery.com>
142 Phil Edwards <phil@codesourcery.com>
144 * objcopy.c (filter_symbols): Explicitly stripping a symbol
145 used in relocations is an error.
146 Retype 'keep' to bfd_boolean.
148 2007-04-24 Alan Modra <amodra@bigpond.net.au>
150 * Makefile.in: Regenerate.
151 * doc/Makefile.in: Regenerate.
153 2007-04-20 Nathan Froyd <froydnj@codesourcery.com>
154 Phil Edwards <phil@codesourcery.com>
155 Thomas de Lellis <tdel@windriver.com>
157 * objcopy.c (reverse_bytes): New variable.
158 (command_line_switch, copy_main): Add OPTION_REVERSE_ENDIAN.
159 (copy_options, copy_usage): Add "reverse-bytes" entry.
160 (copy_section): Reverse bytes within output sections.
161 * doc/binutils.texi: Document new objcopy option.
163 2007-04-20 Nick Clifton <nickc@redhat.com>
165 * rclex.l: Allow underscores at the start of identifiers.
167 2007-04-19 Alan Modra <amodra@bigpond.net.au>
169 * budemang.c: Delete.
170 * budemang.h: Delete.
171 * addr2line.c (translate_addresses): Call bfd_demangle rather than
173 * nm.c (print_symname): Likewise.
174 * objdump.c (objdump_print_symname, dump_symbols): Likewise.
175 (dump_bfd): Likewise.
176 * prdbg.c (struct pr_handle <demangler>): Add int param.
177 (tg_variable, tg_start_function): Adjust demangler calls.
178 * Makefile.am: Remove mention of budemang.[ch]. Run "make dep-am".
179 * Makefile.in: Regenerate.
180 * po/POTFILES.in: Regenerate.
182 2007-04-14 Steve Ellcey <sje@cup.hp.com>
184 * Makefile.am: Add ACLOCAL_AMFLAGS.
185 * configure.in: Change macro call order.
186 * Makefile.in: Regenerate.
187 * configure: Regenerate.
189 2007-04-13 Nathan Sidwell <nathan@codesourcery.com>
191 * Makefile.am (TOOL_PROGS): Add objcopy.
192 * Makefile.in: Rebuilt.
194 2007-04-12 H.J. Lu <hongjiu.lu@intel.com>
197 * objcopy.c (copy_object): Don't stop when there are no
198 sections to be copied.
200 2007-04-10 Vladimir Prus <vladimir@codesourcery.com>
202 * NEWS: Mention disjoint histograms support in
205 2007-04-09 Daniel Jacobowitz <dan@codesourcery.com>
207 * dwarf.c (process_debug_info): Do not require DW_AT_frame_base for
208 DW_TAG_inlined_subroutine.
210 2007-04-06 Matt Thomas <matt@netbsd.org>
212 * MAINTAINERS: Add myself as VAX and NetBSD support maintainer.
214 2007-04-05 Alan Modra <amodra@bigpond.net.au>
217 * nm.c (print_value): Cast bfd_vma to unsigned long to suit
220 2007-04-02 Nick Clifton <nickc@redhat.com>
223 * nm.c (value_format): Replace with value_format_32bit and
225 (set_radix): Update setting of value_format.
226 (set_print_width): New function. Compute the address size of a
227 given bfd and set the print_width global appropriately.
228 (display_archive): Use set_print_width.
229 (display_file): Likewise,
230 (print_object_filename_sysv): Update use of print_width.
231 (print_archive_member_sysv): Likewise.
232 (print_symbol_filename_posix): Likewise.
233 (print_sumbol_info_bfd, print_symbol_info_sysv): Likewise.
235 2007-03-28 Richard Sandiford <richard@codesourcery.com>
236 Phil Edwards <phil@codesourcery.com>
238 * doc/binutils.texi: Put the contents after the title page rather
239 than at the end of the document.
241 2007-03-28 Nick Clifton <nickc@redhat.com>
243 * readelf.c (slurp_rela_relocs): Add newline to end of error
245 (slurp_rel_relocs, request_dump, request_dump_byname,
246 process_program_headers, process_dynamic_section,
247 process_symbol_table, process_mips_specific, main): Likewise.
249 2007-03-28 Alan Modra <amodra@bigpond.net.au>
251 * MAINTAINERS: Update mailing list addresses. Add myself
254 2007-03-27 Alan Modra <amodra@bigpond.net.au>
256 * embedspu.sh: Correct toe_addr quoting.
258 2007-03-27 Alan Modra <amodra@bigpond.net.au>
260 * embedspu.sh: Combine "_EAR_" and "_EAR_*" patterns. Tighten
261 .toe section and .toe address checks. Use .reloc for _EAR*
262 symbols defined in non-BSS sections. Build table for _SPUEAR_
265 2007-03-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
268 * readelf.c (debug_apply_rela_addends): Do nothing for SH.
270 2007-03-22 Joseph Myers <joseph@codesourcery.com>
272 * doc/binutils.texi: Include VERSION_PACKAGE when reporting
275 2007-03-16 Kai Tietz <Kai.Tietz@onevision.com>
277 * dlltool.c (make_one_lib_file): Use pc-relative relocation
278 instead of an absolute relocation for x86_64-pc-mingw32 target.
280 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
282 * Makefile.am (REPORT_BUGS_TO): Removed.
283 (INCLUDES): Remove -DREPORT_BUGS_TO.
284 * Makefile.in: Regenerated.
286 * bucomm.c: Don't include bfdver.h.
287 * objdump.c: Likewise.
288 * version.c: Likewise.
290 * bucomm.h: Include bfdver.h.
292 * configure.in (--with-bugurl): Removed.
293 * configure: Regenerated.
295 * doc/Makefile.am (binutils_TEXINFOS): Removed.
296 (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
297 (TEXI2DVI): Likewise.
298 (config.texi): Removed.
299 (MOSTLYCLEANFILES): Remove config.texi.
300 * doc/Makefile.in: Regenerated.
302 * doc/binutils.texi: Include bfdver.texi instead of
305 2007-03-13 Nick Clifton <nickc@redhat.com>
307 * readelf.c (dump_section): Also test for SHT_REL sections when
308 producing the warning about unapplied relocs.
310 2007-03-07 Joseph Myers <joseph@codesourcery.com>
312 * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
314 * doc/Makefile.am (config.texi): Define BUGURL.
315 * doc/binutils.texi: Use BUGURL. Remove text about large files
317 * Makefile.in, configure, doc/Makefile.in: Regenerate.
319 2007-03-01 Phil Edwards <phil@codesourcery.com>
320 Richard Sandiford <richard@codesourcery.com>
322 * NEWS: Mention addition of --extract-symbol.
323 * doc/binutils.texi: Document it.
324 * objcopy.c (extract_symbol): New variable.
325 (OPTION_EXTRACT_SYMBOLS): New command_line_switch.
326 (copy_options): Add an entry for --extract-symbol.
327 (copy_usage): Mention --extract-symbol.
328 (copy_object): Set the start address to zero for --extract-symbol.
329 Do not copy private BFD data in that case.
330 (setup_section): Set the size, LMA and VMA to zero for
331 --extract-symbol. Do not copy private BFD data in that case.
332 (copy_section): Do not copy section contents if --extract-symbol
334 (copy_main): Set extract_symbol to TRUE if --extract-symbol
337 2007-03-01 Paul Brook <paul@codesourcery.com>
339 * MAINTAINERS: Update my entry.
341 2007-03-01 Joseph Myers <joseph@codesourcery.com>
343 * version.c: Update copyright date.
345 2007-03-01 Daniel Jacobowitz <dan@codesourcery.com>
347 * Makefile.am (install-exec-local): Depend on $(noinst_PROGRAMS).
348 Adjust $(EXEEXT) handling for $(RENAMED_PROGS).
349 * Makefile.in, doc/Makefile.in: Regenerate.
351 2007-03-01 Alan Modra <amodra@bigpond.net.au>
353 * embedspu.sh: Set type and size of global program handle symbol.
355 2007-02-28 Alan Modra <amodra@bigpond.net.au>
357 * Makefile.am (PROGS): Delete.
358 (RENAMED_PROGS): Define. Extracted from..
359 (noinst_PROGRAMS): ..here. Add BUILD_MISC.
360 (install-exec-local): Adjust.
361 * Makefile.in: Regenerate.
363 2007-02-28 Alan Modra <amodra@bigpond.net.au>
365 * Makefile.am (PROGS): Add BUILD_INSTALL_MISC.
366 (bin_PROGRAMS): Replace BUILD_MISC with BUILD_INSTALL_MISC.
367 (EXTRA_PROGRAMS): Remove bin2c.
368 (bin2c$(EXEEXT_FOR_BUILD)): New rule.
369 (bin2c_SOURCES): Delete.
370 (DISTCLEANFILES): Remove sysinfo.
371 (MOSTLYCLEANFILES): Add sysinfo$(EXEEXT_FOR_BUILD) and
372 bin2c$(EXEEXT_FOR_BUILD).
373 * configure.in (BUILD_MISC): Add $(EXEEXT_FOR_BUILD) to bin2c.
375 (BUILD_INSTALL_MISC): ..here.
376 * Makefile.in: Regenerate.
377 * configure: Regenerate.
379 2007-02-27 Alan Modra <amodra@bigpond.net.au>
382 * Makefile.am (EXTRA_PROGRAMS): Add bin2c.
383 (CFILES): Add bin2c.c.
384 (bin2c_SOURCES): Define.
385 (bin2c.o): Dependencies from "make dep-am".
386 * configure.in (BUILD_MISC): Add bin2c.
387 * version.c: Update year.
388 * po/POTFILES.in: Regenerate.
389 * Makefile.in: Regenerate.
390 * configure: Regenerate.
392 2007-02-17 Mark Mitchell <mark@codesourcery.com>
393 Nathan Sidwell <nathan@codesourcery.com>
394 Vladimir Prus <vladimir@codesourcery.com
395 Joseph Myers <joseph@codesourcery.com>
397 * configure.in (--with-bugurl): New option.
398 * configure: Regenerate.
399 * Makefile.am (REPORT_BUGS_TO): Define.
400 (INCLUDES): Define REPORT_BUGS_TO.
401 Regenerate dependencies.
402 * Makefile.in: Regenerate.
403 * doc/Makefile.in: Regenerate.
404 * bucomm.h: Remove include of bin-bugs.h.
405 * addr2line.c (usage): Don't print empty REPORT_BUGS_TO.
406 * ar.c (usage): Pass s to list_supported_targets. Don't print
407 empty REPORT_BUGS_TO.
408 * coffdump.c (show_usage): Don't print empty REPORT_BUGS_TO.
409 * cxxfilt.c (usage): Print bug url when giving help.
410 * dlltool.c (usage): Likewise.
411 * dllwrap.c (usage): Likewise.
412 * nlmconv.c (show_usage): Don't print empty REPORT_BUGS_TO.
413 * nm.c (usage): Likewise.
414 * objcopy.c (copy_usage, strip_usage): Likewise.
415 * objdump.c (usage): Likewise.
416 * readelf.c ((usage): Likewise. Add STREAM argument. Adjust
418 * size.c (usage): Don't print empty REPORT_BUGS_TO.
419 * srconv.c (show_usage): Likewise.
420 * strings.c (usage): Likewise.
421 * sysdymp.c (show_usage): Likewise.
422 * windres.c (usage): Likewise.
424 2007-02-13 Alan Modra <amodra@bigpond.net.au>
426 * embedspu.sh: Add -W to readelf invocation.
428 2007-02-06 Dave Brolley <brolley@redhat.com>
430 * MAINTAINERS: Add myself as the maintainer of the MeP port.
432 2007-02-06 Nick Clifton <nickc@redhat.com>
435 * readelf.c: Include elf/h8.h twice. The first time in order to
436 get the reloc numbers, the second time in order to get the reloc
438 (dump_section): Tell the user if the section being displayed has
439 unprocessed relocs associated with it.
440 (get_reloc_size): New function - returns the size of a reloc.
441 (debug_apply_rela_addends): Use get_reloc_size().
442 * dwarf.c (read_and_display_attr_value): Extend number of
443 languages known for the DW_AT_language attribute.
444 (process_debug_info): Display the attribute offset before decoding
445 the attribute, in case there are problems.
447 2007-02-05 Dave Brolley <brolley@redhat.com>
449 * readelf.c (dump_relocations): Don't check for
450 (rtype == NULL && type == R_RELC).
452 2007-02-05 Dave Brolley <brolley@redhat.com>
454 * Makefile.am (readelf.o): Depends on $(INCDIR)/elf/mep.h.
455 * Makefile.in: Regenerated.
456 * Contribute the following changes:
457 2003-10-29 Dave Brolley <brolley@redhat.com>
459 * configure.in: Define SKIP_ZEROES and SKIP_ZEROES_AT_END for mep.
460 * configure: Regenerated.
462 2001-04-03 Ben Elliston <bje@redhat.com>
464 * readelf.c: Include "elf/mep.h".
465 (guess_is_rela): Handle EM_CYGNUS_MEP.
466 (get_machine_name): Ditto.
467 (dump_relocations): Ditto.
469 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
471 * MAINTAINERS: Add a space between H.J. and Lu.
473 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
475 * doc/binutils.texi (objdump): Document the new addr64 option
476 for i386 disassembler.
478 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
481 * configure.in (DLLTOOL_DEFAULT): New. Defined for the first PE
483 (DLLTOOL_DEFS): Add $DLLTOOL_DEFAULT.
484 * configure: Regenerated.
486 * dlltool.c (mname): Defined with DLLTOOL_DEFAULT_XXX.
488 2007-02-02 Nick Clifton <nickc@redhat.com>
490 * doc/binutils.texi (objdump): Document support for disassembling
491 the 440 PowerPC architecture.
493 2007-01-31 Nathan Sidwell <nathan@codesourcery.com>
495 * dwarf.c (process_debug_info): Protect against bogus length and
498 2007-01-25 Kazu Hirata <kazu@codesourcery.com>
500 * ar.c (print_contents, extract_file): Cast the return value
503 2007-01-12 Alan Modra <amodra@bigpond.net.au>
505 * ar.c (open_inarch): Check fwrite return. Use size_t.
506 (extract_file): Likewise. Remove test for "negative" file size.
507 * readelf.c (process_program_headers): Check fscanf return.
509 2007-01-11 H.J. Lu <hongjiu.lu@intel.com>
511 * bucomm.c (template_in_dir): Fix typo.
513 2007-01-11 Alan Modra <amodra@bigpond.net.au>
515 * embedspu.sh: New file.
516 * Makefile.am (embedspu): Add rule.
517 * configure.in (BUILD_MISC): Add embedspu for powerpc-linux.
518 * Makefile.in: Regenerate.
519 * configure: Regenerate.
521 2007-01-11 Alan Modra <amodra@bigpond.net.au>
523 * bucomm.h (make_tempdir): Declare independently of HAVE_MKDTEMP.
524 * bucomm.c (template_in_dir): New function, split out from..
525 (make_tempname): ..here. Open the file with O_EXCL if !HAVE_MKSTEMP.
526 (make_tempdir): Use template_in_dir. Handle directory creation
528 * objcopy.c (MKDIR): Don't define.
529 (copy_archive): Use make_tempdir when !HAVE_MKDTEMP too. Fix
532 2007-01-08 Kazu Hirata <kazu@codesourcery.com>
534 * readelf.c (get_machine_flags): Treat Fido as an architecture
537 2007-01-08 Kai Tietz <kai.tietz@onevision.com>
539 * configure.in: Renamed target x86_64-*-mingw64 to
541 * configure: Regenerated.
543 2007-01-05 Alan Modra <amodra@bigpond.net.au>
545 * readelf.c (dump_section): Don't print 32-bit values, which
546 were done incorrectly for little-endian. Instead print bytes.
548 For older changes see ChangeLog-2006
554 version-control: never