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