OSDN Git Service

PR 4888
[pf3gnuchains/pf3gnuchains4x.git] / binutils / ChangeLog
1 2007-08-04  Alan Modra  <amodra@bigpond.net.au>
2
3         PR 4888
4         * objcopy.c (setup_section): Do modify section flags for ELF
5         STRIP_NONDEBUG (reverting part of 2007-05-30 change).  Prevent
6         header rewrite by twiddling input section flags instead.
7         Simplify code setting SHT_NOBITS.
8
9 2007-07-28  Christopher Faylor  <me+binutils@cgf.cx>
10
11         * MAINTAINERS: Update my email address.
12
13 2007-07-26  Adam Nemet  <anemet@caviumnetworks.com>
14
15         * readelf.c (process_archive): Also skip Irix6-style archive symbol
16         tables.
17
18 2007-07-24  Nick Clifton  <nickc@redhat.com>
19
20         * readelf.c (NUM_ELEM): Remove redundant macro; replace references
21         to it with references to ARRAY_SIZE.
22         Add support for CR16.
23         Fix formatting.
24
25 2007-07-19  Nick Clifton  <nickc@redhat.com>
26
27         PR binutils/4802
28         * srconv.c (strip_suffix): Add const qualifier to argument.
29
30 2007-07-16  Nick Clifton  <nickc@redhat.com>
31
32         * po/uk.po: New Ukrainian translation.
33         * configure.in (ALL_LINGUAS): Add 'uk'.
34         * configure: Regenerate.
35
36 2007-07-10  Alan Modra  <amodra@bigpond.net.au>
37
38         * objdump.c (dump_dwarf): Correct setting of is_relocatable.
39
40 2007-07-09  Roland McGrath  <roland@redhat.com>
41
42         * readelf.c (get_gnu_elf_note_type): New function.
43         (process_note): Use it for "GNU" name.
44
45 2007-07-08  Andreas Schwab  <schwab@suse.de>
46
47         * Makefile.am (HFILES): Add dwarf.h, sysdep.h and unwind-ia64.h.
48         (CFILES): Add unwind-ia64.c.
49         Regenerate dependencies.
50         * Makefile.in: Regenerate.
51
52 2007-07-05  Nick Clifton  <nickc@redhat.com>
53
54         * addr2line.c: Update copyright notice to refer to GPLv3.
55         * ar.c, arlex.l, arparse.y, arsup.c, arsup.h, bin2c.c, binemul.c,
56         binemul.h, bucomm.c, bucomm.h, budbg.h, coffdump.c, coffgrok.c,
57         coffgrok.h, cxxfilt.c, debug.c, debug.h, deflex.l, defparse.y,
58         dlltool.c, dlltool.h, dllwrap.c, dwarf.c, dwarf.h, embedspu.sh,
59         emul_aix.c, emul_vanilla.c, filemode.c, ieee.c, mclex.c,
60         mcparse.y, nlmconv.c, nlmconv.h, nlmheader.y, nm.c, objcopy.c,
61         objdump.c, prdbg.c, rclex.c, rcparse.y, rdcoff.c, rddbg.c,
62         readelf.c, rename.c, resbin.c, rescoff.c, resrc.c, resres.c,
63         size.c, srconv.c, stabs.c, strings.c, sysdep.h, sysdump.c,
64         sysinfo.y, syslex.l, unwind-ia64.c, unwind-ia64.h, version.c,
65         windint.h, windmc.c, windmc.h, windres.c, windres.h, winduni.c,
66         winduni.h, wrstabs.c: Likewise.
67         * is-ranlib.c, is-strip.c, maybe-ranlib.c, maybe-strip.c,
68         not-ranlib.c, not-strip.c, ranlib.sh, sanity.sh: Add a copyright
69         notice.
70         * NEWS: Mention that the sources are now released under GPLv3.
71         Add a marker for the changes that went into v2.17.
72         * version.c (print_version): Specify that the program is released
73         under version 3 of the GPL.
74
75 2007-07-05  Kai Tietz  <kai.tietz@onevision.com>
76
77         * resrc.c: (read_rc_file): Add include path of user passed rc
78         input file.
79         * windres.c: (windres_add_include_dir): New.
80         (main): Use of windres_add_include_dir.
81         * windres.h: (windres_add_include_dir): Add prototype.
82
83 2007-07-05  Alan Modra  <amodra@bigpond.net.au>
84
85         * doc/binutils.texi (size): Document --common.
86         * size.c: Make a number of vars static.  Delete unnecessary
87         function declarations.
88         (show_common, common_size): New vars.
89         (usage): Describe --common.
90         (OPTION_FORMAT, OPTION_RADIX, OPTION_TARGET): Define and use.
91         (long_options): Add common.
92         (calculate_common_size): New function.
93         (print_berkeley_format): Add common_size to bsssize.
94         (sysv_one_line): New function split out from..
95         (sysv_internal_printer): ..here.
96         (print_sysv_format): Handle display of *COM*.
97         (print_sizes): Call calculate_common_size.
98
99 2007-07-05  Alan Modra  <amodra@bigpond.net.au>
100
101         * emul_aix.c (ar_emul_aix_internal): Rename "next" to "archive_next".
102
103 2007-07-02  Alan Modra  <amodra@bigpond.net.au>
104
105         PR 4716
106         * objcopy.c (filter_symbols): Correct relocatable file test.
107
108 2007-07-02  Alan Modra  <amodra@bigpond.net.au>
109
110         * Makefile.am: Run "make dep-am".
111         * Makefile.in: Regenerate.
112         * aclocal.m4: Regenerate.
113         * config.in: Regenerate.
114         * doc/Makefile.in: Regenerate.
115         * po/POTFILES.in: Regenerate.
116         * po/binutils.pot: Regenerate.
117
118 2007-06-30  H.J. Lu  <hongjiu.lu@intel.com>
119
120         * aclocal.m4: Regenerated.
121         * doc/Makefile.in: Likewise.
122         * Makefile.in: Likewise.
123
124 2007-06-29  Joseph Myers  <joseph@codesourcery.com>
125
126         * readelf.c (display_power_gnu_attribute, process_power_specific):
127         New.
128         (process_arch_specific): Call process_power_specific.
129
130 2007-06-29  Joseph Myers  <joseph@codesourcery.com>
131
132         * readelf.c (display_mips_gnu_attribute): New.
133         (process_mips_specific): Call process_attributes.
134
135 2007-06-29  Joseph Myers  <joseph@codesourcery.com>
136
137         * readelf.c (display_gnu_attribute): New.
138         (process_arm_specific): Rearrange as process_attributes.
139         (process_arm_specific): Replace by wrapper of process_attributes.
140
141 2007-06-28  Roland McGrath  <roland@frob.com>
142
143         * objcopy.c (setup_section): Don't reset ELF section type to
144         SHT_NOBITS when it is SHT_NOTE.
145         * doc/binutils.texi (objcopy, strip): Mention under --only-keep-debug.
146
147 2007-06-27  Alan Modra  <amodra@bigpond.net.au>
148
149         * ar.c: Rename uses of bfd.next to bfd.archive_next throughout.
150         * arsup.c: Likewise.
151         * binemul.c: Likewise.
152         * objcopy.c: Likewise.
153         * dlltool.c: Likewise.
154
155 2007-06-26  Shantonu Sen  <ssen@apple.com>
156
157         PR binutils/4693
158         * Makefile.am (windres_DEPENDENCIES, windmc_DEPENDENCIES): Move
159         dependency on $(LIBICONV) to ...
160         (windres_LDADD, windmc_LDADD) ... here.
161         * Makefile.in: Regenerate.
162
163 2007-06-21  Alan Modra  <amodra@bigpond.net.au>
164
165         * embedspu.sh (relas): Correct sh_info parsing.
166
167 2007-06-19  Danny Smith  <dannysmith@users.sourceforge.net>
168
169         * objdump.c: Include sys/stat.h.
170
171 2007-06-19  Kai Tietz  <kai.tietz@onevision.com>
172
173         * Makefile.am: Add windmc tool.
174         * Makefile.in: Regenerate.
175         * configure.in: Add windmc tool.
176         * configure: Regenerate.
177         * mclex.c: New.
178         * mcparse.y: New.
179         * windmc.c: New.
180         * windmc.h: New.
181         * doc/Makefile.am: Add windmc tool.
182         * doc/Makefile.in: Regenerate.
183         * doc/binutils.texi: Add windmc documentation.
184         * NEWS: Mention new tool.
185
186 2007-06-18  Andi Kleen  <ak@suse.de>
187
188         * objdump.c: Include sys/mman.h
189         (print_file_list): Remove f, add map, mapsize, linemap, maxline,
190         last_line, first fields.
191         (slurp_file): Add.
192         (index_file): Add.
193         (print_file_open): Call slurp_file and index_file. Initialize new
194         fields.
195         (skip_to_line): Rename to print_line and write only single line.
196         (dump_line): Add.
197         (show_line): Change to new algorithm.
198
199 2007-06-18  Thomas Weidenmueller  <w3seek@reactos.org>
200
201         * resres.c (probe_binary): Fix test for badly formatted headers.
202
203 2007-06-18  Kai Tietz  <Kai.Tietz@onevision.com>
204
205         * rclex.c: (cpp_line): Add code_page pragma support.
206         * windres.c: (usage, long_options, main): Add new option
207         --codepage or -c.
208         * winduni.c: (wind_default_codepage, wind_current_codepage): New.
209         (unicode_from_ascii, ascii_from_unicode): Use
210         wind_current_codepage as codepage parameter.
211         (unicode_print): Print 4 characters for hexadecimal values in
212         unicode strings.
213         * winduni.h:  (wind_default_codepage, wind_current_codepage):
214         Export.
215         * doc/binutils.texi: Document new option.
216         * NEWS: Mention new features of windres.
217
218 2007-06-18  Brian D. Watt  <bwatt@us.ibm.com>
219
220         * embedspu.sh: Parse _SPUEAR_ symbol values as hex.
221
222 2007-06-14  H.J. Lu  <hongjiu.lu@intel.com>
223
224         * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
225
226         * acinclude.m4: Removed.
227
228         * Makefile.in: Regenerated.
229         * aclocal.m4: Likewise.
230         * configure: Likewise.
231
232 2007-06-11  Nathan Sidwell  <nathan@codesourcery.com>
233
234         * dwarf.c (decode_location_expression): Add DW_OP_form_tls_address.
235
236 2007-06-06  Kai Tietz  <Kai.Tietz@onevision.com>
237
238         PR binutils/4356 binutils/591
239         * resrc.c (filename_need_quotes): New function.
240         (look_for_default): If filename_need_quotes is true then quote the
241         filename in the command line being created.
242         (read_rc_file): Likewise.
243
244 2007-06-06  Ben Elliston  <bje@au.ibm.com>
245
246         * doc/binutils.texi (objdump): Fix capitalisation of "PowerPC".
247
248 2007-06-05  Kai Tietz  <Kai.Tietz@onevision.com>
249
250         * Makefile.am: Add LIBICONV to windres.
251         * acinclude.m4: Added missing "lib-*.m4" and "lt*.m4" files.
252         * configure.in: Add AC_CHECK_HEADER for iconv.h and use AM_ICONV.
253         * config.in: Add ICONV defines.
254         * aclocal.m4: Regenerate.
255         * confugure: Regenerate.
256         * winduni.c: (local_iconv_map codepages, wind_language_t,
257         languages, unicode_is_valid_codepage, wind_find_language_by_id,
258         wind_find_language_by_codepage, wind_find_codepage_info,
259         unicode_from_codepage, codepage_from_unicode, iconv_onechar,
260         wind_iconv_cp, wind_MultiByteToWideChar wind_WideCharToMultiByte):
261         New.
262         (ascii_from_unicode): Use codepage_from_unicode.
263         (ascii_from_unicode): Use unicode_from_codepage.
264         Use for cygwin windows API for unicode transformation.
265         * winduni.h: (CP_ACP, CP_UTF7, CP_UTF8, CP_OEM, CP_UTF16): New
266         macros.
267         (wind_language_t, local_iconv_map): New types.
268         (wind_find_language_by_id, wind_find_language_by_codepage,
269         unicode_is_valid_codepage, wind_find_codepage_info,
270         unicode_from_codepage, codepage_from_unicode): New
271         prototypes.
272
273 2007-06-05  Alan Modra  <amodra@bigpond.net.au>
274
275         * embedspu.sh: Handle R_SPU_PPU* relocs with no symbol.
276
277 2007-05-30  Alan Modra  <amodra@bigpond.net.au>
278
279         * objcopy.c (copy_object): Revert 2007-05-11 change.  Don't
280         avoid calling bfd_copy_private_bfd_data for ELF STRIP_NONDEBUG.
281         (setup_section): Don't modify flags, and don't avoid calling
282         bfd_copy_private_section_data for ELF STRIP_NONDEBUG.
283         * readelf.c (process_program_headers): Ignore .dynamic of type
284         SHT_NOBITS.
285
286 2007-05-29  Alan Modra  <amodra@bigpond.net.au>
287
288         * embedspu.sh: Emit SPU ELF image to .data.rel.ro.speelf if
289         pic or pie and image needs relocs.
290
291 2007-05-24  Steve Ellcey  <sje@cup.hp.com>
292
293         * Makefile.in: Regenerate.
294         * configure: Regenerate.
295         * aclocal.m4: Regenerate.
296         * doc/Makefile.in: Regenerate.
297
298 2007-05-24  Kai Tietz  <Kai.Tietz@onevision.com>
299
300         * rcparse.y: Join strings for elements having no side-effects in
301         "rc"-grammar.
302
303 2007-05-23  Kai Tietz  <Kai.Tietz@onevision.com>
304
305         * rclex.c: New file replacing rclex.l.
306         * rclex.l: Removed.
307         * windint.h: New file holding common structure and type
308         definitions.
309         * Makefile.am: Added new header windint.h and exchanged rclex.l by
310         rclex.c.
311         * Makefile.in: Regenerate.
312         * rcparse.y: Renamed some structures.
313         Use in internal representation always bfd_vma instead of long or
314         int.
315         Removed from %union unused stringtable.
316         Added to %union suni structure for unicode strings.
317         Added new tokens for ANICURSOR, ANIICON, DLGINCLUDE,
318         DLGINIT, FONTDIR, HTML, MANIFEST, PLUGPLAY, VXD,
319         TOOLBAR, BUTTON, QUOTEDUNISTRING, and SIZEDUNISTRING.
320         Added support for these new rc file tokens.
321         * resbin.c: Rewrote using bfd and binary structures, and support
322         new resource types.
323         * rescoff.c: Likewise.
324         * resres.c: Likewise.
325         * resrc.c: Likewise. Dumps as RC are now recompilable.
326         * windres.c: As above. Using bfd for res and provide target
327         specific endianess support.
328         * windres.h: Use windint.h as include. Additionally removed K&R
329         syntax.
330         * winduni.c: New printing and unichar support routines.
331         * winduni.h: Prototypes for new unichar helpers.
332         * windint.h: New file.
333
334 2007-05-22  Paul Brook  <paul@codesourcery.com>
335
336         * objdump.c (find_symbol_for_address): Merge section and target
337         specific filtering code.
338
339 2007-05-22  Nick Clifton  <nickc@redhat.com>
340
341         * doc/binutils.texi: Use @copying around the copyright notice.
342
343 2007-05-21  Richard Sandiford  <richard@codesourcery.com>
344
345         * objdump.c (disassemble_bytes): Ignore disassembler_needs_relocs
346         for executables and shared libraries.
347
348 2007-05-18  Nathan Sidwell  <nathan@codesourcery.com>
349
350         * objcopy.c (strip_main): Detect identical input and output file
351         names.
352         (copy_main): Refactor tempname detection and use.
353
354 2007-05-17  Nick Clifton  <nickc@redhat.com>
355
356         * objdump.c (load_debug_section): Select bias for DWARF debug
357         addresses based on the flavour of the bfd.
358
359 2007-05-11  Alan Modra  <amodra@bigpond.net.au>
360
361         PR 4479
362         * objcopy.c (copy_object): Don't copy ELF program headers for
363         --only-keep-debug.
364
365 2007-05-11  Alan Modra  <amodra@bigpond.net.au>
366
367         * embedspu.sh (find_prog): Prefer prog in same dir as embedspu
368         over one found on the users path.
369         (main): Generate .reloc for each R_SPU_PPU* reloc.
370
371 2007-04-28  Alan Modra  <amodra@bigpond.net.au>
372
373         * prdbg.c (tg_variable): Adjust for changed demangler.
374         (tg_start_function): Likewise.
375
376 2007-04-27  Alan Modra  <amodra@bigpond.net.au>
377
378         * bucumm.h: Split off host dependencies to..
379         * sysdep.h: ..here.
380         Many files: Include sysdep.h.  Remove duplicate headers and reorder.
381         * Makefile.am: Run "make dep-am".
382         * Makefile.in: Regenerate.
383
384 2007-04-24  Nick Clifton  <nickc@redhat.com>
385
386         * srconv.c (walk_tree_type_1): Initialise dpt.dunno.
387
388 2007-04-24  Nathan Froyd  <froydnj@codesourcery.com>
389             Phil Edwards  <phil@codesourcery.com>
390
391         * objcopy.c (filter_symbols): Explicitly stripping a symbol
392         used in relocations is an error.
393         Retype 'keep' to bfd_boolean.
394
395 2007-04-24  Alan Modra  <amodra@bigpond.net.au>
396
397         * Makefile.in: Regenerate.
398         * doc/Makefile.in: Regenerate.
399
400 2007-04-20  Nathan Froyd  <froydnj@codesourcery.com>
401             Phil Edwards  <phil@codesourcery.com>
402             Thomas de Lellis <tdel@windriver.com>
403
404         * objcopy.c (reverse_bytes):  New variable.
405         (command_line_switch, copy_main):  Add OPTION_REVERSE_ENDIAN.
406         (copy_options, copy_usage):  Add "reverse-bytes" entry.
407         (copy_section):  Reverse bytes within output sections.
408         * doc/binutils.texi:  Document new objcopy option.
409
410 2007-04-20  Nick Clifton  <nickc@redhat.com>
411
412         * rclex.l: Allow underscores at the start of identifiers.
413
414 2007-04-19  Alan Modra  <amodra@bigpond.net.au>
415
416         * budemang.c: Delete.
417         * budemang.h: Delete.
418         * addr2line.c (translate_addresses): Call bfd_demangle rather than
419         demangle.
420         * nm.c (print_symname): Likewise.
421         * objdump.c (objdump_print_symname, dump_symbols): Likewise.
422         (dump_bfd): Likewise.
423         * prdbg.c (struct pr_handle <demangler>): Add int param.
424         (tg_variable, tg_start_function): Adjust demangler calls.
425         * Makefile.am: Remove mention of budemang.[ch].  Run "make dep-am".
426         * Makefile.in: Regenerate.
427         * po/POTFILES.in: Regenerate.
428
429 2007-04-14  Steve Ellcey  <sje@cup.hp.com>
430
431         * Makefile.am: Add ACLOCAL_AMFLAGS.
432         * configure.in: Change macro call order.
433         * Makefile.in: Regenerate.
434         * configure: Regenerate.
435
436 2007-04-13  Nathan Sidwell  <nathan@codesourcery.com>
437
438         * Makefile.am (TOOL_PROGS): Add objcopy.
439         * Makefile.in: Rebuilt.
440
441 2007-04-12  H.J. Lu  <hongjiu.lu@intel.com>
442
443         PR binutils/4348
444         * objcopy.c (copy_object): Don't stop when there are no
445         sections to be copied.
446
447 2007-04-10  Vladimir Prus  <vladimir@codesourcery.com>
448
449         * NEWS: Mention disjoint histograms support in
450         gprof.
451
452 2007-04-09  Daniel Jacobowitz  <dan@codesourcery.com>
453
454         * dwarf.c (process_debug_info): Do not require DW_AT_frame_base for
455         DW_TAG_inlined_subroutine.
456
457 2007-04-06  Matt Thomas  <matt@netbsd.org>
458
459         * MAINTAINERS: Add myself as VAX and NetBSD support maintainer.
460
461 2007-04-05  Alan Modra  <amodra@bigpond.net.au>
462
463         PR binutils/4292
464         * nm.c (print_value): Cast bfd_vma to unsigned long to suit
465         value_format_32bit.
466
467 2007-04-02  Nick Clifton  <nickc@redhat.com>
468
469         PR binutils/4292
470         * nm.c (value_format): Replace with value_format_32bit and
471         value_format_64bit.
472         (set_radix): Update setting of value_format.
473         (set_print_width): New function.  Compute the address size of a
474         given bfd and set the print_width global appropriately.
475         (display_archive): Use set_print_width.
476         (display_file): Likewise,
477         (print_object_filename_sysv): Update use of print_width.
478         (print_archive_member_sysv): Likewise.
479         (print_symbol_filename_posix): Likewise.
480         (print_sumbol_info_bfd, print_symbol_info_sysv): Likewise.
481
482 2007-03-28  Richard Sandiford  <richard@codesourcery.com>
483             Phil Edwards  <phil@codesourcery.com>
484
485         * doc/binutils.texi: Put the contents after the title page rather
486         than at the end of the document.
487
488 2007-03-28  Nick Clifton  <nickc@redhat.com>
489
490         * readelf.c (slurp_rela_relocs): Add newline to end of error
491         messages.
492         (slurp_rel_relocs, request_dump, request_dump_byname,
493         process_program_headers, process_dynamic_section,
494         process_symbol_table, process_mips_specific, main): Likewise.
495
496 2007-03-28  Alan Modra  <amodra@bigpond.net.au>
497
498         * MAINTAINERS: Update mailing list addresses.  Add myself
499         as PPC maintainer.
500
501 2007-03-27  Alan Modra  <amodra@bigpond.net.au>
502
503         * embedspu.sh: Correct toe_addr quoting.
504
505 2007-03-27  Alan Modra  <amodra@bigpond.net.au>
506
507         * embedspu.sh: Combine "_EAR_" and "_EAR_*" patterns.  Tighten
508         .toe section and .toe address checks.  Use .reloc for _EAR*
509         symbols defined in non-BSS sections.  Build table for _SPUEAR_
510         symbols.
511
512 2007-03-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
513
514         PR gas/3811
515         * readelf.c (debug_apply_rela_addends): Do nothing for SH.
516
517 2007-03-22  Joseph Myers  <joseph@codesourcery.com>
518
519         * doc/binutils.texi: Include VERSION_PACKAGE when reporting
520         version.
521
522 2007-03-16  Kai Tietz  <Kai.Tietz@onevision.com>
523
524         * dlltool.c (make_one_lib_file): Use pc-relative relocation
525         instead of an absolute relocation for x86_64-pc-mingw32 target.
526
527 2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>
528
529         * Makefile.am (REPORT_BUGS_TO): Removed.
530         (INCLUDES): Remove -DREPORT_BUGS_TO.
531         * Makefile.in: Regenerated.
532
533         * bucomm.c: Don't include bfdver.h.
534         * objdump.c: Likewise.
535         * version.c: Likewise.
536
537         * bucomm.h: Include bfdver.h.
538
539         * configure.in (--with-bugurl): Removed.
540         * configure: Regenerated.
541
542         * doc/Makefile.am (binutils_TEXINFOS): Removed.
543         (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
544         (TEXI2DVI): Likewise.
545         (config.texi): Removed.
546         (MOSTLYCLEANFILES): Remove config.texi.
547         * doc/Makefile.in: Regenerated.
548
549         * doc/binutils.texi: Include bfdver.texi instead of
550         config.texi.
551
552 2007-03-13  Nick Clifton  <nickc@redhat.com>
553
554         * readelf.c (dump_section): Also test for SHT_REL sections when
555         producing the warning about unapplied relocs.
556
557 2007-03-07  Joseph Myers  <joseph@codesourcery.com>
558
559         * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
560         bug-reporting URL.
561         * doc/Makefile.am (config.texi): Define BUGURL.
562         * doc/binutils.texi: Use BUGURL.  Remove text about large files
563         and uuencoding.
564         * Makefile.in, configure, doc/Makefile.in: Regenerate.
565
566 2007-03-01  Phil Edwards  <phil@codesourcery.com>
567             Richard Sandiford  <richard@codesourcery.com>
568
569         * NEWS: Mention addition of --extract-symbol.
570         * doc/binutils.texi: Document it.
571         * objcopy.c (extract_symbol): New variable.
572         (OPTION_EXTRACT_SYMBOLS): New command_line_switch.
573         (copy_options): Add an entry for --extract-symbol.
574         (copy_usage): Mention --extract-symbol.
575         (copy_object): Set the start address to zero for --extract-symbol.
576         Do not copy private BFD data in that case.
577         (setup_section): Set the size, LMA and VMA to zero for
578         --extract-symbol.  Do not copy private BFD data in that case.
579         (copy_section): Do not copy section contents if --extract-symbol
580         is passed.
581         (copy_main): Set extract_symbol to TRUE if --extract-symbol
582         is passed.
583
584 2007-03-01  Paul Brook  <paul@codesourcery.com>
585
586         * MAINTAINERS: Update my entry.
587
588 2007-03-01  Joseph Myers  <joseph@codesourcery.com>
589
590         * version.c: Update copyright date.
591
592 2007-03-01  Daniel Jacobowitz  <dan@codesourcery.com>
593
594         * Makefile.am (install-exec-local): Depend on $(noinst_PROGRAMS).
595         Adjust $(EXEEXT) handling for $(RENAMED_PROGS).
596         * Makefile.in, doc/Makefile.in: Regenerate.
597
598 2007-03-01  Alan Modra  <amodra@bigpond.net.au>
599
600         * embedspu.sh: Set type and size of global program handle symbol.
601
602 2007-02-28  Alan Modra  <amodra@bigpond.net.au>
603
604         * Makefile.am (PROGS): Delete.
605         (RENAMED_PROGS): Define.  Extracted from..
606         (noinst_PROGRAMS): ..here.  Add BUILD_MISC.
607         (install-exec-local): Adjust.
608         * Makefile.in: Regenerate.
609
610 2007-02-28  Alan Modra  <amodra@bigpond.net.au>
611
612         * Makefile.am (PROGS): Add BUILD_INSTALL_MISC.
613         (bin_PROGRAMS): Replace BUILD_MISC with BUILD_INSTALL_MISC.
614         (EXTRA_PROGRAMS): Remove bin2c.
615         (bin2c$(EXEEXT_FOR_BUILD)): New rule.
616         (bin2c_SOURCES): Delete.
617         (DISTCLEANFILES): Remove sysinfo.
618         (MOSTLYCLEANFILES): Add sysinfo$(EXEEXT_FOR_BUILD) and
619         bin2c$(EXEEXT_FOR_BUILD).
620         * configure.in (BUILD_MISC): Add $(EXEEXT_FOR_BUILD) to bin2c.
621         Move embedspu to..
622         (BUILD_INSTALL_MISC): ..here.
623         * Makefile.in: Regenerate.
624         * configure: Regenerate.
625
626 2007-02-27  Alan Modra  <amodra@bigpond.net.au>
627
628         * bin2c.c: New file.
629         * Makefile.am (EXTRA_PROGRAMS): Add bin2c.
630         (CFILES): Add bin2c.c.
631         (bin2c_SOURCES): Define.
632         (bin2c.o): Dependencies from "make dep-am".
633         * configure.in (BUILD_MISC): Add bin2c.
634         * version.c: Update year.
635         * po/POTFILES.in: Regenerate.
636         * Makefile.in: Regenerate.
637         * configure: Regenerate.
638
639 2007-02-17  Mark Mitchell  <mark@codesourcery.com>
640             Nathan Sidwell  <nathan@codesourcery.com>
641             Vladimir Prus  <vladimir@codesourcery.com
642             Joseph Myers  <joseph@codesourcery.com>
643
644         * configure.in (--with-bugurl): New option.
645         * configure: Regenerate.
646         * Makefile.am (REPORT_BUGS_TO): Define.
647         (INCLUDES): Define REPORT_BUGS_TO.
648         Regenerate dependencies.
649         * Makefile.in: Regenerate.
650         * doc/Makefile.in: Regenerate.
651         * bucomm.h: Remove include of bin-bugs.h.
652         * addr2line.c (usage): Don't print empty REPORT_BUGS_TO.
653         * ar.c (usage): Pass s to list_supported_targets.  Don't print
654         empty REPORT_BUGS_TO.
655         * coffdump.c (show_usage): Don't print empty REPORT_BUGS_TO.
656         * cxxfilt.c (usage): Print bug url when giving help.
657         * dlltool.c (usage): Likewise.
658         * dllwrap.c (usage): Likewise.
659         * nlmconv.c (show_usage): Don't print empty REPORT_BUGS_TO.
660         * nm.c (usage): Likewise.
661         * objcopy.c (copy_usage, strip_usage): Likewise.
662         * objdump.c (usage): Likewise.
663         * readelf.c ((usage): Likewise. Add STREAM argument.  Adjust
664         callers.
665         * size.c (usage): Don't print empty REPORT_BUGS_TO.
666         * srconv.c (show_usage): Likewise.
667         * strings.c (usage): Likewise.
668         * sysdymp.c (show_usage): Likewise.
669         * windres.c (usage): Likewise.
670
671 2007-02-13  Alan Modra  <amodra@bigpond.net.au>
672
673         * embedspu.sh: Add -W to readelf invocation.
674
675 2007-02-06  Dave Brolley  <brolley@redhat.com>
676
677         * MAINTAINERS: Add myself as the maintainer of the MeP port.
678
679 2007-02-06  Nick Clifton  <nickc@redhat.com>
680
681         PR gas/3800
682         * readelf.c: Include elf/h8.h twice.  The first time in order to
683         get the reloc numbers, the second time in order to get the reloc
684         decoder function.
685         (dump_section): Tell the user if the section being displayed has
686         unprocessed relocs associated with it.
687         (get_reloc_size): New function - returns the size of a reloc.
688         (debug_apply_rela_addends): Use get_reloc_size().
689         * dwarf.c (read_and_display_attr_value): Extend number of
690         languages known for the DW_AT_language attribute.
691         (process_debug_info): Display the attribute offset before decoding
692         the attribute, in case there are problems.
693
694 2007-02-05  Dave Brolley  <brolley@redhat.com>
695
696         * readelf.c (dump_relocations): Don't check for
697         (rtype == NULL && type == R_RELC).
698
699 2007-02-05  Dave Brolley  <brolley@redhat.com>
700
701         * Makefile.am (readelf.o): Depends on $(INCDIR)/elf/mep.h.
702         * Makefile.in: Regenerated.
703         * Contribute the following changes:
704         2003-10-29  Dave Brolley  <brolley@redhat.com>
705
706         * configure.in: Define SKIP_ZEROES and SKIP_ZEROES_AT_END for mep.
707         * configure: Regenerated.
708
709         2001-04-03  Ben Elliston  <bje@redhat.com>
710
711         * readelf.c: Include "elf/mep.h".
712         (guess_is_rela): Handle EM_CYGNUS_MEP.
713         (get_machine_name): Ditto.
714         (dump_relocations): Ditto.
715
716 2007-02-02  H.J. Lu  <hongjiu.lu@intel.com>
717
718         * MAINTAINERS: Add a space between H.J. and Lu.
719
720 2007-02-02  H.J. Lu  <hongjiu.lu@intel.com>
721
722         * doc/binutils.texi (objdump): Document the new addr64 option
723         for i386 disassembler.
724
725 2007-02-02  H.J. Lu  <hongjiu.lu@intel.com>
726
727         PR binutils/3945
728         * configure.in (DLLTOOL_DEFAULT): New. Defined for the first PE
729         target.
730         (DLLTOOL_DEFS): Add $DLLTOOL_DEFAULT.
731         * configure: Regenerated.
732
733         * dlltool.c (mname): Defined with DLLTOOL_DEFAULT_XXX.
734
735 2007-02-02  Nick Clifton  <nickc@redhat.com>
736
737         * doc/binutils.texi (objdump): Document support for disassembling
738         the 440 PowerPC architecture.
739
740 2007-01-31  Nathan Sidwell  <nathan@codesourcery.com>
741
742         * dwarf.c (process_debug_info): Protect against bogus length and
743         abbrev offsets.
744
745 2007-01-25  Kazu Hirata  <kazu@codesourcery.com>
746
747         * ar.c (print_contents, extract_file): Cast the return value
748         of fwrite to size_t.
749
750 2007-01-12  Alan Modra  <amodra@bigpond.net.au>
751
752         * ar.c (open_inarch): Check fwrite return.  Use size_t.
753         (extract_file): Likewise.  Remove test for "negative" file size.
754         * readelf.c (process_program_headers): Check fscanf return.
755
756 2007-01-11  H.J. Lu  <hongjiu.lu@intel.com>
757
758         * bucomm.c (template_in_dir): Fix typo.
759
760 2007-01-11  Alan Modra  <amodra@bigpond.net.au>
761
762         * embedspu.sh: New file.
763         * Makefile.am (embedspu): Add rule.
764         * configure.in (BUILD_MISC): Add embedspu for powerpc-linux.
765         * Makefile.in: Regenerate.
766         * configure: Regenerate.
767
768 2007-01-11  Alan Modra  <amodra@bigpond.net.au>
769
770         * bucomm.h (make_tempdir): Declare independently of HAVE_MKDTEMP.
771         * bucomm.c (template_in_dir): New function, split out from..
772         (make_tempname): ..here.  Open the file with O_EXCL if !HAVE_MKSTEMP.
773         (make_tempdir): Use template_in_dir.  Handle directory creation
774         when !HAVE_MKDTEMP.
775         * objcopy.c (MKDIR): Don't define.
776         (copy_archive): Use make_tempdir when !HAVE_MKDTEMP too.  Fix
777         error message.
778
779 2007-01-08  Kazu Hirata  <kazu@codesourcery.com>
780
781         * readelf.c (get_machine_flags): Treat Fido as an architecture
782         by itself.
783
784 2007-01-08  Kai Tietz   <kai.tietz@onevision.com>
785
786         * configure.in: Renamed target x86_64-*-mingw64 to
787         x86_64-*-mingw*.
788         * configure: Regenerated.
789
790 2007-01-05  Alan Modra  <amodra@bigpond.net.au>
791
792         * readelf.c (dump_section): Don't print 32-bit values, which
793         were done incorrectly for little-endian.  Instead print bytes.
794
795 For older changes see ChangeLog-2006
796 \f
797 Local Variables:
798 mode: change-log
799 left-margin: 8
800 fill-column: 74
801 version-control: never
802 End: