1 2007-06-06 Kai Tietz <Kai.Tietz@onevision.com>
3 PR binutils/4356 binutils/591
4 * resrc.c (filename_need_quotes): New function.
5 (look_for_default): If filename_need_quotes is true then quote the
6 filename in the command line being created.
7 (read_rc_file): Likewise.
9 2007-06-06 Ben Elliston <bje@au.ibm.com>
11 * doc/binutils.texi (objdump): Fix capitalisation of "PowerPC".
13 2007-06-05 Kai Tietz <Kai.Tietz@onevision.com>
15 * Makefile.am: Add LIBICONV to windres.
16 * acinclude.m4: Added missing "lib-*.m4" and "lt*.m4" files.
17 * configure.in: Add AC_CHECK_HEADER for iconv.h and use AM_ICONV.
18 * config.in: Add ICONV defines.
19 * aclocal.m4: Regenerate.
20 * confugure: Regenerate.
21 * winduni.c: (local_iconv_map codepages, wind_language_t,
22 languages, unicode_is_valid_codepage, wind_find_language_by_id,
23 wind_find_language_by_codepage, wind_find_codepage_info,
24 unicode_from_codepage, codepage_from_unicode, iconv_onechar,
25 wind_iconv_cp, wind_MultiByteToWideChar wind_WideCharToMultiByte):
27 (ascii_from_unicode): Use codepage_from_unicode.
28 (ascii_from_unicode): Use unicode_from_codepage.
29 Use for cygwin windows API for unicode transformation.
30 * winduni.h: (CP_ACP, CP_UTF7, CP_UTF8, CP_OEM, CP_UTF16): New
32 (wind_language_t, local_iconv_map): New types.
33 (wind_find_language_by_id, wind_find_language_by_codepage,
34 unicode_is_valid_codepage, wind_find_codepage_info,
35 unicode_from_codepage, codepage_from_unicode): New
38 2007-06-05 Alan Modra <amodra@bigpond.net.au>
40 * embedspu.sh: Handle R_SPU_PPU* relocs with no symbol.
42 2007-05-30 Alan Modra <amodra@bigpond.net.au>
44 * objcopy.c (copy_object): Revert 2007-05-11 change. Don't
45 avoid calling bfd_copy_private_bfd_data for ELF STRIP_NONDEBUG.
46 (setup_section): Don't modify flags, and don't avoid calling
47 bfd_copy_private_section_data for ELF STRIP_NONDEBUG.
48 * readelf.c (process_program_headers): Ignore .dynamic of type
51 2007-05-29 Alan Modra <amodra@bigpond.net.au>
53 * embedspu.sh: Emit SPU ELF image to .data.rel.ro.speelf if
54 pic or pie and image needs relocs.
56 2007-05-24 Steve Ellcey <sje@cup.hp.com>
58 * Makefile.in: Regenerate.
59 * configure: Regenerate.
60 * aclocal.m4: Regenerate.
61 * doc/Makefile.in: Regenerate.
63 2007-05-24 Kai Tietz <Kai.Tietz@onevision.com>
65 * rcparse.y: Join strings for elements having no side-effects in
68 2007-05-23 Kai Tietz <Kai.Tietz@onevision.com>
70 * rclex.c: New file replacing rclex.l.
72 * windint.h: New file holding common structure and type
74 * Makefile.am: Added new header windint.h and exchanged rclex.l by
76 * Makefile.in: Regenerate.
77 * rcparse.y: Renamed some structures.
78 Use in internal representation always bfd_vma instead of long or
80 Removed from %union unused stringtable.
81 Added to %union suni structure for unicode strings.
82 Added new tokens for ANICURSOR, ANIICON, DLGINCLUDE,
83 DLGINIT, FONTDIR, HTML, MANIFEST, PLUGPLAY, VXD,
84 TOOLBAR, BUTTON, QUOTEDUNISTRING, and SIZEDUNISTRING.
85 Added support for these new rc file tokens.
86 * resbin.c: Rewrote using bfd and binary structures, and support
88 * rescoff.c: Likewise.
90 * resrc.c: Likewise. Dumps as RC are now recompilable.
91 * windres.c: As above. Using bfd for res and provide target
92 specific endianess support.
93 * windres.h: Use windint.h as include. Additionally removed K&R
95 * winduni.c: New printing and unichar support routines.
96 * winduni.h: Prototypes for new unichar helpers.
97 * windint.h: New file.
99 2007-05-22 Paul Brook <paul@codesourcery.com>
101 * objdump.c (find_symbol_for_address): Merge section and target
102 specific filtering code.
104 2007-05-22 Nick Clifton <nickc@redhat.com>
106 * doc/binutils.texi: Use @copying around the copyright notice.
108 2007-05-21 Richard Sandiford <richard@codesourcery.com>
110 * objdump.c (disassemble_bytes): Ignore disassembler_needs_relocs
111 for executables and shared libraries.
113 2007-05-18 Nathan Sidwell <nathan@codesourcery.com>
115 * objcopy.c (strip_main): Detect identical input and output file
117 (copy_main): Refactor tempname detection and use.
119 2007-05-17 Nick Clifton <nickc@redhat.com>
121 * objdump.c (load_debug_section): Select bias for DWARF debug
122 addresses based on the flavour of the bfd.
124 2007-05-11 Alan Modra <amodra@bigpond.net.au>
127 * objcopy.c (copy_object): Don't copy ELF program headers for
130 2007-05-11 Alan Modra <amodra@bigpond.net.au>
132 * embedspu.sh (find_prog): Prefer prog in same dir as embedspu
133 over one found on the users path.
134 (main): Generate .reloc for each R_SPU_PPU* reloc.
136 2007-04-28 Alan Modra <amodra@bigpond.net.au>
138 * prdbg.c (tg_variable): Adjust for changed demangler.
139 (tg_start_function): Likewise.
141 2007-04-27 Alan Modra <amodra@bigpond.net.au>
143 * bucumm.h: Split off host dependencies to..
145 Many files: Include sysdep.h. Remove duplicate headers and reorder.
146 * Makefile.am: Run "make dep-am".
147 * Makefile.in: Regenerate.
149 2007-04-24 Nick Clifton <nickc@redhat.com>
151 * srconv.c (walk_tree_type_1): Initialise dpt.dunno.
153 2007-04-24 Nathan Froyd <froydnj@codesourcery.com>
154 Phil Edwards <phil@codesourcery.com>
156 * objcopy.c (filter_symbols): Explicitly stripping a symbol
157 used in relocations is an error.
158 Retype 'keep' to bfd_boolean.
160 2007-04-24 Alan Modra <amodra@bigpond.net.au>
162 * Makefile.in: Regenerate.
163 * doc/Makefile.in: Regenerate.
165 2007-04-20 Nathan Froyd <froydnj@codesourcery.com>
166 Phil Edwards <phil@codesourcery.com>
167 Thomas de Lellis <tdel@windriver.com>
169 * objcopy.c (reverse_bytes): New variable.
170 (command_line_switch, copy_main): Add OPTION_REVERSE_ENDIAN.
171 (copy_options, copy_usage): Add "reverse-bytes" entry.
172 (copy_section): Reverse bytes within output sections.
173 * doc/binutils.texi: Document new objcopy option.
175 2007-04-20 Nick Clifton <nickc@redhat.com>
177 * rclex.l: Allow underscores at the start of identifiers.
179 2007-04-19 Alan Modra <amodra@bigpond.net.au>
181 * budemang.c: Delete.
182 * budemang.h: Delete.
183 * addr2line.c (translate_addresses): Call bfd_demangle rather than
185 * nm.c (print_symname): Likewise.
186 * objdump.c (objdump_print_symname, dump_symbols): Likewise.
187 (dump_bfd): Likewise.
188 * prdbg.c (struct pr_handle <demangler>): Add int param.
189 (tg_variable, tg_start_function): Adjust demangler calls.
190 * Makefile.am: Remove mention of budemang.[ch]. Run "make dep-am".
191 * Makefile.in: Regenerate.
192 * po/POTFILES.in: Regenerate.
194 2007-04-14 Steve Ellcey <sje@cup.hp.com>
196 * Makefile.am: Add ACLOCAL_AMFLAGS.
197 * configure.in: Change macro call order.
198 * Makefile.in: Regenerate.
199 * configure: Regenerate.
201 2007-04-13 Nathan Sidwell <nathan@codesourcery.com>
203 * Makefile.am (TOOL_PROGS): Add objcopy.
204 * Makefile.in: Rebuilt.
206 2007-04-12 H.J. Lu <hongjiu.lu@intel.com>
209 * objcopy.c (copy_object): Don't stop when there are no
210 sections to be copied.
212 2007-04-10 Vladimir Prus <vladimir@codesourcery.com>
214 * NEWS: Mention disjoint histograms support in
217 2007-04-09 Daniel Jacobowitz <dan@codesourcery.com>
219 * dwarf.c (process_debug_info): Do not require DW_AT_frame_base for
220 DW_TAG_inlined_subroutine.
222 2007-04-06 Matt Thomas <matt@netbsd.org>
224 * MAINTAINERS: Add myself as VAX and NetBSD support maintainer.
226 2007-04-05 Alan Modra <amodra@bigpond.net.au>
229 * nm.c (print_value): Cast bfd_vma to unsigned long to suit
232 2007-04-02 Nick Clifton <nickc@redhat.com>
235 * nm.c (value_format): Replace with value_format_32bit and
237 (set_radix): Update setting of value_format.
238 (set_print_width): New function. Compute the address size of a
239 given bfd and set the print_width global appropriately.
240 (display_archive): Use set_print_width.
241 (display_file): Likewise,
242 (print_object_filename_sysv): Update use of print_width.
243 (print_archive_member_sysv): Likewise.
244 (print_symbol_filename_posix): Likewise.
245 (print_sumbol_info_bfd, print_symbol_info_sysv): Likewise.
247 2007-03-28 Richard Sandiford <richard@codesourcery.com>
248 Phil Edwards <phil@codesourcery.com>
250 * doc/binutils.texi: Put the contents after the title page rather
251 than at the end of the document.
253 2007-03-28 Nick Clifton <nickc@redhat.com>
255 * readelf.c (slurp_rela_relocs): Add newline to end of error
257 (slurp_rel_relocs, request_dump, request_dump_byname,
258 process_program_headers, process_dynamic_section,
259 process_symbol_table, process_mips_specific, main): Likewise.
261 2007-03-28 Alan Modra <amodra@bigpond.net.au>
263 * MAINTAINERS: Update mailing list addresses. Add myself
266 2007-03-27 Alan Modra <amodra@bigpond.net.au>
268 * embedspu.sh: Correct toe_addr quoting.
270 2007-03-27 Alan Modra <amodra@bigpond.net.au>
272 * embedspu.sh: Combine "_EAR_" and "_EAR_*" patterns. Tighten
273 .toe section and .toe address checks. Use .reloc for _EAR*
274 symbols defined in non-BSS sections. Build table for _SPUEAR_
277 2007-03-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
280 * readelf.c (debug_apply_rela_addends): Do nothing for SH.
282 2007-03-22 Joseph Myers <joseph@codesourcery.com>
284 * doc/binutils.texi: Include VERSION_PACKAGE when reporting
287 2007-03-16 Kai Tietz <Kai.Tietz@onevision.com>
289 * dlltool.c (make_one_lib_file): Use pc-relative relocation
290 instead of an absolute relocation for x86_64-pc-mingw32 target.
292 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
294 * Makefile.am (REPORT_BUGS_TO): Removed.
295 (INCLUDES): Remove -DREPORT_BUGS_TO.
296 * Makefile.in: Regenerated.
298 * bucomm.c: Don't include bfdver.h.
299 * objdump.c: Likewise.
300 * version.c: Likewise.
302 * bucomm.h: Include bfdver.h.
304 * configure.in (--with-bugurl): Removed.
305 * configure: Regenerated.
307 * doc/Makefile.am (binutils_TEXINFOS): Removed.
308 (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
309 (TEXI2DVI): Likewise.
310 (config.texi): Removed.
311 (MOSTLYCLEANFILES): Remove config.texi.
312 * doc/Makefile.in: Regenerated.
314 * doc/binutils.texi: Include bfdver.texi instead of
317 2007-03-13 Nick Clifton <nickc@redhat.com>
319 * readelf.c (dump_section): Also test for SHT_REL sections when
320 producing the warning about unapplied relocs.
322 2007-03-07 Joseph Myers <joseph@codesourcery.com>
324 * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
326 * doc/Makefile.am (config.texi): Define BUGURL.
327 * doc/binutils.texi: Use BUGURL. Remove text about large files
329 * Makefile.in, configure, doc/Makefile.in: Regenerate.
331 2007-03-01 Phil Edwards <phil@codesourcery.com>
332 Richard Sandiford <richard@codesourcery.com>
334 * NEWS: Mention addition of --extract-symbol.
335 * doc/binutils.texi: Document it.
336 * objcopy.c (extract_symbol): New variable.
337 (OPTION_EXTRACT_SYMBOLS): New command_line_switch.
338 (copy_options): Add an entry for --extract-symbol.
339 (copy_usage): Mention --extract-symbol.
340 (copy_object): Set the start address to zero for --extract-symbol.
341 Do not copy private BFD data in that case.
342 (setup_section): Set the size, LMA and VMA to zero for
343 --extract-symbol. Do not copy private BFD data in that case.
344 (copy_section): Do not copy section contents if --extract-symbol
346 (copy_main): Set extract_symbol to TRUE if --extract-symbol
349 2007-03-01 Paul Brook <paul@codesourcery.com>
351 * MAINTAINERS: Update my entry.
353 2007-03-01 Joseph Myers <joseph@codesourcery.com>
355 * version.c: Update copyright date.
357 2007-03-01 Daniel Jacobowitz <dan@codesourcery.com>
359 * Makefile.am (install-exec-local): Depend on $(noinst_PROGRAMS).
360 Adjust $(EXEEXT) handling for $(RENAMED_PROGS).
361 * Makefile.in, doc/Makefile.in: Regenerate.
363 2007-03-01 Alan Modra <amodra@bigpond.net.au>
365 * embedspu.sh: Set type and size of global program handle symbol.
367 2007-02-28 Alan Modra <amodra@bigpond.net.au>
369 * Makefile.am (PROGS): Delete.
370 (RENAMED_PROGS): Define. Extracted from..
371 (noinst_PROGRAMS): ..here. Add BUILD_MISC.
372 (install-exec-local): Adjust.
373 * Makefile.in: Regenerate.
375 2007-02-28 Alan Modra <amodra@bigpond.net.au>
377 * Makefile.am (PROGS): Add BUILD_INSTALL_MISC.
378 (bin_PROGRAMS): Replace BUILD_MISC with BUILD_INSTALL_MISC.
379 (EXTRA_PROGRAMS): Remove bin2c.
380 (bin2c$(EXEEXT_FOR_BUILD)): New rule.
381 (bin2c_SOURCES): Delete.
382 (DISTCLEANFILES): Remove sysinfo.
383 (MOSTLYCLEANFILES): Add sysinfo$(EXEEXT_FOR_BUILD) and
384 bin2c$(EXEEXT_FOR_BUILD).
385 * configure.in (BUILD_MISC): Add $(EXEEXT_FOR_BUILD) to bin2c.
387 (BUILD_INSTALL_MISC): ..here.
388 * Makefile.in: Regenerate.
389 * configure: Regenerate.
391 2007-02-27 Alan Modra <amodra@bigpond.net.au>
394 * Makefile.am (EXTRA_PROGRAMS): Add bin2c.
395 (CFILES): Add bin2c.c.
396 (bin2c_SOURCES): Define.
397 (bin2c.o): Dependencies from "make dep-am".
398 * configure.in (BUILD_MISC): Add bin2c.
399 * version.c: Update year.
400 * po/POTFILES.in: Regenerate.
401 * Makefile.in: Regenerate.
402 * configure: Regenerate.
404 2007-02-17 Mark Mitchell <mark@codesourcery.com>
405 Nathan Sidwell <nathan@codesourcery.com>
406 Vladimir Prus <vladimir@codesourcery.com
407 Joseph Myers <joseph@codesourcery.com>
409 * configure.in (--with-bugurl): New option.
410 * configure: Regenerate.
411 * Makefile.am (REPORT_BUGS_TO): Define.
412 (INCLUDES): Define REPORT_BUGS_TO.
413 Regenerate dependencies.
414 * Makefile.in: Regenerate.
415 * doc/Makefile.in: Regenerate.
416 * bucomm.h: Remove include of bin-bugs.h.
417 * addr2line.c (usage): Don't print empty REPORT_BUGS_TO.
418 * ar.c (usage): Pass s to list_supported_targets. Don't print
419 empty REPORT_BUGS_TO.
420 * coffdump.c (show_usage): Don't print empty REPORT_BUGS_TO.
421 * cxxfilt.c (usage): Print bug url when giving help.
422 * dlltool.c (usage): Likewise.
423 * dllwrap.c (usage): Likewise.
424 * nlmconv.c (show_usage): Don't print empty REPORT_BUGS_TO.
425 * nm.c (usage): Likewise.
426 * objcopy.c (copy_usage, strip_usage): Likewise.
427 * objdump.c (usage): Likewise.
428 * readelf.c ((usage): Likewise. Add STREAM argument. Adjust
430 * size.c (usage): Don't print empty REPORT_BUGS_TO.
431 * srconv.c (show_usage): Likewise.
432 * strings.c (usage): Likewise.
433 * sysdymp.c (show_usage): Likewise.
434 * windres.c (usage): Likewise.
436 2007-02-13 Alan Modra <amodra@bigpond.net.au>
438 * embedspu.sh: Add -W to readelf invocation.
440 2007-02-06 Dave Brolley <brolley@redhat.com>
442 * MAINTAINERS: Add myself as the maintainer of the MeP port.
444 2007-02-06 Nick Clifton <nickc@redhat.com>
447 * readelf.c: Include elf/h8.h twice. The first time in order to
448 get the reloc numbers, the second time in order to get the reloc
450 (dump_section): Tell the user if the section being displayed has
451 unprocessed relocs associated with it.
452 (get_reloc_size): New function - returns the size of a reloc.
453 (debug_apply_rela_addends): Use get_reloc_size().
454 * dwarf.c (read_and_display_attr_value): Extend number of
455 languages known for the DW_AT_language attribute.
456 (process_debug_info): Display the attribute offset before decoding
457 the attribute, in case there are problems.
459 2007-02-05 Dave Brolley <brolley@redhat.com>
461 * readelf.c (dump_relocations): Don't check for
462 (rtype == NULL && type == R_RELC).
464 2007-02-05 Dave Brolley <brolley@redhat.com>
466 * Makefile.am (readelf.o): Depends on $(INCDIR)/elf/mep.h.
467 * Makefile.in: Regenerated.
468 * Contribute the following changes:
469 2003-10-29 Dave Brolley <brolley@redhat.com>
471 * configure.in: Define SKIP_ZEROES and SKIP_ZEROES_AT_END for mep.
472 * configure: Regenerated.
474 2001-04-03 Ben Elliston <bje@redhat.com>
476 * readelf.c: Include "elf/mep.h".
477 (guess_is_rela): Handle EM_CYGNUS_MEP.
478 (get_machine_name): Ditto.
479 (dump_relocations): Ditto.
481 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
483 * MAINTAINERS: Add a space between H.J. and Lu.
485 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
487 * doc/binutils.texi (objdump): Document the new addr64 option
488 for i386 disassembler.
490 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
493 * configure.in (DLLTOOL_DEFAULT): New. Defined for the first PE
495 (DLLTOOL_DEFS): Add $DLLTOOL_DEFAULT.
496 * configure: Regenerated.
498 * dlltool.c (mname): Defined with DLLTOOL_DEFAULT_XXX.
500 2007-02-02 Nick Clifton <nickc@redhat.com>
502 * doc/binutils.texi (objdump): Document support for disassembling
503 the 440 PowerPC architecture.
505 2007-01-31 Nathan Sidwell <nathan@codesourcery.com>
507 * dwarf.c (process_debug_info): Protect against bogus length and
510 2007-01-25 Kazu Hirata <kazu@codesourcery.com>
512 * ar.c (print_contents, extract_file): Cast the return value
515 2007-01-12 Alan Modra <amodra@bigpond.net.au>
517 * ar.c (open_inarch): Check fwrite return. Use size_t.
518 (extract_file): Likewise. Remove test for "negative" file size.
519 * readelf.c (process_program_headers): Check fscanf return.
521 2007-01-11 H.J. Lu <hongjiu.lu@intel.com>
523 * bucomm.c (template_in_dir): Fix typo.
525 2007-01-11 Alan Modra <amodra@bigpond.net.au>
527 * embedspu.sh: New file.
528 * Makefile.am (embedspu): Add rule.
529 * configure.in (BUILD_MISC): Add embedspu for powerpc-linux.
530 * Makefile.in: Regenerate.
531 * configure: Regenerate.
533 2007-01-11 Alan Modra <amodra@bigpond.net.au>
535 * bucomm.h (make_tempdir): Declare independently of HAVE_MKDTEMP.
536 * bucomm.c (template_in_dir): New function, split out from..
537 (make_tempname): ..here. Open the file with O_EXCL if !HAVE_MKSTEMP.
538 (make_tempdir): Use template_in_dir. Handle directory creation
540 * objcopy.c (MKDIR): Don't define.
541 (copy_archive): Use make_tempdir when !HAVE_MKDTEMP too. Fix
544 2007-01-08 Kazu Hirata <kazu@codesourcery.com>
546 * readelf.c (get_machine_flags): Treat Fido as an architecture
549 2007-01-08 Kai Tietz <kai.tietz@onevision.com>
551 * configure.in: Renamed target x86_64-*-mingw64 to
553 * configure: Regenerated.
555 2007-01-05 Alan Modra <amodra@bigpond.net.au>
557 * readelf.c (dump_section): Don't print 32-bit values, which
558 were done incorrectly for little-endian. Instead print bytes.
560 For older changes see ChangeLog-2006
566 version-control: never