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