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