1 2007-06-05 Alan Modra <amodra@bigpond.net.au>
3 * embedspu.sh: Handle R_SPU_PPU* relocs with no symbol.
5 2007-05-30 Alan Modra <amodra@bigpond.net.au>
7 * objcopy.c (copy_object): Revert 2007-05-11 change. Don't
8 avoid calling bfd_copy_private_bfd_data for ELF STRIP_NONDEBUG.
9 (setup_section): Don't modify flags, and don't avoid calling
10 bfd_copy_private_section_data for ELF STRIP_NONDEBUG.
11 * readelf.c (process_program_headers): Ignore .dynamic of type
14 2007-05-29 Alan Modra <amodra@bigpond.net.au>
16 * embedspu.sh: Emit SPU ELF image to .data.rel.ro.speelf if
17 pic or pie and image needs relocs.
19 2007-05-24 Steve Ellcey <sje@cup.hp.com>
21 * Makefile.in: Regenerate.
22 * configure: Regenerate.
23 * aclocal.m4: Regenerate.
24 * doc/Makefile.in: Regenerate.
26 2007-05-24 Kai Tietz <Kai.Tietz@onevision.com>
28 * rcparse.y: Join strings for elements having no side-effects in
31 2007-05-23 Kai Tietz <Kai.Tietz@onevision.com>
33 * rclex.c: New file replacing rclex.l.
35 * windint.h: New file holding common structure and type
37 * Makefile.am: Added new header windint.h and exchanged rclex.l by
39 * Makefile.in: Regenerate.
40 * rcparse.y: Renamed some structures.
41 Use in internal representation always bfd_vma instead of long or
43 Removed from %union unused stringtable.
44 Added to %union suni structure for unicode strings.
45 Added new tokens for ANICURSOR, ANIICON, DLGINCLUDE,
46 DLGINIT, FONTDIR, HTML, MANIFEST, PLUGPLAY, VXD,
47 TOOLBAR, BUTTON, QUOTEDUNISTRING, and SIZEDUNISTRING.
48 Added support for these new rc file tokens.
49 * resbin.c: Rewrote using bfd and binary structures, and support
51 * rescoff.c: Likewise.
53 * resrc.c: Likewise. Dumps as RC are now recompilable.
54 * windres.c: As above. Using bfd for res and provide target
55 specific endianess support.
56 * windres.h: Use windint.h as include. Additionally removed K&R
58 * winduni.c: New printing and unichar support routines.
59 * winduni.h: Prototypes for new unichar helpers.
60 * windint.h: New file.
62 2007-05-22 Paul Brook <paul@codesourcery.com>
64 * objdump.c (find_symbol_for_address): Merge section and target
65 specific filtering code.
67 2007-05-22 Nick Clifton <nickc@redhat.com>
69 * doc/binutils.texi: Use @copying around the copyright notice.
71 2007-05-21 Richard Sandiford <richard@codesourcery.com>
73 * objdump.c (disassemble_bytes): Ignore disassembler_needs_relocs
74 for executables and shared libraries.
76 2007-05-18 Nathan Sidwell <nathan@codesourcery.com>
78 * objcopy.c (strip_main): Detect identical input and output file
80 (copy_main): Refactor tempname detection and use.
82 2007-05-17 Nick Clifton <nickc@redhat.com>
84 * objdump.c (load_debug_section): Select bias for DWARF debug
85 addresses based on the flavour of the bfd.
87 2007-05-11 Alan Modra <amodra@bigpond.net.au>
90 * objcopy.c (copy_object): Don't copy ELF program headers for
93 2007-05-11 Alan Modra <amodra@bigpond.net.au>
95 * embedspu.sh (find_prog): Prefer prog in same dir as embedspu
96 over one found on the users path.
97 (main): Generate .reloc for each R_SPU_PPU* reloc.
99 2007-04-28 Alan Modra <amodra@bigpond.net.au>
101 * prdbg.c (tg_variable): Adjust for changed demangler.
102 (tg_start_function): Likewise.
104 2007-04-27 Alan Modra <amodra@bigpond.net.au>
106 * bucumm.h: Split off host dependencies to..
108 Many files: Include sysdep.h. Remove duplicate headers and reorder.
109 * Makefile.am: Run "make dep-am".
110 * Makefile.in: Regenerate.
112 2007-04-24 Nick Clifton <nickc@redhat.com>
114 * srconv.c (walk_tree_type_1): Initialise dpt.dunno.
116 2007-04-24 Nathan Froyd <froydnj@codesourcery.com>
117 Phil Edwards <phil@codesourcery.com>
119 * objcopy.c (filter_symbols): Explicitly stripping a symbol
120 used in relocations is an error.
121 Retype 'keep' to bfd_boolean.
123 2007-04-24 Alan Modra <amodra@bigpond.net.au>
125 * Makefile.in: Regenerate.
126 * doc/Makefile.in: Regenerate.
128 2007-04-20 Nathan Froyd <froydnj@codesourcery.com>
129 Phil Edwards <phil@codesourcery.com>
130 Thomas de Lellis <tdel@windriver.com>
132 * objcopy.c (reverse_bytes): New variable.
133 (command_line_switch, copy_main): Add OPTION_REVERSE_ENDIAN.
134 (copy_options, copy_usage): Add "reverse-bytes" entry.
135 (copy_section): Reverse bytes within output sections.
136 * doc/binutils.texi: Document new objcopy option.
138 2007-04-20 Nick Clifton <nickc@redhat.com>
140 * rclex.l: Allow underscores at the start of identifiers.
142 2007-04-19 Alan Modra <amodra@bigpond.net.au>
144 * budemang.c: Delete.
145 * budemang.h: Delete.
146 * addr2line.c (translate_addresses): Call bfd_demangle rather than
148 * nm.c (print_symname): Likewise.
149 * objdump.c (objdump_print_symname, dump_symbols): Likewise.
150 (dump_bfd): Likewise.
151 * prdbg.c (struct pr_handle <demangler>): Add int param.
152 (tg_variable, tg_start_function): Adjust demangler calls.
153 * Makefile.am: Remove mention of budemang.[ch]. Run "make dep-am".
154 * Makefile.in: Regenerate.
155 * po/POTFILES.in: Regenerate.
157 2007-04-14 Steve Ellcey <sje@cup.hp.com>
159 * Makefile.am: Add ACLOCAL_AMFLAGS.
160 * configure.in: Change macro call order.
161 * Makefile.in: Regenerate.
162 * configure: Regenerate.
164 2007-04-13 Nathan Sidwell <nathan@codesourcery.com>
166 * Makefile.am (TOOL_PROGS): Add objcopy.
167 * Makefile.in: Rebuilt.
169 2007-04-12 H.J. Lu <hongjiu.lu@intel.com>
172 * objcopy.c (copy_object): Don't stop when there are no
173 sections to be copied.
175 2007-04-10 Vladimir Prus <vladimir@codesourcery.com>
177 * NEWS: Mention disjoint histograms support in
180 2007-04-09 Daniel Jacobowitz <dan@codesourcery.com>
182 * dwarf.c (process_debug_info): Do not require DW_AT_frame_base for
183 DW_TAG_inlined_subroutine.
185 2007-04-06 Matt Thomas <matt@netbsd.org>
187 * MAINTAINERS: Add myself as VAX and NetBSD support maintainer.
189 2007-04-05 Alan Modra <amodra@bigpond.net.au>
192 * nm.c (print_value): Cast bfd_vma to unsigned long to suit
195 2007-04-02 Nick Clifton <nickc@redhat.com>
198 * nm.c (value_format): Replace with value_format_32bit and
200 (set_radix): Update setting of value_format.
201 (set_print_width): New function. Compute the address size of a
202 given bfd and set the print_width global appropriately.
203 (display_archive): Use set_print_width.
204 (display_file): Likewise,
205 (print_object_filename_sysv): Update use of print_width.
206 (print_archive_member_sysv): Likewise.
207 (print_symbol_filename_posix): Likewise.
208 (print_sumbol_info_bfd, print_symbol_info_sysv): Likewise.
210 2007-03-28 Richard Sandiford <richard@codesourcery.com>
211 Phil Edwards <phil@codesourcery.com>
213 * doc/binutils.texi: Put the contents after the title page rather
214 than at the end of the document.
216 2007-03-28 Nick Clifton <nickc@redhat.com>
218 * readelf.c (slurp_rela_relocs): Add newline to end of error
220 (slurp_rel_relocs, request_dump, request_dump_byname,
221 process_program_headers, process_dynamic_section,
222 process_symbol_table, process_mips_specific, main): Likewise.
224 2007-03-28 Alan Modra <amodra@bigpond.net.au>
226 * MAINTAINERS: Update mailing list addresses. Add myself
229 2007-03-27 Alan Modra <amodra@bigpond.net.au>
231 * embedspu.sh: Correct toe_addr quoting.
233 2007-03-27 Alan Modra <amodra@bigpond.net.au>
235 * embedspu.sh: Combine "_EAR_" and "_EAR_*" patterns. Tighten
236 .toe section and .toe address checks. Use .reloc for _EAR*
237 symbols defined in non-BSS sections. Build table for _SPUEAR_
240 2007-03-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
243 * readelf.c (debug_apply_rela_addends): Do nothing for SH.
245 2007-03-22 Joseph Myers <joseph@codesourcery.com>
247 * doc/binutils.texi: Include VERSION_PACKAGE when reporting
250 2007-03-16 Kai Tietz <Kai.Tietz@onevision.com>
252 * dlltool.c (make_one_lib_file): Use pc-relative relocation
253 instead of an absolute relocation for x86_64-pc-mingw32 target.
255 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
257 * Makefile.am (REPORT_BUGS_TO): Removed.
258 (INCLUDES): Remove -DREPORT_BUGS_TO.
259 * Makefile.in: Regenerated.
261 * bucomm.c: Don't include bfdver.h.
262 * objdump.c: Likewise.
263 * version.c: Likewise.
265 * bucomm.h: Include bfdver.h.
267 * configure.in (--with-bugurl): Removed.
268 * configure: Regenerated.
270 * doc/Makefile.am (binutils_TEXINFOS): Removed.
271 (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
272 (TEXI2DVI): Likewise.
273 (config.texi): Removed.
274 (MOSTLYCLEANFILES): Remove config.texi.
275 * doc/Makefile.in: Regenerated.
277 * doc/binutils.texi: Include bfdver.texi instead of
280 2007-03-13 Nick Clifton <nickc@redhat.com>
282 * readelf.c (dump_section): Also test for SHT_REL sections when
283 producing the warning about unapplied relocs.
285 2007-03-07 Joseph Myers <joseph@codesourcery.com>
287 * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
289 * doc/Makefile.am (config.texi): Define BUGURL.
290 * doc/binutils.texi: Use BUGURL. Remove text about large files
292 * Makefile.in, configure, doc/Makefile.in: Regenerate.
294 2007-03-01 Phil Edwards <phil@codesourcery.com>
295 Richard Sandiford <richard@codesourcery.com>
297 * NEWS: Mention addition of --extract-symbol.
298 * doc/binutils.texi: Document it.
299 * objcopy.c (extract_symbol): New variable.
300 (OPTION_EXTRACT_SYMBOLS): New command_line_switch.
301 (copy_options): Add an entry for --extract-symbol.
302 (copy_usage): Mention --extract-symbol.
303 (copy_object): Set the start address to zero for --extract-symbol.
304 Do not copy private BFD data in that case.
305 (setup_section): Set the size, LMA and VMA to zero for
306 --extract-symbol. Do not copy private BFD data in that case.
307 (copy_section): Do not copy section contents if --extract-symbol
309 (copy_main): Set extract_symbol to TRUE if --extract-symbol
312 2007-03-01 Paul Brook <paul@codesourcery.com>
314 * MAINTAINERS: Update my entry.
316 2007-03-01 Joseph Myers <joseph@codesourcery.com>
318 * version.c: Update copyright date.
320 2007-03-01 Daniel Jacobowitz <dan@codesourcery.com>
322 * Makefile.am (install-exec-local): Depend on $(noinst_PROGRAMS).
323 Adjust $(EXEEXT) handling for $(RENAMED_PROGS).
324 * Makefile.in, doc/Makefile.in: Regenerate.
326 2007-03-01 Alan Modra <amodra@bigpond.net.au>
328 * embedspu.sh: Set type and size of global program handle symbol.
330 2007-02-28 Alan Modra <amodra@bigpond.net.au>
332 * Makefile.am (PROGS): Delete.
333 (RENAMED_PROGS): Define. Extracted from..
334 (noinst_PROGRAMS): ..here. Add BUILD_MISC.
335 (install-exec-local): Adjust.
336 * Makefile.in: Regenerate.
338 2007-02-28 Alan Modra <amodra@bigpond.net.au>
340 * Makefile.am (PROGS): Add BUILD_INSTALL_MISC.
341 (bin_PROGRAMS): Replace BUILD_MISC with BUILD_INSTALL_MISC.
342 (EXTRA_PROGRAMS): Remove bin2c.
343 (bin2c$(EXEEXT_FOR_BUILD)): New rule.
344 (bin2c_SOURCES): Delete.
345 (DISTCLEANFILES): Remove sysinfo.
346 (MOSTLYCLEANFILES): Add sysinfo$(EXEEXT_FOR_BUILD) and
347 bin2c$(EXEEXT_FOR_BUILD).
348 * configure.in (BUILD_MISC): Add $(EXEEXT_FOR_BUILD) to bin2c.
350 (BUILD_INSTALL_MISC): ..here.
351 * Makefile.in: Regenerate.
352 * configure: Regenerate.
354 2007-02-27 Alan Modra <amodra@bigpond.net.au>
357 * Makefile.am (EXTRA_PROGRAMS): Add bin2c.
358 (CFILES): Add bin2c.c.
359 (bin2c_SOURCES): Define.
360 (bin2c.o): Dependencies from "make dep-am".
361 * configure.in (BUILD_MISC): Add bin2c.
362 * version.c: Update year.
363 * po/POTFILES.in: Regenerate.
364 * Makefile.in: Regenerate.
365 * configure: Regenerate.
367 2007-02-17 Mark Mitchell <mark@codesourcery.com>
368 Nathan Sidwell <nathan@codesourcery.com>
369 Vladimir Prus <vladimir@codesourcery.com
370 Joseph Myers <joseph@codesourcery.com>
372 * configure.in (--with-bugurl): New option.
373 * configure: Regenerate.
374 * Makefile.am (REPORT_BUGS_TO): Define.
375 (INCLUDES): Define REPORT_BUGS_TO.
376 Regenerate dependencies.
377 * Makefile.in: Regenerate.
378 * doc/Makefile.in: Regenerate.
379 * bucomm.h: Remove include of bin-bugs.h.
380 * addr2line.c (usage): Don't print empty REPORT_BUGS_TO.
381 * ar.c (usage): Pass s to list_supported_targets. Don't print
382 empty REPORT_BUGS_TO.
383 * coffdump.c (show_usage): Don't print empty REPORT_BUGS_TO.
384 * cxxfilt.c (usage): Print bug url when giving help.
385 * dlltool.c (usage): Likewise.
386 * dllwrap.c (usage): Likewise.
387 * nlmconv.c (show_usage): Don't print empty REPORT_BUGS_TO.
388 * nm.c (usage): Likewise.
389 * objcopy.c (copy_usage, strip_usage): Likewise.
390 * objdump.c (usage): Likewise.
391 * readelf.c ((usage): Likewise. Add STREAM argument. Adjust
393 * size.c (usage): Don't print empty REPORT_BUGS_TO.
394 * srconv.c (show_usage): Likewise.
395 * strings.c (usage): Likewise.
396 * sysdymp.c (show_usage): Likewise.
397 * windres.c (usage): Likewise.
399 2007-02-13 Alan Modra <amodra@bigpond.net.au>
401 * embedspu.sh: Add -W to readelf invocation.
403 2007-02-06 Dave Brolley <brolley@redhat.com>
405 * MAINTAINERS: Add myself as the maintainer of the MeP port.
407 2007-02-06 Nick Clifton <nickc@redhat.com>
410 * readelf.c: Include elf/h8.h twice. The first time in order to
411 get the reloc numbers, the second time in order to get the reloc
413 (dump_section): Tell the user if the section being displayed has
414 unprocessed relocs associated with it.
415 (get_reloc_size): New function - returns the size of a reloc.
416 (debug_apply_rela_addends): Use get_reloc_size().
417 * dwarf.c (read_and_display_attr_value): Extend number of
418 languages known for the DW_AT_language attribute.
419 (process_debug_info): Display the attribute offset before decoding
420 the attribute, in case there are problems.
422 2007-02-05 Dave Brolley <brolley@redhat.com>
424 * readelf.c (dump_relocations): Don't check for
425 (rtype == NULL && type == R_RELC).
427 2007-02-05 Dave Brolley <brolley@redhat.com>
429 * Makefile.am (readelf.o): Depends on $(INCDIR)/elf/mep.h.
430 * Makefile.in: Regenerated.
431 * Contribute the following changes:
432 2003-10-29 Dave Brolley <brolley@redhat.com>
434 * configure.in: Define SKIP_ZEROES and SKIP_ZEROES_AT_END for mep.
435 * configure: Regenerated.
437 2001-04-03 Ben Elliston <bje@redhat.com>
439 * readelf.c: Include "elf/mep.h".
440 (guess_is_rela): Handle EM_CYGNUS_MEP.
441 (get_machine_name): Ditto.
442 (dump_relocations): Ditto.
444 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
446 * MAINTAINERS: Add a space between H.J. and Lu.
448 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
450 * doc/binutils.texi (objdump): Document the new addr64 option
451 for i386 disassembler.
453 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
456 * configure.in (DLLTOOL_DEFAULT): New. Defined for the first PE
458 (DLLTOOL_DEFS): Add $DLLTOOL_DEFAULT.
459 * configure: Regenerated.
461 * dlltool.c (mname): Defined with DLLTOOL_DEFAULT_XXX.
463 2007-02-02 Nick Clifton <nickc@redhat.com>
465 * doc/binutils.texi (objdump): Document support for disassembling
466 the 440 PowerPC architecture.
468 2007-01-31 Nathan Sidwell <nathan@codesourcery.com>
470 * dwarf.c (process_debug_info): Protect against bogus length and
473 2007-01-25 Kazu Hirata <kazu@codesourcery.com>
475 * ar.c (print_contents, extract_file): Cast the return value
478 2007-01-12 Alan Modra <amodra@bigpond.net.au>
480 * ar.c (open_inarch): Check fwrite return. Use size_t.
481 (extract_file): Likewise. Remove test for "negative" file size.
482 * readelf.c (process_program_headers): Check fscanf return.
484 2007-01-11 H.J. Lu <hongjiu.lu@intel.com>
486 * bucomm.c (template_in_dir): Fix typo.
488 2007-01-11 Alan Modra <amodra@bigpond.net.au>
490 * embedspu.sh: New file.
491 * Makefile.am (embedspu): Add rule.
492 * configure.in (BUILD_MISC): Add embedspu for powerpc-linux.
493 * Makefile.in: Regenerate.
494 * configure: Regenerate.
496 2007-01-11 Alan Modra <amodra@bigpond.net.au>
498 * bucomm.h (make_tempdir): Declare independently of HAVE_MKDTEMP.
499 * bucomm.c (template_in_dir): New function, split out from..
500 (make_tempname): ..here. Open the file with O_EXCL if !HAVE_MKSTEMP.
501 (make_tempdir): Use template_in_dir. Handle directory creation
503 * objcopy.c (MKDIR): Don't define.
504 (copy_archive): Use make_tempdir when !HAVE_MKDTEMP too. Fix
507 2007-01-08 Kazu Hirata <kazu@codesourcery.com>
509 * readelf.c (get_machine_flags): Treat Fido as an architecture
512 2007-01-08 Kai Tietz <kai.tietz@onevision.com>
514 * configure.in: Renamed target x86_64-*-mingw64 to
516 * configure: Regenerated.
518 2007-01-05 Alan Modra <amodra@bigpond.net.au>
520 * readelf.c (dump_section): Don't print 32-bit values, which
521 were done incorrectly for little-endian. Instead print bytes.
523 For older changes see ChangeLog-2006
529 version-control: never