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