OSDN Git Service

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