1 2007-05-29 Alan Modra <amodra@bigpond.net.au>
3 * embedspu.sh: Emit SPU ELF image to .data.rel.ro.speelf if
4 pic or pie and image needs relocs.
6 2007-05-24 Steve Ellcey <sje@cup.hp.com>
8 * Makefile.in: Regenerate.
9 * configure: Regenerate.
10 * aclocal.m4: Regenerate.
11 * doc/Makefile.in: Regenerate.
13 2007-05-24 Kai Tietz <Kai.Tietz@onevision.com>
15 * rcparse.y: Join strings for elements having no side-effects in
18 2007-05-23 Kai Tietz <Kai.Tietz@onevision.com>
20 * rclex.c: New file replacing rclex.l.
22 * windint.h: New file holding common structure and type
24 * Makefile.am: Added new header windint.h and exchanged rclex.l by
26 * Makefile.in: Regenerate.
27 * rcparse.y: Renamed some structures.
28 Use in internal representation always bfd_vma instead of long or
30 Removed from %union unused stringtable.
31 Added to %union suni structure for unicode strings.
32 Added new tokens for ANICURSOR, ANIICON, DLGINCLUDE,
33 DLGINIT, FONTDIR, HTML, MANIFEST, PLUGPLAY, VXD,
34 TOOLBAR, BUTTON, QUOTEDUNISTRING, and SIZEDUNISTRING.
35 Added support for these new rc file tokens.
36 * resbin.c: Rewrote using bfd and binary structures, and support
38 * rescoff.c: Likewise.
40 * resrc.c: Likewise. Dumps as RC are now recompilable.
41 * windres.c: As above. Using bfd for res and provide target
42 specific endianess support.
43 * windres.h: Use windint.h as include. Additionally removed K&R
45 * winduni.c: New printing and unichar support routines.
46 * winduni.h: Prototypes for new unichar helpers.
47 * windint.h: New file.
49 2007-05-22 Paul Brook <paul@codesourcery.com>
51 * objdump.c (find_symbol_for_address): Merge section and target
52 specific filtering code.
54 2007-05-22 Nick Clifton <nickc@redhat.com>
56 * doc/binutils.texi: Use @copying around the copyright notice.
58 2007-05-21 Richard Sandiford <richard@codesourcery.com>
60 * objdump.c (disassemble_bytes): Ignore disassembler_needs_relocs
61 for executables and shared libraries.
63 2007-05-18 Nathan Sidwell <nathan@codesourcery.com>
65 * objcopy.c (strip_main): Detect identical input and output file
67 (copy_main): Refactor tempname detection and use.
69 2007-05-17 Nick Clifton <nickc@redhat.com>
71 * objdump.c (load_debug_section): Select bias for DWARF debug
72 addresses based on the flavour of the bfd.
74 2007-05-11 Alan Modra <amodra@bigpond.net.au>
77 * objcopy.c (copy_object): Don't copy ELF program headers for
80 2007-05-11 Alan Modra <amodra@bigpond.net.au>
82 * embedspu.sh (find_prog): Prefer prog in same dir as embedspu
83 over one found on the users path.
84 (main): Generate .reloc for each R_SPU_PPU* reloc.
86 2007-04-28 Alan Modra <amodra@bigpond.net.au>
88 * prdbg.c (tg_variable): Adjust for changed demangler.
89 (tg_start_function): Likewise.
91 2007-04-27 Alan Modra <amodra@bigpond.net.au>
93 * bucumm.h: Split off host dependencies to..
95 Many files: Include sysdep.h. Remove duplicate headers and reorder.
96 * Makefile.am: Run "make dep-am".
97 * Makefile.in: Regenerate.
99 2007-04-24 Nick Clifton <nickc@redhat.com>
101 * srconv.c (walk_tree_type_1): Initialise dpt.dunno.
103 2007-04-24 Nathan Froyd <froydnj@codesourcery.com>
104 Phil Edwards <phil@codesourcery.com>
106 * objcopy.c (filter_symbols): Explicitly stripping a symbol
107 used in relocations is an error.
108 Retype 'keep' to bfd_boolean.
110 2007-04-24 Alan Modra <amodra@bigpond.net.au>
112 * Makefile.in: Regenerate.
113 * doc/Makefile.in: Regenerate.
115 2007-04-20 Nathan Froyd <froydnj@codesourcery.com>
116 Phil Edwards <phil@codesourcery.com>
117 Thomas de Lellis <tdel@windriver.com>
119 * objcopy.c (reverse_bytes): New variable.
120 (command_line_switch, copy_main): Add OPTION_REVERSE_ENDIAN.
121 (copy_options, copy_usage): Add "reverse-bytes" entry.
122 (copy_section): Reverse bytes within output sections.
123 * doc/binutils.texi: Document new objcopy option.
125 2007-04-20 Nick Clifton <nickc@redhat.com>
127 * rclex.l: Allow underscores at the start of identifiers.
129 2007-04-19 Alan Modra <amodra@bigpond.net.au>
131 * budemang.c: Delete.
132 * budemang.h: Delete.
133 * addr2line.c (translate_addresses): Call bfd_demangle rather than
135 * nm.c (print_symname): Likewise.
136 * objdump.c (objdump_print_symname, dump_symbols): Likewise.
137 (dump_bfd): Likewise.
138 * prdbg.c (struct pr_handle <demangler>): Add int param.
139 (tg_variable, tg_start_function): Adjust demangler calls.
140 * Makefile.am: Remove mention of budemang.[ch]. Run "make dep-am".
141 * Makefile.in: Regenerate.
142 * po/POTFILES.in: Regenerate.
144 2007-04-14 Steve Ellcey <sje@cup.hp.com>
146 * Makefile.am: Add ACLOCAL_AMFLAGS.
147 * configure.in: Change macro call order.
148 * Makefile.in: Regenerate.
149 * configure: Regenerate.
151 2007-04-13 Nathan Sidwell <nathan@codesourcery.com>
153 * Makefile.am (TOOL_PROGS): Add objcopy.
154 * Makefile.in: Rebuilt.
156 2007-04-12 H.J. Lu <hongjiu.lu@intel.com>
159 * objcopy.c (copy_object): Don't stop when there are no
160 sections to be copied.
162 2007-04-10 Vladimir Prus <vladimir@codesourcery.com>
164 * NEWS: Mention disjoint histograms support in
167 2007-04-09 Daniel Jacobowitz <dan@codesourcery.com>
169 * dwarf.c (process_debug_info): Do not require DW_AT_frame_base for
170 DW_TAG_inlined_subroutine.
172 2007-04-06 Matt Thomas <matt@netbsd.org>
174 * MAINTAINERS: Add myself as VAX and NetBSD support maintainer.
176 2007-04-05 Alan Modra <amodra@bigpond.net.au>
179 * nm.c (print_value): Cast bfd_vma to unsigned long to suit
182 2007-04-02 Nick Clifton <nickc@redhat.com>
185 * nm.c (value_format): Replace with value_format_32bit and
187 (set_radix): Update setting of value_format.
188 (set_print_width): New function. Compute the address size of a
189 given bfd and set the print_width global appropriately.
190 (display_archive): Use set_print_width.
191 (display_file): Likewise,
192 (print_object_filename_sysv): Update use of print_width.
193 (print_archive_member_sysv): Likewise.
194 (print_symbol_filename_posix): Likewise.
195 (print_sumbol_info_bfd, print_symbol_info_sysv): Likewise.
197 2007-03-28 Richard Sandiford <richard@codesourcery.com>
198 Phil Edwards <phil@codesourcery.com>
200 * doc/binutils.texi: Put the contents after the title page rather
201 than at the end of the document.
203 2007-03-28 Nick Clifton <nickc@redhat.com>
205 * readelf.c (slurp_rela_relocs): Add newline to end of error
207 (slurp_rel_relocs, request_dump, request_dump_byname,
208 process_program_headers, process_dynamic_section,
209 process_symbol_table, process_mips_specific, main): Likewise.
211 2007-03-28 Alan Modra <amodra@bigpond.net.au>
213 * MAINTAINERS: Update mailing list addresses. Add myself
216 2007-03-27 Alan Modra <amodra@bigpond.net.au>
218 * embedspu.sh: Correct toe_addr quoting.
220 2007-03-27 Alan Modra <amodra@bigpond.net.au>
222 * embedspu.sh: Combine "_EAR_" and "_EAR_*" patterns. Tighten
223 .toe section and .toe address checks. Use .reloc for _EAR*
224 symbols defined in non-BSS sections. Build table for _SPUEAR_
227 2007-03-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
230 * readelf.c (debug_apply_rela_addends): Do nothing for SH.
232 2007-03-22 Joseph Myers <joseph@codesourcery.com>
234 * doc/binutils.texi: Include VERSION_PACKAGE when reporting
237 2007-03-16 Kai Tietz <Kai.Tietz@onevision.com>
239 * dlltool.c (make_one_lib_file): Use pc-relative relocation
240 instead of an absolute relocation for x86_64-pc-mingw32 target.
242 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
244 * Makefile.am (REPORT_BUGS_TO): Removed.
245 (INCLUDES): Remove -DREPORT_BUGS_TO.
246 * Makefile.in: Regenerated.
248 * bucomm.c: Don't include bfdver.h.
249 * objdump.c: Likewise.
250 * version.c: Likewise.
252 * bucomm.h: Include bfdver.h.
254 * configure.in (--with-bugurl): Removed.
255 * configure: Regenerated.
257 * doc/Makefile.am (binutils_TEXINFOS): Removed.
258 (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
259 (TEXI2DVI): Likewise.
260 (config.texi): Removed.
261 (MOSTLYCLEANFILES): Remove config.texi.
262 * doc/Makefile.in: Regenerated.
264 * doc/binutils.texi: Include bfdver.texi instead of
267 2007-03-13 Nick Clifton <nickc@redhat.com>
269 * readelf.c (dump_section): Also test for SHT_REL sections when
270 producing the warning about unapplied relocs.
272 2007-03-07 Joseph Myers <joseph@codesourcery.com>
274 * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
276 * doc/Makefile.am (config.texi): Define BUGURL.
277 * doc/binutils.texi: Use BUGURL. Remove text about large files
279 * Makefile.in, configure, doc/Makefile.in: Regenerate.
281 2007-03-01 Phil Edwards <phil@codesourcery.com>
282 Richard Sandiford <richard@codesourcery.com>
284 * NEWS: Mention addition of --extract-symbol.
285 * doc/binutils.texi: Document it.
286 * objcopy.c (extract_symbol): New variable.
287 (OPTION_EXTRACT_SYMBOLS): New command_line_switch.
288 (copy_options): Add an entry for --extract-symbol.
289 (copy_usage): Mention --extract-symbol.
290 (copy_object): Set the start address to zero for --extract-symbol.
291 Do not copy private BFD data in that case.
292 (setup_section): Set the size, LMA and VMA to zero for
293 --extract-symbol. Do not copy private BFD data in that case.
294 (copy_section): Do not copy section contents if --extract-symbol
296 (copy_main): Set extract_symbol to TRUE if --extract-symbol
299 2007-03-01 Paul Brook <paul@codesourcery.com>
301 * MAINTAINERS: Update my entry.
303 2007-03-01 Joseph Myers <joseph@codesourcery.com>
305 * version.c: Update copyright date.
307 2007-03-01 Daniel Jacobowitz <dan@codesourcery.com>
309 * Makefile.am (install-exec-local): Depend on $(noinst_PROGRAMS).
310 Adjust $(EXEEXT) handling for $(RENAMED_PROGS).
311 * Makefile.in, doc/Makefile.in: Regenerate.
313 2007-03-01 Alan Modra <amodra@bigpond.net.au>
315 * embedspu.sh: Set type and size of global program handle symbol.
317 2007-02-28 Alan Modra <amodra@bigpond.net.au>
319 * Makefile.am (PROGS): Delete.
320 (RENAMED_PROGS): Define. Extracted from..
321 (noinst_PROGRAMS): ..here. Add BUILD_MISC.
322 (install-exec-local): Adjust.
323 * Makefile.in: Regenerate.
325 2007-02-28 Alan Modra <amodra@bigpond.net.au>
327 * Makefile.am (PROGS): Add BUILD_INSTALL_MISC.
328 (bin_PROGRAMS): Replace BUILD_MISC with BUILD_INSTALL_MISC.
329 (EXTRA_PROGRAMS): Remove bin2c.
330 (bin2c$(EXEEXT_FOR_BUILD)): New rule.
331 (bin2c_SOURCES): Delete.
332 (DISTCLEANFILES): Remove sysinfo.
333 (MOSTLYCLEANFILES): Add sysinfo$(EXEEXT_FOR_BUILD) and
334 bin2c$(EXEEXT_FOR_BUILD).
335 * configure.in (BUILD_MISC): Add $(EXEEXT_FOR_BUILD) to bin2c.
337 (BUILD_INSTALL_MISC): ..here.
338 * Makefile.in: Regenerate.
339 * configure: Regenerate.
341 2007-02-27 Alan Modra <amodra@bigpond.net.au>
344 * Makefile.am (EXTRA_PROGRAMS): Add bin2c.
345 (CFILES): Add bin2c.c.
346 (bin2c_SOURCES): Define.
347 (bin2c.o): Dependencies from "make dep-am".
348 * configure.in (BUILD_MISC): Add bin2c.
349 * version.c: Update year.
350 * po/POTFILES.in: Regenerate.
351 * Makefile.in: Regenerate.
352 * configure: Regenerate.
354 2007-02-17 Mark Mitchell <mark@codesourcery.com>
355 Nathan Sidwell <nathan@codesourcery.com>
356 Vladimir Prus <vladimir@codesourcery.com
357 Joseph Myers <joseph@codesourcery.com>
359 * configure.in (--with-bugurl): New option.
360 * configure: Regenerate.
361 * Makefile.am (REPORT_BUGS_TO): Define.
362 (INCLUDES): Define REPORT_BUGS_TO.
363 Regenerate dependencies.
364 * Makefile.in: Regenerate.
365 * doc/Makefile.in: Regenerate.
366 * bucomm.h: Remove include of bin-bugs.h.
367 * addr2line.c (usage): Don't print empty REPORT_BUGS_TO.
368 * ar.c (usage): Pass s to list_supported_targets. Don't print
369 empty REPORT_BUGS_TO.
370 * coffdump.c (show_usage): Don't print empty REPORT_BUGS_TO.
371 * cxxfilt.c (usage): Print bug url when giving help.
372 * dlltool.c (usage): Likewise.
373 * dllwrap.c (usage): Likewise.
374 * nlmconv.c (show_usage): Don't print empty REPORT_BUGS_TO.
375 * nm.c (usage): Likewise.
376 * objcopy.c (copy_usage, strip_usage): Likewise.
377 * objdump.c (usage): Likewise.
378 * readelf.c ((usage): Likewise. Add STREAM argument. Adjust
380 * size.c (usage): Don't print empty REPORT_BUGS_TO.
381 * srconv.c (show_usage): Likewise.
382 * strings.c (usage): Likewise.
383 * sysdymp.c (show_usage): Likewise.
384 * windres.c (usage): Likewise.
386 2007-02-13 Alan Modra <amodra@bigpond.net.au>
388 * embedspu.sh: Add -W to readelf invocation.
390 2007-02-06 Dave Brolley <brolley@redhat.com>
392 * MAINTAINERS: Add myself as the maintainer of the MeP port.
394 2007-02-06 Nick Clifton <nickc@redhat.com>
397 * readelf.c: Include elf/h8.h twice. The first time in order to
398 get the reloc numbers, the second time in order to get the reloc
400 (dump_section): Tell the user if the section being displayed has
401 unprocessed relocs associated with it.
402 (get_reloc_size): New function - returns the size of a reloc.
403 (debug_apply_rela_addends): Use get_reloc_size().
404 * dwarf.c (read_and_display_attr_value): Extend number of
405 languages known for the DW_AT_language attribute.
406 (process_debug_info): Display the attribute offset before decoding
407 the attribute, in case there are problems.
409 2007-02-05 Dave Brolley <brolley@redhat.com>
411 * readelf.c (dump_relocations): Don't check for
412 (rtype == NULL && type == R_RELC).
414 2007-02-05 Dave Brolley <brolley@redhat.com>
416 * Makefile.am (readelf.o): Depends on $(INCDIR)/elf/mep.h.
417 * Makefile.in: Regenerated.
418 * Contribute the following changes:
419 2003-10-29 Dave Brolley <brolley@redhat.com>
421 * configure.in: Define SKIP_ZEROES and SKIP_ZEROES_AT_END for mep.
422 * configure: Regenerated.
424 2001-04-03 Ben Elliston <bje@redhat.com>
426 * readelf.c: Include "elf/mep.h".
427 (guess_is_rela): Handle EM_CYGNUS_MEP.
428 (get_machine_name): Ditto.
429 (dump_relocations): Ditto.
431 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
433 * MAINTAINERS: Add a space between H.J. and Lu.
435 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
437 * doc/binutils.texi (objdump): Document the new addr64 option
438 for i386 disassembler.
440 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
443 * configure.in (DLLTOOL_DEFAULT): New. Defined for the first PE
445 (DLLTOOL_DEFS): Add $DLLTOOL_DEFAULT.
446 * configure: Regenerated.
448 * dlltool.c (mname): Defined with DLLTOOL_DEFAULT_XXX.
450 2007-02-02 Nick Clifton <nickc@redhat.com>
452 * doc/binutils.texi (objdump): Document support for disassembling
453 the 440 PowerPC architecture.
455 2007-01-31 Nathan Sidwell <nathan@codesourcery.com>
457 * dwarf.c (process_debug_info): Protect against bogus length and
460 2007-01-25 Kazu Hirata <kazu@codesourcery.com>
462 * ar.c (print_contents, extract_file): Cast the return value
465 2007-01-12 Alan Modra <amodra@bigpond.net.au>
467 * ar.c (open_inarch): Check fwrite return. Use size_t.
468 (extract_file): Likewise. Remove test for "negative" file size.
469 * readelf.c (process_program_headers): Check fscanf return.
471 2007-01-11 H.J. Lu <hongjiu.lu@intel.com>
473 * bucomm.c (template_in_dir): Fix typo.
475 2007-01-11 Alan Modra <amodra@bigpond.net.au>
477 * embedspu.sh: New file.
478 * Makefile.am (embedspu): Add rule.
479 * configure.in (BUILD_MISC): Add embedspu for powerpc-linux.
480 * Makefile.in: Regenerate.
481 * configure: Regenerate.
483 2007-01-11 Alan Modra <amodra@bigpond.net.au>
485 * bucomm.h (make_tempdir): Declare independently of HAVE_MKDTEMP.
486 * bucomm.c (template_in_dir): New function, split out from..
487 (make_tempname): ..here. Open the file with O_EXCL if !HAVE_MKSTEMP.
488 (make_tempdir): Use template_in_dir. Handle directory creation
490 * objcopy.c (MKDIR): Don't define.
491 (copy_archive): Use make_tempdir when !HAVE_MKDTEMP too. Fix
494 2007-01-08 Kazu Hirata <kazu@codesourcery.com>
496 * readelf.c (get_machine_flags): Treat Fido as an architecture
499 2007-01-08 Kai Tietz <kai.tietz@onevision.com>
501 * configure.in: Renamed target x86_64-*-mingw64 to
503 * configure: Regenerated.
505 2007-01-05 Alan Modra <amodra@bigpond.net.au>
507 * readelf.c (dump_section): Don't print 32-bit values, which
508 were done incorrectly for little-endian. Instead print bytes.
510 For older changes see ChangeLog-2006
516 version-control: never