1 2002-08-26 Alan Modra <amodra@bigpond.net.au>
3 * nm.c (display_rel_file): Don't report "no symbols" as an error.
4 * objdump.c (slurp_symtab): Likewise.
5 (slurp_dynamic_symtab): Likewise.
6 (dump_symbols): Likewise. Do print "no symbols" to stdout.
8 2002-08-24 Geoffrey Keating <geoffk@redhat.com>
10 * MAINTAINERS: Change my mailing address.
12 2002-08-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
14 * MAINTAINERS: Add Dave Anglin as HPPA co-maintainer.
16 2002-08-22 Nick Clifton <nickc@redhat.com>
18 * MAINTAINERS: Add Jeff Law as (maintainance) maintainer for
21 2002-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
23 * readelf.c (parse_args): Change debug_dump_opt to static.
25 2002-08-16 Sivaguru Sankaridurg <siva@eternal-systems.com>
27 * stabs.c (parse_stab_argtype): Pass length of physname to
28 stab_demangle_argtypes.
29 (stab_demangle_argtypes): Add new parameter - length of physname.
30 Pass length of physname on to stab_demangle_prefix.
31 (stab_demangle_prefix): Add new parameter - length of physname.
32 Use length of physname (if supplied) to compute end of function
35 2002-08-15 Alan Modra <amodra@bigpond.net.au>
37 * readelf.c: Include elf/i370.h.
38 (dump_relocations): Handle EM_S370.
39 (dynamic_segment_parisc_val): Print \n.
40 (process_dynamic_segment <DT_BIND_NOW>): Here too.
42 2002-08-14 Nick Clifton <nickc@redhat.com>
44 * nm.c (usage): Change 'gnu-new-abi' to 'gnu-v3'.
45 * objdump.c (usage): Likewise.
46 * doc/binutils.texi: Likewise.
48 2002-08-14 Luke Dunstan <infidel@users.sourceforge.net>
50 * rcparse.y (acc_entry): Don't warn about ALT use with
53 2002-08-13 H.J. Lu <hjl@gnu.org>
55 * objcopy.c (copy_object): Don't warn about the unsupported
56 architecture unless the input target is defaulted or the
57 output architecture is different from the input.
59 2002-08-09 Nick Clifton <nickc@redhat.com>
61 * po/sv.po: Updated Swedish translation.
63 2002-08-05 Alan Modra <amodra@bigpond.net.au>
65 * prdbg.c (pr_fix_visibility): Remove assert.
67 2002-07-31 Nick Clifton <nickc@redhat.com>
69 * addr2line.c (process_file): Rename parameter 'filename' to
70 'file_name' in order to avoid shadowing global symbol of the
74 2002-07-30 Jakub Jelinek <jakub@redhat.com>
76 * readelf.c (OPTION_DEBUG_DUMP): Define.
79 (parse_args): Handle --debug-dump separately from -w.
80 * doc/binutils.texi (readelf): Update documentation.
82 2002-07-25 Nick Clifton <nickc@redhat.com>
84 * po/es.po: Updated Spanish translation.
85 * po/fr.po: Updated French translation.
87 2002-07-24 Nick Clifton <nickc@redhat.com>
89 * po/es.po: Updated Spanish translation.
91 2002-07-23 Alan Modra <amodra@bigpond.net.au>
93 * Makefile.am: Run "make dep-am".
94 * Makefile.in: Regenerate.
96 2002-07-23 Nick Clifton <nickc@redhat.com>
98 * po/fr.po: Updated French translation.
100 2002-07-23 Eric S. Raymond <esr@golux.thyrsus.com>
102 * doc/binutils.texi (addr2line <man synopsis>): Correct brackets.
104 2002-07-20 Alan Modra <amodra@bigpond.net.au>
106 * budemang.c: Include config.h and string.h/strings.h.
108 2002-07-18 Denis Chertykov <denisc@overta.ru>
109 Frank Ch. Eigler <fche@redhat.com>
111 * readelf.c: Include "elf/ip2k.h".
112 (guess_is_rela): Add support for EM_IP2K and EM_IP2K_OLD.
113 (dump_relocations): Likewise.
114 (get_machine_name): Likewise.
115 * NEWS: Mention IP2K support.
117 2002-07-16 Nick Clifton <nickc@cambridge.redhat.com>
119 * NEWS: Add 'Changes in 2.13'.
121 2002-07-10 Jakub Jelinek <jakub@redhat.com>
123 * readelf.c (get_dynamic_type): Handle DT_GNU_PRELINKED,
124 DT_GNU_CONFLICT* and DT_GNU_LIBLISZ*.
125 (get_section_type_name): Handle SHT_GNU_LIBLIST.
126 (process_dynamic_segment): Handle DT_GNU_CONFLICTSZ,
127 DT_GNU_LIBLISTSZ and DT_GNU_PRELINKED.
128 (process_gnu_liblist): New.
129 (process_file): Call it.
131 2002-07-03 Alan Modra <amodra@bigpond.net.au>
133 * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
134 * Makefile.in: Regenerate.
136 2002-07-02 Alan Modra <amodra@bigpond.net.au>
138 * budemang.c: New file, "demangle" function.
139 * budemang.h: New file.
140 * addr2line.c (translate_addresses): Use "demangle".
141 * nm.c (print_symname): Likewise.
142 * objdump.c (objdump_print_symname): Likewise.
143 (dump_symbols): Likewise. Also, don't use bfd_asymbol_name macro
144 here since that obfuscates.
145 * rdcoff.c: Don't #include demangle.h.
146 * Makefile.am (CFILES): Add budemang.c, emul_aix.c,
147 emul_vanilla.c. Remove emul_$(EMULATION).c. Sort.
148 (HFILES): Add budemang.h. Sort.
149 (nm_new_SOURCES, objdump_SOURCES, addr2line_SOURCES): Add budemang.c.
151 * Makefile.in: Regenerate.
153 2002-07-01 Matt Thomas <matt@3am-software.com>
155 * readelf.c: Include "elf/vax.h".
156 (guess_is_rela): Move EM_VAX from unknown to RELA case.
157 (dump_relocations): Handle VAX relocations.
158 (get_machine_flags): Handle VAX machine flags.
160 2002-06-29 Stephane Carrez <stcarrez@nerim.fr>
162 * readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.
164 2002-06-26 Nick Clifton <nickc@cambridge.redhat.com>
166 * MAINTAINERS: Remove Tom Rix from d10v and pcc maintainerships.
168 2002-06-26 Alan Modra <amodra@bigpond.net.au>
170 * nm.c (print_symname): When demangling, strip leading dots from
171 symbol names to avoid confusing the demangler.
173 2002-06-25 H.J. Lu <hjl@gnu.org>
175 * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
176 * Makefile.in: Regenerated.
178 2002-06-21 Igor Schein <igor@txc.com>
180 * configure.in: Quote bu_cv_have_fopen64.
181 * configure: Regenerate.
183 2002-06-21 Mitsru Chinen <chinen@jp.ibm.com>
185 * configure.in: Check for strcoll.
186 * configure: Regenerate.
187 * config.in: Regenerate.
188 * nm.c (main): Set locale for LC_COLLATE category.
189 (non_numeric_forward): Use strcoll if available.
191 2002-06-20 Dave Brolley <brolley@redhat.com>
193 * MAINTAINERS: Add self as fr30 and frv maintainer.
195 2002-06-18 H.J. Lu (hjl@gnu.org)
197 * nm.c: Include "elf/common.h".
198 (extended_symbol_info): Add elfinfo, a pointer to
200 (SYM_SIZE): Use elfinfo if it is not NULL.
201 (get_symbol_type): New function.
202 (display_archive): Set print_width for each archive member.
203 (display_file): Likewise.
204 (display_rel_file): Don't set print_width here.
205 (print_object_filename_sysv): Handle print_width.
206 (print_archive_member_sysv): Likewise.
207 (print_symbols): Pass (bfd_vma) 0 to print_symbol.
208 (print_symbol): Set the elfinfo field in extended_symbol_info
210 (print_object_filename_sysv): Fix the output format.
211 (print_symbol_info_sysv): Print type and section for ELF.
213 2002-06-18 Elias Athanasopoulos <eathan@otenet.gr>
215 * nm.c (print_size_symbols): Remove assignment, which makes
216 the symbol's size equal to its value when --size-sort is
219 2002-06-18 Dave Brolley <brolley@redhat.com>
221 From Catherine Moore:
222 * readelf.c (elf/frv.h): #include it.
223 (guess_is_rela): Support EM_CYGNUS_FRV.
224 (dump_relocations): Ditto.
225 (get_machine_name): Ditto.
226 * Makefile.am (readelf.o): add dependency on $(INCDIR)/elf/frv.h.
228 2002-06-18 Jakub Jelinek <jakub@redhat.com>
230 * readelf.c (get_file_header): Only read the first section header if
233 2002-06-15 H.J. Lu (hjl@gnu.org)
235 * nm.c (print_size): New variable. Initialize to 0.
236 (long_options): Add 'S'/"print-size".
238 (print_symbol_info_bsd): Print size only if print_size is not
241 * doc/binutils.texi: Document -S/--print-size.
243 2002-6-13 Elias Athanasopoulos <eathan@otenet.gr>
245 * nm.c (struct extended_symbol_info): New strcuture: Add the size
246 of the symbols to the information provided by the symbol_info
248 (print_symbols): Pass the symbol size to print_symbol.
249 (print_size_symbols): Pass the symbol size to print_symbol.
250 (print_symbol): Extra argument: The size of the symbol. Store
251 this in the extended_symbol_info structure.
252 (print_symbol_info): Change type of info parameter to
253 extended_symbol_info. Display the size, if known.
254 (print_symbol_info_posix): Likewise.
255 (print_symbol_info_sysv): Likewise.
257 2002-06-08 Alan Modra <amodra@bigpond.net.au>
259 * Makefile.am: Run "make dep-am".
260 * Makefile.in: Regenerate.
261 * doc/Makefile.in: Regnerate.
263 * bucomm.c: Replace CONST with const.
265 * objdump.c: Likewise.
267 2002-06-07 H.J. Lu <hjl@gnu.org>
269 * readelf.c (DW_CFA_GNU_args_size): Don't define.
270 (DW_CFA_GNU_negative_offset_extended): Likewise.
271 (DW_CFA_GNU_window_save): Likewise.
272 (display_debug_frames): Handle DW_CFA_offset_extended_sf,
273 DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
275 2002-06-07 Elias Athanasopoulos <eathan@otenet.gr>
277 * nm.c: When computing size of symbols for an ELF target use the
280 2002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
282 * testsuite/binutils-all/objcopy.exp: clear xfail for
284 * testsuite/binutils-all/hppa/objdump.exp: Return if
287 2002-06-05 Alan Modra <amodra@bigpond.net.au>
289 * objcopy.c (copy_section): Don't copy SEC_GROUP sections.
291 2002-06-03 Elias Athanasopoulos <eathan@otenet.gr>
293 * objdump.c: Fix formatting.
295 2002-05-29 Ben Elliston <bje@redhat.com>
297 * MAINTAINERS: Add self as M68k maintainer.
299 2002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
301 * readelf.c: Modified/Added DLX elf support.
303 2002-05-27 Nick Clifton <nickc@cambridge.redhat.com>
305 * arsup.c: Fix formatting.
306 * debug.c (debug_record_label): Add missing colon to error
308 * ieee.c (parse_ieee_ty): Fix spelling typo.
309 * readelf.c (process_program_headers): Remove English assumption
310 about making a plural word.
311 (process_section_headers): Likewise.
312 (process_relocs): Allow quotes to be translated.
313 (process_unwind): Likewise,
314 (process_mips_specific): Improve error message.
315 (get_note_type): Fix spelling typo.
317 * configure.in (ALL_LINGUAS): Add sv
318 * po/sv.po: New file.
320 2002-05-27 Alan Modra <amodra@bigpond.net.au>
322 * unwind-ia64.c (unw_print_brmask): Don't use sprintf.
323 (unw_print_grmask): Likewise.
324 (unw_print_frmask): Likewise.
326 2002-05-26 Kazu Hirata <kazu@cs.umass.edu>
328 * arsup.c: Remove ARGSUSED.
331 * nlmconv.c: Likewise.
334 * wrstabs.c: Likewise.
336 2002-05-25 Alan Modra <amodra@bigpond.net.au>
338 * arlex.l: Use #include "" instead of <> for local header files.
339 * coffdump.c: Likewise.
340 * coffgrok.c: Likewise.
341 * nlmconv.c: Likewise.
342 * nlmheader.y: Likewise.
343 * srconv.c: Likewise.
344 * strings.c: Likewise.
345 * sysdump.c: Likewise.
346 * unwind-ia64.h: Likewise.
347 * windres.h: Likewise.
348 * winduni.h: Likewise.
350 2002-05-24 Tom Rix <trix@redhat.com>
352 * MAINTAINERS: Add self as the d10v maintainer.
354 2002-05-24 TAMURA Kent <kent@netbsd.org>
356 * configure.in: Builds dlltool for i386-netbsdpe.
357 * configure: Regenerate.
359 2002-05-23 Kazu Hirata <kazu@cs.umass.edu>
361 * size.c: Fix formatting.
362 * srconv.c: Likewise.
364 * sysdump.c: Likewise.
365 * unwind-ia64.c: Likewise.
366 * wrstabs.c: Likewise.
368 2002-05-23 Jakub Jelinek <jakub@redhat.com>
370 * readelf.c (get_segment_type): Add PT_TLS.
371 (get_elf_section_flags): Add SHF_TLS.
372 (get_dynamic_flags): Optimize. Add DF_STATIC_TLS.
373 (process_dynamic_segment): Use puts instead of printf.
374 (get_symbol_type): Support STT_TLS.
375 * objdump.c (dump_section_header): Remove SEC_CONSTRUCTOR_TEXT,
376 SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS.
377 Add SEC_THREAD_LOCAL.
379 2002-05-23 Kazu Hirata <kazu@cs.umass.edu>
381 * rdcoff.c: Fix formatting.
383 * readelf.c: Likewise.
384 * rename.c: Likewise.
385 * resbin.c: Likewise.
387 * resres.c: Likewise.
389 2002-05-21 Kazu Hirata <kazu@cs.umass.edu>
391 * filemode.c: Fix formatting.
393 * is-ranlib.c: Likewise.
394 * is-strip.c: Likewise.
395 * maybe-ranlib.c: Likewise.
396 * maybe-strip.c: Likewise.
397 * nlmconv.c: Likewise.
399 * not-ranlib.c: Likewise.
400 * not-strip.c: Likewise.
401 * objcopy.c: Likewise.
402 * objdump.c: Likewise.
404 2002-05-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
406 * objdump.c (dump_headers): Fix output formatting for ELF32
407 architectures in a BFD64 enabled toolchain.
409 2002-05-20 Kazu Hirata <kazu@cs.umass.edu>
411 * debug.c: Fix formatting.
413 * dlltool.c: Likewise.
414 * dllwrap.c: Likewise.
415 * emul_aix.c: Likewise.
416 * emul_vanilla.c: Likewise.
418 2002-05-19 Kazu Hirata <kazu@cs.umass.edu>
420 * addr2line.c: Fix formatting.
424 * binemul.c: Likewise.
425 * binemul.h: Likewise.
426 * bucomm.c: Likewise.
427 * coffdump.c: Likewise.
428 * coffgrok.c: Likewise.
429 * coffgrok.h: Likewise.
431 2002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
433 * MAINTAINERS: Add myself as the second AVR port maintainer.
435 2002-05-16 Stephane Carrez <stcarrez@nerim.fr>
437 * MAINTAINERS: Update my email address.
439 2002-05-09 Nick Clifton <nickc@cambridge.redhat.com>
441 * MAINTAINERS: Add Jason Thorpe as VAX maintainer.
443 2002-05-09 Alan Modra <amodra@bigpond.net.au>
445 * configure.in: Replace `*pe' with `pe' throughout.
446 * configure: Regenerate.
448 2002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
450 * Makefile.am: Honour DESTDIR.
451 * Makefile.in: Regenerate.
453 2002-05-06 Alan Modra <amodra@bigpond.net.au>
455 * dlltool.c (process_def_file): Add missing prototype.
456 (new_directive, assemble_file, main): Likewise.
457 (process_def_file, new_directive): Make static.
458 (inform): Rewrite using VA_FIXEDARG.
459 * dllwrap.c (mybasename): Add missing prototype.
460 (strhash, main): Likewise.
461 (inform): Rewrite using VA_FIXEDARG.
463 (cleanup_and_exit): Use old style function definition.
465 * windres.c (define_resource): Use one memset to clear all of
468 * rcparse.y: Remove newcmd rule. Move rcparse_discard_strings
469 call to rules that need no lookahead. Check for no lookahead.
471 2002-05-06 Borut Razem <borut.razem@siol.net>
473 * rclex.l (get_string): Correct "strings" list handling.
474 * resrc.c (read_rc_file): Discard strings.
476 2002-05-04 Alan Modra <amodra@bigpond.net.au>
478 * ar.c (replace_members): Remove unused var. Formatting fix.
479 * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
481 * MAINTAINERS: Sort port maintainers by CPU.
483 2002-05-04 Bob Byrnes <byrnes@curl.com>
485 * size.c (display_archive): Add last_arfile and code to close archives.
487 2002-05-01 Alan Modra <amodra@bigpond.net.au>
489 * nm.c (print_symbol): Check returned filename from
490 bfd_find_nearest_line is non-NULL.
492 2002-04-25 Elena Zannoni <ezannoni@redhat.com>
494 * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
496 2002-04-24 Christian Groessler <chris@groessler.org>
498 * MAINTAINERS: Changed my email address.
500 2002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
502 * arparse.y: Fix syntax warning.
504 2002-04-16 Nick Clifton <nickc@cambridge.redhat.com>
506 * readelf.c (fetch_location_list): Remove unused function.
508 * readelf.c (process_corefile_note_segment): Catch corrupt notes
509 and display a warning message, then exit the loop.
511 * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
513 2002-04-15 Nick Clifton <nickc@cambridge.redhat.com>
515 * resrc.c (write_rc_dialog): If charset is non-default value
516 display all of the DIALOGEX parameters.
518 2002-04-15 Eric Kohl <ekohl@rz-online.de>
520 * rcparse.y: Allow two to five parameter in FONT statement of
522 * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
524 (res_to_bin_dialog): Likewise.
525 * windres.h: Added misssing charset variable to dialog_ex
528 2002-04-10 Nick Clifton <nickc@cambridge.redhat.com>
530 * rcparse.y: Set MEMFLAG_PURE by default.
532 2002-04-09 Bernd Herd <info@herdsoft.com>
534 * rcparse.y: CLASS definitions in DIALOG resources
536 Fix typo in BEDIT warning.
537 Don't add default dialog style when explicit style specified.
538 Add WS_CAPTION dialog style if CAPTION is specified.
540 * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
541 (handle_quotes) "\a" escape (used for right justified key
542 definitions in menus) is encodes as binary 8.
544 * resrc.c (write_rc_dialog): Print style even if it is 0.
545 (write_rc_directory): Fix overlooked sublang shift bug.
546 (bin_to_res_dialog): Don't print empty dialog caption.
548 * resbin.c (bin_to_res_dialog): Use signature to identify
551 * windres.c (main): Set default LANGUAGE to english/us.
553 2002-04-09 Gunnar Degnbol <degnbol@danbbs.dk>
555 * resrc.c: print CLASS names in quotes
557 2002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
559 * MAINTAINERS: Update my email address.
561 2002-04-04 Alan Modra <amodra@bigpond.net.au>
563 * dep-in.sed: Cope with absolute paths.
564 * Makefile.am (dep.sed): Subst TOPDIR.
566 * Makefile.in: Regenerate.
568 2002-03-27 Peter Targett <peter.targett@arc.com>
570 * MAINTAINERS: Update my email address.
572 2002-03-21 Alan Modra <amodra@bigpond.net.au>
574 * Makefile.am: Run "make dep-am".
575 * Makefile.in: Regenerate.
576 * doc/Makefile.in: Regenerate.
577 * po/POTFILES.in: Regenerate.
578 * aclocal.m4: Regenerate.
579 * config.in: Regenerate.
580 * configure: Regenerate.
582 2002-03-20 Daniel Berlin <dan@dberlin.org>
584 * readelf.c: Add support for displaying dwarf2 location lists.
585 (do_debug_loc, debug_loc_section, debug_loc_size): New.
586 (parse_args): Use 'O' as shorthand for displaying location list
588 (process_section_headers): Handle debug_loc as well.
589 (load_debug_loc): New.
590 (free_debug_loc): New.
591 (fetch_location_list): New.
592 (display_debug_loc): New.
593 (display_debug_info): Call load_debug_loc and free_debug_loc.
594 (debug_displays): We can display .debug_loc now, too.
595 (usage): Update usage string.
596 (read_and_display_attr_value): Note location lists, but don't
599 2002-03-18 Tom Rix <trix@redhat.com>
601 * Makefile.am: Add binutils emulation support.
602 * configure.in: Same.
603 * configure.tgt: New file. Same.
604 * ar.c (main): Use ar_emul_parse_arg.
605 (usage): Use ar_emul_usage.
606 (replace_members): Use ar_emul_replace, ar_emul_append.
607 * binemul.c: New file. Define the binutils emulation
608 layer. Define default methods.
609 * binemul.h: New file. Binutils emulation layer header file.
610 * emul_aix.c: New file. AIX binutils emulation.
611 * emul_vanilla.c: New file. Default binutils emulation.
612 * Makefile.in: Regenerate.
615 2002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
617 * po/fr.po: Updated version.
619 2002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
621 * po/fr.po: Updated version.
623 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
625 * README: Update some version numbers.
627 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
629 * doc/binutils.texi (Target Selection): Fix LD crossreferences.
630 (Architecture Selection): Likewise.
632 2002-03-01 Dmitry Timoshkov <dmitry@baikal.ru>
634 * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
635 generating .exp file.
637 2002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
639 * readelf.c (dump_relocations): Fix typo.
641 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
643 * NEWS: Mark 2.12 branch.
645 2002-02-18 Timothy Daly <remote_bob@yahoo.com>
647 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
648 types for 64-bit MIPS. Narrow some fields for 80-char
650 (dump_relocations): Change spelling from 'unrecognised'
652 (decode_ARM_machine_flags): Likewise.
653 (parse_args): Likewise.
654 (read_and_display_attr_value): Likewise.
655 (display_debug_section): Likewise.
657 2002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
659 * NEWS: Mention support for MMIX.
661 2002-02-13 Matt Fredette <fredette@netbsd.org>
663 * readelf.c (get_machine_flags): Recognize EF_M68000.
665 2002-02-12 Alexandre Oliva <aoliva@redhat.com>
667 * MAINTAINERS: Added self as MN10300 co-maintainer.
669 2002-02-12 Alan Modra <amodra@bigpond.net.au>
671 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
674 2002-02-11 Daniel Jacobowitz <drow@mvista.com>
676 * MAINTAINERS: List myself as branch maintainer.
678 2002-02-11 Alan Modra <amodra@bigpond.net.au>
680 * configure: Regenerate.
681 * objcopy.c: Update copyright date.
682 * doc/Makefile.in: Regenerate.
684 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
686 * nlmconv.c: Back out localtime PARAMS change.
688 2002-02-11 Alan Modra <amodra@bigpond.net.au>
690 * objcopy.c (MKDIR): Define.
691 (copy_archive): Make name_list.name const. Use MKDIR.
692 Handle duplicate files in archives by making more temp dirs.
694 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
696 * coffdump.c: Include "getopt.h" after "bucomm.h"
697 so that macros are defined correctly.
698 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
699 prototype. Prototype main.
700 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
702 2002-02-06 Alexandre Oliva <aoliva@redhat.com>
704 * MAINTAINERS: Added self as SH co-maintainer.
706 2002-02-05 Nick Clifton <nickc@redhat.com>
708 * po/tr.po: Updated translation.
710 2002-02-01 Alan Modra <amodra@bigpond.net.au>
712 * Makefile.am: Run "make dep-am"
713 * Makefile.in: Regenerate.
715 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
717 * nm.c (print_value): Mark abfd unused.
719 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
721 * unwind-ia64.c (unw_decoder): Change second argument
722 to unsigned int, to match function prototypes.
724 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
726 * objdump.c: Include "getopt.h" after "bucomm.h" so that
727 __GNU_LIBRARY__ will be defined.
730 2002-01-27 Daniel Jacobowitz <drow@mvista.com>
732 * configure: Regenerated.
734 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
736 * doc/Makefile.am (install): Depend on install-info.
737 * doc/Makefile.in: Regenerate.
739 2002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
741 * objcopy.c (strip_usage): Document -d as an alias
744 * size.c (usage): Document [-t | --totals] options.
745 (long_options): Add --totals option.
746 (main): If the [-t | --totals] option is specified and
747 the output format is Berkeley-style, print the total
748 text, data, and bss sizes of all objects listed.
749 (print_berkeley_format): If the [-t | --totals] option
750 is specified, track the total text, data, and bss
752 * doc/binutils.texi (size): Document [-t | --totals] options.
753 (strip): Document -d as an alias for --strip-debug.
754 * NEWS: Mention new feature of size.
756 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
758 * po/fr.po: Updated version.
759 * po/es.po: Updated version.
761 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
763 * addr2line.c (usage): Update text to provide verbose
764 description of the command line options.
765 * ar.c (usage): Update text to provide verbose
766 description of the command line options.
767 (main): Accept -h and -H when running as ranlib.
768 * coffdump.c (show_usage): Update text to provide verbose
769 description of the command line options.
770 * dlltool.c (main): Accept -H as an alias for --help.
771 * nlmconv.c (show_usage): Update text to provide verbose
772 description of the command line options.
773 * nm.c (usage): Replace OPTIONS with option(s).
774 (main): Accept -H as an alias for --help.
775 * objcopy.c (strip_main): Accept -H as an alias for --help.
776 * objdump.c (main): Accept -v as an alias for --verbose.
777 * readelf.c (usage): Adjust format to match style used in
779 * size.c (usage): Update text to provide verbose description
780 of the command line options.
781 (main): Accept -v, -h and -H as command line options.
782 * srconv.c (show_usage): Update text to provide verbose
783 description of the command line options.
784 * strings.c (main): Accept -H and -v as command line options.
785 (usage): Update text to provide verbose description of the
786 command line options.
787 * sysdump.c (show_usage): Update text to provide verbose
788 description of the command line options.
789 * windres.c (usage): Adjust format to match style used in
792 * coffdump.c: Fix formatting.
793 * nlmconv.c: Fix formatting.
794 * srconv.c: Fix formatting.
795 * sysdump.c: Fix formatting.
797 2002-01-22 Alan Modra <amodra@bigpond.net.au>
799 * Makefile.am: Run "make dep-am".
800 * Makefile.in: Regenerate.
802 2002-01-18 Andreas Jaeger <aj@suse.de>
804 * version.c (print_version): Update year.
806 2002-01-17 Alan Modra <amodra@bigpond.net.au>
808 * readelf.c (get_machine_name): Handle EM_PPC64.
809 (guess_is_rela): Here too.
811 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
813 * po/binutils.pot: Regenerate.
814 * po/fr.po: Regenerate.
815 * po/tr.po: Regenerate.
817 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
819 * po/tr.po: Import new version.
821 2002-01-16 Alan Modra <amodra@bigpond.net.au>
823 * readelf.c (get_ppc64_dynamic_type): New.
824 (get_dynamic_type): Call it.
826 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
828 * objcopy.c (copy_usage): Use "options" instead of "switches".
829 (strip_usage): Use "options" instead of "switches".
830 * doc/binutils.texi (dlltool): Refer to "options" instead of
833 2002-01-14 Richard Earnshaw <rearnsha@arm.com>
835 * MAINTAINERS: Add self as co-maintainer for the ARM code.
837 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
839 * po/es.po: Import from translation project.
840 * configure.in (ALL_LINGUAS): Add es.
841 * configure: Regenerate.
843 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
845 * readelf.c (get_netbsd_elfcore_note_type): Use
846 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
848 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
850 * readelf.c: Update copyright years.
851 (get_note_type): Return a const char *.
852 (get_netbsd_elfcore_note_type): New function.
853 (process_note): Use get_netbsd_elfcore_note_type to get
854 the note type string for NetBSD ELF core files.
856 2002-01-06 Steve Ellcey <sje@cup.hp.com>
858 * readelf.c (get_ia64_segment_type): Add support for macros.
859 (get_segment_type): Add support for IA64 specific macros.
861 2001-12-20 Julian v. Bock <julian@wongr.net>
863 * readelf.c (print_symbol): New function: Print a formatted symbol
864 name. If --wide is specified do not truncate it.
865 (dump_relocations): Use print_symbol() to print symbol names.
866 (process_symbol_table): Likewise.
867 (process_syminfo): Likewise.
868 (process_mips_specific): Likewise.
869 (usage): Document new feature of --wide switch.
870 * doc/binutils.texi (objdump): Document additional behaviour of
873 2001-12-18 Michael Snyder <msnyder@redhat.com>
875 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
876 (copy_object): Don't set the start address or flags of a core file.
877 (copy_section): Don't relocate a core file. Don't copy contents
878 if the input section has the contents flag set, but the output
879 section does not (which happens with the fake 'note' pseudo-
880 sections that BFD creates for corefiles).
882 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
884 * readelf.c (get_machine_flags): Recognize header flags for ABI and
885 ASE extensions. More robust code for ISA checking. Ignore empty fields
886 in header flags for GNU extensions.
888 2001-12-18 Alan Modra <amodra@bigpond.net.au>
890 * objcopy.c (copy_archive): Set output bfd format outside the loop.
892 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
894 * po/ja.po: Import from translation project.
895 * configure.in (ALL_LINGUAS): Add ja.
896 * configure: Regenerate.
898 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
900 * addr2line.c (main): Protoype.
901 * ar.c (main): Protoype.
902 * nm.c (main): Protoype.
903 * objcopy.c (main): Protoype.
904 * objdump.c (main): Protoype.
905 * size.c (main): Protoype.
906 * strings.c (main): Protoype.
908 2001-12-17 Alan Modra <amodra@bigpond.net.au>
910 * readelf.c (symtab_shndx_hdr): New global.
911 (SECTION_HEADER_INDEX): Define.
912 (SECTION_HEADER_NUM): Define.
913 (SECTION_HEADER): Define.
914 (GET_ELF_SYMBOLS): Pass two params rather than three.
915 (get_32bit_elf_symbols): Take file and section args. Read and
916 use SHT_SYMTAB_SHNDX.
917 (get_64bit_elf_symbols): Likewise.
918 (dump_relocations): Use SECTION_HEADER to index "section_headers".
919 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
920 Remember symtab_shdx_hdr.
921 (process_program_headers): Scan from index 1 for segment map.
922 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
924 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
925 (process_unwind): Likewise.
926 (process_version_sections): Likewise.
927 (process_symbol_table): Likewise.
928 (display_debug_info): Likewise.
929 (process_dynamic_segment): Fake up a symtab section for changed
931 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
932 (process_program_headers): Kill signed/unsigned warning.
933 (load_debug_str): Likewise.
934 (display_debug_info): Likewise.
936 2001-12-13 Jakub Jelinek <jakub@redhat.com>
938 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
940 2001-12-11 Alan Modra <amodra@bigpond.net.au>
942 * readelf.c (process_file_header): Print extended e_shnum and
943 e_shdtrndx values. Set elf_header values for same.
944 (get_32bit_section_headers): Add "num" arg to read "num" headers.
945 (get_64bit_section_headers): Likewise.
946 (process_section_headers): Update calls.
947 (get_file_header): Call get_32bit_section_headers or 64bit variant.
949 2001-12-10 Jakub Jelinek <jakub@redhat.com>
951 * objcopy.c (setup_section): Copy entsize.
953 2001-12-07 Geoffrey Keating <geoffk@redhat.com>
955 * readelf.c (guess_is_rela): Add support for stormy16.
956 (dump_relocations): Likewise.
957 (get_machine_name): Likewise.
959 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
961 * dllwrap.c (main) Replace multiple strings describing a
962 single error with a single, newline escaped sentence to permit
963 better translation into foreign languages.
965 * readelf.c (get_elf_class): Remove internalionalisation of ELF
968 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
970 * strings.c (get_char): Initialize value.
972 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
974 * arlex.l: Silence compile warnings.
975 * arsup.h: Likewise. Fix formatting.
977 2001-12-04 Jakub Jelinek <jakub@redhat.com>
979 * strings.c: Include config.h before bfd.h.
980 (file_off): New type.
982 (print_strings): Use file_off instead of file_ptr. Print addresses
983 which don't fit into long correctly.
984 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
986 (strings_file): Use file_off instead of file_ptr. Use file_open.
987 * configure.in: Check for getc_unlocked.
988 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
990 * configure: Rebuilt.
991 * config.h.in: Rebuilt.
993 2001-11-29 H.J. Lu <hjl@gnu.org>
995 * bucomm.c (make_tempname): Revert the changes made on
996 2001-11-14 and 2001-11-12. They won't work with directories.
998 2001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
1000 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
1001 CFLAGS_FOR_TARGET to runtest in environment.
1002 * Makefile.in: Rebuild.
1003 * doc/Makefile.in: Rebuild.
1005 2001-11-28 Mike Stump <mrs@wrs.com>
1007 * objcopy.c (setup_section): Preserve SEC_RELOC when
1008 --set-section-flags is used.
1010 2001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
1012 * readelf.c (do_debug_str): New variable.
1013 (display_debug_str): New function: Display the contents of a
1015 (load_debug_str): New function: Load in the contents of a
1017 (free_debug_str): New function: Free the memory used by
1019 (fetch_indirect_string): Retrieve a string from the .debug_str
1022 (parse_args): Accept -ws.
1023 (process_section_headers): Allow the display of the .debug_str
1025 (read_and_display_attr_value): Use fetch_indirect_string. Show
1026 offset into .debug_str section.
1027 (display_debug_info): Use load_debug_str and free_debug_str.
1028 (debug_displays): Add .debug_str.
1029 * doc/binutils.texi: Document -ws.
1031 2001-11-19 Andreas Jaeger <aj@suse.de>
1033 * testsuite/binutils-all/objdump.exp: Add x86-64.
1035 2001-11-15 Andreas Schwab <schwab@suse.de>
1037 * readelf.c: Fix warnings without terminating newline.
1039 2001-11-15 Alan Modra <amodra@bigpond.net.au>
1041 * doc/binutils.texi (objdump): Document ppc -M options.
1043 2001-11-14 Andreas Jaeger <aj@suse.de>
1045 * doc/binutils.texi (objdump): Fix description to use x86-64.
1047 2001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
1049 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
1050 not all systems provide mkstemp.
1052 2001-11-14 Alan Modra <amodra@bigpond.net.au>
1054 * doc/binutils.texi (objdump): Document x86 -M options.
1056 2001-11-13 Keith Walker <keith.walker@arm.com>
1058 * readelf.c (read_and_display_attr_value): New function to
1059 handle DW_FORM_indirect.
1060 (read_and_display_attr): Use it.
1062 2001-11-13 Geoffrey Keating <geoffk@redhat.com>
1064 * readelf.c (display_debug_lines): Deal with unknown standard
1065 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
1068 2001-11-13 Timothy Wall <twall@alum.mit.edu>
1070 * MAINTAINERS: Add self as tic54x maintainer. This target
1071 includes the IBM C54XDSP clone.
1073 2001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
1075 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
1077 2001-11-09 Jeffrey A Law (law@cygnus.com)
1079 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
1080 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
1081 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
1082 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
1083 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
1084 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
1085 (unw_decode_b2, unw_decode_b3_b4): Likewise.
1087 * readelf.c (get_elf_class): Fix ISO portability glitch.
1088 (get_data_encoding, get_osabi_name, request_dump): Likewise.
1090 2001-11-07 Jakub Jelinek <jakub@redhat.com>
1092 * readelf.c (debug_str, debug_str_size): New.
1093 (display_debug_abbrev): If no abbrevs were read, skip the CU.
1095 (read_and_display_addr): Handle DW_FORM_strp.
1096 (display_debug_info): Read .debug_str section if present,
1097 so that DW_FORM_strp can be handled.
1098 Fix test for non-existant .debug_abbrev section.
1100 2001-11-05 Jakub Jelinek <jakub@redhat.com>
1102 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
1104 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
1106 2001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
1108 * MAINTAINERS: Add self as s390/s390x maintainer.
1110 2001-11-02 Tom Rix <trix@bluey.cygnus.com>
1112 * MAINTAINERS: Add self as PPC XCOFF maintainer.
1114 2001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
1116 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
1117 * configure: Regernate.
1118 * po/fr.po: New file.
1119 * po/tr.po: New file.
1121 2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
1123 * MAINTAINERS: Add self as MMIX port maintainer.
1124 * readelf.c: Include elf/mmix.h.
1125 (guess_is_rela): MMIX is RELA.
1126 (dump_relocations): Handle MMIX relocations.
1127 * Makefile.am: Regenerate dependencies.
1128 * Makefile.in: Regenerate.
1130 2001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
1132 * readelf.c (parse_args): Handle multiple options to the -w
1135 2001-10-12 Jakub Jelinek <jakub@redhat.com>
1137 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
1138 LOPROC, LOOS and LOUSER.
1140 2001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
1142 * MAINTAINERS: Update my email address.
1144 2001-10-03 Alan Modra <amodra@bigpond.net.au>
1146 * doc/Makefile.in: Regenerate.
1147 * configure: Regenerate.
1149 2001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
1151 * readelf.c (display_debug_line, display_debug_pubnames,
1152 display_debug_info, display_debug_frames): Detect and warn
1153 about 64-bit format entries.
1154 (display_debug_aranges): Reword 64-bit warning.
1155 (debug_displays): Add .debug_pubtypes as a known, but not yet
1156 supported, debug section.
1158 2001-10-02 Alan Modra <amodra@bigpond.net.au>
1160 * coffdump.c (PROGRAM_VERSION): Delete.
1161 (main <'V'>): Call print_version.
1162 * srconv.c: Likewise.
1163 * sysdump.c: Likewise.
1164 * version.c (program_version): Remove.
1165 (print_version): Use BFD_VERSION_STRING. Just print the current
1166 year in copyright message.
1167 * addr2line.c (program_version): Remove unused declaration.
1168 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
1169 place of BFD_VERSION.
1170 * Makefile.am (Makefile): Depend on bfd/configure.in.
1171 (cplus-dem.o): Depend on Makefile.
1173 * Makefile.in: Regenerate.
1175 2001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
1177 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
1178 format .debug_arange sections.
1179 (main): Add missing prototype.
1181 2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
1183 * Makefile.am: Update dependencies with "make dep-am".
1184 * Makefile.in: Regenerate.
1186 2001-09-28 Richard Henderson <rth@redhat.com>
1188 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
1190 2001-09-26 Alan Modra <amodra@bigpond.net.au>
1192 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
1194 (non_fatal): Likewise.
1195 * objdump.c (objdump_sprintf): Likewise.
1196 * readelf.c (error): Likewise.
1199 2001-09-25 Jakub Jelinek <jakub@redhat.com>
1201 * readelf.c (do_wide): New.
1202 (options): Add --wide.
1203 (usage, parse_args): Likewise.
1204 (process_program_headers): Put each segment on a single line if
1206 (process_section_headers): Put each section on a single line if
1208 * doc/binutils.texi: Document it.
1211 2001-09-25 Alan Modra <amodra@bigpond.net.au>
1213 * readelf.c (print_vma): Print 8 digits of low hex value.
1215 2001-09-24 Andreas Jaeger <aj@suse.de>
1217 * nlmconv.c: Fix warnings about unused attributes and function
1220 * strings.c: Add prototype for get_char.
1222 2000-09-19 H.J. Lu <hjl@gnu.org>
1224 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
1225 $(srcdir)/cxxfilt.man.
1226 * doc/Makefile.in: Rebuild.
1228 2001-09-19 Alan Modra <amodra@bigpond.net.au>
1230 * objcopy.c (copy_main): Correct rename-section string parsing.
1231 Consolidate new_name parsing, and error messages.
1233 2001-09-18 Bruno Haible <haible@clisp.cons.org>
1235 * addr2line.c: Don't include <ctype.h>.
1236 (main): For gettext, also set the LC_CTYPE locate facet.
1237 * ar.c (main): Likewise.
1238 * coffdump.c (main): Likewise.
1239 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
1240 (main): For gettext, also set the LC_CTYPE locate facet.
1241 Use ISALNUM instead of isalpha/isdigit.
1242 * dllwrap.c: Don't include <ctype.h>.
1243 (main): For gettext, also set the LC_CTYPE locate facet.
1244 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
1245 (main): For gettext, also set the LC_CTYPE locate facet.
1246 Use TOUPPER instead of islower/toupper.
1247 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
1248 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
1249 Use TOUPPER instead of islower/toupper.
1250 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
1251 * objcopy.c (main): Likewise.
1252 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
1253 (disassemble_bytes): Use ISPRINT instead of isprint.
1254 (dump_section_stabs): Use ISDIGIT instead of isdigit.
1255 (dump_data): Use ISPRINT instead of isprint.
1256 (main): For gettext, also set the LC_CTYPE locate facet.
1257 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
1258 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
1259 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
1260 Use TOUPPER instead of islower/toupper.
1261 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
1262 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
1263 (write_rc_accelerators): Use ISPRINT instead of isprint.
1264 (write_rc_rcdata): Likewise.
1265 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
1266 * srconv.c (main): Likewise.
1267 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
1268 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
1269 isdigit/isupper/islower.
1270 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
1271 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
1272 stab_demangle_prefix, stab_demangle_qualified,
1273 stab_demangle_template, stab_demangle_type,
1274 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
1275 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
1276 (isgraphic): Use ISPRINT instead of isascii/isprint.
1277 (main): Remove HAVE_LC_MESSAGES dependency.
1278 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
1279 (pbarray): Use ISPRINT instead of isprint.
1280 (main): For gettext, also set the LC_CTYPE locate facet.
1281 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
1282 (format_from_filename): Use ISPRINT instead of isprint.
1283 (main): For gettext, also set the LC_CTYPE locate facet.
1284 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
1285 (unicode_print): Use ISPRINT instead of isprint.
1286 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
1287 (stab_variable): Use ISDIGIT instead of isdigit.
1289 2001-09-18 Alan Modra <amodra@bigpond.net.au>
1291 * ar.c (print_contents): Cast args of bfd_seek to the right types.
1292 Replace bfd_read call with call to bfd_bread.
1293 (extract_file): Likewise.
1295 * objdump.c (dump_section_header): Cast section->filepos to
1296 unsigned long to suit printf format string.
1297 * readelf.c (process_section_headers): Similarly for sh_offset.
1298 (process_unwind): Likewise.
1300 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
1302 * strings.c (encoding, encoding_bytes): New variables.
1303 (long_options): Add --encoding.
1304 (main): Accept -e and --encoding.
1305 (get_char): New function. Read a, possibly wide, character from
1307 (print_strings): Use get_char().
1308 (usage): Document new command line option.
1309 * doc/binutils.texi: Document new command line option.
1310 * NEWS: Announce new command line option.
1312 2001-09-12 Alexandre Oliva <aoliva@redhat.com>
1314 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
1315 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
1316 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
1317 Removed EM_CYGNUS_ARC.
1319 2001-09-04 Jeffrey A Law (law@cygnus.com)
1321 * readelf.c: Include elf/h8 for H8 series definitions.
1322 (guess_is_rela): H8 series if RELA.
1323 (dump_relocations): Handle H8 series relocations.
1325 2001-08-31 Eric Christopher <echristo@redhat.com>
1327 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
1329 2001-08-29 Peter Targett <peter.targett@arccores.com>
1331 * MAINTAINERS: Include ARC Maintainer.
1333 2001-08-29 Ben Elliston <bje@redhat.com>
1335 * stabs.c (stab_demangle_template): Initialise s4.
1337 2001-08-27 Alan Modra <amodra@bigpond.net.au>
1339 * readelf.c (dump_relocations): Recognise EM_PPC64.
1341 2001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1343 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
1345 2001-08-25 H.J. Lu <hjl@gnu.org>
1347 * nm.c (print_width): New.
1348 (display_rel_file): Set `print_width' according to
1350 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
1352 2001-08-24 Alexandre Oliva <aoliva@redhat.com>
1354 * objcopy.c (use_alt_mach_code): New variable.
1355 (OPTION_ALT_MACH_CODE): Define.
1356 (copy_options): Added --alt-machine-code.
1357 (copy_main): Handle it.
1358 (copy_object): Switch to alternate machine code if requested.
1359 * doc/binutils.texi: Document new option.
1362 2001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1364 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
1366 2001-08-21 H.J. Lu <hjl@gnu.org>
1368 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
1369 (display_debug_info): Cast for 64bit hosts.
1370 (display_debug_frames): Likewise.
1371 (process_mips_specific): Likewise.
1373 2001-08-21 Andreas Jaeger <aj@suse.de>
1375 * coffgrok.h: Add missing parameter for prototype of coff_grok.
1377 * sysdump.c: Add missing prototypes.
1378 * srconv.c: Likewise.
1379 * unwind-ia64.c: Likewise.
1380 * coffdump.c: Likewise.
1382 * sysinfo.y: Print prototypes, include <ansidecl.h>.
1384 * coffgrok.c: Add missing prototypes, include libiberty.h instead
1385 of declaring xcalloc.
1387 2001-08-10 H.J. Lu <hjl@gnu.org>
1389 * nm.c (print_value): Add one arg, bfd *.
1390 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
1391 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
1392 (print_symbol_info_sysv): Likewise.
1393 (print_symbol_info_posix): Likewise.
1395 * objdump.c (dump_section_header): Replace printf_vma with
1397 (print_section_stabs): Likewise.
1398 (dump_bfd_header): Likewise.
1399 (objdump_print_value): Replace sprintf_vma with
1401 (disassemble_bytes): Likewise.
1402 (dump_reloc_set): Likewise.
1404 2001-08-10 Andreas Jaeger <aj@suse.de>
1406 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
1408 * configure: Regenerate.
1410 2001-08-09 Alan Modra <amodra@bigpond.net.au>
1412 * readelf.c: Add missing prototypes.
1413 * objdump.c: Likewise. Format existing prototypes.
1415 2001-08-08 Alexandre Oliva <aoliva@redhat.com>
1417 * readelf.c (display_debug_info): Add to abbrev_offset the addend
1418 of any RELA relocation for the abbrev_offset memory location that
1419 refers to the .debug_abbrev section symbol.
1421 2001-08-07 H.J. Lu <hjl@gnu.org>
1423 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
1424 (main): Return process_file ().
1426 2001-08-05 Philip Blundell <philb@gnu.org>
1428 * doc/binutils.texi: Use "Thumb" not "THUMB".
1430 2001-08-03 John Healy <jhealy@redhat.com>
1432 Patch suggested by Frank Eigler <fche@redhat.com>.
1433 * objdump.c (disassemble_data): Fill in section member of the
1434 disasm_info structure.
1436 2001-08-03 Tom Walsh <tom@cyberiansoftware.com>
1438 * configure.in: Added --with-windres option.
1439 * configure: Regenerated.
1441 2001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1443 * doc/binutils.texi: Use @command{name} for commands;
1444 use @option{-opt} for options; use @table @env for list of options;
1445 remove spaces arround [ | ] in synopsis.
1447 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
1450 2001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
1452 * objcopy.c: Fix formatting.
1453 (section_rename): New structure.
1454 (OPTION_RENAME_SECTION): New switch.
1455 (copy_usage): Document new switch.
1456 (add_section_rename): New function: Add a node to the section
1458 (find_section_rename): New function: Find the new name and
1459 flags for a section.
1460 (setup_section): Call find_section_name to determine the name
1461 of the output section.
1462 (copy_main): Handle OPTION_RENAME_SECTION.
1463 * binutils.texi: Document new switch.
1464 * NEWS: Mention new switch.
1466 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
1468 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
1469 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
1470 bug-binutils@gcc.org.
1472 2001-07-28 Matthias Kramm <kramm@quiss.org>
1474 * bucomm.c (list_supported_architectures): New function.
1475 * bucomm.h (list_supported_architectures): Declare.
1476 * objdump.c (usage): Call the above.
1478 2001-07-25 Dave Brolley <brolley@redhat.com>
1480 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
1481 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
1483 2001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
1485 * README: Update for 2.11. Change bug reporting email address.
1486 * MAINTAINERS: Tidy up. Change bug reporting email address.
1488 2001-07-16 DJ Delorie <dj@redhat.com>
1490 * resres.c (write_res_header): Align header size.
1491 (res_align_file): Calculate alignment correctly.
1493 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
1495 * resrc.c (write_rc_resource): Likewise.
1496 * windres.h (SUBLANG_SHIFT): Define - as 10.
1498 2001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
1500 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
1502 2001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
1504 * MAINTAINERS: Add notes about branch checkins.
1506 2001-07-05 Daniel Berlin <dan@cgsoftware.com>
1508 * readelf.c (display_debug_macinfo): New function, display
1509 .debug_macinfo section.
1510 (do_debug_macinfo): New variable.
1511 (parse_args): Handle "-w[mM]" to mean display macro info.
1512 (process_section_headers): Handle debug_macinfo.
1513 (debug_displays): Replace unsupported function with macinfo
1514 function for .debug_macinfo display.
1515 * doc/binutils.texi: Document new command line switch.
1516 * NEWS: Document new feature of readelf.
1518 2001-07-05 H.J. Lu <hjl@gnu.org>
1520 * objcopy.c (filter_symbols): Don't turn undefined symbols
1523 2001-07-03 H.J. Lu <hjl@gnu.org>
1525 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
1528 (dlltool.1): Likewise.
1529 (nlmconv.1): Likewise.
1531 (objcopy.1): Likewise.
1532 (objdump.1): Likewise.
1533 (ranlib.1): Likewise.
1534 (readelf.1): Likewise.
1536 (strings.1): Likewise.
1537 (strip.1): Likewise.
1538 (windres.1): Likewise.
1539 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
1540 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
1543 * doc/Makefile.in: Regenerated.
1545 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
1547 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
1549 2001-07-01 Daniel Berlin <dan@cgsoftware.com>
1551 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
1553 2001-06-29 James Cownie <jcownie@etnus.com>
1555 * readelf.c: Support DWARF 2.1 attributes.
1557 2001-06-28 Alan Modra <amodra@bigpond.net.au>
1559 * readelf.c (GET_DATA_ALLOC): Remove.
1561 (get_data): New function combining above macros, with an extra
1563 (slurp_rela_relocs): Use get_data, and catch error return.
1564 (slurp_rel_relocs): Likewise.
1565 (get_32bit_program_headers): Likewise.
1566 (get_64bit_program_headers): Likewise.
1567 (get_32bit_section_headers): Likewise.
1568 (get_64bit_section_headers): Likewise.
1569 (get_32bit_elf_symbols): Likewise.
1570 (get_64bit_elf_symbols): Likewise.
1571 (process_section_headers): Likewise.
1572 (process_relocs): Likewise.
1573 (slurp_ia64_unwind_table): Likewise.
1574 (process_unwind): Likewise.
1575 (get_32bit_dynamic_segment): Likewise.
1576 (get_64bit_dynamic_segment): Likewise.
1577 (process_dynamic_segment): Likewise.
1578 (process_version_sections): Likewise.
1579 (process_symbol_table): Likewise.
1580 (dump_section): Likewise.
1581 (display_debug_info): Likewise.
1582 (display_debug_section): Likewise.
1583 (process_section_contents): Likewise.
1584 (process_corefile_note_segment): Likewise.
1585 (process_mips_specific): Likewise. Also free econf32, econf64.
1587 2001-06-25 Alan Modra <amodra@bigpond.net.au>
1589 * readelf.c (dump_relocations): Print "bad symbol index" if
1590 symtab == NULL with non-zero symtab_index.
1591 (process_relocs): Don't bomb if reloc section has no symsec.
1593 2001-06-24 H.J. Lu <hjl@gnu.org>
1595 * objcopy.c (strip_main): Revert the change made on 2001-05-30
1597 (copy_main): Apply the the change made to strip_main on
1598 2001-05-30 by accident.
1600 2001-06-23 Andreas Jaeger <aj@suse.de>
1602 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
1604 (unw_decode_x2): Likewise.
1605 (unw_decode_x3): Likewise.
1606 (unw_decode_x4): Likewise.
1608 2001-06-23 Ben Elliston <bje@redhat.com>
1610 * MAINTAINERS: Add myself as M88k maintainer.
1612 2001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
1614 * objcopy.c (strip_main): Support -o or --output-file command lien
1617 2001-06-19 H.J. Lu <hjl@gnu.org>
1619 * doc/Makefile.in: Regenerated.
1621 2001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
1623 * readelf.c: Restore formatting.
1625 2001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
1627 * Makefile.am: Move documentation into doc subdirectory.
1628 * Makefile.in: Regenerated.
1629 * binutils.texi: Move into doc subdirectory.
1630 * addr2line.1: Removed.
1632 * dlltool.1: Likewise.
1633 * nlmconv.1: Likewise.
1635 * objcopy.1: Likewise.
1636 * objdump.1: Likewise.
1637 * ranlib.1: Likewise.
1638 * readelf.1: Likewise.
1640 * strings.1: Likewise.
1641 * strip.1: Likewise.
1642 * windres.1: Likewise.
1643 * cxxfilt.man: Likewise.
1644 * doc: New Directory.
1645 * doc/Makefile.am: New file.
1646 * doc/Makefile.in: Generate.
1648 2001-06-09 Alan Modra <amodra@bigpond.net.au>
1650 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
1652 2001-06-01 Alan Modra <amodra@bigpond.net.au>
1654 * MAINTAINERS: Update my email address.
1656 2001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
1658 * objcopy.c: Add new switches: --keep-global-symbol,
1659 --keep-symbols, --localize-symbols, --keep-global-symbols and
1661 * binutils.texi: Document new switches.
1662 * objcopy.1: Regenerate.
1663 * NEWS: Announce new feature.
1665 2001-05-28 Andreas Jaeger <aj@suse.de>
1667 * readelf.c (display_debug_frames): Fix warnings: Remove unused
1668 variables, fix format strings.
1670 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
1672 * objdump.c (disassemble_bytes): Remove section VMA adjustment
1673 when computing the address of the line to show.
1675 2001-05-16 Richard Henderson <rth@redhat.com>
1677 * readelf.c (do_debug_frames_interp): New.
1678 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
1679 (byte_get_big_endian): Likewise.
1680 (parse_args) ['F']: Set do_debug_frames_interp.
1681 (Frame_Chunk): Make data_factor signed, add fde_encoding.
1682 (frame_display_row): Don't trunc pc_begin to int.
1683 (size_of_encoded_value): New.
1684 (display_debug_frames): Handle 64-bit targets. Print raw data
1685 unless do_debug_frames_interp.
1686 (debug_displays): Remove duplicate .debug_frame.
1688 2001-05-15 Ralf Baechle <ralf@gnu.org>
1690 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
1691 The former constant was never in active use and is used otherwise
1694 2001-05-11 Jakub Jelinek <jakub@redhat.com>
1696 * readelf.c (process_unwind): Print all unwind sections, not just
1699 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1701 * readelf.c (process_unwind): Remove const specifier.
1703 2001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
1705 * strings.c (isgraphic): Do not use isascii() unless it is needed
1706 for isprint() to work.
1707 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
1709 2001-04-27 Johan Rydberg <jrydberg@opencores.org>
1711 * NEWS: Announce support for OpenRISC.
1713 2001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
1715 * dlltool.c (do_default_excludes): Initialise to true.
1717 2001-04-10 Alan Modra <amodra@one.net.au>
1719 * MAINTAINERS: Update my email address
1720 * nm.c (print_symbol_info_bsd): Use a simple printf string.
1722 2001-04-05 Hans-Peter Nilsson <hp@axis.com>
1724 * readelf.c (display_debug_lines): Fix typo for "Prologue".
1726 2001-03-30 H.J. Lu <hjl@gnu.org>
1728 * readelf.c (process_unwind): Just return if do_unwind is 0.
1730 2001-03-28 Roger Sayle <roger@metaphorics.com>
1732 * dlltool.c (make_one_lib_file): Fix section flags for
1733 .text, .data and .bss in stub ds*.o files to match those
1736 2001-03-29 H.J. Lu <hjl@gnu.org>
1738 * readelf.c (process_unwind): Only do unwind sections for
1741 2001-03-28 H.J. Lu <hjl@gnu.org>
1743 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
1744 * Makefile.in: Regenerate.
1746 2001-03-26 Andreas Jaeger <aj@suse.de>
1748 * binutils.texi (nm): Fix texi syntax.
1750 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1752 * binutils.texi: Put @c man begin and @c man end indications
1753 to generate man pages using texi2pod and pod2man. Put @c man title
1754 to identify each man. Add SEEALSO entries.
1755 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
1756 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
1758 (*.1): Build the man pages from binutils.texi.
1759 * Makefile.in: Regenerate.
1761 2001-03-13 Eric Kohl <ekohl@rz-online.de>
1763 * defparse.y (opt_equal_name): allow "." in name.
1764 * dlltool.c (def_exports): Added ability to generate forwarded exports.
1765 (gen_exp_file): Likewise.
1767 2001-03-12 Stefan Geuken <mail@stefan-geuken.de>
1769 * NEWS: Document addition of -B switch to objcopy.
1770 * binutils.texi: Document addition of -B switch to objcopy.
1771 * objcopy.c: (copy_options): Add --binary-architecture.
1772 (copy_usage): Document -B/--binary-architecture.
1773 (copy_main): Support -B/--binary-architecture. Set
1774 bfd_external_binary_architecture.
1776 2001-03-11 Andreas Jaeger <aj@suse.de>
1778 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
1779 (dump_relocations): Likewise.
1780 (get_machine_name): Likewise.
1782 2001-02-28 Nick Clifton <nickc@redhat.com>
1784 * readelf.c: (struct unw_aux_info): Remove const modifier for
1786 (process_unwind): Remove non-K&R compliant LHS type cast in call
1787 to GET_DATA_ALLOC macro.
1789 2001-02-28 Philip Blundell <pb@futuretv.com>
1791 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
1792 ABI is in use; remove ambiguity between the "unknown" EABI and
1793 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
1794 renamed EF_xx constants.
1796 2001-02-27 Alan Modra <alan@linuxcare.com.au>
1798 * configure.in (BFD_VERSION): New.
1799 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
1800 * configure: Regenerate.
1801 * Makefile.am: Run "make dep-am"
1802 * Makefile.in: Regenerate.
1804 2001-02-14 Nick Clifton <nickc@redhat.com>
1806 * MAINTAINERS: Add "Obvious Fix" rule.
1808 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1810 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
1811 literal concatenation.
1813 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1815 * readelf.c (struct unw_aux_info): Remove const from the info member.
1816 (process_unwind): Don't type-cast the third argument to the
1817 GET_DATA_ALLOC macro.
1819 2001-02-11 Nick Clifton <nickc@redhat.com>
1821 * readelf.c (dump_relocations): Free corrected allocated
1823 (process_unwind): Fix compile time warning.
1825 2001-02-10 Nick Clifton <nickc@redhat.com>
1827 * binutils.texi: Document new --unwind option to readelf.
1829 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
1831 * readelf.c: Add linux target for S/390.
1833 2001-02-10 Alan Modra <alan@linuxcare.com.au>
1835 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
1838 2001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
1840 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
1841 * aclocal.m4: Regenerate.
1842 * configure: Regenerate.
1844 2001-02-07 Todd Vierling <tv@wasabisystems.com>
1846 * bucomm.c (bfd_target_vector): Change extern array to pointer.
1847 * objdump.c (bfd_target_vector): Likewise.
1849 2001-02-07 David Mosberger <davidm@hpl.hp.com>
1851 * readelf.c (process_unwind): New function.
1852 (slurp_ia64_unwind_table): Ditto.
1853 (dump_ia64_unwind): Ditto.
1854 (find_symbol_for_address): Ditto.
1855 (slurp_rela_relocs): New function (split off from dump_relocations()).
1856 (slurp_rel_relocs): Ditto.
1857 (parse_args): Handle '-u' option.
1859 * unwind-ia64.c: New file.
1860 * unwind-ia64.h: New file.
1861 * Makefile.am: Include unwind-ia64.c in readelf build.
1862 * Makefile.in: Regenerate.
1863 * po/binutils.pot: Regenerate.
1865 2001-02-04 Philip Blundell <philb@gnu.org>
1867 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
1868 * configure: Regenerate.
1870 2001-01-31 Steve deRosier <sderosier@vari-lite.com>
1872 * ieee.c (ieee_add_bb11): Don't check for backslashes
1873 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1875 2001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
1877 * ieee.c: Update copyright.
1878 (ieee_start_compilation_unit): Don't check for backslashes
1879 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1881 * stabs.c: Update copyright. Include "filenames.h".
1882 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
1884 2001-01-23 Jakub Jelinek <jakub@redhat.com>
1886 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
1887 sections are present before using them. Remove code duplication.
1888 (process_symbol_table): Check if VERDEF or VERNEED sections are
1889 present before using them.
1891 2001-01-17 Nick Clifton <nickc@redhat.com>
1893 * objcopy.c (copy_object): Fail if attempting to convert the
1894 endianness of the input object file.
1896 * binutils.texi: Explain that objcopy cannot convert endianness.
1898 2001-01-16 Nick Clifton <nickc@redhat.com>
1900 * readelf.c (string_table_length): New variable.
1901 (SECTION_NAME): Catch out of range indices and missing section
1903 (process_section_headers): Delete useless local variable
1904 string_table_offset. Set the value of string_table_length
1905 after loading the string table.
1906 (process_mips_specific): Use SECTION_NAME macro.
1907 (process_file): Set string_table_length to 0 when it is freed.
1909 2001-01-12 Nick Clifton <nickc@redhat.com>
1911 * version.c (print_version): Update copyright date.
1913 2001-01-11 Peter Targett <peter.targett@arccores.com>
1915 * readelf.c (dump_relocations): Include selection with EM_ARC.
1916 (get_machine_name) Update name to "ARC".
1918 2001-01-09 Nick Clifton <nickc@redhat.com>
1920 * Makefile.am: Add rule to build objdump.o from objdump.c and
1922 * Makefile.in: Regenerate.
1924 * configure.in: Define OBJDUMP_DEFS. Default to empty.
1925 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
1926 -DDISASSEMBLER_NEEDS_RELOCS.
1927 * configure: Regenerate.
1929 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
1930 is defined read in the relocs even if dump_reloc_info is
1933 2001-01-07 Philip Blundell <philb@gnu.org>
1935 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
1939 2000-12-19 Nick Clifton <nickc@redhat.com>
1941 * dlltool.c: Add missing support for arm-epoc-pe.
1942 * configure.in: Add missing support for arm-epoc-pe.
1943 * configure: Regenerate.
1945 2000-12-15 Nick Clifton <nickc@redhat.com>
1947 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
1948 Mode parts of the x86 port.
1950 2000-12-04 Andreas Jaeger <aj@suse.de>
1952 * readelf.c (guess_is_rela): Add EM_X86_64.
1953 (dump_relocations): Add EM_X86_64.
1954 (get_machine_name): Add EM_X86_64.
1955 Include "elf/x86-64.h".
1957 2000-12-12 Nick Clifton <nickc@redhat.com>
1959 * readelf.c: Fix formatting.
1961 2000-12-11 Jan Hubicka <jh@suse.cz>
1963 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
1965 2000-12-07 Andrew Haley <aph@redhat.com>
1967 * readelf.c (display_debug_frames): Only display columns that are
1968 referenced by the frame debug info.
1970 2000-12-05 Nick Clifton <nickc@redhat.com>
1972 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
1974 2000-12-04 Jason Merrill <jason@redhat.com>
1976 * readelf.c (process_section_headers): Handle linkonce.wi sections.
1977 (display_debug_section): Likewise.
1978 (display_debug_info): Display CU header before bailing.
1980 2000-12-01 Chris Demetriou <cgd@sibyte.com>
1982 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
1983 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
1984 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
1986 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
1989 * readelf.c (get_machine_flags): Add case for
1992 2000-11-30 Richard Earnshaw <rearnsha@arm.com>
1994 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
1996 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
1998 * MAINTAINERS: Add J�örn Rennecke and self as SH maintainers.
1999 Change sourceware.cygnus.com to sources.redhat.com.
2000 Fix typo for "amongst".
2002 2000-11-28 Nick Clifton <nickc@redhat.com>
2004 * strip.1 (COPYING): Mention that the GNU Free Documentation
2005 License is present in the sources, but not the output, and
2006 also available from the GNU website.
2007 (GNU Free Documentation License): Comment out this section.
2016 * addr2line.1: Ditto.
2018 2000-11-27 DJ Delorie <dj@redhat.com>
2020 * readelf.c (usage): Add -wf (--debug-dump=frames) option.
2021 (parse_args): Support -wf option.
2022 (process_section_headers): Ditto.
2023 (debug_displays): Ditto.
2024 (display_debug_frames): New, dump *_frame sections.
2025 (frame_need_space): Support for above.
2026 (frame_display_row): Ditto.
2027 * binutils.texi: Document it.
2029 2000-11-24 Nick Clifton <nickc@redhat.com>
2031 * NEWS: Announce support for v5t, v5te and XScale.
2033 2000-11-22 Nick Clifton <nickc@redhat.com>
2035 * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
2036 EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
2037 (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
2038 (get_elf_section_flags: Add SHF_GROUP.
2039 (process_section_headers): Adjust output for 32-bit binaries
2040 to look nice on an 80 column terminal.
2042 2000-11-20 H.J. Lu <hjl@gnu.org>
2044 * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
2047 2000-11-17 Richard Henderson <rth@redhat.com>
2049 * readelf.c (display_debug_lines): Adjust last change to
2050 use sizeof (external->li_length).
2052 2000-11-17 Richard Henderson <rth@redhat.com>
2054 * readelf.c (display_debug_lines): Fix section length check
2055 and end_of_sequence computation.
2057 2000-11-06 Nick Clifton <nickc@redhat.com>
2059 * binutils.texi: Add GNU Free Documentation License.
2060 * objcopy.1: Add GNU Free Documentation License.
2061 * objdump.1: Add GNU Free Documentation License.
2062 * addr2line.1: Add GNU Free Documentation License.
2063 * ar.1: Add GNU Free Documentation License.
2064 * nlmconv.1: Add GNU Free Documentation License.
2065 * nm.1: Add GNU Free Documentation License.
2066 * ranlib.1: Add GNU Free Documentation License.
2067 * size.1: Add GNU Free Documentation License.
2068 * strings.1: Add GNU Free Documentation License.
2069 * strip.1: Add GNU Free Documentation License.
2071 2000-10-06 Luciano Gemme <ishitawa@yahoo.com>
2073 * objcopy.c (--srec-len=nn): New parameter to set the
2074 maximum length of generated Srecords.
2075 (--srec-forceS3): New parameter that restricts the generation of
2076 Srecords to type S3 only.
2077 * binutils.texi: Document new command line switches.
2078 * objcopy.1: Docuemnt the new command line switches.
2079 * NEWS: Announce the existence of the new command line switches.
2081 2000-10-31 Nick Clifton <nickc@redhat.com>
2083 * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
2084 code. Add Eric Chrisopher as maintainer of MN10300 port.
2086 2000-10-12 Roger Sayle <roger@metaphorics.com>
2088 * Make comma after string after icon/control optional.
2090 2000-09-13 Anders Norlander <anorland@acc.umu.se>
2092 * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
2094 * NEWS: Mention support for MIPS32.
2096 2000-09-08 Nick Clifton <nickc@redhat.com>
2098 * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
2100 2000-09-07 H.J. Lu <hjl@gnu.org>
2102 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
2103 * configure: Rebuild.
2105 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
2107 * configure: Rebuilt with new libtool.m4.
2109 2000-09-05 Nick Clifton <nickc@redhat.com>
2111 * aclocal.m4: Regenerate.
2112 * config.in: Regenerate.
2113 * configure: Regenerate.
2115 2000-09-04 Todd Vierling <tv@wasabisystems.com>
2117 * strip.1: Fix stray '\' in -o formatting.
2119 2000-09-02 Nick Clifton <nickc@redhat.com>
2121 * configure.in: Increase version number to 2.10.91.
2122 * configure: Regenerate.
2123 * aclocal.m4: Regenerate.
2124 * config.in: Regenerate.
2125 * po/binutils.pot: Regenerate.
2127 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
2129 * acinclude.m4: Include libtool and gettext macros from the
2131 * aclocal.m4, configure: Rebuilt.
2133 2000-08-30 Jamie Guinan <guinan@bluebutton.com>
2135 * resrc.c (close_input_stream): Delete extraneous logic
2137 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
2139 * NEWS: Mention support for CRIS.
2141 2000-08-21 Nick Clifton <nickc@redhat.com>
2143 * addr2line.c: Changed email address for Ulrich Lauther.
2145 2000-08-17 Christopher C. Chimelis <chris@debian.org>
2147 * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
2149 2000-08-17 Nick Clifton <nickc@redhat.com>
2151 * readelf.c (display_debug_pubnames): Only issue warning
2152 message once. Terminate message with a new line.
2153 (display_debug_aranges): Only display version 2 debug info.
2155 2000-08-14 Todd Vierling <tv@wasabisystems.com>
2157 * objcopy.c (strip_main): Silently accept -d as an alias for -g
2158 for compatability with old BSD systems.
2160 2000-08-14 Jason Eckhardt <jle@cygnus.com>
2162 * NEWS: Mention i860 support.
2164 2000-08-11 Carlo Wood <carlo@alinoe.com>
2166 * addr2line.c (main): Add const to char *.
2168 2000-08-11 Geoff Keating <geoffk@cygnus.com>
2170 * ar.c (main): Don't crash if called with no arguments
2171 or only '-X32_64' as an argument.
2173 2000-08-08 DJ Delorie <dj@redhat.com>
2175 * resrc.c: use "gcc -xc" instead of -xc-header
2177 2000-08-05 Jason Eckhardt <jle@cygnus.com>
2179 * readelf.c (elf/i860.h): Include.
2180 (dump_relocations): Add recognition of i860 architecture.
2181 (guess_is_rela): Add recognition of i860 architecture.
2183 2000-08-03 Nick Clifton <nickc@cygnus.com>
2185 * MAINTAINERS: Add information about CGEN maintainers.
2187 2000-07-26 Geoff Keating <geoffk@cygnus.com>
2189 * nm.c (main): Ignore '-X32_64' as an option.
2190 * ar.c (main): Likewise.
2191 * binutils.texi (nm): Document new option.
2194 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2196 * rdcoff.c (external_coff_symbol_p): K&R-ise.
2198 2000-07-20 H.J. Lu <hjl@gnu.org>
2200 * binutils.texi: Put back "@end table" deleted by
2203 2000-07-05 Kenneth Block <krblock@computer.org>
2205 * nm.c: Add optional style to demangle switch.
2206 * objdump.c: Add optional style to demangle switch.
2207 * addr2line.c: Add optional style to demangle switch.
2208 * binutils.texi: Document optional style to demangle
2211 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
2213 * MAINTAINERS: Add self as CRIS port maintainer.
2214 * readelf.c: Include elf/cris.h.
2215 (guess_is_rela): Handle EM_CRIS.
2216 (dump_relocations): Ditto.
2217 (get_machine_name): Ditto.
2218 * Makefile.am: Rebuild dependencies.
2219 * Makefile.in: Regenerate.
2220 * po/binutils.pot: Regenerate.
2222 2000-07-19 H.J. Lu <hjl@gnu.org>
2224 * readelf.c (get_dynamic_type): Change "AUXILARY" to
2226 (process_dynamic_segment): Print out strings for DT_CONFIG,
2227 DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
2229 2000-07-19 Mark Kettenis <kettenis@gnu.org>
2231 * nm.c (usage): Change output of `nm --help' to include a
2232 description of the purpose of the program and a detailed
2233 description of the accepted options.
2235 2000-07-19 H.J. Lu <hjl@gnu.org>
2237 * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
2240 2000-07-19 H.J. Lu <hjl@gnu.org>
2242 * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
2244 2000-07-19 H.J. Lu <hjl@gnu.org>
2246 * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
2248 (process_dynamic_segment): Likewise.
2250 * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
2251 DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
2252 (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
2253 DF_1_NODUMP and DF_1_CONLFAT.
2255 2000-07-18 Nick Clifton <nickc@cygnus.com>
2257 * binutils.texi (readelf): Fix spelling typo.
2259 2000-07-11 Mark Kettenis <kettenis@gnu.org>
2261 * objdump.c (usage): Make output of `objdump --help' more
2262 consistent with the rest of the GNU world. Add a line describing
2263 the purpose of the program.
2265 2000-07-10 David Huggins-Daines <dhd@linuxcare.com>
2267 * stabs.c (parse_stab_range_type): Cast to proper type to fix
2270 2000-07-10 Ryan Bradetich <rbradetich@uswest.net>
2272 * readelf.c (get_dynamic_data): Add casts and use unsigned chars
2274 (process_symbol_table): Ditto.
2275 (procesS_extended_line_op): Ditto.
2276 (display_debug_lines): Ditto.
2277 (display_debug_pubnames): Ditto.
2278 (read_and_display_attr): Ditto.
2280 2000-07-09 Nick Clifton <nickc@cygnus.com>
2282 * MAINTAINERS: Add several more port specific maintainers.
2284 2000-07-05 Nick Clifton <nickc@cygnus.com>
2286 * MAINTAINERS: Add blanket write privs for Michael Meissner.
2288 2000-06-05 DJ Delorie <dj@redhat.com>
2292 2000-07-01 Eric Fifer <EFifer@sanwaint.com>
2294 * dllwrap.c: Changed mistaken dyn_string_append() calls
2295 to dyn_string_append_cstr().
2297 2000-07-01 Alexander Aganichev <AAganichev@hypercom.com>
2299 * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
2300 struct debug_type stores size in bytes.
2302 2000-07-01 Alan Modra <alan@linuxcare.com.au>
2304 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
2305 (CLEANFILES): Add DEPA.
2306 * Makefile.in: Regenerate.
2308 2000-06-27 Alan Modra <alan@linuxcare.com.au>
2310 * ar.c: Revert incorrect 2000-06-25 patch.
2311 * bucomm.c: Likewise.
2313 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
2315 * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
2316 (external_coff_symbol_p): New function.
2317 (parse_coff): Use it.
2319 2000-06-25 Alexander Aganichev <AAganichev@hypercom.com>
2321 * ar.c (normalize): Advance past both characters in a DOS based
2322 <letter>: filepath prefix.
2324 * bucomm.c (make_tempname): Likewise.
2326 2000-06-24 Nick Clifton <nickc@cygnus.com>
2328 * objdump.c (usage): Fix description of --stabs switch.
2330 2000-06-22 Alan Modra <alan@linuxcare.com.au>
2332 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
2334 * Makefile.in: Regenerate.
2336 2000-06-20 Alexander Aganichev <AAganichev@hypercom.com>
2338 * ar.c (normalize): Correct pointer comparison when checking for
2341 * bucomm.c (make_tempname): Likewise.
2343 * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
2344 and search for backslashes in the original pathname.
2345 (ieee_add_bb11): Likewise.
2347 2000-06-18 Nick Clifton <nickc@redhat.com>
2349 * ar.c (print_contents): Improve verbose message.
2351 2000-06-15 H.J. Lu <hjl@gnu.org>
2353 * dyn-string.c: Removed. Not needed with dyn-string.c in
2355 * dyn-string.h: Likewise.
2357 * Makefile.am: Remove references to dyn-string.c and
2358 dyn-string.h. Rebuild dependency.
2359 * Makefile.in: Rebuild.
2361 2000-06-15 H.J. Lu <hjl@gnu.org>
2363 * binutils.texi: Put a warning on copying relocatable object
2364 files between two different formats.
2366 2000-06-13 DJ Delorie <dj@cygnus.com>
2368 * rcparse.y (control): ICON controls take an id as the first
2369 parameter, not an optional string. Also, call new convenience
2370 function that takes res_id's.
2371 * resrc.c (define_control): missing text means zero-length string,
2373 (define_icon_control): New.
2374 * windres.h: declare define_icon_control.
2376 2000-06-13 H.J. Lu <hjl@gnu.org>
2378 * configure: Regenerate.
2380 2000-06-08 David O'Brien <obrien@FreeBSD.org>
2382 * configure.in (VERSION): Update to show this is the CVS mainline.
2384 2000-06-02 David O'Brien <obrien@FreeBSD.org>
2386 * strings.c (isgraphic): Interpret <TAB> as a printable character,
2387 analogous to <SPACE>.
2389 2000-05-30 Alan Modra <alan@linuxcare.com.au>
2391 * objdump.c (display_target_list): Use bfd_close_all_done, not
2392 bfd_close to fix crash caused by 2000-05-24 change.
2394 2000-05-25 DJ Delorie <dj@cygnus.com>
2396 * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
2398 2000-05-26 Alan Modra <alan@linuxcare.com.au>
2400 * Makefile.am: Update dependencies with "make dep-am"
2401 * Makefile.in: Regenerate.
2403 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
2405 * ar.c: Include filenames.h.
2406 (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
2407 and drive letters in file names.
2408 (main): Support backslashes and drive letters in argv[0]. Drop
2409 the .exe suffix, if any, in argv[0] if is_ranlib is negative. Use
2410 FILENAME_CMP instead of strcmp to compare file names.
2411 (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
2413 (do_quick_append) [__GO32__]: Ditto.
2414 (get_pos_bfd, delete_members, move_members, replace_members):
2415 Compare file names with FILENAME_CMP.
2417 * bucomm.c: Include filenames.h.
2418 (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
2419 forward/backward slashes and drive letters in file names.
2421 * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
2422 mixed forward/backward slashes and drive letters in file names.
2424 * strings.c (O_BINARY, setmode, SET_BINARY): Define.
2425 (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
2428 * objcopy.c: Include filenames.h.
2429 (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
2430 before comparing to "strip".
2431 Use FILENAME_CMP to compare file names.
2433 * arsup.c: Include filenames.h.
2434 (map_over_list, ar_delete, ar_replace, ar_extract): Use
2435 FILENAME_CMP to compare file names.
2436 (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
2437 the temporary file name.
2439 * configure.in: Check for setmode.
2440 * configure: Regenerate.
2442 2000-05-24 Alan Modra <alan@linuxcare.com.au>
2444 * objdump.c (display_target_list): Close the bfd.
2445 (display_info_table): Likewise.
2447 2000-05-14 H.J. Lu (hjl@gnu.org)
2449 * objcopy.c (filter_symbols): Don't strip global symbols in
2450 relocatable object files.
2452 2000-05-14 Alan Modra <alan@linuxcare.com.au>
2454 * size.c (usage): Associate short options with corresponding long
2455 option to give a clue as to their function.
2457 2000-05-14 Philippe De Muyter <phdm@macqel.be>
2459 * size.c (main): Accept and ignore `-f' option.
2461 2000-05-13 Alan Modra <alan@linuxcare.com.au>
2463 * bucomm.h (gettext, dgettext, dcgettext, textdomain,
2464 bindtextdomain): Replace defines with those from intl/libgettext.h
2465 to quieten gcc warnings.
2467 2000-05-12 H.J. Lu <hjl@gnu.org>
2469 * nlmconv.c (temp_filename): Removed.
2471 * nlmconv.c (link_inputs): Use make_temp_file () instead of
2472 choose_temp_base ().
2473 * objdump.c (display_target_list): Likewise.
2474 (display_info_table): Likewise.
2476 2000-05-08 Alan Modra <alan@linuxcare.com.au>
2478 * objcopy.c (setup_section): Add const and gettext calls for err.
2480 2000-05-02 H.J. Lu <hjl@gnu.org>
2482 * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
2483 ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
2484 ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
2485 ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
2486 and ELFOSABI_OPENBSD.
2488 2000-05-02 Kazu Hirata <kazu@hxi.com>
2490 * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
2491 * srconv.c: Likewise.
2492 * sysdump.c: Likewise.
2494 2000-04-23 Denis Chertykov <denisc@overta.ru>
2496 * readelf.c (guess_is_rela): AVR uses RELA relocations.
2497 (get_machine_name): machine name for EM_AVR added.
2499 2000-04-21 Richard Henderson <rth@cygnus.com>
2500 David Mosberger <davidm@hpl.hp.com>
2502 * Makefile.am (readelf.o): Add elf/ia64.h.
2503 * Makefile.in: Rebuild.
2504 * readelf.c: Include elf/ia64.h.
2505 (guess_is_rela, dump_relocations): Handle EM_IA_64.
2507 2000-04-17 Timothy Wall <twall@cygnus.com>
2509 * objdump.c (disassemble_data): Set octets per byte *after*
2510 resolving arch/mach for binary files.
2512 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2514 * arlex.l: Add directives to increase lex buffer size.
2516 * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
2517 already included by bucomm.h.
2519 2000-04-10 Philippe De Muyter <phdm@macqel.be>
2521 * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
2522 `strftime' since strftime is not available on all systems.
2523 (process_mips_specific): Ditto.
2525 2000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
2527 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
2528 --enable-build-warnings option.
2529 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
2530 * Makefile.in, configure: Re-generate.
2532 2000-04-06 Alan Modra <alan@linuxcare.com.au>
2534 * addr2line.c: Update copyright.
2535 * objcopy.1: Likewise, and title.
2536 * strings.1: Likewise.
2538 * version.c (print_version): Add 2000.
2540 * rddbg.c (read_section_stabs_debugging_info): Don't use
2541 bfd_size_type for strx to avoid printf problems if BFD64.
2543 * bucomm.c: (report): Remove `static'.
2544 Move inclusion of stdarg.h/vararg.h from here.
2545 * bucomm.h: To here.
2546 (CONST): Change all occurences to const.
2547 (report): Declare it.
2548 (bfd_fatal): Add ATTRIBUTE_NORETURN.
2549 (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
2550 (non_fatal): Add ATTRIBUTE_PRINTF_1.
2552 * ar.c (main): Use fatal or non_fatal instead of fprintf.
2553 Correct a typo in an error message.
2554 (do_quick_append): Use non_fatal instead of fprintf.
2555 (move_members): Use fatal instead of fprintf, exit.
2556 * coffdump.c (main): Same here.
2558 * dlltool.c (display): Delete.
2560 (inform): Use `report' instead of `display'.
2561 (rvaafter): Remove trailing \n from fatal error msg.
2563 (asm_prefix): Ditto.
2564 (yyerror): Replace `warn' with `non_fatal', and remove \n.
2565 (def_name): Likewise.
2567 (scan_all_symbols): Likewise.
2568 (gen_lib_file): Likewise.
2569 (def_library): Likewise. Remove extra program_name too.
2570 (run): Remove \n from inform strings.
2571 (scan_drectve_symbols): Likewise.
2572 (add_excludes): Likewise.
2573 (scan_open_obj_file): Likewise.
2574 (gen_exp_file): Likewise.
2575 (gen_lib_file): Likewise.
2576 (process_duplicates): Likewise.
2578 * Makefile.am (dllwrap_SOURCES): Add version.c.
2579 * dllwrap.c (program_version): Delete.
2580 (print_version): Delete.
2581 (display): Always print trailing \n.
2583 (delete_temp_files): Use warn instead of fprintf. Use gettext.
2586 (usage): gettext'ify.
2587 (long_options): Add missing initialisers.
2589 * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
2590 (select_output_format): Likewise.
2591 (powerpc_mangle_relocs): Likewise.
2592 (link_inputs): Likewise.
2594 * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
2595 (set_output_format): Likewise.
2596 (main): Use non_fatal instead of fprintf.
2597 (display_rel_file): Likewise.
2599 * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
2600 (slurp_dynamic_symtab): Same here.
2601 (disassemble_data): And here.
2602 (read_section_stabs): And here.
2603 (read_section_stabs): And here.
2604 (dump_bfd): And here.
2606 (objdump_sprintf): Use fatal instead of fprintf, exit.
2607 (disassemble_data): Same here.
2609 * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
2610 (parse_coff_struct_type): Same here.
2611 (parse_coff_enum_type): And here.
2612 (parse_coff): And here.
2613 * rddbg.c (read_debugging_info): And here.
2614 * size.c (main): And here.
2615 * windres.c (format_from_name): And here.
2616 * wrstabs.c (stab_write_symbol): Here too.
2617 (write_stabs_in_sections_debugging_info): And here.
2618 (stab_int_type): And here.
2619 (stab_struct_field): And here.
2620 (stab_typdef): And here.
2622 * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
2623 * srconv.c (main): Same here.
2624 * strings.c (main): And here.
2625 (integer_arg): And here.
2626 * sysdump.c (main): And here.
2628 2000-04-06 Timothy Wall <twall@cygnus.com>
2630 * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
2632 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
2634 * readelf.c (decode_location_expression): Loop through multiple
2636 (read_and_display_attr): Pass in length.
2638 * readelf.c (read_and_display_attr): Add CU offset to references.
2639 (display_debug_info): Pass it in.
2641 2000-04-06 Nick Clifton <nickc@cygnus.com>
2643 * readelf.c (decode_ARM_machine_flags): New function.
2644 (get_machine_flags): Call decode_ARM_machine_flags for ARM
2647 (get_machine_name): Catch EM_AVR
2649 2000-04-05 Alan Modra <alan@linuxcare.com.au>
2651 * binutils.texi: Remove optional `=' from long options that have
2652 an `=' in the argument.
2653 * objcopy.1: Here too. Remove extra space on discard-all.
2655 * binutils.texi (objcopy): Mention --redefine-sym.
2656 * objcopy.1: Here too.
2659 * objcopy.c (parse_flags): Split off flag names from error message
2660 gettext as they are not translated.
2661 (copy_main): Similarly split off option name for --add-section,
2662 --set-section-flags, --change-section-vma, --change-section-lma
2664 Some white space changes.
2666 from Matthew Benjamin <matt@linuxbox.nu>
2667 * objcopy.c (struct redefine_node): New.
2668 (redefine_sym_list): New.
2669 (redefine_list_append): New.
2670 (lookup_sym_redefinition): New.
2671 (OPTION_REDEFINE_SYM): New.
2672 (copy_options): Add --redefine-sym option.
2673 (copy_usage): Mention it.
2674 (filter_symbols): Rename symbols on redefine_sym_list.
2675 (copy_object): Call filter_symbols if redefine_sym_list != NULL.
2676 (copy_main): Handle OPTION_REDEFINE_SYM.
2678 2000-04-04 H.J. Lu <hjl@gnu.org>
2680 * readelf.c (process_symbol_table): Correctly read in symbol
2681 versioning information.
2683 2000-04-04 Alan Modra <alan@linuxcare.com.au>
2685 * po/binutils.pot: Regenerate.
2687 * addr2line.c (usage): Restore translated part of bug string.
2688 * ar.c (usage): Likewise.
2689 * nlmconv.c (show_usage): Likewise.
2690 * nm.c (usage): Likewise.
2691 * objcopy.c (copy_usage): Likewise.
2692 (strip_usage): Likewise.
2693 * objdump.c (usage): Likewise.
2694 * readelf.c (usage): Likewise.
2695 * size.c (usage): Likewise.
2696 * strings.c (usage): Likewise.
2697 * windres.c (usage): Likewise.
2699 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
2700 (DEP): Quote when passing vars to sub-make. Add warning
2702 (DEP1): Rewrite for "gcc -MM".
2703 (CLEANFILES): Add DEP2.
2704 Update dependencies.
2705 * Makefile.in: Regenerate.
2707 2000-04-04 H.J. Lu <hjl@gnu.org>
2709 * Makefile.am (GENERATED_HFILES): Add rcparse.h
2710 (arparse.h): Depend on arparse.c
2711 (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
2713 2000-04-03 H.J. Lu (hjl@gnu.org)
2715 * size.c (usage): Use REPORT_BUGS_TO.
2717 2000-04-03 Alan Modra <alan@linuxcare.com.au>
2719 * bucomm.h: #include "bin-bugs.h"
2720 * addr2line.c (usage): Use REPORT_BUGS_TO.
2721 * ar.c (usage): Likewise.
2722 * nlmconv.c (show_usage): Likewise.
2723 * nm.c (usage): Likewise.
2724 (OPTION_TARGET): Define.
2725 (long_options): Use OPTION_TARGET rather than 200.
2728 * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
2729 (strip_usage): Likewise.
2730 * objdump.c (usage): Likewise.
2731 * readelf.c (usage): Likewise.
2732 * strings.c (usage): Likewise.
2733 * windres.c (usage): Likewise.
2735 2000-03-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
2737 * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
2739 2000-03-27 Nick Clifton <nickc@cygnus.com>
2741 * rddbg.c (read_section_stabs_debugging_info): Catch out of range
2742 string offsets in corrupt stabs entries.
2744 2000-03-27 Alan Modra <alan@linuxcare.com.au>
2746 * readelf.c: Include elf/avr.h
2747 (dump_relocations): Add EM_AVR case.
2749 2000-03-09 Tim Waugh <twaugh@redhat.com>
2751 * strings.1: Correct '-bytes' to '--bytes'.
2753 2000-03-08 H.J. Lu <hjl@gnu.org>
2755 * Makefile.am (install-exec-local): Depend on
2756 install-binPROGRAMS for parallel make.
2757 * Makefile.in: Regenerated.
2759 2000-02-27 Ian Lance Taylor <ian@zembu.com>
2761 From Brad Lucier <lucier@math.purdue.edu>:
2762 * readelf.c (process_dynamic_segment): Add cast to make sure
2763 argument to %* is int.
2765 2000-02-25 H.J. Lu <hjl@gnu.org>
2767 * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
2769 2000-02-24 Nick Clifton <nickc@cygnus.com>
2771 * configure.in: Add arm-wince, mips-pe and sh-pe targets.
2772 * configure: Regenerate.
2774 * dlltool.c: Add support for sh-pe and mips-pe targets.
2775 * rescoff.c: Add support for sh-pe and mips-pe targets.
2777 2000-02-23 H.J. Lu <hjl@gnu.org>
2779 * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
2781 2000-02-22 Nick Clifton <nickc@cygnus.com>
2783 * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
2785 2000-02-22 Ian Lance Taylor <ian@zembu.com>
2787 From Brad Lucier <lucier@math.purdue.edu>:
2788 * readelf.c (process_version_sections): Add casts to make sure
2789 argument to %* is an int.
2790 (process_mips_specific): Add casts to make printf arguments match
2793 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
2795 * objdump.c (dump_section_header): Change `opb' to unsigned.
2796 (find_symbol_for_address): Same here.
2797 (disassemble_data): And here. Change `addr_offset',
2798 `stop_offset', `nextstop_offset' to unsigned long.
2799 (dump_data): Change opb to unsigned.
2801 2000-02-18 Frank Ch. Eigler <fche@redhat.com>
2803 * resrc.c: Remove unmatched #if for cygwin.
2805 2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com>
2807 * binutils.texi: Document the change of flavor name from atpcs-special
2808 to special-atpcs to prevent name conflict in gdb.
2810 2000-02-08 Timothy Wall <twall@redhat.com>
2812 * objdump.c (show_line): Fix bug preventing printing of the very
2813 first line (line zero) of a file when interlisting source and
2814 assembly. Added option to print entire context from start of file
2815 when the first line from that file is encountered.
2817 2000-02-03 Timothy Wall <twall@redhat.com>
2819 * objdump.c (dump_section_header, find_symbol_for_address,
2820 show_line, disassemble_bytes, disassemble_data, dump_data):
2821 distinguish between octets and bytes.
2823 2000-01-27 Thomas de Lellis <tdel@windriver.com>
2825 * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
2826 check to unresolved symbols.
2827 (print_symbol_info_sysv): Ditto.
2828 (print_symbol_info_posix): Ditto.
2830 * binutils.texi: Document new 'V' symclass flag for nm.
2832 2000-01-27 Nick Clifton <nickc@redhat.com>
2834 * binutils.texi (objdump): Document new ARM specific
2835 disassembler options.
2837 * objdump.c (usage): Call disassembler_usage().
2839 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
2841 * readelf.c (get_dynamic_flags): Return buff.
2842 (process_dynamic_segment): Don't pass error strings to printf
2844 (read_and_display_attr): Use lx and ld to print longs.
2845 (process_corefile_note_segment): Cast bfd_vma to unsigned long
2849 2000-01-17 Nick Clifton <nickc@cygnus.com>
2851 * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
2853 2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
2855 * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
2857 (debug_tag_type): Here too.
2858 * ieee.c (ieee_builtin_type): And here.
2859 * stabs.c (parse_stab_type, parse_stab_array_type): And here.
2861 2000-01-13 Nick Clifton <nickc@cygnus.com>
2863 * readelf.c (get_machine_name): Change EM_S370 to return "IBM
2866 2000-01-11 Nick Clifton <nickc@cygnus.com>
2868 * readelf.c (get_dynamic_type): Remove DT_ENCODING.
2870 2000-01-10 Nick Clifton <nickc@cygnus.com>
2872 * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
2874 2000-01-07 Mumit Khan <khan@xraylith.wisc.edu>
2876 * windres.c (long_options): Add --use-temp-file and
2877 --no-use-temp-file options.
2881 * windres.h: Update read_rc_file prototype.
2883 * resrc.c (cpp_temp_file): New static variable.
2884 (istream_type): New static variable.
2885 (close_pipe): Delete function.
2886 (run_cmd): New static function.
2887 (open_input_stream): New static function.
2888 (close_input_stream): New static function.
2889 (look_for_default): Handle DOS directory separator. Use
2890 open_input_stream instead of popen.
2891 (read_rc_file): Likewise.
2893 * binutils.texi: Document --use-temp-file, --no-use-temp-file
2896 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
2898 * dlltool.c (create_compat_implib): New variable.
2899 (gen_exp_file): Use.
2900 (make_one_lib_file): Use.
2901 (long_options): Add --compat-implib option.
2905 * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
2906 (main): Use. Don't look for "32" in cygwin and mingw target names.
2908 2000-01-03 Nick Clifton <nickc@cygnus.com>
2910 * binutils.texi: Document new, ARM specific disassembler
2911 command line switch "-M force-thumb".
2913 For older changes see ChangeLog-9899
2919 version-control: never