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