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