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