* doc/c-xtensa.texi (Xtensa Automatic Alignment): Remove statements
[binutils.git] / binutils / ChangeLog
blob9724584770f6cac1aadc9733bf3254ba67352019
1 2007-05-22  Paul Brook  <paul@codesourcery.com>
3         * objdump.c (find_symbol_for_address): Merge section and target
4         specific filtering code.
6 2007-05-22  Nick Clifton  <nickc@redhat.com>
8         * doc/binutils.texi: Use @copying around the copyright notice.
10 2007-05-21  Richard Sandiford  <richard@codesourcery.com>
12         * objdump.c (disassemble_bytes): Ignore disassembler_needs_relocs
13         for executables and shared libraries.
15 2007-05-18  Nathan Sidwell  <nathan@codesourcery.com>
17         * objcopy.c (strip_main): Detect identical input and output file
18         names.
19         (copy_main): Refactor tempname detection and use.
21 2007-05-17  Nick Clifton  <nickc@redhat.com>
23         * objdump.c (load_debug_section): Select bias for DWARF debug
24         addresses based on the flavour of the bfd.
26 2007-05-11  Alan Modra  <amodra@bigpond.net.au>
28         PR 4479
29         * objcopy.c (copy_object): Don't copy ELF program headers for
30         --only-keep-debug.
32 2007-05-11  Alan Modra  <amodra@bigpond.net.au>
34         * embedspu.sh (find_prog): Prefer prog in same dir as embedspu
35         over one found on the users path.
36         (main): Generate .reloc for each R_SPU_PPU* reloc.
38 2007-04-28  Alan Modra  <amodra@bigpond.net.au>
40         * prdbg.c (tg_variable): Adjust for changed demangler.
41         (tg_start_function): Likewise.
43 2007-04-27  Alan Modra  <amodra@bigpond.net.au>
45         * bucumm.h: Split off host dependencies to..
46         * sysdep.h: ..here.
47         Many files: Include sysdep.h.  Remove duplicate headers and reorder.
48         * Makefile.am: Run "make dep-am".
49         * Makefile.in: Regenerate.
51 2007-04-24  Nick Clifton  <nickc@redhat.com>
53         * srconv.c (walk_tree_type_1): Initialise dpt.dunno.
55 2007-04-24  Nathan Froyd  <froydnj@codesourcery.com>
56             Phil Edwards  <phil@codesourcery.com>
58         * objcopy.c (filter_symbols): Explicitly stripping a symbol
59         used in relocations is an error.
60         Retype 'keep' to bfd_boolean.
62 2007-04-24  Alan Modra  <amodra@bigpond.net.au>
64         * Makefile.in: Regenerate.
65         * doc/Makefile.in: Regenerate.
67 2007-04-20  Nathan Froyd  <froydnj@codesourcery.com>
68             Phil Edwards  <phil@codesourcery.com>
69             Thomas de Lellis <tdel@windriver.com>
71         * objcopy.c (reverse_bytes):  New variable.
72         (command_line_switch, copy_main):  Add OPTION_REVERSE_ENDIAN.
73         (copy_options, copy_usage):  Add "reverse-bytes" entry.
74         (copy_section):  Reverse bytes within output sections.
75         * doc/binutils.texi:  Document new objcopy option.
77 2007-04-20  Nick Clifton  <nickc@redhat.com>
79         * rclex.l: Allow underscores at the start of identifiers.
81 2007-04-19  Alan Modra  <amodra@bigpond.net.au>
83         * budemang.c: Delete.
84         * budemang.h: Delete.
85         * addr2line.c (translate_addresses): Call bfd_demangle rather than
86         demangle.
87         * nm.c (print_symname): Likewise.
88         * objdump.c (objdump_print_symname, dump_symbols): Likewise.
89         (dump_bfd): Likewise.
90         * prdbg.c (struct pr_handle <demangler>): Add int param.
91         (tg_variable, tg_start_function): Adjust demangler calls.
92         * Makefile.am: Remove mention of budemang.[ch].  Run "make dep-am".
93         * Makefile.in: Regenerate.
94         * po/POTFILES.in: Regenerate.
96 2007-04-14  Steve Ellcey  <sje@cup.hp.com>
98         * Makefile.am: Add ACLOCAL_AMFLAGS.
99         * configure.in: Change macro call order.
100         * Makefile.in: Regenerate.
101         * configure: Regenerate.
103 2007-04-13  Nathan Sidwell  <nathan@codesourcery.com>
105         * Makefile.am (TOOL_PROGS): Add objcopy.
106         * Makefile.in: Rebuilt.
108 2007-04-12  H.J. Lu  <hongjiu.lu@intel.com>
110         PR binutils/4348
111         * objcopy.c (copy_object): Don't stop when there are no
112         sections to be copied.
114 2007-04-10  Vladimir Prus  <vladimir@codesourcery.com>
116         * NEWS: Mention disjoint histograms support in
117         gprof.
119 2007-04-09  Daniel Jacobowitz  <dan@codesourcery.com>
121         * dwarf.c (process_debug_info): Do not require DW_AT_frame_base for
122         DW_TAG_inlined_subroutine.
124 2007-04-06  Matt Thomas  <matt@netbsd.org>
126         * MAINTAINERS: Add myself as VAX and NetBSD support maintainer.
128 2007-04-05  Alan Modra  <amodra@bigpond.net.au>
130         PR binutils/4292
131         * nm.c (print_value): Cast bfd_vma to unsigned long to suit
132         value_format_32bit.
134 2007-04-02  Nick Clifton  <nickc@redhat.com>
136         PR binutils/4292
137         * nm.c (value_format): Replace with value_format_32bit and
138         value_format_64bit.
139         (set_radix): Update setting of value_format.
140         (set_print_width): New function.  Compute the address size of a
141         given bfd and set the print_width global appropriately.
142         (display_archive): Use set_print_width.
143         (display_file): Likewise,
144         (print_object_filename_sysv): Update use of print_width.
145         (print_archive_member_sysv): Likewise.
146         (print_symbol_filename_posix): Likewise.
147         (print_sumbol_info_bfd, print_symbol_info_sysv): Likewise.
149 2007-03-28  Richard Sandiford  <richard@codesourcery.com>
150             Phil Edwards  <phil@codesourcery.com>
152         * doc/binutils.texi: Put the contents after the title page rather
153         than at the end of the document.
155 2007-03-28  Nick Clifton  <nickc@redhat.com>
157         * readelf.c (slurp_rela_relocs): Add newline to end of error
158         messages.
159         (slurp_rel_relocs, request_dump, request_dump_byname,
160         process_program_headers, process_dynamic_section,
161         process_symbol_table, process_mips_specific, main): Likewise.
163 2007-03-28  Alan Modra  <amodra@bigpond.net.au>
165         * MAINTAINERS: Update mailing list addresses.  Add myself
166         as PPC maintainer.
168 2007-03-27  Alan Modra  <amodra@bigpond.net.au>
170         * embedspu.sh: Correct toe_addr quoting.
172 2007-03-27  Alan Modra  <amodra@bigpond.net.au>
174         * embedspu.sh: Combine "_EAR_" and "_EAR_*" patterns.  Tighten
175         .toe section and .toe address checks.  Use .reloc for _EAR*
176         symbols defined in non-BSS sections.  Build table for _SPUEAR_
177         symbols.
179 2007-03-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
181         PR gas/3811
182         * readelf.c (debug_apply_rela_addends): Do nothing for SH.
184 2007-03-22  Joseph Myers  <joseph@codesourcery.com>
186         * doc/binutils.texi: Include VERSION_PACKAGE when reporting
187         version.
189 2007-03-16  Kai Tietz  <Kai.Tietz@onevision.com>
191         * dlltool.c (make_one_lib_file): Use pc-relative relocation
192         instead of an absolute relocation for x86_64-pc-mingw32 target.
194 2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>
196         * Makefile.am (REPORT_BUGS_TO): Removed.
197         (INCLUDES): Remove -DREPORT_BUGS_TO.
198         * Makefile.in: Regenerated.
200         * bucomm.c: Don't include bfdver.h.
201         * objdump.c: Likewise.
202         * version.c: Likewise.
204         * bucomm.h: Include bfdver.h.
206         * configure.in (--with-bugurl): Removed.
207         * configure: Regenerated.
209         * doc/Makefile.am (binutils_TEXINFOS): Removed.
210         (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
211         (TEXI2DVI): Likewise.
212         (config.texi): Removed.
213         (MOSTLYCLEANFILES): Remove config.texi.
214         * doc/Makefile.in: Regenerated.
216         * doc/binutils.texi: Include bfdver.texi instead of
217         config.texi.
219 2007-03-13  Nick Clifton  <nickc@redhat.com>
221         * readelf.c (dump_section): Also test for SHT_REL sections when
222         producing the warning about unapplied relocs.
224 2007-03-07  Joseph Myers  <joseph@codesourcery.com>
226         * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
227         bug-reporting URL.
228         * doc/Makefile.am (config.texi): Define BUGURL.
229         * doc/binutils.texi: Use BUGURL.  Remove text about large files
230         and uuencoding.
231         * Makefile.in, configure, doc/Makefile.in: Regenerate.
233 2007-03-01  Phil Edwards  <phil@codesourcery.com>
234             Richard Sandiford  <richard@codesourcery.com>
236         * NEWS: Mention addition of --extract-symbol.
237         * doc/binutils.texi: Document it.
238         * objcopy.c (extract_symbol): New variable.
239         (OPTION_EXTRACT_SYMBOLS): New command_line_switch.
240         (copy_options): Add an entry for --extract-symbol.
241         (copy_usage): Mention --extract-symbol.
242         (copy_object): Set the start address to zero for --extract-symbol.
243         Do not copy private BFD data in that case.
244         (setup_section): Set the size, LMA and VMA to zero for
245         --extract-symbol.  Do not copy private BFD data in that case.
246         (copy_section): Do not copy section contents if --extract-symbol
247         is passed.
248         (copy_main): Set extract_symbol to TRUE if --extract-symbol
249         is passed.
251 2007-03-01  Paul Brook  <paul@codesourcery.com>
253         * MAINTAINERS: Update my entry.
255 2007-03-01  Joseph Myers  <joseph@codesourcery.com>
257         * version.c: Update copyright date.
259 2007-03-01  Daniel Jacobowitz  <dan@codesourcery.com>
261         * Makefile.am (install-exec-local): Depend on $(noinst_PROGRAMS).
262         Adjust $(EXEEXT) handling for $(RENAMED_PROGS).
263         * Makefile.in, doc/Makefile.in: Regenerate.
265 2007-03-01  Alan Modra  <amodra@bigpond.net.au>
267         * embedspu.sh: Set type and size of global program handle symbol.
269 2007-02-28  Alan Modra  <amodra@bigpond.net.au>
271         * Makefile.am (PROGS): Delete.
272         (RENAMED_PROGS): Define.  Extracted from..
273         (noinst_PROGRAMS): ..here.  Add BUILD_MISC.
274         (install-exec-local): Adjust.
275         * Makefile.in: Regenerate.
277 2007-02-28  Alan Modra  <amodra@bigpond.net.au>
279         * Makefile.am (PROGS): Add BUILD_INSTALL_MISC.
280         (bin_PROGRAMS): Replace BUILD_MISC with BUILD_INSTALL_MISC.
281         (EXTRA_PROGRAMS): Remove bin2c.
282         (bin2c$(EXEEXT_FOR_BUILD)): New rule.
283         (bin2c_SOURCES): Delete.
284         (DISTCLEANFILES): Remove sysinfo.
285         (MOSTLYCLEANFILES): Add sysinfo$(EXEEXT_FOR_BUILD) and
286         bin2c$(EXEEXT_FOR_BUILD).
287         * configure.in (BUILD_MISC): Add $(EXEEXT_FOR_BUILD) to bin2c.
288         Move embedspu to..
289         (BUILD_INSTALL_MISC): ..here.
290         * Makefile.in: Regenerate.
291         * configure: Regenerate.
293 2007-02-27  Alan Modra  <amodra@bigpond.net.au>
295         * bin2c.c: New file.
296         * Makefile.am (EXTRA_PROGRAMS): Add bin2c.
297         (CFILES): Add bin2c.c.
298         (bin2c_SOURCES): Define.
299         (bin2c.o): Dependencies from "make dep-am".
300         * configure.in (BUILD_MISC): Add bin2c.
301         * version.c: Update year.
302         * po/POTFILES.in: Regenerate.
303         * Makefile.in: Regenerate.
304         * configure: Regenerate.
306 2007-02-17  Mark Mitchell  <mark@codesourcery.com>
307             Nathan Sidwell  <nathan@codesourcery.com>
308             Vladimir Prus  <vladimir@codesourcery.com
309             Joseph Myers  <joseph@codesourcery.com>
311         * configure.in (--with-bugurl): New option.
312         * configure: Regenerate.
313         * Makefile.am (REPORT_BUGS_TO): Define.
314         (INCLUDES): Define REPORT_BUGS_TO.
315         Regenerate dependencies.
316         * Makefile.in: Regenerate.
317         * doc/Makefile.in: Regenerate.
318         * bucomm.h: Remove include of bin-bugs.h.
319         * addr2line.c (usage): Don't print empty REPORT_BUGS_TO.
320         * ar.c (usage): Pass s to list_supported_targets.  Don't print
321         empty REPORT_BUGS_TO.
322         * coffdump.c (show_usage): Don't print empty REPORT_BUGS_TO.
323         * cxxfilt.c (usage): Print bug url when giving help.
324         * dlltool.c (usage): Likewise.
325         * dllwrap.c (usage): Likewise.
326         * nlmconv.c (show_usage): Don't print empty REPORT_BUGS_TO.
327         * nm.c (usage): Likewise.
328         * objcopy.c (copy_usage, strip_usage): Likewise.
329         * objdump.c (usage): Likewise.
330         * readelf.c ((usage): Likewise. Add STREAM argument.  Adjust
331         callers.
332         * size.c (usage): Don't print empty REPORT_BUGS_TO.
333         * srconv.c (show_usage): Likewise.
334         * strings.c (usage): Likewise.
335         * sysdymp.c (show_usage): Likewise.
336         * windres.c (usage): Likewise.
338 2007-02-13  Alan Modra  <amodra@bigpond.net.au>
340         * embedspu.sh: Add -W to readelf invocation.
342 2007-02-06  Dave Brolley  <brolley@redhat.com>
344         * MAINTAINERS: Add myself as the maintainer of the MeP port.
346 2007-02-06  Nick Clifton  <nickc@redhat.com>
348         PR gas/3800
349         * readelf.c: Include elf/h8.h twice.  The first time in order to
350         get the reloc numbers, the second time in order to get the reloc
351         decoder function.
352         (dump_section): Tell the user if the section being displayed has
353         unprocessed relocs associated with it.
354         (get_reloc_size): New function - returns the size of a reloc.
355         (debug_apply_rela_addends): Use get_reloc_size().
356         * dwarf.c (read_and_display_attr_value): Extend number of
357         languages known for the DW_AT_language attribute.
358         (process_debug_info): Display the attribute offset before decoding
359         the attribute, in case there are problems.
361 2007-02-05  Dave Brolley  <brolley@redhat.com>
363         * readelf.c (dump_relocations): Don't check for
364         (rtype == NULL && type == R_RELC).
366 2007-02-05  Dave Brolley  <brolley@redhat.com>
368         * Makefile.am (readelf.o): Depends on $(INCDIR)/elf/mep.h.
369         * Makefile.in: Regenerated.
370         * Contribute the following changes:
371         2003-10-29  Dave Brolley  <brolley@redhat.com>
373         * configure.in: Define SKIP_ZEROES and SKIP_ZEROES_AT_END for mep.
374         * configure: Regenerated.
376         2001-04-03  Ben Elliston  <bje@redhat.com>
378         * readelf.c: Include "elf/mep.h".
379         (guess_is_rela): Handle EM_CYGNUS_MEP.
380         (get_machine_name): Ditto.
381         (dump_relocations): Ditto.
383 2007-02-02  H.J. Lu  <hongjiu.lu@intel.com>
385         * MAINTAINERS: Add a space between H.J. and Lu.
387 2007-02-02  H.J. Lu  <hongjiu.lu@intel.com>
389         * doc/binutils.texi (objdump): Document the new addr64 option
390         for i386 disassembler.
392 2007-02-02  H.J. Lu  <hongjiu.lu@intel.com>
394         PR binutils/3945
395         * configure.in (DLLTOOL_DEFAULT): New. Defined for the first PE
396         target.
397         (DLLTOOL_DEFS): Add $DLLTOOL_DEFAULT.
398         * configure: Regenerated.
400         * dlltool.c (mname): Defined with DLLTOOL_DEFAULT_XXX.
402 2007-02-02  Nick Clifton  <nickc@redhat.com>
404         * doc/binutils.texi (objdump): Document support for disassembling
405         the 440 PowerPC architecture.
407 2007-01-31  Nathan Sidwell  <nathan@codesourcery.com>
409         * dwarf.c (process_debug_info): Protect against bogus length and
410         abbrev offsets.
412 2007-01-25  Kazu Hirata  <kazu@codesourcery.com>
414         * ar.c (print_contents, extract_file): Cast the return value
415         of fwrite to size_t.
417 2007-01-12  Alan Modra  <amodra@bigpond.net.au>
419         * ar.c (open_inarch): Check fwrite return.  Use size_t.
420         (extract_file): Likewise.  Remove test for "negative" file size.
421         * readelf.c (process_program_headers): Check fscanf return.
423 2007-01-11  H.J. Lu  <hongjiu.lu@intel.com>
425         * bucomm.c (template_in_dir): Fix typo.
427 2007-01-11  Alan Modra  <amodra@bigpond.net.au>
429         * embedspu.sh: New file.
430         * Makefile.am (embedspu): Add rule.
431         * configure.in (BUILD_MISC): Add embedspu for powerpc-linux.
432         * Makefile.in: Regenerate.
433         * configure: Regenerate.
435 2007-01-11  Alan Modra  <amodra@bigpond.net.au>
437         * bucomm.h (make_tempdir): Declare independently of HAVE_MKDTEMP.
438         * bucomm.c (template_in_dir): New function, split out from..
439         (make_tempname): ..here.  Open the file with O_EXCL if !HAVE_MKSTEMP.
440         (make_tempdir): Use template_in_dir.  Handle directory creation
441         when !HAVE_MKDTEMP.
442         * objcopy.c (MKDIR): Don't define.
443         (copy_archive): Use make_tempdir when !HAVE_MKDTEMP too.  Fix
444         error message.
446 2007-01-08  Kazu Hirata  <kazu@codesourcery.com>
448         * readelf.c (get_machine_flags): Treat Fido as an architecture
449         by itself.
451 2007-01-08  Kai Tietz   <kai.tietz@onevision.com>
453         * configure.in: Renamed target x86_64-*-mingw64 to
454         x86_64-*-mingw*.
455         * configure: Regenerated.
457 2007-01-05  Alan Modra  <amodra@bigpond.net.au>
459         * readelf.c (dump_section): Don't print 32-bit values, which
460         were done incorrectly for little-endian.  Instead print bytes.
462 For older changes see ChangeLog-2006
464 Local Variables:
465 mode: change-log
466 left-margin: 8
467 fill-column: 74
468 version-control: never
469 End: