9548cc80f7bad7be8d43a1fc2a425dc51b219816
[external/binutils.git] / binutils / ChangeLog
1 2007-04-19  Alan Modra  <amodra@bigpond.net.au>
2
3         * budemang.c: Delete.
4         * budemang.h: Delete.
5         * addr2line.c (translate_addresses): Call bfd_demangle rather than
6         demangle.
7         * nm.c (print_symname): Likewise.
8         * objdump.c (objdump_print_symname, dump_symbols): Likewise.
9         (dump_bfd): Likewise.
10         * prdbg.c (struct pr_handle <demangler>): Add int param.
11         (tg_variable, tg_start_function): Adjust demangler calls.
12         * Makefile.am: Remove mention of budemang.[ch].  Run "make dep-am".
13         * Makefile.in: Regenerate.
14         * po/POTFILES.in: Regenerate.
15
16 2007-04-14  Steve Ellcey  <sje@cup.hp.com>
17
18         * Makefile.am: Add ACLOCAL_AMFLAGS.
19         * configure.in: Change macro call order.
20         * Makefile.in: Regenerate.
21         * configure: Regenerate.
22
23 2007-04-13  Nathan Sidwell  <nathan@codesourcery.com>
24
25         * Makefile.am (TOOL_PROGS): Add objcopy.
26         * Makefile.in: Rebuilt.
27
28 2007-04-12  H.J. Lu  <hongjiu.lu@intel.com>
29
30         PR binutils/4348
31         * objcopy.c (copy_object): Don't stop when there are no
32         sections to be copied.
33
34 2007-04-10  Vladimir Prus  <vladimir@codesourcery.com>
35
36         * NEWS: Mention disjoint histograms support in
37         gprof.
38
39 2007-04-09  Daniel Jacobowitz  <dan@codesourcery.com>
40
41         * dwarf.c (process_debug_info): Do not require DW_AT_frame_base for
42         DW_TAG_inlined_subroutine.
43
44 2007-04-06  Matt Thomas  <matt@netbsd.org>
45
46         * MAINTAINERS: Add myself as VAX and NetBSD support maintainer.
47
48 2007-04-05  Alan Modra  <amodra@bigpond.net.au>
49
50         PR binutils/4292
51         * nm.c (print_value): Cast bfd_vma to unsigned long to suit
52         value_format_32bit.
53
54 2007-04-02  Nick Clifton  <nickc@redhat.com>
55
56         PR binutils/4292
57         * nm.c (value_format): Replace with value_format_32bit and
58         value_format_64bit.
59         (set_radix): Update setting of value_format.
60         (set_print_width): New function.  Compute the address size of a
61         given bfd and set the print_width global appropriately.
62         (display_archive): Use set_print_width.
63         (display_file): Likewise,
64         (print_object_filename_sysv): Update use of print_width.
65         (print_archive_member_sysv): Likewise.
66         (print_symbol_filename_posix): Likewise.
67         (print_sumbol_info_bfd, print_symbol_info_sysv): Likewise.
68
69 2007-03-28  Richard Sandiford  <richard@codesourcery.com>
70             Phil Edwards  <phil@codesourcery.com>
71
72         * doc/binutils.texi: Put the contents after the title page rather
73         than at the end of the document.
74
75 2007-03-28  Nick Clifton  <nickc@redhat.com>
76
77         * readelf.c (slurp_rela_relocs): Add newline to end of error
78         messages.
79         (slurp_rel_relocs, request_dump, request_dump_byname,
80         process_program_headers, process_dynamic_section,
81         process_symbol_table, process_mips_specific, main): Likewise.
82
83 2007-03-28  Alan Modra  <amodra@bigpond.net.au>
84
85         * MAINTAINERS: Update mailing list addresses.  Add myself
86         as PPC maintainer.
87
88 2007-03-27  Alan Modra  <amodra@bigpond.net.au>
89
90         * embedspu.sh: Correct toe_addr quoting.
91
92 2007-03-27  Alan Modra  <amodra@bigpond.net.au>
93
94         * embedspu.sh: Combine "_EAR_" and "_EAR_*" patterns.  Tighten
95         .toe section and .toe address checks.  Use .reloc for _EAR*
96         symbols defined in non-BSS sections.  Build table for _SPUEAR_
97         symbols.
98
99 2007-03-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
100
101         PR gas/3811
102         * readelf.c (debug_apply_rela_addends): Do nothing for SH.
103
104 2007-03-22  Joseph Myers  <joseph@codesourcery.com>
105
106         * doc/binutils.texi: Include VERSION_PACKAGE when reporting
107         version.
108
109 2007-03-16  Kai Tietz  <Kai.Tietz@onevision.com>
110
111         * dlltool.c (make_one_lib_file): Use pc-relative relocation
112         instead of an absolute relocation for x86_64-pc-mingw32 target.
113
114 2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>
115
116         * Makefile.am (REPORT_BUGS_TO): Removed.
117         (INCLUDES): Remove -DREPORT_BUGS_TO.
118         * Makefile.in: Regenerated.
119
120         * bucomm.c: Don't include bfdver.h.
121         * objdump.c: Likewise.
122         * version.c: Likewise.
123
124         * bucomm.h: Include bfdver.h.
125
126         * configure.in (--with-bugurl): Removed.
127         * configure: Regenerated.
128
129         * doc/Makefile.am (binutils_TEXINFOS): Removed.
130         (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
131         (TEXI2DVI): Likewise.
132         (config.texi): Removed.
133         (MOSTLYCLEANFILES): Remove config.texi.
134         * doc/Makefile.in: Regenerated.
135
136         * doc/binutils.texi: Include bfdver.texi instead of
137         config.texi.
138
139 2007-03-13  Nick Clifton  <nickc@redhat.com>
140
141         * readelf.c (dump_section): Also test for SHT_REL sections when
142         producing the warning about unapplied relocs.
143
144 2007-03-07  Joseph Myers  <joseph@codesourcery.com>
145
146         * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
147         bug-reporting URL.
148         * doc/Makefile.am (config.texi): Define BUGURL.
149         * doc/binutils.texi: Use BUGURL.  Remove text about large files
150         and uuencoding.
151         * Makefile.in, configure, doc/Makefile.in: Regenerate.
152
153 2007-03-01  Phil Edwards  <phil@codesourcery.com>
154             Richard Sandiford  <richard@codesourcery.com>
155
156         * NEWS: Mention addition of --extract-symbol.
157         * doc/binutils.texi: Document it.
158         * objcopy.c (extract_symbol): New variable.
159         (OPTION_EXTRACT_SYMBOLS): New command_line_switch.
160         (copy_options): Add an entry for --extract-symbol.
161         (copy_usage): Mention --extract-symbol.
162         (copy_object): Set the start address to zero for --extract-symbol.
163         Do not copy private BFD data in that case.
164         (setup_section): Set the size, LMA and VMA to zero for
165         --extract-symbol.  Do not copy private BFD data in that case.
166         (copy_section): Do not copy section contents if --extract-symbol
167         is passed.
168         (copy_main): Set extract_symbol to TRUE if --extract-symbol
169         is passed.
170
171 2007-03-01  Paul Brook  <paul@codesourcery.com>
172
173         * MAINTAINERS: Update my entry.
174
175 2007-03-01  Joseph Myers  <joseph@codesourcery.com>
176
177         * version.c: Update copyright date.
178
179 2007-03-01  Daniel Jacobowitz  <dan@codesourcery.com>
180
181         * Makefile.am (install-exec-local): Depend on $(noinst_PROGRAMS).
182         Adjust $(EXEEXT) handling for $(RENAMED_PROGS).
183         * Makefile.in, doc/Makefile.in: Regenerate.
184
185 2007-03-01  Alan Modra  <amodra@bigpond.net.au>
186
187         * embedspu.sh: Set type and size of global program handle symbol.
188
189 2007-02-28  Alan Modra  <amodra@bigpond.net.au>
190
191         * Makefile.am (PROGS): Delete.
192         (RENAMED_PROGS): Define.  Extracted from..
193         (noinst_PROGRAMS): ..here.  Add BUILD_MISC.
194         (install-exec-local): Adjust.
195         * Makefile.in: Regenerate.
196
197 2007-02-28  Alan Modra  <amodra@bigpond.net.au>
198
199         * Makefile.am (PROGS): Add BUILD_INSTALL_MISC.
200         (bin_PROGRAMS): Replace BUILD_MISC with BUILD_INSTALL_MISC.
201         (EXTRA_PROGRAMS): Remove bin2c.
202         (bin2c$(EXEEXT_FOR_BUILD)): New rule.
203         (bin2c_SOURCES): Delete.
204         (DISTCLEANFILES): Remove sysinfo.
205         (MOSTLYCLEANFILES): Add sysinfo$(EXEEXT_FOR_BUILD) and
206         bin2c$(EXEEXT_FOR_BUILD).
207         * configure.in (BUILD_MISC): Add $(EXEEXT_FOR_BUILD) to bin2c.
208         Move embedspu to..
209         (BUILD_INSTALL_MISC): ..here.
210         * Makefile.in: Regenerate.
211         * configure: Regenerate.
212
213 2007-02-27  Alan Modra  <amodra@bigpond.net.au>
214
215         * bin2c.c: New file.
216         * Makefile.am (EXTRA_PROGRAMS): Add bin2c.
217         (CFILES): Add bin2c.c.
218         (bin2c_SOURCES): Define.
219         (bin2c.o): Dependencies from "make dep-am".
220         * configure.in (BUILD_MISC): Add bin2c.
221         * version.c: Update year.
222         * po/POTFILES.in: Regenerate.
223         * Makefile.in: Regenerate.
224         * configure: Regenerate.
225
226 2007-02-17  Mark Mitchell  <mark@codesourcery.com>
227             Nathan Sidwell  <nathan@codesourcery.com>
228             Vladimir Prus  <vladimir@codesourcery.com
229             Joseph Myers  <joseph@codesourcery.com>
230
231         * configure.in (--with-bugurl): New option.
232         * configure: Regenerate.
233         * Makefile.am (REPORT_BUGS_TO): Define.
234         (INCLUDES): Define REPORT_BUGS_TO.
235         Regenerate dependencies.
236         * Makefile.in: Regenerate.
237         * doc/Makefile.in: Regenerate.
238         * bucomm.h: Remove include of bin-bugs.h.
239         * addr2line.c (usage): Don't print empty REPORT_BUGS_TO.
240         * ar.c (usage): Pass s to list_supported_targets.  Don't print
241         empty REPORT_BUGS_TO.
242         * coffdump.c (show_usage): Don't print empty REPORT_BUGS_TO.
243         * cxxfilt.c (usage): Print bug url when giving help.
244         * dlltool.c (usage): Likewise.
245         * dllwrap.c (usage): Likewise.
246         * nlmconv.c (show_usage): Don't print empty REPORT_BUGS_TO.
247         * nm.c (usage): Likewise.
248         * objcopy.c (copy_usage, strip_usage): Likewise.
249         * objdump.c (usage): Likewise.
250         * readelf.c ((usage): Likewise. Add STREAM argument.  Adjust
251         callers.
252         * size.c (usage): Don't print empty REPORT_BUGS_TO.
253         * srconv.c (show_usage): Likewise.
254         * strings.c (usage): Likewise.
255         * sysdymp.c (show_usage): Likewise.
256         * windres.c (usage): Likewise.
257
258 2007-02-13  Alan Modra  <amodra@bigpond.net.au>
259
260         * embedspu.sh: Add -W to readelf invocation.
261
262 2007-02-06  Dave Brolley  <brolley@redhat.com>
263
264         * MAINTAINERS: Add myself as the maintainer of the MeP port.
265
266 2007-02-06  Nick Clifton  <nickc@redhat.com>
267
268         PR gas/3800
269         * readelf.c: Include elf/h8.h twice.  The first time in order to
270         get the reloc numbers, the second time in order to get the reloc
271         decoder function.
272         (dump_section): Tell the user if the section being displayed has
273         unprocessed relocs associated with it.
274         (get_reloc_size): New function - returns the size of a reloc.
275         (debug_apply_rela_addends): Use get_reloc_size().
276         * dwarf.c (read_and_display_attr_value): Extend number of
277         languages known for the DW_AT_language attribute.
278         (process_debug_info): Display the attribute offset before decoding
279         the attribute, in case there are problems.
280
281 2007-02-05  Dave Brolley  <brolley@redhat.com>
282
283         * readelf.c (dump_relocations): Don't check for
284         (rtype == NULL && type == R_RELC).
285
286 2007-02-05  Dave Brolley  <brolley@redhat.com>
287
288         * Makefile.am (readelf.o): Depends on $(INCDIR)/elf/mep.h.
289         * Makefile.in: Regenerated.
290         * Contribute the following changes:
291         2003-10-29  Dave Brolley  <brolley@redhat.com>
292
293         * configure.in: Define SKIP_ZEROES and SKIP_ZEROES_AT_END for mep.
294         * configure: Regenerated.
295
296         2001-04-03  Ben Elliston  <bje@redhat.com>
297
298         * readelf.c: Include "elf/mep.h".
299         (guess_is_rela): Handle EM_CYGNUS_MEP.
300         (get_machine_name): Ditto.
301         (dump_relocations): Ditto.
302
303 2007-02-02  H.J. Lu  <hongjiu.lu@intel.com>
304
305         * MAINTAINERS: Add a space between H.J. and Lu.
306
307 2007-02-02  H.J. Lu  <hongjiu.lu@intel.com>
308
309         * doc/binutils.texi (objdump): Document the new addr64 option
310         for i386 disassembler.
311
312 2007-02-02  H.J. Lu  <hongjiu.lu@intel.com>
313
314         PR binutils/3945
315         * configure.in (DLLTOOL_DEFAULT): New. Defined for the first PE
316         target.
317         (DLLTOOL_DEFS): Add $DLLTOOL_DEFAULT.
318         * configure: Regenerated.
319
320         * dlltool.c (mname): Defined with DLLTOOL_DEFAULT_XXX.
321
322 2007-02-02  Nick Clifton  <nickc@redhat.com>
323
324         * doc/binutils.texi (objdump): Document support for disassembling
325         the 440 PowerPC architecture.
326
327 2007-01-31  Nathan Sidwell  <nathan@codesourcery.com>
328
329         * dwarf.c (process_debug_info): Protect against bogus length and
330         abbrev offsets.
331
332 2007-01-25  Kazu Hirata  <kazu@codesourcery.com>
333
334         * ar.c (print_contents, extract_file): Cast the return value
335         of fwrite to size_t.
336
337 2007-01-12  Alan Modra  <amodra@bigpond.net.au>
338
339         * ar.c (open_inarch): Check fwrite return.  Use size_t.
340         (extract_file): Likewise.  Remove test for "negative" file size.
341         * readelf.c (process_program_headers): Check fscanf return.
342
343 2007-01-11  H.J. Lu  <hongjiu.lu@intel.com>
344
345         * bucomm.c (template_in_dir): Fix typo.
346
347 2007-01-11  Alan Modra  <amodra@bigpond.net.au>
348
349         * embedspu.sh: New file.
350         * Makefile.am (embedspu): Add rule.
351         * configure.in (BUILD_MISC): Add embedspu for powerpc-linux.
352         * Makefile.in: Regenerate.
353         * configure: Regenerate.
354
355 2007-01-11  Alan Modra  <amodra@bigpond.net.au>
356
357         * bucomm.h (make_tempdir): Declare independently of HAVE_MKDTEMP.
358         * bucomm.c (template_in_dir): New function, split out from..
359         (make_tempname): ..here.  Open the file with O_EXCL if !HAVE_MKSTEMP.
360         (make_tempdir): Use template_in_dir.  Handle directory creation
361         when !HAVE_MKDTEMP.
362         * objcopy.c (MKDIR): Don't define.
363         (copy_archive): Use make_tempdir when !HAVE_MKDTEMP too.  Fix
364         error message.
365
366 2007-01-08  Kazu Hirata  <kazu@codesourcery.com>
367
368         * readelf.c (get_machine_flags): Treat Fido as an architecture
369         by itself.
370
371 2007-01-08  Kai Tietz   <kai.tietz@onevision.com>
372
373         * configure.in: Renamed target x86_64-*-mingw64 to
374         x86_64-*-mingw*.
375         * configure: Regenerated.
376
377 2007-01-05  Alan Modra  <amodra@bigpond.net.au>
378
379         * readelf.c (dump_section): Don't print 32-bit values, which
380         were done incorrectly for little-endian.  Instead print bytes.
381
382 For older changes see ChangeLog-2006
383 \f
384 Local Variables:
385 mode: change-log
386 left-margin: 8
387 fill-column: 74
388 version-control: never
389 End: