OSDN Git Service

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