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