1 2002-08-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
3 * MAINTAINERS: Add Dave Anglin as HPPA co-maintainer.
5 2002-08-22 Nick Clifton <nickc@redhat.com>
7 * MAINTAINERS: Add Jeff Law as (maintainance) maintainer for
10 2002-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
12 * readelf.c (parse_args): Change debug_dump_opt to static.
14 2002-08-16 Sivaguru Sankaridurg <siva@eternal-systems.com>
16 * stabs.c (parse_stab_argtype): Pass length of physname to
17 stab_demangle_argtypes.
18 (stab_demangle_argtypes): Add new parameter - length of physname.
19 Pass length of physname on to stab_demangle_prefix.
20 (stab_demangle_prefix): Add new parameter - length of physname.
21 Use length of physname (if supplied) to compute end of function
24 2002-08-15 Alan Modra <amodra@bigpond.net.au>
26 * readelf.c: Include elf/i370.h.
27 (dump_relocations): Handle EM_S370.
28 (dynamic_segment_parisc_val): Print \n.
29 (process_dynamic_segment <DT_BIND_NOW>): Here too.
31 2002-08-14 Nick Clifton <nickc@redhat.com>
33 * nm.c (usage): Change 'gnu-new-abi' to 'gnu-v3'.
34 * objdump.c (usage): Likewise.
35 * doc/binutils.texi: Likewise.
37 2002-08-14 Luke Dunstan <infidel@users.sourceforge.net>
39 * rcparse.y (acc_entry): Don't warn about ALT use with
42 2002-08-13 H.J. Lu <hjl@gnu.org>
44 * objcopy.c (copy_object): Don't warn about the unsupported
45 architecture unless the input target is defaulted or the
46 output architecture is different from the input.
48 2002-08-09 Nick Clifton <nickc@redhat.com>
50 * po/sv.po: Updated Swedish translation.
52 2002-08-05 Alan Modra <amodra@bigpond.net.au>
54 * prdbg.c (pr_fix_visibility): Remove assert.
56 2002-07-31 Nick Clifton <nickc@redhat.com>
58 * addr2line.c (process_file): Rename parameter 'filename' to
59 'file_name' in order to avoid shadowing global symbol of the
63 2002-07-30 Jakub Jelinek <jakub@redhat.com>
65 * readelf.c (OPTION_DEBUG_DUMP): Define.
68 (parse_args): Handle --debug-dump separately from -w.
69 * doc/binutils.texi (readelf): Update documentation.
71 2002-07-25 Nick Clifton <nickc@redhat.com>
73 * po/es.po: Updated Spanish translation.
74 * po/fr.po: Updated French translation.
76 2002-07-24 Nick Clifton <nickc@redhat.com>
78 * po/es.po: Updated Spanish translation.
80 2002-07-23 Alan Modra <amodra@bigpond.net.au>
82 * Makefile.am: Run "make dep-am".
83 * Makefile.in: Regenerate.
85 2002-07-23 Nick Clifton <nickc@redhat.com>
87 * po/fr.po: Updated French translation.
89 2002-07-23 Eric S. Raymond <esr@golux.thyrsus.com>
91 * doc/binutils.texi (addr2line <man synopsis>): Correct brackets.
93 2002-07-20 Alan Modra <amodra@bigpond.net.au>
95 * budemang.c: Include config.h and string.h/strings.h.
97 2002-07-18 Denis Chertykov <denisc@overta.ru>
98 Frank Ch. Eigler <fche@redhat.com>
100 * readelf.c: Include "elf/ip2k.h".
101 (guess_is_rela): Add support for EM_IP2K and EM_IP2K_OLD.
102 (dump_relocations): Likewise.
103 (get_machine_name): Likewise.
104 * NEWS: Mention IP2K support.
106 2002-07-16 Nick Clifton <nickc@cambridge.redhat.com>
108 * NEWS: Add 'Changes in 2.13'.
110 2002-07-10 Jakub Jelinek <jakub@redhat.com>
112 * readelf.c (get_dynamic_type): Handle DT_GNU_PRELINKED,
113 DT_GNU_CONFLICT* and DT_GNU_LIBLISZ*.
114 (get_section_type_name): Handle SHT_GNU_LIBLIST.
115 (process_dynamic_segment): Handle DT_GNU_CONFLICTSZ,
116 DT_GNU_LIBLISTSZ and DT_GNU_PRELINKED.
117 (process_gnu_liblist): New.
118 (process_file): Call it.
120 2002-07-03 Alan Modra <amodra@bigpond.net.au>
122 * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
123 * Makefile.in: Regenerate.
125 2002-07-02 Alan Modra <amodra@bigpond.net.au>
127 * budemang.c: New file, "demangle" function.
128 * budemang.h: New file.
129 * addr2line.c (translate_addresses): Use "demangle".
130 * nm.c (print_symname): Likewise.
131 * objdump.c (objdump_print_symname): Likewise.
132 (dump_symbols): Likewise. Also, don't use bfd_asymbol_name macro
133 here since that obfuscates.
134 * rdcoff.c: Don't #include demangle.h.
135 * Makefile.am (CFILES): Add budemang.c, emul_aix.c,
136 emul_vanilla.c. Remove emul_$(EMULATION).c. Sort.
137 (HFILES): Add budemang.h. Sort.
138 (nm_new_SOURCES, objdump_SOURCES, addr2line_SOURCES): Add budemang.c.
140 * Makefile.in: Regenerate.
142 2002-07-01 Matt Thomas <matt@3am-software.com>
144 * readelf.c: Include "elf/vax.h".
145 (guess_is_rela): Move EM_VAX from unknown to RELA case.
146 (dump_relocations): Handle VAX relocations.
147 (get_machine_flags): Handle VAX machine flags.
149 2002-06-29 Stephane Carrez <stcarrez@nerim.fr>
151 * readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.
153 2002-06-26 Nick Clifton <nickc@cambridge.redhat.com>
155 * MAINTAINERS: Remove Tom Rix from d10v and pcc maintainerships.
157 2002-06-26 Alan Modra <amodra@bigpond.net.au>
159 * nm.c (print_symname): When demangling, strip leading dots from
160 symbol names to avoid confusing the demangler.
162 2002-06-25 H.J. Lu <hjl@gnu.org>
164 * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
165 * Makefile.in: Regenerated.
167 2002-06-21 Igor Schein <igor@txc.com>
169 * configure.in: Quote bu_cv_have_fopen64.
170 * configure: Regenerate.
172 2002-06-21 Mitsru Chinen <chinen@jp.ibm.com>
174 * configure.in: Check for strcoll.
175 * configure: Regenerate.
176 * config.in: Regenerate.
177 * nm.c (main): Set locale for LC_COLLATE category.
178 (non_numeric_forward): Use strcoll if available.
180 2002-06-20 Dave Brolley <brolley@redhat.com>
182 * MAINTAINERS: Add self as fr30 and frv maintainer.
184 2002-06-18 H.J. Lu (hjl@gnu.org)
186 * nm.c: Include "elf/common.h".
187 (extended_symbol_info): Add elfinfo, a pointer to
189 (SYM_SIZE): Use elfinfo if it is not NULL.
190 (get_symbol_type): New function.
191 (display_archive): Set print_width for each archive member.
192 (display_file): Likewise.
193 (display_rel_file): Don't set print_width here.
194 (print_object_filename_sysv): Handle print_width.
195 (print_archive_member_sysv): Likewise.
196 (print_symbols): Pass (bfd_vma) 0 to print_symbol.
197 (print_symbol): Set the elfinfo field in extended_symbol_info
199 (print_object_filename_sysv): Fix the output format.
200 (print_symbol_info_sysv): Print type and section for ELF.
202 2002-06-18 Elias Athanasopoulos <eathan@otenet.gr>
204 * nm.c (print_size_symbols): Remove assignment, which makes
205 the symbol's size equal to its value when --size-sort is
208 2002-06-18 Dave Brolley <brolley@redhat.com>
210 From Catherine Moore:
211 * readelf.c (elf/frv.h): #include it.
212 (guess_is_rela): Support EM_CYGNUS_FRV.
213 (dump_relocations): Ditto.
214 (get_machine_name): Ditto.
215 * Makefile.am (readelf.o): add dependency on $(INCDIR)/elf/frv.h.
217 2002-06-18 Jakub Jelinek <jakub@redhat.com>
219 * readelf.c (get_file_header): Only read the first section header if
222 2002-06-15 H.J. Lu (hjl@gnu.org)
224 * nm.c (print_size): New variable. Initialize to 0.
225 (long_options): Add 'S'/"print-size".
227 (print_symbol_info_bsd): Print size only if print_size is not
230 * doc/binutils.texi: Document -S/--print-size.
232 2002-6-13 Elias Athanasopoulos <eathan@otenet.gr>
234 * nm.c (struct extended_symbol_info): New strcuture: Add the size
235 of the symbols to the information provided by the symbol_info
237 (print_symbols): Pass the symbol size to print_symbol.
238 (print_size_symbols): Pass the symbol size to print_symbol.
239 (print_symbol): Extra argument: The size of the symbol. Store
240 this in the extended_symbol_info structure.
241 (print_symbol_info): Change type of info parameter to
242 extended_symbol_info. Display the size, if known.
243 (print_symbol_info_posix): Likewise.
244 (print_symbol_info_sysv): Likewise.
246 2002-06-08 Alan Modra <amodra@bigpond.net.au>
248 * Makefile.am: Run "make dep-am".
249 * Makefile.in: Regenerate.
250 * doc/Makefile.in: Regnerate.
252 * bucomm.c: Replace CONST with const.
254 * objdump.c: Likewise.
256 2002-06-07 H.J. Lu <hjl@gnu.org>
258 * readelf.c (DW_CFA_GNU_args_size): Don't define.
259 (DW_CFA_GNU_negative_offset_extended): Likewise.
260 (DW_CFA_GNU_window_save): Likewise.
261 (display_debug_frames): Handle DW_CFA_offset_extended_sf,
262 DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
264 2002-06-07 Elias Athanasopoulos <eathan@otenet.gr>
266 * nm.c: When computing size of symbols for an ELF target use the
269 2002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
271 * testsuite/binutils-all/objcopy.exp: clear xfail for
273 * testsuite/binutils-all/hppa/objdump.exp: Return if
276 2002-06-05 Alan Modra <amodra@bigpond.net.au>
278 * objcopy.c (copy_section): Don't copy SEC_GROUP sections.
280 2002-06-03 Elias Athanasopoulos <eathan@otenet.gr>
282 * objdump.c: Fix formatting.
284 2002-05-29 Ben Elliston <bje@redhat.com>
286 * MAINTAINERS: Add self as M68k maintainer.
288 2002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
290 * readelf.c: Modified/Added DLX elf support.
292 2002-05-27 Nick Clifton <nickc@cambridge.redhat.com>
294 * arsup.c: Fix formatting.
295 * debug.c (debug_record_label): Add missing colon to error
297 * ieee.c (parse_ieee_ty): Fix spelling typo.
298 * readelf.c (process_program_headers): Remove English assumption
299 about making a plural word.
300 (process_section_headers): Likewise.
301 (process_relocs): Allow quotes to be translated.
302 (process_unwind): Likewise,
303 (process_mips_specific): Improve error message.
304 (get_note_type): Fix spelling typo.
306 * configure.in (ALL_LINGUAS): Add sv
307 * po/sv.po: New file.
309 2002-05-27 Alan Modra <amodra@bigpond.net.au>
311 * unwind-ia64.c (unw_print_brmask): Don't use sprintf.
312 (unw_print_grmask): Likewise.
313 (unw_print_frmask): Likewise.
315 2002-05-26 Kazu Hirata <kazu@cs.umass.edu>
317 * arsup.c: Remove ARGSUSED.
320 * nlmconv.c: Likewise.
323 * wrstabs.c: Likewise.
325 2002-05-25 Alan Modra <amodra@bigpond.net.au>
327 * arlex.l: Use #include "" instead of <> for local header files.
328 * coffdump.c: Likewise.
329 * coffgrok.c: Likewise.
330 * nlmconv.c: Likewise.
331 * nlmheader.y: Likewise.
332 * srconv.c: Likewise.
333 * strings.c: Likewise.
334 * sysdump.c: Likewise.
335 * unwind-ia64.h: Likewise.
336 * windres.h: Likewise.
337 * winduni.h: Likewise.
339 2002-05-24 Tom Rix <trix@redhat.com>
341 * MAINTAINERS: Add self as the d10v maintainer.
343 2002-05-24 TAMURA Kent <kent@netbsd.org>
345 * configure.in: Builds dlltool for i386-netbsdpe.
346 * configure: Regenerate.
348 2002-05-23 Kazu Hirata <kazu@cs.umass.edu>
350 * size.c: Fix formatting.
351 * srconv.c: Likewise.
353 * sysdump.c: Likewise.
354 * unwind-ia64.c: Likewise.
355 * wrstabs.c: Likewise.
357 2002-05-23 Jakub Jelinek <jakub@redhat.com>
359 * readelf.c (get_segment_type): Add PT_TLS.
360 (get_elf_section_flags): Add SHF_TLS.
361 (get_dynamic_flags): Optimize. Add DF_STATIC_TLS.
362 (process_dynamic_segment): Use puts instead of printf.
363 (get_symbol_type): Support STT_TLS.
364 * objdump.c (dump_section_header): Remove SEC_CONSTRUCTOR_TEXT,
365 SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS.
366 Add SEC_THREAD_LOCAL.
368 2002-05-23 Kazu Hirata <kazu@cs.umass.edu>
370 * rdcoff.c: Fix formatting.
372 * readelf.c: Likewise.
373 * rename.c: Likewise.
374 * resbin.c: Likewise.
376 * resres.c: Likewise.
378 2002-05-21 Kazu Hirata <kazu@cs.umass.edu>
380 * filemode.c: Fix formatting.
382 * is-ranlib.c: Likewise.
383 * is-strip.c: Likewise.
384 * maybe-ranlib.c: Likewise.
385 * maybe-strip.c: Likewise.
386 * nlmconv.c: Likewise.
388 * not-ranlib.c: Likewise.
389 * not-strip.c: Likewise.
390 * objcopy.c: Likewise.
391 * objdump.c: Likewise.
393 2002-05-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
395 * objdump.c (dump_headers): Fix output formatting for ELF32
396 architectures in a BFD64 enabled toolchain.
398 2002-05-20 Kazu Hirata <kazu@cs.umass.edu>
400 * debug.c: Fix formatting.
402 * dlltool.c: Likewise.
403 * dllwrap.c: Likewise.
404 * emul_aix.c: Likewise.
405 * emul_vanilla.c: Likewise.
407 2002-05-19 Kazu Hirata <kazu@cs.umass.edu>
409 * addr2line.c: Fix formatting.
413 * binemul.c: Likewise.
414 * binemul.h: Likewise.
415 * bucomm.c: Likewise.
416 * coffdump.c: Likewise.
417 * coffgrok.c: Likewise.
418 * coffgrok.h: Likewise.
420 2002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
422 * MAINTAINERS: Add myself as the second AVR port maintainer.
424 2002-05-16 Stephane Carrez <stcarrez@nerim.fr>
426 * MAINTAINERS: Update my email address.
428 2002-05-09 Nick Clifton <nickc@cambridge.redhat.com>
430 * MAINTAINERS: Add Jason Thorpe as VAX maintainer.
432 2002-05-09 Alan Modra <amodra@bigpond.net.au>
434 * configure.in: Replace `*pe' with `pe' throughout.
435 * configure: Regenerate.
437 2002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
439 * Makefile.am: Honour DESTDIR.
440 * Makefile.in: Regenerate.
442 2002-05-06 Alan Modra <amodra@bigpond.net.au>
444 * dlltool.c (process_def_file): Add missing prototype.
445 (new_directive, assemble_file, main): Likewise.
446 (process_def_file, new_directive): Make static.
447 (inform): Rewrite using VA_FIXEDARG.
448 * dllwrap.c (mybasename): Add missing prototype.
449 (strhash, main): Likewise.
450 (inform): Rewrite using VA_FIXEDARG.
452 (cleanup_and_exit): Use old style function definition.
454 * windres.c (define_resource): Use one memset to clear all of
457 * rcparse.y: Remove newcmd rule. Move rcparse_discard_strings
458 call to rules that need no lookahead. Check for no lookahead.
460 2002-05-06 Borut Razem <borut.razem@siol.net>
462 * rclex.l (get_string): Correct "strings" list handling.
463 * resrc.c (read_rc_file): Discard strings.
465 2002-05-04 Alan Modra <amodra@bigpond.net.au>
467 * ar.c (replace_members): Remove unused var. Formatting fix.
468 * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
470 * MAINTAINERS: Sort port maintainers by CPU.
472 2002-05-04 Bob Byrnes <byrnes@curl.com>
474 * size.c (display_archive): Add last_arfile and code to close archives.
476 2002-05-01 Alan Modra <amodra@bigpond.net.au>
478 * nm.c (print_symbol): Check returned filename from
479 bfd_find_nearest_line is non-NULL.
481 2002-04-25 Elena Zannoni <ezannoni@redhat.com>
483 * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
485 2002-04-24 Christian Groessler <chris@groessler.org>
487 * MAINTAINERS: Changed my email address.
489 2002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
491 * arparse.y: Fix syntax warning.
493 2002-04-16 Nick Clifton <nickc@cambridge.redhat.com>
495 * readelf.c (fetch_location_list): Remove unused function.
497 * readelf.c (process_corefile_note_segment): Catch corrupt notes
498 and display a warning message, then exit the loop.
500 * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
502 2002-04-15 Nick Clifton <nickc@cambridge.redhat.com>
504 * resrc.c (write_rc_dialog): If charset is non-default value
505 display all of the DIALOGEX parameters.
507 2002-04-15 Eric Kohl <ekohl@rz-online.de>
509 * rcparse.y: Allow two to five parameter in FONT statement of
511 * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
513 (res_to_bin_dialog): Likewise.
514 * windres.h: Added misssing charset variable to dialog_ex
517 2002-04-10 Nick Clifton <nickc@cambridge.redhat.com>
519 * rcparse.y: Set MEMFLAG_PURE by default.
521 2002-04-09 Bernd Herd <info@herdsoft.com>
523 * rcparse.y: CLASS definitions in DIALOG resources
525 Fix typo in BEDIT warning.
526 Don't add default dialog style when explicit style specified.
527 Add WS_CAPTION dialog style if CAPTION is specified.
529 * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
530 (handle_quotes) "\a" escape (used for right justified key
531 definitions in menus) is encodes as binary 8.
533 * resrc.c (write_rc_dialog): Print style even if it is 0.
534 (write_rc_directory): Fix overlooked sublang shift bug.
535 (bin_to_res_dialog): Don't print empty dialog caption.
537 * resbin.c (bin_to_res_dialog): Use signature to identify
540 * windres.c (main): Set default LANGUAGE to english/us.
542 2002-04-09 Gunnar Degnbol <degnbol@danbbs.dk>
544 * resrc.c: print CLASS names in quotes
546 2002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
548 * MAINTAINERS: Update my email address.
550 2002-04-04 Alan Modra <amodra@bigpond.net.au>
552 * dep-in.sed: Cope with absolute paths.
553 * Makefile.am (dep.sed): Subst TOPDIR.
555 * Makefile.in: Regenerate.
557 2002-03-27 Peter Targett <peter.targett@arc.com>
559 * MAINTAINERS: Update my email address.
561 2002-03-21 Alan Modra <amodra@bigpond.net.au>
563 * Makefile.am: Run "make dep-am".
564 * Makefile.in: Regenerate.
565 * doc/Makefile.in: Regenerate.
566 * po/POTFILES.in: Regenerate.
567 * aclocal.m4: Regenerate.
568 * config.in: Regenerate.
569 * configure: Regenerate.
571 2002-03-20 Daniel Berlin <dan@dberlin.org>
573 * readelf.c: Add support for displaying dwarf2 location lists.
574 (do_debug_loc, debug_loc_section, debug_loc_size): New.
575 (parse_args): Use 'O' as shorthand for displaying location list
577 (process_section_headers): Handle debug_loc as well.
578 (load_debug_loc): New.
579 (free_debug_loc): New.
580 (fetch_location_list): New.
581 (display_debug_loc): New.
582 (display_debug_info): Call load_debug_loc and free_debug_loc.
583 (debug_displays): We can display .debug_loc now, too.
584 (usage): Update usage string.
585 (read_and_display_attr_value): Note location lists, but don't
588 2002-03-18 Tom Rix <trix@redhat.com>
590 * Makefile.am: Add binutils emulation support.
591 * configure.in: Same.
592 * configure.tgt: New file. Same.
593 * ar.c (main): Use ar_emul_parse_arg.
594 (usage): Use ar_emul_usage.
595 (replace_members): Use ar_emul_replace, ar_emul_append.
596 * binemul.c: New file. Define the binutils emulation
597 layer. Define default methods.
598 * binemul.h: New file. Binutils emulation layer header file.
599 * emul_aix.c: New file. AIX binutils emulation.
600 * emul_vanilla.c: New file. Default binutils emulation.
601 * Makefile.in: Regenerate.
604 2002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
606 * po/fr.po: Updated version.
608 2002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
610 * po/fr.po: Updated version.
612 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
614 * README: Update some version numbers.
616 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
618 * doc/binutils.texi (Target Selection): Fix LD crossreferences.
619 (Architecture Selection): Likewise.
621 2002-03-01 Dmitry Timoshkov <dmitry@baikal.ru>
623 * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
624 generating .exp file.
626 2002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
628 * readelf.c (dump_relocations): Fix typo.
630 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
632 * NEWS: Mark 2.12 branch.
634 2002-02-18 Timothy Daly <remote_bob@yahoo.com>
636 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
637 types for 64-bit MIPS. Narrow some fields for 80-char
639 (dump_relocations): Change spelling from 'unrecognised'
641 (decode_ARM_machine_flags): Likewise.
642 (parse_args): Likewise.
643 (read_and_display_attr_value): Likewise.
644 (display_debug_section): Likewise.
646 2002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
648 * NEWS: Mention support for MMIX.
650 2002-02-13 Matt Fredette <fredette@netbsd.org>
652 * readelf.c (get_machine_flags): Recognize EF_M68000.
654 2002-02-12 Alexandre Oliva <aoliva@redhat.com>
656 * MAINTAINERS: Added self as MN10300 co-maintainer.
658 2002-02-12 Alan Modra <amodra@bigpond.net.au>
660 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
663 2002-02-11 Daniel Jacobowitz <drow@mvista.com>
665 * MAINTAINERS: List myself as branch maintainer.
667 2002-02-11 Alan Modra <amodra@bigpond.net.au>
669 * configure: Regenerate.
670 * objcopy.c: Update copyright date.
671 * doc/Makefile.in: Regenerate.
673 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
675 * nlmconv.c: Back out localtime PARAMS change.
677 2002-02-11 Alan Modra <amodra@bigpond.net.au>
679 * objcopy.c (MKDIR): Define.
680 (copy_archive): Make name_list.name const. Use MKDIR.
681 Handle duplicate files in archives by making more temp dirs.
683 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
685 * coffdump.c: Include "getopt.h" after "bucomm.h"
686 so that macros are defined correctly.
687 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
688 prototype. Prototype main.
689 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
691 2002-02-06 Alexandre Oliva <aoliva@redhat.com>
693 * MAINTAINERS: Added self as SH co-maintainer.
695 2002-02-05 Nick Clifton <nickc@redhat.com>
697 * po/tr.po: Updated translation.
699 2002-02-01 Alan Modra <amodra@bigpond.net.au>
701 * Makefile.am: Run "make dep-am"
702 * Makefile.in: Regenerate.
704 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
706 * nm.c (print_value): Mark abfd unused.
708 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
710 * unwind-ia64.c (unw_decoder): Change second argument
711 to unsigned int, to match function prototypes.
713 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
715 * objdump.c: Include "getopt.h" after "bucomm.h" so that
716 __GNU_LIBRARY__ will be defined.
719 2002-01-27 Daniel Jacobowitz <drow@mvista.com>
721 * configure: Regenerated.
723 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
725 * doc/Makefile.am (install): Depend on install-info.
726 * doc/Makefile.in: Regenerate.
728 2002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
730 * objcopy.c (strip_usage): Document -d as an alias
733 * size.c (usage): Document [-t | --totals] options.
734 (long_options): Add --totals option.
735 (main): If the [-t | --totals] option is specified and
736 the output format is Berkeley-style, print the total
737 text, data, and bss sizes of all objects listed.
738 (print_berkeley_format): If the [-t | --totals] option
739 is specified, track the total text, data, and bss
741 * doc/binutils.texi (size): Document [-t | --totals] options.
742 (strip): Document -d as an alias for --strip-debug.
743 * NEWS: Mention new feature of size.
745 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
747 * po/fr.po: Updated version.
748 * po/es.po: Updated version.
750 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
752 * addr2line.c (usage): Update text to provide verbose
753 description of the command line options.
754 * ar.c (usage): Update text to provide verbose
755 description of the command line options.
756 (main): Accept -h and -H when running as ranlib.
757 * coffdump.c (show_usage): Update text to provide verbose
758 description of the command line options.
759 * dlltool.c (main): Accept -H as an alias for --help.
760 * nlmconv.c (show_usage): Update text to provide verbose
761 description of the command line options.
762 * nm.c (usage): Replace OPTIONS with option(s).
763 (main): Accept -H as an alias for --help.
764 * objcopy.c (strip_main): Accept -H as an alias for --help.
765 * objdump.c (main): Accept -v as an alias for --verbose.
766 * readelf.c (usage): Adjust format to match style used in
768 * size.c (usage): Update text to provide verbose description
769 of the command line options.
770 (main): Accept -v, -h and -H as command line options.
771 * srconv.c (show_usage): Update text to provide verbose
772 description of the command line options.
773 * strings.c (main): Accept -H and -v as command line options.
774 (usage): Update text to provide verbose description of the
775 command line options.
776 * sysdump.c (show_usage): Update text to provide verbose
777 description of the command line options.
778 * windres.c (usage): Adjust format to match style used in
781 * coffdump.c: Fix formatting.
782 * nlmconv.c: Fix formatting.
783 * srconv.c: Fix formatting.
784 * sysdump.c: Fix formatting.
786 2002-01-22 Alan Modra <amodra@bigpond.net.au>
788 * Makefile.am: Run "make dep-am".
789 * Makefile.in: Regenerate.
791 2002-01-18 Andreas Jaeger <aj@suse.de>
793 * version.c (print_version): Update year.
795 2002-01-17 Alan Modra <amodra@bigpond.net.au>
797 * readelf.c (get_machine_name): Handle EM_PPC64.
798 (guess_is_rela): Here too.
800 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
802 * po/binutils.pot: Regenerate.
803 * po/fr.po: Regenerate.
804 * po/tr.po: Regenerate.
806 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
808 * po/tr.po: Import new version.
810 2002-01-16 Alan Modra <amodra@bigpond.net.au>
812 * readelf.c (get_ppc64_dynamic_type): New.
813 (get_dynamic_type): Call it.
815 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
817 * objcopy.c (copy_usage): Use "options" instead of "switches".
818 (strip_usage): Use "options" instead of "switches".
819 * doc/binutils.texi (dlltool): Refer to "options" instead of
822 2002-01-14 Richard Earnshaw <rearnsha@arm.com>
824 * MAINTAINERS: Add self as co-maintainer for the ARM code.
826 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
828 * po/es.po: Import from translation project.
829 * configure.in (ALL_LINGUAS): Add es.
830 * configure: Regenerate.
832 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
834 * readelf.c (get_netbsd_elfcore_note_type): Use
835 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
837 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
839 * readelf.c: Update copyright years.
840 (get_note_type): Return a const char *.
841 (get_netbsd_elfcore_note_type): New function.
842 (process_note): Use get_netbsd_elfcore_note_type to get
843 the note type string for NetBSD ELF core files.
845 2002-01-06 Steve Ellcey <sje@cup.hp.com>
847 * readelf.c (get_ia64_segment_type): Add support for macros.
848 (get_segment_type): Add support for IA64 specific macros.
850 2001-12-20 Julian v. Bock <julian@wongr.net>
852 * readelf.c (print_symbol): New function: Print a formatted symbol
853 name. If --wide is specified do not truncate it.
854 (dump_relocations): Use print_symbol() to print symbol names.
855 (process_symbol_table): Likewise.
856 (process_syminfo): Likewise.
857 (process_mips_specific): Likewise.
858 (usage): Document new feature of --wide switch.
859 * doc/binutils.texi (objdump): Document additional behaviour of
862 2001-12-18 Michael Snyder <msnyder@redhat.com>
864 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
865 (copy_object): Don't set the start address or flags of a core file.
866 (copy_section): Don't relocate a core file. Don't copy contents
867 if the input section has the contents flag set, but the output
868 section does not (which happens with the fake 'note' pseudo-
869 sections that BFD creates for corefiles).
871 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
873 * readelf.c (get_machine_flags): Recognize header flags for ABI and
874 ASE extensions. More robust code for ISA checking. Ignore empty fields
875 in header flags for GNU extensions.
877 2001-12-18 Alan Modra <amodra@bigpond.net.au>
879 * objcopy.c (copy_archive): Set output bfd format outside the loop.
881 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
883 * po/ja.po: Import from translation project.
884 * configure.in (ALL_LINGUAS): Add ja.
885 * configure: Regenerate.
887 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
889 * addr2line.c (main): Protoype.
890 * ar.c (main): Protoype.
891 * nm.c (main): Protoype.
892 * objcopy.c (main): Protoype.
893 * objdump.c (main): Protoype.
894 * size.c (main): Protoype.
895 * strings.c (main): Protoype.
897 2001-12-17 Alan Modra <amodra@bigpond.net.au>
899 * readelf.c (symtab_shndx_hdr): New global.
900 (SECTION_HEADER_INDEX): Define.
901 (SECTION_HEADER_NUM): Define.
902 (SECTION_HEADER): Define.
903 (GET_ELF_SYMBOLS): Pass two params rather than three.
904 (get_32bit_elf_symbols): Take file and section args. Read and
905 use SHT_SYMTAB_SHNDX.
906 (get_64bit_elf_symbols): Likewise.
907 (dump_relocations): Use SECTION_HEADER to index "section_headers".
908 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
909 Remember symtab_shdx_hdr.
910 (process_program_headers): Scan from index 1 for segment map.
911 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
913 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
914 (process_unwind): Likewise.
915 (process_version_sections): Likewise.
916 (process_symbol_table): Likewise.
917 (display_debug_info): Likewise.
918 (process_dynamic_segment): Fake up a symtab section for changed
920 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
921 (process_program_headers): Kill signed/unsigned warning.
922 (load_debug_str): Likewise.
923 (display_debug_info): Likewise.
925 2001-12-13 Jakub Jelinek <jakub@redhat.com>
927 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
929 2001-12-11 Alan Modra <amodra@bigpond.net.au>
931 * readelf.c (process_file_header): Print extended e_shnum and
932 e_shdtrndx values. Set elf_header values for same.
933 (get_32bit_section_headers): Add "num" arg to read "num" headers.
934 (get_64bit_section_headers): Likewise.
935 (process_section_headers): Update calls.
936 (get_file_header): Call get_32bit_section_headers or 64bit variant.
938 2001-12-10 Jakub Jelinek <jakub@redhat.com>
940 * objcopy.c (setup_section): Copy entsize.
942 2001-12-07 Geoffrey Keating <geoffk@redhat.com>
944 * readelf.c (guess_is_rela): Add support for stormy16.
945 (dump_relocations): Likewise.
946 (get_machine_name): Likewise.
948 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
950 * dllwrap.c (main) Replace multiple strings describing a
951 single error with a single, newline escaped sentence to permit
952 better translation into foreign languages.
954 * readelf.c (get_elf_class): Remove internalionalisation of ELF
957 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
959 * strings.c (get_char): Initialize value.
961 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
963 * arlex.l: Silence compile warnings.
964 * arsup.h: Likewise. Fix formatting.
966 2001-12-04 Jakub Jelinek <jakub@redhat.com>
968 * strings.c: Include config.h before bfd.h.
969 (file_off): New type.
971 (print_strings): Use file_off instead of file_ptr. Print addresses
972 which don't fit into long correctly.
973 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
975 (strings_file): Use file_off instead of file_ptr. Use file_open.
976 * configure.in: Check for getc_unlocked.
977 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
979 * configure: Rebuilt.
980 * config.h.in: Rebuilt.
982 2001-11-29 H.J. Lu <hjl@gnu.org>
984 * bucomm.c (make_tempname): Revert the changes made on
985 2001-11-14 and 2001-11-12. They won't work with directories.
987 2001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
989 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
990 CFLAGS_FOR_TARGET to runtest in environment.
991 * Makefile.in: Rebuild.
992 * doc/Makefile.in: Rebuild.
994 2001-11-28 Mike Stump <mrs@wrs.com>
996 * objcopy.c (setup_section): Preserve SEC_RELOC when
997 --set-section-flags is used.
999 2001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
1001 * readelf.c (do_debug_str): New variable.
1002 (display_debug_str): New function: Display the contents of a
1004 (load_debug_str): New function: Load in the contents of a
1006 (free_debug_str): New function: Free the memory used by
1008 (fetch_indirect_string): Retrieve a string from the .debug_str
1011 (parse_args): Accept -ws.
1012 (process_section_headers): Allow the display of the .debug_str
1014 (read_and_display_attr_value): Use fetch_indirect_string. Show
1015 offset into .debug_str section.
1016 (display_debug_info): Use load_debug_str and free_debug_str.
1017 (debug_displays): Add .debug_str.
1018 * doc/binutils.texi: Document -ws.
1020 2001-11-19 Andreas Jaeger <aj@suse.de>
1022 * testsuite/binutils-all/objdump.exp: Add x86-64.
1024 2001-11-15 Andreas Schwab <schwab@suse.de>
1026 * readelf.c: Fix warnings without terminating newline.
1028 2001-11-15 Alan Modra <amodra@bigpond.net.au>
1030 * doc/binutils.texi (objdump): Document ppc -M options.
1032 2001-11-14 Andreas Jaeger <aj@suse.de>
1034 * doc/binutils.texi (objdump): Fix description to use x86-64.
1036 2001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
1038 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
1039 not all systems provide mkstemp.
1041 2001-11-14 Alan Modra <amodra@bigpond.net.au>
1043 * doc/binutils.texi (objdump): Document x86 -M options.
1045 2001-11-13 Keith Walker <keith.walker@arm.com>
1047 * readelf.c (read_and_display_attr_value): New function to
1048 handle DW_FORM_indirect.
1049 (read_and_display_attr): Use it.
1051 2001-11-13 Geoffrey Keating <geoffk@redhat.com>
1053 * readelf.c (display_debug_lines): Deal with unknown standard
1054 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
1057 2001-11-13 Timothy Wall <twall@alum.mit.edu>
1059 * MAINTAINERS: Add self as tic54x maintainer. This target
1060 includes the IBM C54XDSP clone.
1062 2001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
1064 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
1066 2001-11-09 Jeffrey A Law (law@cygnus.com)
1068 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
1069 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
1070 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
1071 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
1072 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
1073 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
1074 (unw_decode_b2, unw_decode_b3_b4): Likewise.
1076 * readelf.c (get_elf_class): Fix ISO portability glitch.
1077 (get_data_encoding, get_osabi_name, request_dump): Likewise.
1079 2001-11-07 Jakub Jelinek <jakub@redhat.com>
1081 * readelf.c (debug_str, debug_str_size): New.
1082 (display_debug_abbrev): If no abbrevs were read, skip the CU.
1084 (read_and_display_addr): Handle DW_FORM_strp.
1085 (display_debug_info): Read .debug_str section if present,
1086 so that DW_FORM_strp can be handled.
1087 Fix test for non-existant .debug_abbrev section.
1089 2001-11-05 Jakub Jelinek <jakub@redhat.com>
1091 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
1093 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
1095 2001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
1097 * MAINTAINERS: Add self as s390/s390x maintainer.
1099 2001-11-02 Tom Rix <trix@bluey.cygnus.com>
1101 * MAINTAINERS: Add self as PPC XCOFF maintainer.
1103 2001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
1105 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
1106 * configure: Regernate.
1107 * po/fr.po: New file.
1108 * po/tr.po: New file.
1110 2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
1112 * MAINTAINERS: Add self as MMIX port maintainer.
1113 * readelf.c: Include elf/mmix.h.
1114 (guess_is_rela): MMIX is RELA.
1115 (dump_relocations): Handle MMIX relocations.
1116 * Makefile.am: Regenerate dependencies.
1117 * Makefile.in: Regenerate.
1119 2001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
1121 * readelf.c (parse_args): Handle multiple options to the -w
1124 2001-10-12 Jakub Jelinek <jakub@redhat.com>
1126 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
1127 LOPROC, LOOS and LOUSER.
1129 2001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
1131 * MAINTAINERS: Update my email address.
1133 2001-10-03 Alan Modra <amodra@bigpond.net.au>
1135 * doc/Makefile.in: Regenerate.
1136 * configure: Regenerate.
1138 2001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
1140 * readelf.c (display_debug_line, display_debug_pubnames,
1141 display_debug_info, display_debug_frames): Detect and warn
1142 about 64-bit format entries.
1143 (display_debug_aranges): Reword 64-bit warning.
1144 (debug_displays): Add .debug_pubtypes as a known, but not yet
1145 supported, debug section.
1147 2001-10-02 Alan Modra <amodra@bigpond.net.au>
1149 * coffdump.c (PROGRAM_VERSION): Delete.
1150 (main <'V'>): Call print_version.
1151 * srconv.c: Likewise.
1152 * sysdump.c: Likewise.
1153 * version.c (program_version): Remove.
1154 (print_version): Use BFD_VERSION_STRING. Just print the current
1155 year in copyright message.
1156 * addr2line.c (program_version): Remove unused declaration.
1157 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
1158 place of BFD_VERSION.
1159 * Makefile.am (Makefile): Depend on bfd/configure.in.
1160 (cplus-dem.o): Depend on Makefile.
1162 * Makefile.in: Regenerate.
1164 2001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
1166 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
1167 format .debug_arange sections.
1168 (main): Add missing prototype.
1170 2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
1172 * Makefile.am: Update dependencies with "make dep-am".
1173 * Makefile.in: Regenerate.
1175 2001-09-28 Richard Henderson <rth@redhat.com>
1177 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
1179 2001-09-26 Alan Modra <amodra@bigpond.net.au>
1181 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
1183 (non_fatal): Likewise.
1184 * objdump.c (objdump_sprintf): Likewise.
1185 * readelf.c (error): Likewise.
1188 2001-09-25 Jakub Jelinek <jakub@redhat.com>
1190 * readelf.c (do_wide): New.
1191 (options): Add --wide.
1192 (usage, parse_args): Likewise.
1193 (process_program_headers): Put each segment on a single line if
1195 (process_section_headers): Put each section on a single line if
1197 * doc/binutils.texi: Document it.
1200 2001-09-25 Alan Modra <amodra@bigpond.net.au>
1202 * readelf.c (print_vma): Print 8 digits of low hex value.
1204 2001-09-24 Andreas Jaeger <aj@suse.de>
1206 * nlmconv.c: Fix warnings about unused attributes and function
1209 * strings.c: Add prototype for get_char.
1211 2000-09-19 H.J. Lu <hjl@gnu.org>
1213 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
1214 $(srcdir)/cxxfilt.man.
1215 * doc/Makefile.in: Rebuild.
1217 2001-09-19 Alan Modra <amodra@bigpond.net.au>
1219 * objcopy.c (copy_main): Correct rename-section string parsing.
1220 Consolidate new_name parsing, and error messages.
1222 2001-09-18 Bruno Haible <haible@clisp.cons.org>
1224 * addr2line.c: Don't include <ctype.h>.
1225 (main): For gettext, also set the LC_CTYPE locate facet.
1226 * ar.c (main): Likewise.
1227 * coffdump.c (main): Likewise.
1228 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
1229 (main): For gettext, also set the LC_CTYPE locate facet.
1230 Use ISALNUM instead of isalpha/isdigit.
1231 * dllwrap.c: Don't include <ctype.h>.
1232 (main): For gettext, also set the LC_CTYPE locate facet.
1233 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
1234 (main): For gettext, also set the LC_CTYPE locate facet.
1235 Use TOUPPER instead of islower/toupper.
1236 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
1237 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
1238 Use TOUPPER instead of islower/toupper.
1239 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
1240 * objcopy.c (main): Likewise.
1241 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
1242 (disassemble_bytes): Use ISPRINT instead of isprint.
1243 (dump_section_stabs): Use ISDIGIT instead of isdigit.
1244 (dump_data): Use ISPRINT instead of isprint.
1245 (main): For gettext, also set the LC_CTYPE locate facet.
1246 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
1247 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
1248 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
1249 Use TOUPPER instead of islower/toupper.
1250 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
1251 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
1252 (write_rc_accelerators): Use ISPRINT instead of isprint.
1253 (write_rc_rcdata): Likewise.
1254 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
1255 * srconv.c (main): Likewise.
1256 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
1257 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
1258 isdigit/isupper/islower.
1259 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
1260 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
1261 stab_demangle_prefix, stab_demangle_qualified,
1262 stab_demangle_template, stab_demangle_type,
1263 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
1264 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
1265 (isgraphic): Use ISPRINT instead of isascii/isprint.
1266 (main): Remove HAVE_LC_MESSAGES dependency.
1267 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
1268 (pbarray): Use ISPRINT instead of isprint.
1269 (main): For gettext, also set the LC_CTYPE locate facet.
1270 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
1271 (format_from_filename): Use ISPRINT instead of isprint.
1272 (main): For gettext, also set the LC_CTYPE locate facet.
1273 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
1274 (unicode_print): Use ISPRINT instead of isprint.
1275 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
1276 (stab_variable): Use ISDIGIT instead of isdigit.
1278 2001-09-18 Alan Modra <amodra@bigpond.net.au>
1280 * ar.c (print_contents): Cast args of bfd_seek to the right types.
1281 Replace bfd_read call with call to bfd_bread.
1282 (extract_file): Likewise.
1284 * objdump.c (dump_section_header): Cast section->filepos to
1285 unsigned long to suit printf format string.
1286 * readelf.c (process_section_headers): Similarly for sh_offset.
1287 (process_unwind): Likewise.
1289 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
1291 * strings.c (encoding, encoding_bytes): New variables.
1292 (long_options): Add --encoding.
1293 (main): Accept -e and --encoding.
1294 (get_char): New function. Read a, possibly wide, character from
1296 (print_strings): Use get_char().
1297 (usage): Document new command line option.
1298 * doc/binutils.texi: Document new command line option.
1299 * NEWS: Announce new command line option.
1301 2001-09-12 Alexandre Oliva <aoliva@redhat.com>
1303 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
1304 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
1305 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
1306 Removed EM_CYGNUS_ARC.
1308 2001-09-04 Jeffrey A Law (law@cygnus.com)
1310 * readelf.c: Include elf/h8 for H8 series definitions.
1311 (guess_is_rela): H8 series if RELA.
1312 (dump_relocations): Handle H8 series relocations.
1314 2001-08-31 Eric Christopher <echristo@redhat.com>
1316 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
1318 2001-08-29 Peter Targett <peter.targett@arccores.com>
1320 * MAINTAINERS: Include ARC Maintainer.
1322 2001-08-29 Ben Elliston <bje@redhat.com>
1324 * stabs.c (stab_demangle_template): Initialise s4.
1326 2001-08-27 Alan Modra <amodra@bigpond.net.au>
1328 * readelf.c (dump_relocations): Recognise EM_PPC64.
1330 2001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1332 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
1334 2001-08-25 H.J. Lu <hjl@gnu.org>
1336 * nm.c (print_width): New.
1337 (display_rel_file): Set `print_width' according to
1339 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
1341 2001-08-24 Alexandre Oliva <aoliva@redhat.com>
1343 * objcopy.c (use_alt_mach_code): New variable.
1344 (OPTION_ALT_MACH_CODE): Define.
1345 (copy_options): Added --alt-machine-code.
1346 (copy_main): Handle it.
1347 (copy_object): Switch to alternate machine code if requested.
1348 * doc/binutils.texi: Document new option.
1351 2001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1353 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
1355 2001-08-21 H.J. Lu <hjl@gnu.org>
1357 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
1358 (display_debug_info): Cast for 64bit hosts.
1359 (display_debug_frames): Likewise.
1360 (process_mips_specific): Likewise.
1362 2001-08-21 Andreas Jaeger <aj@suse.de>
1364 * coffgrok.h: Add missing parameter for prototype of coff_grok.
1366 * sysdump.c: Add missing prototypes.
1367 * srconv.c: Likewise.
1368 * unwind-ia64.c: Likewise.
1369 * coffdump.c: Likewise.
1371 * sysinfo.y: Print prototypes, include <ansidecl.h>.
1373 * coffgrok.c: Add missing prototypes, include libiberty.h instead
1374 of declaring xcalloc.
1376 2001-08-10 H.J. Lu <hjl@gnu.org>
1378 * nm.c (print_value): Add one arg, bfd *.
1379 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
1380 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
1381 (print_symbol_info_sysv): Likewise.
1382 (print_symbol_info_posix): Likewise.
1384 * objdump.c (dump_section_header): Replace printf_vma with
1386 (print_section_stabs): Likewise.
1387 (dump_bfd_header): Likewise.
1388 (objdump_print_value): Replace sprintf_vma with
1390 (disassemble_bytes): Likewise.
1391 (dump_reloc_set): Likewise.
1393 2001-08-10 Andreas Jaeger <aj@suse.de>
1395 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
1397 * configure: Regenerate.
1399 2001-08-09 Alan Modra <amodra@bigpond.net.au>
1401 * readelf.c: Add missing prototypes.
1402 * objdump.c: Likewise. Format existing prototypes.
1404 2001-08-08 Alexandre Oliva <aoliva@redhat.com>
1406 * readelf.c (display_debug_info): Add to abbrev_offset the addend
1407 of any RELA relocation for the abbrev_offset memory location that
1408 refers to the .debug_abbrev section symbol.
1410 2001-08-07 H.J. Lu <hjl@gnu.org>
1412 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
1413 (main): Return process_file ().
1415 2001-08-05 Philip Blundell <philb@gnu.org>
1417 * doc/binutils.texi: Use "Thumb" not "THUMB".
1419 2001-08-03 John Healy <jhealy@redhat.com>
1421 Patch suggested by Frank Eigler <fche@redhat.com>.
1422 * objdump.c (disassemble_data): Fill in section member of the
1423 disasm_info structure.
1425 2001-08-03 Tom Walsh <tom@cyberiansoftware.com>
1427 * configure.in: Added --with-windres option.
1428 * configure: Regenerated.
1430 2001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1432 * doc/binutils.texi: Use @command{name} for commands;
1433 use @option{-opt} for options; use @table @env for list of options;
1434 remove spaces arround [ | ] in synopsis.
1436 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
1439 2001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
1441 * objcopy.c: Fix formatting.
1442 (section_rename): New structure.
1443 (OPTION_RENAME_SECTION): New switch.
1444 (copy_usage): Document new switch.
1445 (add_section_rename): New function: Add a node to the section
1447 (find_section_rename): New function: Find the new name and
1448 flags for a section.
1449 (setup_section): Call find_section_name to determine the name
1450 of the output section.
1451 (copy_main): Handle OPTION_RENAME_SECTION.
1452 * binutils.texi: Document new switch.
1453 * NEWS: Mention new switch.
1455 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
1457 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
1458 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
1459 bug-binutils@gcc.org.
1461 2001-07-28 Matthias Kramm <kramm@quiss.org>
1463 * bucomm.c (list_supported_architectures): New function.
1464 * bucomm.h (list_supported_architectures): Declare.
1465 * objdump.c (usage): Call the above.
1467 2001-07-25 Dave Brolley <brolley@redhat.com>
1469 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
1470 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
1472 2001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
1474 * README: Update for 2.11. Change bug reporting email address.
1475 * MAINTAINERS: Tidy up. Change bug reporting email address.
1477 2001-07-16 DJ Delorie <dj@redhat.com>
1479 * resres.c (write_res_header): Align header size.
1480 (res_align_file): Calculate alignment correctly.
1482 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
1484 * resrc.c (write_rc_resource): Likewise.
1485 * windres.h (SUBLANG_SHIFT): Define - as 10.
1487 2001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
1489 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
1491 2001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
1493 * MAINTAINERS: Add notes about branch checkins.
1495 2001-07-05 Daniel Berlin <dan@cgsoftware.com>
1497 * readelf.c (display_debug_macinfo): New function, display
1498 .debug_macinfo section.
1499 (do_debug_macinfo): New variable.
1500 (parse_args): Handle "-w[mM]" to mean display macro info.
1501 (process_section_headers): Handle debug_macinfo.
1502 (debug_displays): Replace unsupported function with macinfo
1503 function for .debug_macinfo display.
1504 * doc/binutils.texi: Document new command line switch.
1505 * NEWS: Document new feature of readelf.
1507 2001-07-05 H.J. Lu <hjl@gnu.org>
1509 * objcopy.c (filter_symbols): Don't turn undefined symbols
1512 2001-07-03 H.J. Lu <hjl@gnu.org>
1514 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
1517 (dlltool.1): Likewise.
1518 (nlmconv.1): Likewise.
1520 (objcopy.1): Likewise.
1521 (objdump.1): Likewise.
1522 (ranlib.1): Likewise.
1523 (readelf.1): Likewise.
1525 (strings.1): Likewise.
1526 (strip.1): Likewise.
1527 (windres.1): Likewise.
1528 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
1529 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
1532 * doc/Makefile.in: Regenerated.
1534 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
1536 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
1538 2001-07-01 Daniel Berlin <dan@cgsoftware.com>
1540 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
1542 2001-06-29 James Cownie <jcownie@etnus.com>
1544 * readelf.c: Support DWARF 2.1 attributes.
1546 2001-06-28 Alan Modra <amodra@bigpond.net.au>
1548 * readelf.c (GET_DATA_ALLOC): Remove.
1550 (get_data): New function combining above macros, with an extra
1552 (slurp_rela_relocs): Use get_data, and catch error return.
1553 (slurp_rel_relocs): Likewise.
1554 (get_32bit_program_headers): Likewise.
1555 (get_64bit_program_headers): Likewise.
1556 (get_32bit_section_headers): Likewise.
1557 (get_64bit_section_headers): Likewise.
1558 (get_32bit_elf_symbols): Likewise.
1559 (get_64bit_elf_symbols): Likewise.
1560 (process_section_headers): Likewise.
1561 (process_relocs): Likewise.
1562 (slurp_ia64_unwind_table): Likewise.
1563 (process_unwind): Likewise.
1564 (get_32bit_dynamic_segment): Likewise.
1565 (get_64bit_dynamic_segment): Likewise.
1566 (process_dynamic_segment): Likewise.
1567 (process_version_sections): Likewise.
1568 (process_symbol_table): Likewise.
1569 (dump_section): Likewise.
1570 (display_debug_info): Likewise.
1571 (display_debug_section): Likewise.
1572 (process_section_contents): Likewise.
1573 (process_corefile_note_segment): Likewise.
1574 (process_mips_specific): Likewise. Also free econf32, econf64.
1576 2001-06-25 Alan Modra <amodra@bigpond.net.au>
1578 * readelf.c (dump_relocations): Print "bad symbol index" if
1579 symtab == NULL with non-zero symtab_index.
1580 (process_relocs): Don't bomb if reloc section has no symsec.
1582 2001-06-24 H.J. Lu <hjl@gnu.org>
1584 * objcopy.c (strip_main): Revert the change made on 2001-05-30
1586 (copy_main): Apply the the change made to strip_main on
1587 2001-05-30 by accident.
1589 2001-06-23 Andreas Jaeger <aj@suse.de>
1591 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
1593 (unw_decode_x2): Likewise.
1594 (unw_decode_x3): Likewise.
1595 (unw_decode_x4): Likewise.
1597 2001-06-23 Ben Elliston <bje@redhat.com>
1599 * MAINTAINERS: Add myself as M88k maintainer.
1601 2001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
1603 * objcopy.c (strip_main): Support -o or --output-file command lien
1606 2001-06-19 H.J. Lu <hjl@gnu.org>
1608 * doc/Makefile.in: Regenerated.
1610 2001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
1612 * readelf.c: Restore formatting.
1614 2001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
1616 * Makefile.am: Move documentation into doc subdirectory.
1617 * Makefile.in: Regenerated.
1618 * binutils.texi: Move into doc subdirectory.
1619 * addr2line.1: Removed.
1621 * dlltool.1: Likewise.
1622 * nlmconv.1: Likewise.
1624 * objcopy.1: Likewise.
1625 * objdump.1: Likewise.
1626 * ranlib.1: Likewise.
1627 * readelf.1: Likewise.
1629 * strings.1: Likewise.
1630 * strip.1: Likewise.
1631 * windres.1: Likewise.
1632 * cxxfilt.man: Likewise.
1633 * doc: New Directory.
1634 * doc/Makefile.am: New file.
1635 * doc/Makefile.in: Generate.
1637 2001-06-09 Alan Modra <amodra@bigpond.net.au>
1639 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
1641 2001-06-01 Alan Modra <amodra@bigpond.net.au>
1643 * MAINTAINERS: Update my email address.
1645 2001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
1647 * objcopy.c: Add new switches: --keep-global-symbol,
1648 --keep-symbols, --localize-symbols, --keep-global-symbols and
1650 * binutils.texi: Document new switches.
1651 * objcopy.1: Regenerate.
1652 * NEWS: Announce new feature.
1654 2001-05-28 Andreas Jaeger <aj@suse.de>
1656 * readelf.c (display_debug_frames): Fix warnings: Remove unused
1657 variables, fix format strings.
1659 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
1661 * objdump.c (disassemble_bytes): Remove section VMA adjustment
1662 when computing the address of the line to show.
1664 2001-05-16 Richard Henderson <rth@redhat.com>
1666 * readelf.c (do_debug_frames_interp): New.
1667 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
1668 (byte_get_big_endian): Likewise.
1669 (parse_args) ['F']: Set do_debug_frames_interp.
1670 (Frame_Chunk): Make data_factor signed, add fde_encoding.
1671 (frame_display_row): Don't trunc pc_begin to int.
1672 (size_of_encoded_value): New.
1673 (display_debug_frames): Handle 64-bit targets. Print raw data
1674 unless do_debug_frames_interp.
1675 (debug_displays): Remove duplicate .debug_frame.
1677 2001-05-15 Ralf Baechle <ralf@gnu.org>
1679 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
1680 The former constant was never in active use and is used otherwise
1683 2001-05-11 Jakub Jelinek <jakub@redhat.com>
1685 * readelf.c (process_unwind): Print all unwind sections, not just
1688 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1690 * readelf.c (process_unwind): Remove const specifier.
1692 2001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
1694 * strings.c (isgraphic): Do not use isascii() unless it is needed
1695 for isprint() to work.
1696 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
1698 2001-04-27 Johan Rydberg <jrydberg@opencores.org>
1700 * NEWS: Announce support for OpenRISC.
1702 2001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
1704 * dlltool.c (do_default_excludes): Initialise to true.
1706 2001-04-10 Alan Modra <amodra@one.net.au>
1708 * MAINTAINERS: Update my email address
1709 * nm.c (print_symbol_info_bsd): Use a simple printf string.
1711 2001-04-05 Hans-Peter Nilsson <hp@axis.com>
1713 * readelf.c (display_debug_lines): Fix typo for "Prologue".
1715 2001-03-30 H.J. Lu <hjl@gnu.org>
1717 * readelf.c (process_unwind): Just return if do_unwind is 0.
1719 2001-03-28 Roger Sayle <roger@metaphorics.com>
1721 * dlltool.c (make_one_lib_file): Fix section flags for
1722 .text, .data and .bss in stub ds*.o files to match those
1725 2001-03-29 H.J. Lu <hjl@gnu.org>
1727 * readelf.c (process_unwind): Only do unwind sections for
1730 2001-03-28 H.J. Lu <hjl@gnu.org>
1732 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
1733 * Makefile.in: Regenerate.
1735 2001-03-26 Andreas Jaeger <aj@suse.de>
1737 * binutils.texi (nm): Fix texi syntax.
1739 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1741 * binutils.texi: Put @c man begin and @c man end indications
1742 to generate man pages using texi2pod and pod2man. Put @c man title
1743 to identify each man. Add SEEALSO entries.
1744 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
1745 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
1747 (*.1): Build the man pages from binutils.texi.
1748 * Makefile.in: Regenerate.
1750 2001-03-13 Eric Kohl <ekohl@rz-online.de>
1752 * defparse.y (opt_equal_name): allow "." in name.
1753 * dlltool.c (def_exports): Added ability to generate forwarded exports.
1754 (gen_exp_file): Likewise.
1756 2001-03-12 Stefan Geuken <mail@stefan-geuken.de>
1758 * NEWS: Document addition of -B switch to objcopy.
1759 * binutils.texi: Document addition of -B switch to objcopy.
1760 * objcopy.c: (copy_options): Add --binary-architecture.
1761 (copy_usage): Document -B/--binary-architecture.
1762 (copy_main): Support -B/--binary-architecture. Set
1763 bfd_external_binary_architecture.
1765 2001-03-11 Andreas Jaeger <aj@suse.de>
1767 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
1768 (dump_relocations): Likewise.
1769 (get_machine_name): Likewise.
1771 2001-02-28 Nick Clifton <nickc@redhat.com>
1773 * readelf.c: (struct unw_aux_info): Remove const modifier for
1775 (process_unwind): Remove non-K&R compliant LHS type cast in call
1776 to GET_DATA_ALLOC macro.
1778 2001-02-28 Philip Blundell <pb@futuretv.com>
1780 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
1781 ABI is in use; remove ambiguity between the "unknown" EABI and
1782 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
1783 renamed EF_xx constants.
1785 2001-02-27 Alan Modra <alan@linuxcare.com.au>
1787 * configure.in (BFD_VERSION): New.
1788 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
1789 * configure: Regenerate.
1790 * Makefile.am: Run "make dep-am"
1791 * Makefile.in: Regenerate.
1793 2001-02-14 Nick Clifton <nickc@redhat.com>
1795 * MAINTAINERS: Add "Obvious Fix" rule.
1797 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1799 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
1800 literal concatenation.
1802 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1804 * readelf.c (struct unw_aux_info): Remove const from the info member.
1805 (process_unwind): Don't type-cast the third argument to the
1806 GET_DATA_ALLOC macro.
1808 2001-02-11 Nick Clifton <nickc@redhat.com>
1810 * readelf.c (dump_relocations): Free corrected allocated
1812 (process_unwind): Fix compile time warning.
1814 2001-02-10 Nick Clifton <nickc@redhat.com>
1816 * binutils.texi: Document new --unwind option to readelf.
1818 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
1820 * readelf.c: Add linux target for S/390.
1822 2001-02-10 Alan Modra <alan@linuxcare.com.au>
1824 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
1827 2001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
1829 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
1830 * aclocal.m4: Regenerate.
1831 * configure: Regenerate.
1833 2001-02-07 Todd Vierling <tv@wasabisystems.com>
1835 * bucomm.c (bfd_target_vector): Change extern array to pointer.
1836 * objdump.c (bfd_target_vector): Likewise.
1838 2001-02-07 David Mosberger <davidm@hpl.hp.com>
1840 * readelf.c (process_unwind): New function.
1841 (slurp_ia64_unwind_table): Ditto.
1842 (dump_ia64_unwind): Ditto.
1843 (find_symbol_for_address): Ditto.
1844 (slurp_rela_relocs): New function (split off from dump_relocations()).
1845 (slurp_rel_relocs): Ditto.
1846 (parse_args): Handle '-u' option.
1848 * unwind-ia64.c: New file.
1849 * unwind-ia64.h: New file.
1850 * Makefile.am: Include unwind-ia64.c in readelf build.
1851 * Makefile.in: Regenerate.
1852 * po/binutils.pot: Regenerate.
1854 2001-02-04 Philip Blundell <philb@gnu.org>
1856 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
1857 * configure: Regenerate.
1859 2001-01-31 Steve deRosier <sderosier@vari-lite.com>
1861 * ieee.c (ieee_add_bb11): Don't check for backslashes
1862 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1864 2001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
1866 * ieee.c: Update copyright.
1867 (ieee_start_compilation_unit): Don't check for backslashes
1868 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1870 * stabs.c: Update copyright. Include "filenames.h".
1871 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
1873 2001-01-23 Jakub Jelinek <jakub@redhat.com>
1875 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
1876 sections are present before using them. Remove code duplication.
1877 (process_symbol_table): Check if VERDEF or VERNEED sections are
1878 present before using them.
1880 2001-01-17 Nick Clifton <nickc@redhat.com>
1882 * objcopy.c (copy_object): Fail if attempting to convert the
1883 endianness of the input object file.
1885 * binutils.texi: Explain that objcopy cannot convert endianness.
1887 2001-01-16 Nick Clifton <nickc@redhat.com>
1889 * readelf.c (string_table_length): New variable.
1890 (SECTION_NAME): Catch out of range indices and missing section
1892 (process_section_headers): Delete useless local variable
1893 string_table_offset. Set the value of string_table_length
1894 after loading the string table.
1895 (process_mips_specific): Use SECTION_NAME macro.
1896 (process_file): Set string_table_length to 0 when it is freed.
1898 2001-01-12 Nick Clifton <nickc@redhat.com>
1900 * version.c (print_version): Update copyright date.
1902 2001-01-11 Peter Targett <peter.targett@arccores.com>
1904 * readelf.c (dump_relocations): Include selection with EM_ARC.
1905 (get_machine_name) Update name to "ARC".
1907 2001-01-09 Nick Clifton <nickc@redhat.com>
1909 * Makefile.am: Add rule to build objdump.o from objdump.c and
1911 * Makefile.in: Regenerate.
1913 * configure.in: Define OBJDUMP_DEFS. Default to empty.
1914 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
1915 -DDISASSEMBLER_NEEDS_RELOCS.
1916 * configure: Regenerate.
1918 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
1919 is defined read in the relocs even if dump_reloc_info is
1922 2001-01-07 Philip Blundell <philb@gnu.org>
1924 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
1928 2000-12-19 Nick Clifton <nickc@redhat.com>
1930 * dlltool.c: Add missing support for arm-epoc-pe.
1931 * configure.in: Add missing support for arm-epoc-pe.
1932 * configure: Regenerate.
1934 2000-12-15 Nick Clifton <nickc@redhat.com>
1936 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
1937 Mode parts of the x86 port.
1939 2000-12-04 Andreas Jaeger <aj@suse.de>
1941 * readelf.c (guess_is_rela): Add EM_X86_64.
1942 (dump_relocations): Add EM_X86_64.
1943 (get_machine_name): Add EM_X86_64.
1944 Include "elf/x86-64.h".
1946 2000-12-12 Nick Clifton <nickc@redhat.com>
1948 * readelf.c: Fix formatting.
1950 2000-12-11 Jan Hubicka <jh@suse.cz>
1952 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
1954 2000-12-07 Andrew Haley <aph@redhat.com>
1956 * readelf.c (display_debug_frames): Only display columns that are
1957 referenced by the frame debug info.
1959 2000-12-05 Nick Clifton <nickc@redhat.com>
1961 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
1963 2000-12-04 Jason Merrill <jason@redhat.com>
1965 * readelf.c (process_section_headers): Handle linkonce.wi sections.
1966 (display_debug_section): Likewise.
1967 (display_debug_info): Display CU header before bailing.
1969 2000-12-01 Chris Demetriou <cgd@sibyte.com>
1971 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
1972 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
1973 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
1975 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
1978 * readelf.c (get_machine_flags): Add case for
1981 2000-11-30 Richard Earnshaw <rearnsha@arm.com>
1983 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
1985 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
1987 * MAINTAINERS: Add J�örn Rennecke and self as SH maintainers.
1988 Change sourceware.cygnus.com to sources.redhat.com.
1989 Fix typo for "amongst".
1991 2000-11-28 Nick Clifton <nickc@redhat.com>
1993 * strip.1 (COPYING): Mention that the GNU Free Documentation
1994 License is present in the sources, but not the output, and
1995 also available from the GNU website.
1996 (GNU Free Documentation License): Comment out this section.
2005 * addr2line.1: Ditto.
2007 2000-11-27 DJ Delorie <dj@redhat.com>
2009 * readelf.c (usage): Add -wf (--debug-dump=frames) option.
2010 (parse_args): Support -wf option.
2011 (process_section_headers): Ditto.
2012 (debug_displays): Ditto.
2013 (display_debug_frames): New, dump *_frame sections.
2014 (frame_need_space): Support for above.
2015 (frame_display_row): Ditto.
2016 * binutils.texi: Document it.
2018 2000-11-24 Nick Clifton <nickc@redhat.com>
2020 * NEWS: Announce support for v5t, v5te and XScale.
2022 2000-11-22 Nick Clifton <nickc@redhat.com>
2024 * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
2025 EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
2026 (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
2027 (get_elf_section_flags: Add SHF_GROUP.
2028 (process_section_headers): Adjust output for 32-bit binaries
2029 to look nice on an 80 column terminal.
2031 2000-11-20 H.J. Lu <hjl@gnu.org>
2033 * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
2036 2000-11-17 Richard Henderson <rth@redhat.com>
2038 * readelf.c (display_debug_lines): Adjust last change to
2039 use sizeof (external->li_length).
2041 2000-11-17 Richard Henderson <rth@redhat.com>
2043 * readelf.c (display_debug_lines): Fix section length check
2044 and end_of_sequence computation.
2046 2000-11-06 Nick Clifton <nickc@redhat.com>
2048 * binutils.texi: Add GNU Free Documentation License.
2049 * objcopy.1: Add GNU Free Documentation License.
2050 * objdump.1: Add GNU Free Documentation License.
2051 * addr2line.1: Add GNU Free Documentation License.
2052 * ar.1: Add GNU Free Documentation License.
2053 * nlmconv.1: Add GNU Free Documentation License.
2054 * nm.1: Add GNU Free Documentation License.
2055 * ranlib.1: Add GNU Free Documentation License.
2056 * size.1: Add GNU Free Documentation License.
2057 * strings.1: Add GNU Free Documentation License.
2058 * strip.1: Add GNU Free Documentation License.
2060 2000-10-06 Luciano Gemme <ishitawa@yahoo.com>
2062 * objcopy.c (--srec-len=nn): New parameter to set the
2063 maximum length of generated Srecords.
2064 (--srec-forceS3): New parameter that restricts the generation of
2065 Srecords to type S3 only.
2066 * binutils.texi: Document new command line switches.
2067 * objcopy.1: Docuemnt the new command line switches.
2068 * NEWS: Announce the existence of the new command line switches.
2070 2000-10-31 Nick Clifton <nickc@redhat.com>
2072 * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
2073 code. Add Eric Chrisopher as maintainer of MN10300 port.
2075 2000-10-12 Roger Sayle <roger@metaphorics.com>
2077 * Make comma after string after icon/control optional.
2079 2000-09-13 Anders Norlander <anorland@acc.umu.se>
2081 * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
2083 * NEWS: Mention support for MIPS32.
2085 2000-09-08 Nick Clifton <nickc@redhat.com>
2087 * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
2089 2000-09-07 H.J. Lu <hjl@gnu.org>
2091 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
2092 * configure: Rebuild.
2094 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
2096 * configure: Rebuilt with new libtool.m4.
2098 2000-09-05 Nick Clifton <nickc@redhat.com>
2100 * aclocal.m4: Regenerate.
2101 * config.in: Regenerate.
2102 * configure: Regenerate.
2104 2000-09-04 Todd Vierling <tv@wasabisystems.com>
2106 * strip.1: Fix stray '\' in -o formatting.
2108 2000-09-02 Nick Clifton <nickc@redhat.com>
2110 * configure.in: Increase version number to 2.10.91.
2111 * configure: Regenerate.
2112 * aclocal.m4: Regenerate.
2113 * config.in: Regenerate.
2114 * po/binutils.pot: Regenerate.
2116 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
2118 * acinclude.m4: Include libtool and gettext macros from the
2120 * aclocal.m4, configure: Rebuilt.
2122 2000-08-30 Jamie Guinan <guinan@bluebutton.com>
2124 * resrc.c (close_input_stream): Delete extraneous logic
2126 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
2128 * NEWS: Mention support for CRIS.
2130 2000-08-21 Nick Clifton <nickc@redhat.com>
2132 * addr2line.c: Changed email address for Ulrich Lauther.
2134 2000-08-17 Christopher C. Chimelis <chris@debian.org>
2136 * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
2138 2000-08-17 Nick Clifton <nickc@redhat.com>
2140 * readelf.c (display_debug_pubnames): Only issue warning
2141 message once. Terminate message with a new line.
2142 (display_debug_aranges): Only display version 2 debug info.
2144 2000-08-14 Todd Vierling <tv@wasabisystems.com>
2146 * objcopy.c (strip_main): Silently accept -d as an alias for -g
2147 for compatability with old BSD systems.
2149 2000-08-14 Jason Eckhardt <jle@cygnus.com>
2151 * NEWS: Mention i860 support.
2153 2000-08-11 Carlo Wood <carlo@alinoe.com>
2155 * addr2line.c (main): Add const to char *.
2157 2000-08-11 Geoff Keating <geoffk@cygnus.com>
2159 * ar.c (main): Don't crash if called with no arguments
2160 or only '-X32_64' as an argument.
2162 2000-08-08 DJ Delorie <dj@redhat.com>
2164 * resrc.c: use "gcc -xc" instead of -xc-header
2166 2000-08-05 Jason Eckhardt <jle@cygnus.com>
2168 * readelf.c (elf/i860.h): Include.
2169 (dump_relocations): Add recognition of i860 architecture.
2170 (guess_is_rela): Add recognition of i860 architecture.
2172 2000-08-03 Nick Clifton <nickc@cygnus.com>
2174 * MAINTAINERS: Add information about CGEN maintainers.
2176 2000-07-26 Geoff Keating <geoffk@cygnus.com>
2178 * nm.c (main): Ignore '-X32_64' as an option.
2179 * ar.c (main): Likewise.
2180 * binutils.texi (nm): Document new option.
2183 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2185 * rdcoff.c (external_coff_symbol_p): K&R-ise.
2187 2000-07-20 H.J. Lu <hjl@gnu.org>
2189 * binutils.texi: Put back "@end table" deleted by
2192 2000-07-05 Kenneth Block <krblock@computer.org>
2194 * nm.c: Add optional style to demangle switch.
2195 * objdump.c: Add optional style to demangle switch.
2196 * addr2line.c: Add optional style to demangle switch.
2197 * binutils.texi: Document optional style to demangle
2200 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
2202 * MAINTAINERS: Add self as CRIS port maintainer.
2203 * readelf.c: Include elf/cris.h.
2204 (guess_is_rela): Handle EM_CRIS.
2205 (dump_relocations): Ditto.
2206 (get_machine_name): Ditto.
2207 * Makefile.am: Rebuild dependencies.
2208 * Makefile.in: Regenerate.
2209 * po/binutils.pot: Regenerate.
2211 2000-07-19 H.J. Lu <hjl@gnu.org>
2213 * readelf.c (get_dynamic_type): Change "AUXILARY" to
2215 (process_dynamic_segment): Print out strings for DT_CONFIG,
2216 DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
2218 2000-07-19 Mark Kettenis <kettenis@gnu.org>
2220 * nm.c (usage): Change output of `nm --help' to include a
2221 description of the purpose of the program and a detailed
2222 description of the accepted options.
2224 2000-07-19 H.J. Lu <hjl@gnu.org>
2226 * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
2229 2000-07-19 H.J. Lu <hjl@gnu.org>
2231 * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
2233 2000-07-19 H.J. Lu <hjl@gnu.org>
2235 * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
2237 (process_dynamic_segment): Likewise.
2239 * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
2240 DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
2241 (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
2242 DF_1_NODUMP and DF_1_CONLFAT.
2244 2000-07-18 Nick Clifton <nickc@cygnus.com>
2246 * binutils.texi (readelf): Fix spelling typo.
2248 2000-07-11 Mark Kettenis <kettenis@gnu.org>
2250 * objdump.c (usage): Make output of `objdump --help' more
2251 consistent with the rest of the GNU world. Add a line describing
2252 the purpose of the program.
2254 2000-07-10 David Huggins-Daines <dhd@linuxcare.com>
2256 * stabs.c (parse_stab_range_type): Cast to proper type to fix
2259 2000-07-10 Ryan Bradetich <rbradetich@uswest.net>
2261 * readelf.c (get_dynamic_data): Add casts and use unsigned chars
2263 (process_symbol_table): Ditto.
2264 (procesS_extended_line_op): Ditto.
2265 (display_debug_lines): Ditto.
2266 (display_debug_pubnames): Ditto.
2267 (read_and_display_attr): Ditto.
2269 2000-07-09 Nick Clifton <nickc@cygnus.com>
2271 * MAINTAINERS: Add several more port specific maintainers.
2273 2000-07-05 Nick Clifton <nickc@cygnus.com>
2275 * MAINTAINERS: Add blanket write privs for Michael Meissner.
2277 2000-06-05 DJ Delorie <dj@redhat.com>
2281 2000-07-01 Eric Fifer <EFifer@sanwaint.com>
2283 * dllwrap.c: Changed mistaken dyn_string_append() calls
2284 to dyn_string_append_cstr().
2286 2000-07-01 Alexander Aganichev <AAganichev@hypercom.com>
2288 * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
2289 struct debug_type stores size in bytes.
2291 2000-07-01 Alan Modra <alan@linuxcare.com.au>
2293 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
2294 (CLEANFILES): Add DEPA.
2295 * Makefile.in: Regenerate.
2297 2000-06-27 Alan Modra <alan@linuxcare.com.au>
2299 * ar.c: Revert incorrect 2000-06-25 patch.
2300 * bucomm.c: Likewise.
2302 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
2304 * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
2305 (external_coff_symbol_p): New function.
2306 (parse_coff): Use it.
2308 2000-06-25 Alexander Aganichev <AAganichev@hypercom.com>
2310 * ar.c (normalize): Advance past both characters in a DOS based
2311 <letter>: filepath prefix.
2313 * bucomm.c (make_tempname): Likewise.
2315 2000-06-24 Nick Clifton <nickc@cygnus.com>
2317 * objdump.c (usage): Fix description of --stabs switch.
2319 2000-06-22 Alan Modra <alan@linuxcare.com.au>
2321 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
2323 * Makefile.in: Regenerate.
2325 2000-06-20 Alexander Aganichev <AAganichev@hypercom.com>
2327 * ar.c (normalize): Correct pointer comparison when checking for
2330 * bucomm.c (make_tempname): Likewise.
2332 * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
2333 and search for backslashes in the original pathname.
2334 (ieee_add_bb11): Likewise.
2336 2000-06-18 Nick Clifton <nickc@redhat.com>
2338 * ar.c (print_contents): Improve verbose message.
2340 2000-06-15 H.J. Lu <hjl@gnu.org>
2342 * dyn-string.c: Removed. Not needed with dyn-string.c in
2344 * dyn-string.h: Likewise.
2346 * Makefile.am: Remove references to dyn-string.c and
2347 dyn-string.h. Rebuild dependency.
2348 * Makefile.in: Rebuild.
2350 2000-06-15 H.J. Lu <hjl@gnu.org>
2352 * binutils.texi: Put a warning on copying relocatable object
2353 files between two different formats.
2355 2000-06-13 DJ Delorie <dj@cygnus.com>
2357 * rcparse.y (control): ICON controls take an id as the first
2358 parameter, not an optional string. Also, call new convenience
2359 function that takes res_id's.
2360 * resrc.c (define_control): missing text means zero-length string,
2362 (define_icon_control): New.
2363 * windres.h: declare define_icon_control.
2365 2000-06-13 H.J. Lu <hjl@gnu.org>
2367 * configure: Regenerate.
2369 2000-06-08 David O'Brien <obrien@FreeBSD.org>
2371 * configure.in (VERSION): Update to show this is the CVS mainline.
2373 2000-06-02 David O'Brien <obrien@FreeBSD.org>
2375 * strings.c (isgraphic): Interpret <TAB> as a printable character,
2376 analogous to <SPACE>.
2378 2000-05-30 Alan Modra <alan@linuxcare.com.au>
2380 * objdump.c (display_target_list): Use bfd_close_all_done, not
2381 bfd_close to fix crash caused by 2000-05-24 change.
2383 2000-05-25 DJ Delorie <dj@cygnus.com>
2385 * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
2387 2000-05-26 Alan Modra <alan@linuxcare.com.au>
2389 * Makefile.am: Update dependencies with "make dep-am"
2390 * Makefile.in: Regenerate.
2392 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
2394 * ar.c: Include filenames.h.
2395 (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
2396 and drive letters in file names.
2397 (main): Support backslashes and drive letters in argv[0]. Drop
2398 the .exe suffix, if any, in argv[0] if is_ranlib is negative. Use
2399 FILENAME_CMP instead of strcmp to compare file names.
2400 (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
2402 (do_quick_append) [__GO32__]: Ditto.
2403 (get_pos_bfd, delete_members, move_members, replace_members):
2404 Compare file names with FILENAME_CMP.
2406 * bucomm.c: Include filenames.h.
2407 (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
2408 forward/backward slashes and drive letters in file names.
2410 * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
2411 mixed forward/backward slashes and drive letters in file names.
2413 * strings.c (O_BINARY, setmode, SET_BINARY): Define.
2414 (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
2417 * objcopy.c: Include filenames.h.
2418 (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
2419 before comparing to "strip".
2420 Use FILENAME_CMP to compare file names.
2422 * arsup.c: Include filenames.h.
2423 (map_over_list, ar_delete, ar_replace, ar_extract): Use
2424 FILENAME_CMP to compare file names.
2425 (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
2426 the temporary file name.
2428 * configure.in: Check for setmode.
2429 * configure: Regenerate.
2431 2000-05-24 Alan Modra <alan@linuxcare.com.au>
2433 * objdump.c (display_target_list): Close the bfd.
2434 (display_info_table): Likewise.
2436 2000-05-14 H.J. Lu (hjl@gnu.org)
2438 * objcopy.c (filter_symbols): Don't strip global symbols in
2439 relocatable object files.
2441 2000-05-14 Alan Modra <alan@linuxcare.com.au>
2443 * size.c (usage): Associate short options with corresponding long
2444 option to give a clue as to their function.
2446 2000-05-14 Philippe De Muyter <phdm@macqel.be>
2448 * size.c (main): Accept and ignore `-f' option.
2450 2000-05-13 Alan Modra <alan@linuxcare.com.au>
2452 * bucomm.h (gettext, dgettext, dcgettext, textdomain,
2453 bindtextdomain): Replace defines with those from intl/libgettext.h
2454 to quieten gcc warnings.
2456 2000-05-12 H.J. Lu <hjl@gnu.org>
2458 * nlmconv.c (temp_filename): Removed.
2460 * nlmconv.c (link_inputs): Use make_temp_file () instead of
2461 choose_temp_base ().
2462 * objdump.c (display_target_list): Likewise.
2463 (display_info_table): Likewise.
2465 2000-05-08 Alan Modra <alan@linuxcare.com.au>
2467 * objcopy.c (setup_section): Add const and gettext calls for err.
2469 2000-05-02 H.J. Lu <hjl@gnu.org>
2471 * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
2472 ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
2473 ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
2474 ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
2475 and ELFOSABI_OPENBSD.
2477 2000-05-02 Kazu Hirata <kazu@hxi.com>
2479 * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
2480 * srconv.c: Likewise.
2481 * sysdump.c: Likewise.
2483 2000-04-23 Denis Chertykov <denisc@overta.ru>
2485 * readelf.c (guess_is_rela): AVR uses RELA relocations.
2486 (get_machine_name): machine name for EM_AVR added.
2488 2000-04-21 Richard Henderson <rth@cygnus.com>
2489 David Mosberger <davidm@hpl.hp.com>
2491 * Makefile.am (readelf.o): Add elf/ia64.h.
2492 * Makefile.in: Rebuild.
2493 * readelf.c: Include elf/ia64.h.
2494 (guess_is_rela, dump_relocations): Handle EM_IA_64.
2496 2000-04-17 Timothy Wall <twall@cygnus.com>
2498 * objdump.c (disassemble_data): Set octets per byte *after*
2499 resolving arch/mach for binary files.
2501 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2503 * arlex.l: Add directives to increase lex buffer size.
2505 * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
2506 already included by bucomm.h.
2508 2000-04-10 Philippe De Muyter <phdm@macqel.be>
2510 * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
2511 `strftime' since strftime is not available on all systems.
2512 (process_mips_specific): Ditto.
2514 2000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
2516 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
2517 --enable-build-warnings option.
2518 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
2519 * Makefile.in, configure: Re-generate.
2521 2000-04-06 Alan Modra <alan@linuxcare.com.au>
2523 * addr2line.c: Update copyright.
2524 * objcopy.1: Likewise, and title.
2525 * strings.1: Likewise.
2527 * version.c (print_version): Add 2000.
2529 * rddbg.c (read_section_stabs_debugging_info): Don't use
2530 bfd_size_type for strx to avoid printf problems if BFD64.
2532 * bucomm.c: (report): Remove `static'.
2533 Move inclusion of stdarg.h/vararg.h from here.
2534 * bucomm.h: To here.
2535 (CONST): Change all occurences to const.
2536 (report): Declare it.
2537 (bfd_fatal): Add ATTRIBUTE_NORETURN.
2538 (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
2539 (non_fatal): Add ATTRIBUTE_PRINTF_1.
2541 * ar.c (main): Use fatal or non_fatal instead of fprintf.
2542 Correct a typo in an error message.
2543 (do_quick_append): Use non_fatal instead of fprintf.
2544 (move_members): Use fatal instead of fprintf, exit.
2545 * coffdump.c (main): Same here.
2547 * dlltool.c (display): Delete.
2549 (inform): Use `report' instead of `display'.
2550 (rvaafter): Remove trailing \n from fatal error msg.
2552 (asm_prefix): Ditto.
2553 (yyerror): Replace `warn' with `non_fatal', and remove \n.
2554 (def_name): Likewise.
2556 (scan_all_symbols): Likewise.
2557 (gen_lib_file): Likewise.
2558 (def_library): Likewise. Remove extra program_name too.
2559 (run): Remove \n from inform strings.
2560 (scan_drectve_symbols): Likewise.
2561 (add_excludes): Likewise.
2562 (scan_open_obj_file): Likewise.
2563 (gen_exp_file): Likewise.
2564 (gen_lib_file): Likewise.
2565 (process_duplicates): Likewise.
2567 * Makefile.am (dllwrap_SOURCES): Add version.c.
2568 * dllwrap.c (program_version): Delete.
2569 (print_version): Delete.
2570 (display): Always print trailing \n.
2572 (delete_temp_files): Use warn instead of fprintf. Use gettext.
2575 (usage): gettext'ify.
2576 (long_options): Add missing initialisers.
2578 * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
2579 (select_output_format): Likewise.
2580 (powerpc_mangle_relocs): Likewise.
2581 (link_inputs): Likewise.
2583 * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
2584 (set_output_format): Likewise.
2585 (main): Use non_fatal instead of fprintf.
2586 (display_rel_file): Likewise.
2588 * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
2589 (slurp_dynamic_symtab): Same here.
2590 (disassemble_data): And here.
2591 (read_section_stabs): And here.
2592 (read_section_stabs): And here.
2593 (dump_bfd): And here.
2595 (objdump_sprintf): Use fatal instead of fprintf, exit.
2596 (disassemble_data): Same here.
2598 * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
2599 (parse_coff_struct_type): Same here.
2600 (parse_coff_enum_type): And here.
2601 (parse_coff): And here.
2602 * rddbg.c (read_debugging_info): And here.
2603 * size.c (main): And here.
2604 * windres.c (format_from_name): And here.
2605 * wrstabs.c (stab_write_symbol): Here too.
2606 (write_stabs_in_sections_debugging_info): And here.
2607 (stab_int_type): And here.
2608 (stab_struct_field): And here.
2609 (stab_typdef): And here.
2611 * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
2612 * srconv.c (main): Same here.
2613 * strings.c (main): And here.
2614 (integer_arg): And here.
2615 * sysdump.c (main): And here.
2617 2000-04-06 Timothy Wall <twall@cygnus.com>
2619 * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
2621 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
2623 * readelf.c (decode_location_expression): Loop through multiple
2625 (read_and_display_attr): Pass in length.
2627 * readelf.c (read_and_display_attr): Add CU offset to references.
2628 (display_debug_info): Pass it in.
2630 2000-04-06 Nick Clifton <nickc@cygnus.com>
2632 * readelf.c (decode_ARM_machine_flags): New function.
2633 (get_machine_flags): Call decode_ARM_machine_flags for ARM
2636 (get_machine_name): Catch EM_AVR
2638 2000-04-05 Alan Modra <alan@linuxcare.com.au>
2640 * binutils.texi: Remove optional `=' from long options that have
2641 an `=' in the argument.
2642 * objcopy.1: Here too. Remove extra space on discard-all.
2644 * binutils.texi (objcopy): Mention --redefine-sym.
2645 * objcopy.1: Here too.
2648 * objcopy.c (parse_flags): Split off flag names from error message
2649 gettext as they are not translated.
2650 (copy_main): Similarly split off option name for --add-section,
2651 --set-section-flags, --change-section-vma, --change-section-lma
2653 Some white space changes.
2655 from Matthew Benjamin <matt@linuxbox.nu>
2656 * objcopy.c (struct redefine_node): New.
2657 (redefine_sym_list): New.
2658 (redefine_list_append): New.
2659 (lookup_sym_redefinition): New.
2660 (OPTION_REDEFINE_SYM): New.
2661 (copy_options): Add --redefine-sym option.
2662 (copy_usage): Mention it.
2663 (filter_symbols): Rename symbols on redefine_sym_list.
2664 (copy_object): Call filter_symbols if redefine_sym_list != NULL.
2665 (copy_main): Handle OPTION_REDEFINE_SYM.
2667 2000-04-04 H.J. Lu <hjl@gnu.org>
2669 * readelf.c (process_symbol_table): Correctly read in symbol
2670 versioning information.
2672 2000-04-04 Alan Modra <alan@linuxcare.com.au>
2674 * po/binutils.pot: Regenerate.
2676 * addr2line.c (usage): Restore translated part of bug string.
2677 * ar.c (usage): Likewise.
2678 * nlmconv.c (show_usage): Likewise.
2679 * nm.c (usage): Likewise.
2680 * objcopy.c (copy_usage): Likewise.
2681 (strip_usage): Likewise.
2682 * objdump.c (usage): Likewise.
2683 * readelf.c (usage): Likewise.
2684 * size.c (usage): Likewise.
2685 * strings.c (usage): Likewise.
2686 * windres.c (usage): Likewise.
2688 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
2689 (DEP): Quote when passing vars to sub-make. Add warning
2691 (DEP1): Rewrite for "gcc -MM".
2692 (CLEANFILES): Add DEP2.
2693 Update dependencies.
2694 * Makefile.in: Regenerate.
2696 2000-04-04 H.J. Lu <hjl@gnu.org>
2698 * Makefile.am (GENERATED_HFILES): Add rcparse.h
2699 (arparse.h): Depend on arparse.c
2700 (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
2702 2000-04-03 H.J. Lu (hjl@gnu.org)
2704 * size.c (usage): Use REPORT_BUGS_TO.
2706 2000-04-03 Alan Modra <alan@linuxcare.com.au>
2708 * bucomm.h: #include "bin-bugs.h"
2709 * addr2line.c (usage): Use REPORT_BUGS_TO.
2710 * ar.c (usage): Likewise.
2711 * nlmconv.c (show_usage): Likewise.
2712 * nm.c (usage): Likewise.
2713 (OPTION_TARGET): Define.
2714 (long_options): Use OPTION_TARGET rather than 200.
2717 * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
2718 (strip_usage): Likewise.
2719 * objdump.c (usage): Likewise.
2720 * readelf.c (usage): Likewise.
2721 * strings.c (usage): Likewise.
2722 * windres.c (usage): Likewise.
2724 2000-03-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
2726 * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
2728 2000-03-27 Nick Clifton <nickc@cygnus.com>
2730 * rddbg.c (read_section_stabs_debugging_info): Catch out of range
2731 string offsets in corrupt stabs entries.
2733 2000-03-27 Alan Modra <alan@linuxcare.com.au>
2735 * readelf.c: Include elf/avr.h
2736 (dump_relocations): Add EM_AVR case.
2738 2000-03-09 Tim Waugh <twaugh@redhat.com>
2740 * strings.1: Correct '-bytes' to '--bytes'.
2742 2000-03-08 H.J. Lu <hjl@gnu.org>
2744 * Makefile.am (install-exec-local): Depend on
2745 install-binPROGRAMS for parallel make.
2746 * Makefile.in: Regenerated.
2748 2000-02-27 Ian Lance Taylor <ian@zembu.com>
2750 From Brad Lucier <lucier@math.purdue.edu>:
2751 * readelf.c (process_dynamic_segment): Add cast to make sure
2752 argument to %* is int.
2754 2000-02-25 H.J. Lu <hjl@gnu.org>
2756 * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
2758 2000-02-24 Nick Clifton <nickc@cygnus.com>
2760 * configure.in: Add arm-wince, mips-pe and sh-pe targets.
2761 * configure: Regenerate.
2763 * dlltool.c: Add support for sh-pe and mips-pe targets.
2764 * rescoff.c: Add support for sh-pe and mips-pe targets.
2766 2000-02-23 H.J. Lu <hjl@gnu.org>
2768 * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
2770 2000-02-22 Nick Clifton <nickc@cygnus.com>
2772 * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
2774 2000-02-22 Ian Lance Taylor <ian@zembu.com>
2776 From Brad Lucier <lucier@math.purdue.edu>:
2777 * readelf.c (process_version_sections): Add casts to make sure
2778 argument to %* is an int.
2779 (process_mips_specific): Add casts to make printf arguments match
2782 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
2784 * objdump.c (dump_section_header): Change `opb' to unsigned.
2785 (find_symbol_for_address): Same here.
2786 (disassemble_data): And here. Change `addr_offset',
2787 `stop_offset', `nextstop_offset' to unsigned long.
2788 (dump_data): Change opb to unsigned.
2790 2000-02-18 Frank Ch. Eigler <fche@redhat.com>
2792 * resrc.c: Remove unmatched #if for cygwin.
2794 2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com>
2796 * binutils.texi: Document the change of flavor name from atpcs-special
2797 to special-atpcs to prevent name conflict in gdb.
2799 2000-02-08 Timothy Wall <twall@redhat.com>
2801 * objdump.c (show_line): Fix bug preventing printing of the very
2802 first line (line zero) of a file when interlisting source and
2803 assembly. Added option to print entire context from start of file
2804 when the first line from that file is encountered.
2806 2000-02-03 Timothy Wall <twall@redhat.com>
2808 * objdump.c (dump_section_header, find_symbol_for_address,
2809 show_line, disassemble_bytes, disassemble_data, dump_data):
2810 distinguish between octets and bytes.
2812 2000-01-27 Thomas de Lellis <tdel@windriver.com>
2814 * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
2815 check to unresolved symbols.
2816 (print_symbol_info_sysv): Ditto.
2817 (print_symbol_info_posix): Ditto.
2819 * binutils.texi: Document new 'V' symclass flag for nm.
2821 2000-01-27 Nick Clifton <nickc@redhat.com>
2823 * binutils.texi (objdump): Document new ARM specific
2824 disassembler options.
2826 * objdump.c (usage): Call disassembler_usage().
2828 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
2830 * readelf.c (get_dynamic_flags): Return buff.
2831 (process_dynamic_segment): Don't pass error strings to printf
2833 (read_and_display_attr): Use lx and ld to print longs.
2834 (process_corefile_note_segment): Cast bfd_vma to unsigned long
2838 2000-01-17 Nick Clifton <nickc@cygnus.com>
2840 * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
2842 2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
2844 * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
2846 (debug_tag_type): Here too.
2847 * ieee.c (ieee_builtin_type): And here.
2848 * stabs.c (parse_stab_type, parse_stab_array_type): And here.
2850 2000-01-13 Nick Clifton <nickc@cygnus.com>
2852 * readelf.c (get_machine_name): Change EM_S370 to return "IBM
2855 2000-01-11 Nick Clifton <nickc@cygnus.com>
2857 * readelf.c (get_dynamic_type): Remove DT_ENCODING.
2859 2000-01-10 Nick Clifton <nickc@cygnus.com>
2861 * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
2863 2000-01-07 Mumit Khan <khan@xraylith.wisc.edu>
2865 * windres.c (long_options): Add --use-temp-file and
2866 --no-use-temp-file options.
2870 * windres.h: Update read_rc_file prototype.
2872 * resrc.c (cpp_temp_file): New static variable.
2873 (istream_type): New static variable.
2874 (close_pipe): Delete function.
2875 (run_cmd): New static function.
2876 (open_input_stream): New static function.
2877 (close_input_stream): New static function.
2878 (look_for_default): Handle DOS directory separator. Use
2879 open_input_stream instead of popen.
2880 (read_rc_file): Likewise.
2882 * binutils.texi: Document --use-temp-file, --no-use-temp-file
2885 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
2887 * dlltool.c (create_compat_implib): New variable.
2888 (gen_exp_file): Use.
2889 (make_one_lib_file): Use.
2890 (long_options): Add --compat-implib option.
2894 * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
2895 (main): Use. Don't look for "32" in cygwin and mingw target names.
2897 2000-01-03 Nick Clifton <nickc@cygnus.com>
2899 * binutils.texi: Document new, ARM specific disassembler
2900 command line switch "-M force-thumb".
2902 For older changes see ChangeLog-9899
2908 version-control: never