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