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