1 2002-10-09 Daniel Jacobowitz <drow@mvista.com>
3 * readelf.c (display_debug_info): Ignore empty .rela.debug_info
4 sections. Allow relocations against the absolute symbol. Don't
5 use the value in compunit.cu_abbrev_offset if we found a RELA
8 2002-10-07 Gordon Chaffee <chaffee@netvmg.com>
10 * addr2line.c (slurp_symtab): Read in dynamic symbols if no
11 ordinary ones are available.
13 2002-09-30 H.J. Lu <hjl@gnu.org>
15 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_4120,
16 E_MIPS_MACH_5400 and E_MIPS_MACH_5500.
18 2002-09-17 Zack Weinberg <zack@codesourcery.com>
20 * Makefile.am (CFILES): Add cxxfilt.c.
21 (cxxfilt_SOURCES): Now just cxxfilt.c $(BULIBS).
22 (cxxfilt_LDADD): Delete.
23 Remove all references to underscore.c.
25 * configure.in: Define TARGET_PREPENDS_UNDERSCORE in
26 config.h from $UNDERSCORE, rather than AC_SUBSTing it.
27 * binutils/cxxfilt.c: Moved here from gcc/cp, minor
28 adjustments to fit into binutils framework.
29 * configure, config.in, Makefile.in, doc/Makefile.in: Regenerate.
31 2002-09-12 Roland McGrath <roland@redhat.com>
33 * readelf.c (decode_location_expression): DW_OP_calli -> DW_OP_call_ref
34 Handle DW_OP_GNU_push_tls_address.
36 2002-09-11 Nick Clifton <nickc@redhat.com>
38 * po/tr.po: Updated Turkish translation.
40 2002-09-10 Nick Clifton <nickc@redhat.com>
42 * MAINTAINERS: Add Ben Elliston as a maintainer for configure and
43 testsuite changes. Add paragraphs about testsuite and config
46 2002-08-29 Nick Clifton <nickc@redhat.com>
48 * readelf.c (get_machine_flags): Remove redundant reference to
51 2002-08-28 Alan Modra <amodra@bigpond.net.au>
53 * objdump.c (dump_bfd): Restore lines accidentally deleted in
56 2002-08-28 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
58 * objdump.c (dump_headers): Add printing of HAS_LOAD_PAGE flag.
59 (dump_bfd_header): Likewise.
61 2002-08-27 Alan Modra <amodra@bigpond.net.au>
63 * nm.c: Revert last change.
65 2002-08-26 Alan Modra <amodra@bigpond.net.au>
67 * nm.c (display_rel_file): Don't report "no symbols" as an error.
68 * objdump.c (slurp_symtab): Likewise.
69 (slurp_dynamic_symtab): Likewise.
70 (dump_symbols): Likewise. Do print "no symbols" to stdout.
72 2002-08-24 Geoffrey Keating <geoffk@redhat.com>
74 * MAINTAINERS: Change my mailing address.
76 2002-08-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
78 * MAINTAINERS: Add Dave Anglin as HPPA co-maintainer.
80 2002-08-22 Nick Clifton <nickc@redhat.com>
82 * MAINTAINERS: Add Jeff Law as (maintainance) maintainer for
85 2002-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
87 * readelf.c (parse_args): Change debug_dump_opt to static.
89 2002-08-16 Sivaguru Sankaridurg <siva@eternal-systems.com>
91 * stabs.c (parse_stab_argtype): Pass length of physname to
92 stab_demangle_argtypes.
93 (stab_demangle_argtypes): Add new parameter - length of physname.
94 Pass length of physname on to stab_demangle_prefix.
95 (stab_demangle_prefix): Add new parameter - length of physname.
96 Use length of physname (if supplied) to compute end of function
99 2002-08-15 Alan Modra <amodra@bigpond.net.au>
101 * readelf.c: Include elf/i370.h.
102 (dump_relocations): Handle EM_S370.
103 (dynamic_segment_parisc_val): Print \n.
104 (process_dynamic_segment <DT_BIND_NOW>): Here too.
106 2002-08-14 Nick Clifton <nickc@redhat.com>
108 * nm.c (usage): Change 'gnu-new-abi' to 'gnu-v3'.
109 * objdump.c (usage): Likewise.
110 * doc/binutils.texi: Likewise.
112 2002-08-14 Luke Dunstan <infidel@users.sourceforge.net>
114 * rcparse.y (acc_entry): Don't warn about ALT use with
117 2002-08-13 H.J. Lu <hjl@gnu.org>
119 * objcopy.c (copy_object): Don't warn about the unsupported
120 architecture unless the input target is defaulted or the
121 output architecture is different from the input.
123 2002-08-09 Nick Clifton <nickc@redhat.com>
125 * po/sv.po: Updated Swedish translation.
127 2002-08-05 Alan Modra <amodra@bigpond.net.au>
129 * prdbg.c (pr_fix_visibility): Remove assert.
131 2002-07-31 Nick Clifton <nickc@redhat.com>
133 * addr2line.c (process_file): Rename parameter 'filename' to
134 'file_name' in order to avoid shadowing global symbol of the
138 2002-07-30 Jakub Jelinek <jakub@redhat.com>
140 * readelf.c (OPTION_DEBUG_DUMP): Define.
142 (usage): Update help.
143 (parse_args): Handle --debug-dump separately from -w.
144 * doc/binutils.texi (readelf): Update documentation.
146 2002-07-25 Nick Clifton <nickc@redhat.com>
148 * po/es.po: Updated Spanish translation.
149 * po/fr.po: Updated French translation.
151 2002-07-24 Nick Clifton <nickc@redhat.com>
153 * po/es.po: Updated Spanish translation.
155 2002-07-23 Alan Modra <amodra@bigpond.net.au>
157 * Makefile.am: Run "make dep-am".
158 * Makefile.in: Regenerate.
160 2002-07-23 Nick Clifton <nickc@redhat.com>
162 * po/fr.po: Updated French translation.
164 2002-07-23 Eric S. Raymond <esr@golux.thyrsus.com>
166 * doc/binutils.texi (addr2line <man synopsis>): Correct brackets.
168 2002-07-20 Alan Modra <amodra@bigpond.net.au>
170 * budemang.c: Include config.h and string.h/strings.h.
172 2002-07-18 Denis Chertykov <denisc@overta.ru>
173 Frank Ch. Eigler <fche@redhat.com>
175 * readelf.c: Include "elf/ip2k.h".
176 (guess_is_rela): Add support for EM_IP2K and EM_IP2K_OLD.
177 (dump_relocations): Likewise.
178 (get_machine_name): Likewise.
179 * NEWS: Mention IP2K support.
181 2002-07-16 Nick Clifton <nickc@cambridge.redhat.com>
183 * NEWS: Add 'Changes in 2.13'.
185 2002-07-10 Jakub Jelinek <jakub@redhat.com>
187 * readelf.c (get_dynamic_type): Handle DT_GNU_PRELINKED,
188 DT_GNU_CONFLICT* and DT_GNU_LIBLISZ*.
189 (get_section_type_name): Handle SHT_GNU_LIBLIST.
190 (process_dynamic_segment): Handle DT_GNU_CONFLICTSZ,
191 DT_GNU_LIBLISTSZ and DT_GNU_PRELINKED.
192 (process_gnu_liblist): New.
193 (process_file): Call it.
195 2002-07-03 Alan Modra <amodra@bigpond.net.au>
197 * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
198 * Makefile.in: Regenerate.
200 2002-07-02 Alan Modra <amodra@bigpond.net.au>
202 * budemang.c: New file, "demangle" function.
203 * budemang.h: New file.
204 * addr2line.c (translate_addresses): Use "demangle".
205 * nm.c (print_symname): Likewise.
206 * objdump.c (objdump_print_symname): Likewise.
207 (dump_symbols): Likewise. Also, don't use bfd_asymbol_name macro
208 here since that obfuscates.
209 * rdcoff.c: Don't #include demangle.h.
210 * Makefile.am (CFILES): Add budemang.c, emul_aix.c,
211 emul_vanilla.c. Remove emul_$(EMULATION).c. Sort.
212 (HFILES): Add budemang.h. Sort.
213 (nm_new_SOURCES, objdump_SOURCES, addr2line_SOURCES): Add budemang.c.
215 * Makefile.in: Regenerate.
217 2002-07-01 Matt Thomas <matt@3am-software.com>
219 * readelf.c: Include "elf/vax.h".
220 (guess_is_rela): Move EM_VAX from unknown to RELA case.
221 (dump_relocations): Handle VAX relocations.
222 (get_machine_flags): Handle VAX machine flags.
224 2002-06-29 Stephane Carrez <stcarrez@nerim.fr>
226 * readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.
228 2002-06-26 Nick Clifton <nickc@cambridge.redhat.com>
230 * MAINTAINERS: Remove Tom Rix from d10v and pcc maintainerships.
232 2002-06-26 Alan Modra <amodra@bigpond.net.au>
234 * nm.c (print_symname): When demangling, strip leading dots from
235 symbol names to avoid confusing the demangler.
237 2002-06-25 H.J. Lu <hjl@gnu.org>
239 * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
240 * Makefile.in: Regenerated.
242 2002-06-21 Igor Schein <igor@txc.com>
244 * configure.in: Quote bu_cv_have_fopen64.
245 * configure: Regenerate.
247 2002-06-21 Mitsru Chinen <chinen@jp.ibm.com>
249 * configure.in: Check for strcoll.
250 * configure: Regenerate.
251 * config.in: Regenerate.
252 * nm.c (main): Set locale for LC_COLLATE category.
253 (non_numeric_forward): Use strcoll if available.
255 2002-06-20 Dave Brolley <brolley@redhat.com>
257 * MAINTAINERS: Add self as fr30 and frv maintainer.
259 2002-06-18 H.J. Lu (hjl@gnu.org)
261 * nm.c: Include "elf/common.h".
262 (extended_symbol_info): Add elfinfo, a pointer to
264 (SYM_SIZE): Use elfinfo if it is not NULL.
265 (get_symbol_type): New function.
266 (display_archive): Set print_width for each archive member.
267 (display_file): Likewise.
268 (display_rel_file): Don't set print_width here.
269 (print_object_filename_sysv): Handle print_width.
270 (print_archive_member_sysv): Likewise.
271 (print_symbols): Pass (bfd_vma) 0 to print_symbol.
272 (print_symbol): Set the elfinfo field in extended_symbol_info
274 (print_object_filename_sysv): Fix the output format.
275 (print_symbol_info_sysv): Print type and section for ELF.
277 2002-06-18 Elias Athanasopoulos <eathan@otenet.gr>
279 * nm.c (print_size_symbols): Remove assignment, which makes
280 the symbol's size equal to its value when --size-sort is
283 2002-06-18 Dave Brolley <brolley@redhat.com>
285 From Catherine Moore:
286 * readelf.c (elf/frv.h): #include it.
287 (guess_is_rela): Support EM_CYGNUS_FRV.
288 (dump_relocations): Ditto.
289 (get_machine_name): Ditto.
290 * Makefile.am (readelf.o): add dependency on $(INCDIR)/elf/frv.h.
292 2002-06-18 Jakub Jelinek <jakub@redhat.com>
294 * readelf.c (get_file_header): Only read the first section header if
297 2002-06-15 H.J. Lu (hjl@gnu.org)
299 * nm.c (print_size): New variable. Initialize to 0.
300 (long_options): Add 'S'/"print-size".
302 (print_symbol_info_bsd): Print size only if print_size is not
305 * doc/binutils.texi: Document -S/--print-size.
307 2002-6-13 Elias Athanasopoulos <eathan@otenet.gr>
309 * nm.c (struct extended_symbol_info): New strcuture: Add the size
310 of the symbols to the information provided by the symbol_info
312 (print_symbols): Pass the symbol size to print_symbol.
313 (print_size_symbols): Pass the symbol size to print_symbol.
314 (print_symbol): Extra argument: The size of the symbol. Store
315 this in the extended_symbol_info structure.
316 (print_symbol_info): Change type of info parameter to
317 extended_symbol_info. Display the size, if known.
318 (print_symbol_info_posix): Likewise.
319 (print_symbol_info_sysv): Likewise.
321 2002-06-08 Alan Modra <amodra@bigpond.net.au>
323 * Makefile.am: Run "make dep-am".
324 * Makefile.in: Regenerate.
325 * doc/Makefile.in: Regnerate.
327 * bucomm.c: Replace CONST with const.
329 * objdump.c: Likewise.
331 2002-06-07 H.J. Lu <hjl@gnu.org>
333 * readelf.c (DW_CFA_GNU_args_size): Don't define.
334 (DW_CFA_GNU_negative_offset_extended): Likewise.
335 (DW_CFA_GNU_window_save): Likewise.
336 (display_debug_frames): Handle DW_CFA_offset_extended_sf,
337 DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
339 2002-06-07 Elias Athanasopoulos <eathan@otenet.gr>
341 * nm.c: When computing size of symbols for an ELF target use the
344 2002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
346 * testsuite/binutils-all/objcopy.exp: clear xfail for
348 * testsuite/binutils-all/hppa/objdump.exp: Return if
351 2002-06-05 Alan Modra <amodra@bigpond.net.au>
353 * objcopy.c (copy_section): Don't copy SEC_GROUP sections.
355 2002-06-03 Elias Athanasopoulos <eathan@otenet.gr>
357 * objdump.c: Fix formatting.
359 2002-05-29 Ben Elliston <bje@redhat.com>
361 * MAINTAINERS: Add self as M68k maintainer.
363 2002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
365 * readelf.c: Modified/Added DLX elf support.
367 2002-05-27 Nick Clifton <nickc@cambridge.redhat.com>
369 * arsup.c: Fix formatting.
370 * debug.c (debug_record_label): Add missing colon to error
372 * ieee.c (parse_ieee_ty): Fix spelling typo.
373 * readelf.c (process_program_headers): Remove English assumption
374 about making a plural word.
375 (process_section_headers): Likewise.
376 (process_relocs): Allow quotes to be translated.
377 (process_unwind): Likewise,
378 (process_mips_specific): Improve error message.
379 (get_note_type): Fix spelling typo.
381 * configure.in (ALL_LINGUAS): Add sv
382 * po/sv.po: New file.
384 2002-05-27 Alan Modra <amodra@bigpond.net.au>
386 * unwind-ia64.c (unw_print_brmask): Don't use sprintf.
387 (unw_print_grmask): Likewise.
388 (unw_print_frmask): Likewise.
390 2002-05-26 Kazu Hirata <kazu@cs.umass.edu>
392 * arsup.c: Remove ARGSUSED.
395 * nlmconv.c: Likewise.
398 * wrstabs.c: Likewise.
400 2002-05-25 Alan Modra <amodra@bigpond.net.au>
402 * arlex.l: Use #include "" instead of <> for local header files.
403 * coffdump.c: Likewise.
404 * coffgrok.c: Likewise.
405 * nlmconv.c: Likewise.
406 * nlmheader.y: Likewise.
407 * srconv.c: Likewise.
408 * strings.c: Likewise.
409 * sysdump.c: Likewise.
410 * unwind-ia64.h: Likewise.
411 * windres.h: Likewise.
412 * winduni.h: Likewise.
414 2002-05-24 Tom Rix <trix@redhat.com>
416 * MAINTAINERS: Add self as the d10v maintainer.
418 2002-05-24 TAMURA Kent <kent@netbsd.org>
420 * configure.in: Builds dlltool for i386-netbsdpe.
421 * configure: Regenerate.
423 2002-05-23 Kazu Hirata <kazu@cs.umass.edu>
425 * size.c: Fix formatting.
426 * srconv.c: Likewise.
428 * sysdump.c: Likewise.
429 * unwind-ia64.c: Likewise.
430 * wrstabs.c: Likewise.
432 2002-05-23 Jakub Jelinek <jakub@redhat.com>
434 * readelf.c (get_segment_type): Add PT_TLS.
435 (get_elf_section_flags): Add SHF_TLS.
436 (get_dynamic_flags): Optimize. Add DF_STATIC_TLS.
437 (process_dynamic_segment): Use puts instead of printf.
438 (get_symbol_type): Support STT_TLS.
439 * objdump.c (dump_section_header): Remove SEC_CONSTRUCTOR_TEXT,
440 SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS.
441 Add SEC_THREAD_LOCAL.
443 2002-05-23 Kazu Hirata <kazu@cs.umass.edu>
445 * rdcoff.c: Fix formatting.
447 * readelf.c: Likewise.
448 * rename.c: Likewise.
449 * resbin.c: Likewise.
451 * resres.c: Likewise.
453 2002-05-21 Kazu Hirata <kazu@cs.umass.edu>
455 * filemode.c: Fix formatting.
457 * is-ranlib.c: Likewise.
458 * is-strip.c: Likewise.
459 * maybe-ranlib.c: Likewise.
460 * maybe-strip.c: Likewise.
461 * nlmconv.c: Likewise.
463 * not-ranlib.c: Likewise.
464 * not-strip.c: Likewise.
465 * objcopy.c: Likewise.
466 * objdump.c: Likewise.
468 2002-05-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
470 * objdump.c (dump_headers): Fix output formatting for ELF32
471 architectures in a BFD64 enabled toolchain.
473 2002-05-20 Kazu Hirata <kazu@cs.umass.edu>
475 * debug.c: Fix formatting.
477 * dlltool.c: Likewise.
478 * dllwrap.c: Likewise.
479 * emul_aix.c: Likewise.
480 * emul_vanilla.c: Likewise.
482 2002-05-19 Kazu Hirata <kazu@cs.umass.edu>
484 * addr2line.c: Fix formatting.
488 * binemul.c: Likewise.
489 * binemul.h: Likewise.
490 * bucomm.c: Likewise.
491 * coffdump.c: Likewise.
492 * coffgrok.c: Likewise.
493 * coffgrok.h: Likewise.
495 2002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
497 * MAINTAINERS: Add myself as the second AVR port maintainer.
499 2002-05-16 Stephane Carrez <stcarrez@nerim.fr>
501 * MAINTAINERS: Update my email address.
503 2002-05-09 Nick Clifton <nickc@cambridge.redhat.com>
505 * MAINTAINERS: Add Jason Thorpe as VAX maintainer.
507 2002-05-09 Alan Modra <amodra@bigpond.net.au>
509 * configure.in: Replace `*pe' with `pe' throughout.
510 * configure: Regenerate.
512 2002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
514 * Makefile.am: Honour DESTDIR.
515 * Makefile.in: Regenerate.
517 2002-05-06 Alan Modra <amodra@bigpond.net.au>
519 * dlltool.c (process_def_file): Add missing prototype.
520 (new_directive, assemble_file, main): Likewise.
521 (process_def_file, new_directive): Make static.
522 (inform): Rewrite using VA_FIXEDARG.
523 * dllwrap.c (mybasename): Add missing prototype.
524 (strhash, main): Likewise.
525 (inform): Rewrite using VA_FIXEDARG.
527 (cleanup_and_exit): Use old style function definition.
529 * windres.c (define_resource): Use one memset to clear all of
532 * rcparse.y: Remove newcmd rule. Move rcparse_discard_strings
533 call to rules that need no lookahead. Check for no lookahead.
535 2002-05-06 Borut Razem <borut.razem@siol.net>
537 * rclex.l (get_string): Correct "strings" list handling.
538 * resrc.c (read_rc_file): Discard strings.
540 2002-05-04 Alan Modra <amodra@bigpond.net.au>
542 * ar.c (replace_members): Remove unused var. Formatting fix.
543 * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
545 * MAINTAINERS: Sort port maintainers by CPU.
547 2002-05-04 Bob Byrnes <byrnes@curl.com>
549 * size.c (display_archive): Add last_arfile and code to close archives.
551 2002-05-01 Alan Modra <amodra@bigpond.net.au>
553 * nm.c (print_symbol): Check returned filename from
554 bfd_find_nearest_line is non-NULL.
556 2002-04-25 Elena Zannoni <ezannoni@redhat.com>
558 * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
560 2002-04-24 Christian Groessler <chris@groessler.org>
562 * MAINTAINERS: Changed my email address.
564 2002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
566 * arparse.y: Fix syntax warning.
568 2002-04-16 Nick Clifton <nickc@cambridge.redhat.com>
570 * readelf.c (fetch_location_list): Remove unused function.
572 * readelf.c (process_corefile_note_segment): Catch corrupt notes
573 and display a warning message, then exit the loop.
575 * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
577 2002-04-15 Nick Clifton <nickc@cambridge.redhat.com>
579 * resrc.c (write_rc_dialog): If charset is non-default value
580 display all of the DIALOGEX parameters.
582 2002-04-15 Eric Kohl <ekohl@rz-online.de>
584 * rcparse.y: Allow two to five parameter in FONT statement of
586 * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
588 (res_to_bin_dialog): Likewise.
589 * windres.h: Added misssing charset variable to dialog_ex
592 2002-04-10 Nick Clifton <nickc@cambridge.redhat.com>
594 * rcparse.y: Set MEMFLAG_PURE by default.
596 2002-04-09 Bernd Herd <info@herdsoft.com>
598 * rcparse.y: CLASS definitions in DIALOG resources
600 Fix typo in BEDIT warning.
601 Don't add default dialog style when explicit style specified.
602 Add WS_CAPTION dialog style if CAPTION is specified.
604 * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
605 (handle_quotes) "\a" escape (used for right justified key
606 definitions in menus) is encodes as binary 8.
608 * resrc.c (write_rc_dialog): Print style even if it is 0.
609 (write_rc_directory): Fix overlooked sublang shift bug.
610 (bin_to_res_dialog): Don't print empty dialog caption.
612 * resbin.c (bin_to_res_dialog): Use signature to identify
615 * windres.c (main): Set default LANGUAGE to english/us.
617 2002-04-09 Gunnar Degnbol <degnbol@danbbs.dk>
619 * resrc.c: print CLASS names in quotes
621 2002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
623 * MAINTAINERS: Update my email address.
625 2002-04-04 Alan Modra <amodra@bigpond.net.au>
627 * dep-in.sed: Cope with absolute paths.
628 * Makefile.am (dep.sed): Subst TOPDIR.
630 * Makefile.in: Regenerate.
632 2002-03-27 Peter Targett <peter.targett@arc.com>
634 * MAINTAINERS: Update my email address.
636 2002-03-21 Alan Modra <amodra@bigpond.net.au>
638 * Makefile.am: Run "make dep-am".
639 * Makefile.in: Regenerate.
640 * doc/Makefile.in: Regenerate.
641 * po/POTFILES.in: Regenerate.
642 * aclocal.m4: Regenerate.
643 * config.in: Regenerate.
644 * configure: Regenerate.
646 2002-03-20 Daniel Berlin <dan@dberlin.org>
648 * readelf.c: Add support for displaying dwarf2 location lists.
649 (do_debug_loc, debug_loc_section, debug_loc_size): New.
650 (parse_args): Use 'O' as shorthand for displaying location list
652 (process_section_headers): Handle debug_loc as well.
653 (load_debug_loc): New.
654 (free_debug_loc): New.
655 (fetch_location_list): New.
656 (display_debug_loc): New.
657 (display_debug_info): Call load_debug_loc and free_debug_loc.
658 (debug_displays): We can display .debug_loc now, too.
659 (usage): Update usage string.
660 (read_and_display_attr_value): Note location lists, but don't
663 2002-03-18 Tom Rix <trix@redhat.com>
665 * Makefile.am: Add binutils emulation support.
666 * configure.in: Same.
667 * configure.tgt: New file. Same.
668 * ar.c (main): Use ar_emul_parse_arg.
669 (usage): Use ar_emul_usage.
670 (replace_members): Use ar_emul_replace, ar_emul_append.
671 * binemul.c: New file. Define the binutils emulation
672 layer. Define default methods.
673 * binemul.h: New file. Binutils emulation layer header file.
674 * emul_aix.c: New file. AIX binutils emulation.
675 * emul_vanilla.c: New file. Default binutils emulation.
676 * Makefile.in: Regenerate.
679 2002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
681 * po/fr.po: Updated version.
683 2002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
685 * po/fr.po: Updated version.
687 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
689 * README: Update some version numbers.
691 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
693 * doc/binutils.texi (Target Selection): Fix LD crossreferences.
694 (Architecture Selection): Likewise.
696 2002-03-01 Dmitry Timoshkov <dmitry@baikal.ru>
698 * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
699 generating .exp file.
701 2002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
703 * readelf.c (dump_relocations): Fix typo.
705 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
707 * NEWS: Mark 2.12 branch.
709 2002-02-18 Timothy Daly <remote_bob@yahoo.com>
711 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
712 types for 64-bit MIPS. Narrow some fields for 80-char
714 (dump_relocations): Change spelling from 'unrecognised'
716 (decode_ARM_machine_flags): Likewise.
717 (parse_args): Likewise.
718 (read_and_display_attr_value): Likewise.
719 (display_debug_section): Likewise.
721 2002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
723 * NEWS: Mention support for MMIX.
725 2002-02-13 Matt Fredette <fredette@netbsd.org>
727 * readelf.c (get_machine_flags): Recognize EF_M68000.
729 2002-02-12 Alexandre Oliva <aoliva@redhat.com>
731 * MAINTAINERS: Added self as MN10300 co-maintainer.
733 2002-02-12 Alan Modra <amodra@bigpond.net.au>
735 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
738 2002-02-11 Daniel Jacobowitz <drow@mvista.com>
740 * MAINTAINERS: List myself as branch maintainer.
742 2002-02-11 Alan Modra <amodra@bigpond.net.au>
744 * configure: Regenerate.
745 * objcopy.c: Update copyright date.
746 * doc/Makefile.in: Regenerate.
748 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
750 * nlmconv.c: Back out localtime PARAMS change.
752 2002-02-11 Alan Modra <amodra@bigpond.net.au>
754 * objcopy.c (MKDIR): Define.
755 (copy_archive): Make name_list.name const. Use MKDIR.
756 Handle duplicate files in archives by making more temp dirs.
758 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
760 * coffdump.c: Include "getopt.h" after "bucomm.h"
761 so that macros are defined correctly.
762 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
763 prototype. Prototype main.
764 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
766 2002-02-06 Alexandre Oliva <aoliva@redhat.com>
768 * MAINTAINERS: Added self as SH co-maintainer.
770 2002-02-05 Nick Clifton <nickc@redhat.com>
772 * po/tr.po: Updated translation.
774 2002-02-01 Alan Modra <amodra@bigpond.net.au>
776 * Makefile.am: Run "make dep-am"
777 * Makefile.in: Regenerate.
779 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
781 * nm.c (print_value): Mark abfd unused.
783 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
785 * unwind-ia64.c (unw_decoder): Change second argument
786 to unsigned int, to match function prototypes.
788 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
790 * objdump.c: Include "getopt.h" after "bucomm.h" so that
791 __GNU_LIBRARY__ will be defined.
794 2002-01-27 Daniel Jacobowitz <drow@mvista.com>
796 * configure: Regenerated.
798 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
800 * doc/Makefile.am (install): Depend on install-info.
801 * doc/Makefile.in: Regenerate.
803 2002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
805 * objcopy.c (strip_usage): Document -d as an alias
808 * size.c (usage): Document [-t | --totals] options.
809 (long_options): Add --totals option.
810 (main): If the [-t | --totals] option is specified and
811 the output format is Berkeley-style, print the total
812 text, data, and bss sizes of all objects listed.
813 (print_berkeley_format): If the [-t | --totals] option
814 is specified, track the total text, data, and bss
816 * doc/binutils.texi (size): Document [-t | --totals] options.
817 (strip): Document -d as an alias for --strip-debug.
818 * NEWS: Mention new feature of size.
820 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
822 * po/fr.po: Updated version.
823 * po/es.po: Updated version.
825 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
827 * addr2line.c (usage): Update text to provide verbose
828 description of the command line options.
829 * ar.c (usage): Update text to provide verbose
830 description of the command line options.
831 (main): Accept -h and -H when running as ranlib.
832 * coffdump.c (show_usage): Update text to provide verbose
833 description of the command line options.
834 * dlltool.c (main): Accept -H as an alias for --help.
835 * nlmconv.c (show_usage): Update text to provide verbose
836 description of the command line options.
837 * nm.c (usage): Replace OPTIONS with option(s).
838 (main): Accept -H as an alias for --help.
839 * objcopy.c (strip_main): Accept -H as an alias for --help.
840 * objdump.c (main): Accept -v as an alias for --verbose.
841 * readelf.c (usage): Adjust format to match style used in
843 * size.c (usage): Update text to provide verbose description
844 of the command line options.
845 (main): Accept -v, -h and -H as command line options.
846 * srconv.c (show_usage): Update text to provide verbose
847 description of the command line options.
848 * strings.c (main): Accept -H and -v as command line options.
849 (usage): Update text to provide verbose description of the
850 command line options.
851 * sysdump.c (show_usage): Update text to provide verbose
852 description of the command line options.
853 * windres.c (usage): Adjust format to match style used in
856 * coffdump.c: Fix formatting.
857 * nlmconv.c: Fix formatting.
858 * srconv.c: Fix formatting.
859 * sysdump.c: Fix formatting.
861 2002-01-22 Alan Modra <amodra@bigpond.net.au>
863 * Makefile.am: Run "make dep-am".
864 * Makefile.in: Regenerate.
866 2002-01-18 Andreas Jaeger <aj@suse.de>
868 * version.c (print_version): Update year.
870 2002-01-17 Alan Modra <amodra@bigpond.net.au>
872 * readelf.c (get_machine_name): Handle EM_PPC64.
873 (guess_is_rela): Here too.
875 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
877 * po/binutils.pot: Regenerate.
878 * po/fr.po: Regenerate.
879 * po/tr.po: Regenerate.
881 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
883 * po/tr.po: Import new version.
885 2002-01-16 Alan Modra <amodra@bigpond.net.au>
887 * readelf.c (get_ppc64_dynamic_type): New.
888 (get_dynamic_type): Call it.
890 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
892 * objcopy.c (copy_usage): Use "options" instead of "switches".
893 (strip_usage): Use "options" instead of "switches".
894 * doc/binutils.texi (dlltool): Refer to "options" instead of
897 2002-01-14 Richard Earnshaw <rearnsha@arm.com>
899 * MAINTAINERS: Add self as co-maintainer for the ARM code.
901 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
903 * po/es.po: Import from translation project.
904 * configure.in (ALL_LINGUAS): Add es.
905 * configure: Regenerate.
907 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
909 * readelf.c (get_netbsd_elfcore_note_type): Use
910 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
912 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
914 * readelf.c: Update copyright years.
915 (get_note_type): Return a const char *.
916 (get_netbsd_elfcore_note_type): New function.
917 (process_note): Use get_netbsd_elfcore_note_type to get
918 the note type string for NetBSD ELF core files.
920 2002-01-06 Steve Ellcey <sje@cup.hp.com>
922 * readelf.c (get_ia64_segment_type): Add support for macros.
923 (get_segment_type): Add support for IA64 specific macros.
925 2001-12-20 Julian v. Bock <julian@wongr.net>
927 * readelf.c (print_symbol): New function: Print a formatted symbol
928 name. If --wide is specified do not truncate it.
929 (dump_relocations): Use print_symbol() to print symbol names.
930 (process_symbol_table): Likewise.
931 (process_syminfo): Likewise.
932 (process_mips_specific): Likewise.
933 (usage): Document new feature of --wide switch.
934 * doc/binutils.texi (objdump): Document additional behaviour of
937 2001-12-18 Michael Snyder <msnyder@redhat.com>
939 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
940 (copy_object): Don't set the start address or flags of a core file.
941 (copy_section): Don't relocate a core file. Don't copy contents
942 if the input section has the contents flag set, but the output
943 section does not (which happens with the fake 'note' pseudo-
944 sections that BFD creates for corefiles).
946 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
948 * readelf.c (get_machine_flags): Recognize header flags for ABI and
949 ASE extensions. More robust code for ISA checking. Ignore empty fields
950 in header flags for GNU extensions.
952 2001-12-18 Alan Modra <amodra@bigpond.net.au>
954 * objcopy.c (copy_archive): Set output bfd format outside the loop.
956 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
958 * po/ja.po: Import from translation project.
959 * configure.in (ALL_LINGUAS): Add ja.
960 * configure: Regenerate.
962 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
964 * addr2line.c (main): Protoype.
965 * ar.c (main): Protoype.
966 * nm.c (main): Protoype.
967 * objcopy.c (main): Protoype.
968 * objdump.c (main): Protoype.
969 * size.c (main): Protoype.
970 * strings.c (main): Protoype.
972 2001-12-17 Alan Modra <amodra@bigpond.net.au>
974 * readelf.c (symtab_shndx_hdr): New global.
975 (SECTION_HEADER_INDEX): Define.
976 (SECTION_HEADER_NUM): Define.
977 (SECTION_HEADER): Define.
978 (GET_ELF_SYMBOLS): Pass two params rather than three.
979 (get_32bit_elf_symbols): Take file and section args. Read and
980 use SHT_SYMTAB_SHNDX.
981 (get_64bit_elf_symbols): Likewise.
982 (dump_relocations): Use SECTION_HEADER to index "section_headers".
983 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
984 Remember symtab_shdx_hdr.
985 (process_program_headers): Scan from index 1 for segment map.
986 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
988 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
989 (process_unwind): Likewise.
990 (process_version_sections): Likewise.
991 (process_symbol_table): Likewise.
992 (display_debug_info): Likewise.
993 (process_dynamic_segment): Fake up a symtab section for changed
995 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
996 (process_program_headers): Kill signed/unsigned warning.
997 (load_debug_str): Likewise.
998 (display_debug_info): Likewise.
1000 2001-12-13 Jakub Jelinek <jakub@redhat.com>
1002 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
1004 2001-12-11 Alan Modra <amodra@bigpond.net.au>
1006 * readelf.c (process_file_header): Print extended e_shnum and
1007 e_shdtrndx values. Set elf_header values for same.
1008 (get_32bit_section_headers): Add "num" arg to read "num" headers.
1009 (get_64bit_section_headers): Likewise.
1010 (process_section_headers): Update calls.
1011 (get_file_header): Call get_32bit_section_headers or 64bit variant.
1013 2001-12-10 Jakub Jelinek <jakub@redhat.com>
1015 * objcopy.c (setup_section): Copy entsize.
1017 2001-12-07 Geoffrey Keating <geoffk@redhat.com>
1019 * readelf.c (guess_is_rela): Add support for stormy16.
1020 (dump_relocations): Likewise.
1021 (get_machine_name): Likewise.
1023 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
1025 * dllwrap.c (main) Replace multiple strings describing a
1026 single error with a single, newline escaped sentence to permit
1027 better translation into foreign languages.
1029 * readelf.c (get_elf_class): Remove internalionalisation of ELF
1032 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1034 * strings.c (get_char): Initialize value.
1036 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1038 * arlex.l: Silence compile warnings.
1039 * arsup.h: Likewise. Fix formatting.
1041 2001-12-04 Jakub Jelinek <jakub@redhat.com>
1043 * strings.c: Include config.h before bfd.h.
1044 (file_off): New type.
1045 (file_open): Define.
1046 (print_strings): Use file_off instead of file_ptr. Print addresses
1047 which don't fit into long correctly.
1048 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
1050 (strings_file): Use file_off instead of file_ptr. Use file_open.
1051 * configure.in: Check for getc_unlocked.
1052 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
1054 * configure: Rebuilt.
1055 * config.h.in: Rebuilt.
1057 2001-11-29 H.J. Lu <hjl@gnu.org>
1059 * bucomm.c (make_tempname): Revert the changes made on
1060 2001-11-14 and 2001-11-12. They won't work with directories.
1062 2001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
1064 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
1065 CFLAGS_FOR_TARGET to runtest in environment.
1066 * Makefile.in: Rebuild.
1067 * doc/Makefile.in: Rebuild.
1069 2001-11-28 Mike Stump <mrs@wrs.com>
1071 * objcopy.c (setup_section): Preserve SEC_RELOC when
1072 --set-section-flags is used.
1074 2001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
1076 * readelf.c (do_debug_str): New variable.
1077 (display_debug_str): New function: Display the contents of a
1079 (load_debug_str): New function: Load in the contents of a
1081 (free_debug_str): New function: Free the memory used by
1083 (fetch_indirect_string): Retrieve a string from the .debug_str
1086 (parse_args): Accept -ws.
1087 (process_section_headers): Allow the display of the .debug_str
1089 (read_and_display_attr_value): Use fetch_indirect_string. Show
1090 offset into .debug_str section.
1091 (display_debug_info): Use load_debug_str and free_debug_str.
1092 (debug_displays): Add .debug_str.
1093 * doc/binutils.texi: Document -ws.
1095 2001-11-19 Andreas Jaeger <aj@suse.de>
1097 * testsuite/binutils-all/objdump.exp: Add x86-64.
1099 2001-11-15 Andreas Schwab <schwab@suse.de>
1101 * readelf.c: Fix warnings without terminating newline.
1103 2001-11-15 Alan Modra <amodra@bigpond.net.au>
1105 * doc/binutils.texi (objdump): Document ppc -M options.
1107 2001-11-14 Andreas Jaeger <aj@suse.de>
1109 * doc/binutils.texi (objdump): Fix description to use x86-64.
1111 2001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
1113 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
1114 not all systems provide mkstemp.
1116 2001-11-14 Alan Modra <amodra@bigpond.net.au>
1118 * doc/binutils.texi (objdump): Document x86 -M options.
1120 2001-11-13 Keith Walker <keith.walker@arm.com>
1122 * readelf.c (read_and_display_attr_value): New function to
1123 handle DW_FORM_indirect.
1124 (read_and_display_attr): Use it.
1126 2001-11-13 Geoffrey Keating <geoffk@redhat.com>
1128 * readelf.c (display_debug_lines): Deal with unknown standard
1129 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
1132 2001-11-13 Timothy Wall <twall@alum.mit.edu>
1134 * MAINTAINERS: Add self as tic54x maintainer. This target
1135 includes the IBM C54XDSP clone.
1137 2001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
1139 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
1141 2001-11-09 Jeffrey A Law (law@cygnus.com)
1143 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
1144 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
1145 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
1146 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
1147 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
1148 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
1149 (unw_decode_b2, unw_decode_b3_b4): Likewise.
1151 * readelf.c (get_elf_class): Fix ISO portability glitch.
1152 (get_data_encoding, get_osabi_name, request_dump): Likewise.
1154 2001-11-07 Jakub Jelinek <jakub@redhat.com>
1156 * readelf.c (debug_str, debug_str_size): New.
1157 (display_debug_abbrev): If no abbrevs were read, skip the CU.
1159 (read_and_display_addr): Handle DW_FORM_strp.
1160 (display_debug_info): Read .debug_str section if present,
1161 so that DW_FORM_strp can be handled.
1162 Fix test for non-existant .debug_abbrev section.
1164 2001-11-05 Jakub Jelinek <jakub@redhat.com>
1166 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
1168 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
1170 2001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
1172 * MAINTAINERS: Add self as s390/s390x maintainer.
1174 2001-11-02 Tom Rix <trix@bluey.cygnus.com>
1176 * MAINTAINERS: Add self as PPC XCOFF maintainer.
1178 2001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
1180 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
1181 * configure: Regernate.
1182 * po/fr.po: New file.
1183 * po/tr.po: New file.
1185 2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
1187 * MAINTAINERS: Add self as MMIX port maintainer.
1188 * readelf.c: Include elf/mmix.h.
1189 (guess_is_rela): MMIX is RELA.
1190 (dump_relocations): Handle MMIX relocations.
1191 * Makefile.am: Regenerate dependencies.
1192 * Makefile.in: Regenerate.
1194 2001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
1196 * readelf.c (parse_args): Handle multiple options to the -w
1199 2001-10-12 Jakub Jelinek <jakub@redhat.com>
1201 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
1202 LOPROC, LOOS and LOUSER.
1204 2001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
1206 * MAINTAINERS: Update my email address.
1208 2001-10-03 Alan Modra <amodra@bigpond.net.au>
1210 * doc/Makefile.in: Regenerate.
1211 * configure: Regenerate.
1213 2001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
1215 * readelf.c (display_debug_line, display_debug_pubnames,
1216 display_debug_info, display_debug_frames): Detect and warn
1217 about 64-bit format entries.
1218 (display_debug_aranges): Reword 64-bit warning.
1219 (debug_displays): Add .debug_pubtypes as a known, but not yet
1220 supported, debug section.
1222 2001-10-02 Alan Modra <amodra@bigpond.net.au>
1224 * coffdump.c (PROGRAM_VERSION): Delete.
1225 (main <'V'>): Call print_version.
1226 * srconv.c: Likewise.
1227 * sysdump.c: Likewise.
1228 * version.c (program_version): Remove.
1229 (print_version): Use BFD_VERSION_STRING. Just print the current
1230 year in copyright message.
1231 * addr2line.c (program_version): Remove unused declaration.
1232 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
1233 place of BFD_VERSION.
1234 * Makefile.am (Makefile): Depend on bfd/configure.in.
1235 (cplus-dem.o): Depend on Makefile.
1237 * Makefile.in: Regenerate.
1239 2001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
1241 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
1242 format .debug_arange sections.
1243 (main): Add missing prototype.
1245 2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
1247 * Makefile.am: Update dependencies with "make dep-am".
1248 * Makefile.in: Regenerate.
1250 2001-09-28 Richard Henderson <rth@redhat.com>
1252 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
1254 2001-09-26 Alan Modra <amodra@bigpond.net.au>
1256 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
1258 (non_fatal): Likewise.
1259 * objdump.c (objdump_sprintf): Likewise.
1260 * readelf.c (error): Likewise.
1263 2001-09-25 Jakub Jelinek <jakub@redhat.com>
1265 * readelf.c (do_wide): New.
1266 (options): Add --wide.
1267 (usage, parse_args): Likewise.
1268 (process_program_headers): Put each segment on a single line if
1270 (process_section_headers): Put each section on a single line if
1272 * doc/binutils.texi: Document it.
1275 2001-09-25 Alan Modra <amodra@bigpond.net.au>
1277 * readelf.c (print_vma): Print 8 digits of low hex value.
1279 2001-09-24 Andreas Jaeger <aj@suse.de>
1281 * nlmconv.c: Fix warnings about unused attributes and function
1284 * strings.c: Add prototype for get_char.
1286 2000-09-19 H.J. Lu <hjl@gnu.org>
1288 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
1289 $(srcdir)/cxxfilt.man.
1290 * doc/Makefile.in: Rebuild.
1292 2001-09-19 Alan Modra <amodra@bigpond.net.au>
1294 * objcopy.c (copy_main): Correct rename-section string parsing.
1295 Consolidate new_name parsing, and error messages.
1297 2001-09-18 Bruno Haible <haible@clisp.cons.org>
1299 * addr2line.c: Don't include <ctype.h>.
1300 (main): For gettext, also set the LC_CTYPE locate facet.
1301 * ar.c (main): Likewise.
1302 * coffdump.c (main): Likewise.
1303 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
1304 (main): For gettext, also set the LC_CTYPE locate facet.
1305 Use ISALNUM instead of isalpha/isdigit.
1306 * dllwrap.c: Don't include <ctype.h>.
1307 (main): For gettext, also set the LC_CTYPE locate facet.
1308 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
1309 (main): For gettext, also set the LC_CTYPE locate facet.
1310 Use TOUPPER instead of islower/toupper.
1311 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
1312 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
1313 Use TOUPPER instead of islower/toupper.
1314 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
1315 * objcopy.c (main): Likewise.
1316 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
1317 (disassemble_bytes): Use ISPRINT instead of isprint.
1318 (dump_section_stabs): Use ISDIGIT instead of isdigit.
1319 (dump_data): Use ISPRINT instead of isprint.
1320 (main): For gettext, also set the LC_CTYPE locate facet.
1321 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
1322 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
1323 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
1324 Use TOUPPER instead of islower/toupper.
1325 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
1326 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
1327 (write_rc_accelerators): Use ISPRINT instead of isprint.
1328 (write_rc_rcdata): Likewise.
1329 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
1330 * srconv.c (main): Likewise.
1331 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
1332 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
1333 isdigit/isupper/islower.
1334 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
1335 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
1336 stab_demangle_prefix, stab_demangle_qualified,
1337 stab_demangle_template, stab_demangle_type,
1338 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
1339 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
1340 (isgraphic): Use ISPRINT instead of isascii/isprint.
1341 (main): Remove HAVE_LC_MESSAGES dependency.
1342 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
1343 (pbarray): Use ISPRINT instead of isprint.
1344 (main): For gettext, also set the LC_CTYPE locate facet.
1345 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
1346 (format_from_filename): Use ISPRINT instead of isprint.
1347 (main): For gettext, also set the LC_CTYPE locate facet.
1348 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
1349 (unicode_print): Use ISPRINT instead of isprint.
1350 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
1351 (stab_variable): Use ISDIGIT instead of isdigit.
1353 2001-09-18 Alan Modra <amodra@bigpond.net.au>
1355 * ar.c (print_contents): Cast args of bfd_seek to the right types.
1356 Replace bfd_read call with call to bfd_bread.
1357 (extract_file): Likewise.
1359 * objdump.c (dump_section_header): Cast section->filepos to
1360 unsigned long to suit printf format string.
1361 * readelf.c (process_section_headers): Similarly for sh_offset.
1362 (process_unwind): Likewise.
1364 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
1366 * strings.c (encoding, encoding_bytes): New variables.
1367 (long_options): Add --encoding.
1368 (main): Accept -e and --encoding.
1369 (get_char): New function. Read a, possibly wide, character from
1371 (print_strings): Use get_char().
1372 (usage): Document new command line option.
1373 * doc/binutils.texi: Document new command line option.
1374 * NEWS: Announce new command line option.
1376 2001-09-12 Alexandre Oliva <aoliva@redhat.com>
1378 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
1379 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
1380 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
1381 Removed EM_CYGNUS_ARC.
1383 2001-09-04 Jeffrey A Law (law@cygnus.com)
1385 * readelf.c: Include elf/h8 for H8 series definitions.
1386 (guess_is_rela): H8 series if RELA.
1387 (dump_relocations): Handle H8 series relocations.
1389 2001-08-31 Eric Christopher <echristo@redhat.com>
1391 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
1393 2001-08-29 Peter Targett <peter.targett@arccores.com>
1395 * MAINTAINERS: Include ARC Maintainer.
1397 2001-08-29 Ben Elliston <bje@redhat.com>
1399 * stabs.c (stab_demangle_template): Initialise s4.
1401 2001-08-27 Alan Modra <amodra@bigpond.net.au>
1403 * readelf.c (dump_relocations): Recognise EM_PPC64.
1405 2001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1407 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
1409 2001-08-25 H.J. Lu <hjl@gnu.org>
1411 * nm.c (print_width): New.
1412 (display_rel_file): Set `print_width' according to
1414 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
1416 2001-08-24 Alexandre Oliva <aoliva@redhat.com>
1418 * objcopy.c (use_alt_mach_code): New variable.
1419 (OPTION_ALT_MACH_CODE): Define.
1420 (copy_options): Added --alt-machine-code.
1421 (copy_main): Handle it.
1422 (copy_object): Switch to alternate machine code if requested.
1423 * doc/binutils.texi: Document new option.
1426 2001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1428 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
1430 2001-08-21 H.J. Lu <hjl@gnu.org>
1432 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
1433 (display_debug_info): Cast for 64bit hosts.
1434 (display_debug_frames): Likewise.
1435 (process_mips_specific): Likewise.
1437 2001-08-21 Andreas Jaeger <aj@suse.de>
1439 * coffgrok.h: Add missing parameter for prototype of coff_grok.
1441 * sysdump.c: Add missing prototypes.
1442 * srconv.c: Likewise.
1443 * unwind-ia64.c: Likewise.
1444 * coffdump.c: Likewise.
1446 * sysinfo.y: Print prototypes, include <ansidecl.h>.
1448 * coffgrok.c: Add missing prototypes, include libiberty.h instead
1449 of declaring xcalloc.
1451 2001-08-10 H.J. Lu <hjl@gnu.org>
1453 * nm.c (print_value): Add one arg, bfd *.
1454 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
1455 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
1456 (print_symbol_info_sysv): Likewise.
1457 (print_symbol_info_posix): Likewise.
1459 * objdump.c (dump_section_header): Replace printf_vma with
1461 (print_section_stabs): Likewise.
1462 (dump_bfd_header): Likewise.
1463 (objdump_print_value): Replace sprintf_vma with
1465 (disassemble_bytes): Likewise.
1466 (dump_reloc_set): Likewise.
1468 2001-08-10 Andreas Jaeger <aj@suse.de>
1470 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
1472 * configure: Regenerate.
1474 2001-08-09 Alan Modra <amodra@bigpond.net.au>
1476 * readelf.c: Add missing prototypes.
1477 * objdump.c: Likewise. Format existing prototypes.
1479 2001-08-08 Alexandre Oliva <aoliva@redhat.com>
1481 * readelf.c (display_debug_info): Add to abbrev_offset the addend
1482 of any RELA relocation for the abbrev_offset memory location that
1483 refers to the .debug_abbrev section symbol.
1485 2001-08-07 H.J. Lu <hjl@gnu.org>
1487 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
1488 (main): Return process_file ().
1490 2001-08-05 Philip Blundell <philb@gnu.org>
1492 * doc/binutils.texi: Use "Thumb" not "THUMB".
1494 2001-08-03 John Healy <jhealy@redhat.com>
1496 Patch suggested by Frank Eigler <fche@redhat.com>.
1497 * objdump.c (disassemble_data): Fill in section member of the
1498 disasm_info structure.
1500 2001-08-03 Tom Walsh <tom@cyberiansoftware.com>
1502 * configure.in: Added --with-windres option.
1503 * configure: Regenerated.
1505 2001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1507 * doc/binutils.texi: Use @command{name} for commands;
1508 use @option{-opt} for options; use @table @env for list of options;
1509 remove spaces arround [ | ] in synopsis.
1511 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
1514 2001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
1516 * objcopy.c: Fix formatting.
1517 (section_rename): New structure.
1518 (OPTION_RENAME_SECTION): New switch.
1519 (copy_usage): Document new switch.
1520 (add_section_rename): New function: Add a node to the section
1522 (find_section_rename): New function: Find the new name and
1523 flags for a section.
1524 (setup_section): Call find_section_name to determine the name
1525 of the output section.
1526 (copy_main): Handle OPTION_RENAME_SECTION.
1527 * binutils.texi: Document new switch.
1528 * NEWS: Mention new switch.
1530 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
1532 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
1533 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
1534 bug-binutils@gcc.org.
1536 2001-07-28 Matthias Kramm <kramm@quiss.org>
1538 * bucomm.c (list_supported_architectures): New function.
1539 * bucomm.h (list_supported_architectures): Declare.
1540 * objdump.c (usage): Call the above.
1542 2001-07-25 Dave Brolley <brolley@redhat.com>
1544 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
1545 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
1547 2001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
1549 * README: Update for 2.11. Change bug reporting email address.
1550 * MAINTAINERS: Tidy up. Change bug reporting email address.
1552 2001-07-16 DJ Delorie <dj@redhat.com>
1554 * resres.c (write_res_header): Align header size.
1555 (res_align_file): Calculate alignment correctly.
1557 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
1559 * resrc.c (write_rc_resource): Likewise.
1560 * windres.h (SUBLANG_SHIFT): Define - as 10.
1562 2001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
1564 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
1566 2001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
1568 * MAINTAINERS: Add notes about branch checkins.
1570 2001-07-05 Daniel Berlin <dan@cgsoftware.com>
1572 * readelf.c (display_debug_macinfo): New function, display
1573 .debug_macinfo section.
1574 (do_debug_macinfo): New variable.
1575 (parse_args): Handle "-w[mM]" to mean display macro info.
1576 (process_section_headers): Handle debug_macinfo.
1577 (debug_displays): Replace unsupported function with macinfo
1578 function for .debug_macinfo display.
1579 * doc/binutils.texi: Document new command line switch.
1580 * NEWS: Document new feature of readelf.
1582 2001-07-05 H.J. Lu <hjl@gnu.org>
1584 * objcopy.c (filter_symbols): Don't turn undefined symbols
1587 2001-07-03 H.J. Lu <hjl@gnu.org>
1589 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
1592 (dlltool.1): Likewise.
1593 (nlmconv.1): Likewise.
1595 (objcopy.1): Likewise.
1596 (objdump.1): Likewise.
1597 (ranlib.1): Likewise.
1598 (readelf.1): Likewise.
1600 (strings.1): Likewise.
1601 (strip.1): Likewise.
1602 (windres.1): Likewise.
1603 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
1604 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
1607 * doc/Makefile.in: Regenerated.
1609 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
1611 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
1613 2001-07-01 Daniel Berlin <dan@cgsoftware.com>
1615 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
1617 2001-06-29 James Cownie <jcownie@etnus.com>
1619 * readelf.c: Support DWARF 2.1 attributes.
1621 2001-06-28 Alan Modra <amodra@bigpond.net.au>
1623 * readelf.c (GET_DATA_ALLOC): Remove.
1625 (get_data): New function combining above macros, with an extra
1627 (slurp_rela_relocs): Use get_data, and catch error return.
1628 (slurp_rel_relocs): Likewise.
1629 (get_32bit_program_headers): Likewise.
1630 (get_64bit_program_headers): Likewise.
1631 (get_32bit_section_headers): Likewise.
1632 (get_64bit_section_headers): Likewise.
1633 (get_32bit_elf_symbols): Likewise.
1634 (get_64bit_elf_symbols): Likewise.
1635 (process_section_headers): Likewise.
1636 (process_relocs): Likewise.
1637 (slurp_ia64_unwind_table): Likewise.
1638 (process_unwind): Likewise.
1639 (get_32bit_dynamic_segment): Likewise.
1640 (get_64bit_dynamic_segment): Likewise.
1641 (process_dynamic_segment): Likewise.
1642 (process_version_sections): Likewise.
1643 (process_symbol_table): Likewise.
1644 (dump_section): Likewise.
1645 (display_debug_info): Likewise.
1646 (display_debug_section): Likewise.
1647 (process_section_contents): Likewise.
1648 (process_corefile_note_segment): Likewise.
1649 (process_mips_specific): Likewise. Also free econf32, econf64.
1651 2001-06-25 Alan Modra <amodra@bigpond.net.au>
1653 * readelf.c (dump_relocations): Print "bad symbol index" if
1654 symtab == NULL with non-zero symtab_index.
1655 (process_relocs): Don't bomb if reloc section has no symsec.
1657 2001-06-24 H.J. Lu <hjl@gnu.org>
1659 * objcopy.c (strip_main): Revert the change made on 2001-05-30
1661 (copy_main): Apply the the change made to strip_main on
1662 2001-05-30 by accident.
1664 2001-06-23 Andreas Jaeger <aj@suse.de>
1666 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
1668 (unw_decode_x2): Likewise.
1669 (unw_decode_x3): Likewise.
1670 (unw_decode_x4): Likewise.
1672 2001-06-23 Ben Elliston <bje@redhat.com>
1674 * MAINTAINERS: Add myself as M88k maintainer.
1676 2001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
1678 * objcopy.c (strip_main): Support -o or --output-file command lien
1681 2001-06-19 H.J. Lu <hjl@gnu.org>
1683 * doc/Makefile.in: Regenerated.
1685 2001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
1687 * readelf.c: Restore formatting.
1689 2001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
1691 * Makefile.am: Move documentation into doc subdirectory.
1692 * Makefile.in: Regenerated.
1693 * binutils.texi: Move into doc subdirectory.
1694 * addr2line.1: Removed.
1696 * dlltool.1: Likewise.
1697 * nlmconv.1: Likewise.
1699 * objcopy.1: Likewise.
1700 * objdump.1: Likewise.
1701 * ranlib.1: Likewise.
1702 * readelf.1: Likewise.
1704 * strings.1: Likewise.
1705 * strip.1: Likewise.
1706 * windres.1: Likewise.
1707 * cxxfilt.man: Likewise.
1708 * doc: New Directory.
1709 * doc/Makefile.am: New file.
1710 * doc/Makefile.in: Generate.
1712 2001-06-09 Alan Modra <amodra@bigpond.net.au>
1714 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
1716 2001-06-01 Alan Modra <amodra@bigpond.net.au>
1718 * MAINTAINERS: Update my email address.
1720 2001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
1722 * objcopy.c: Add new switches: --keep-global-symbol,
1723 --keep-symbols, --localize-symbols, --keep-global-symbols and
1725 * binutils.texi: Document new switches.
1726 * objcopy.1: Regenerate.
1727 * NEWS: Announce new feature.
1729 2001-05-28 Andreas Jaeger <aj@suse.de>
1731 * readelf.c (display_debug_frames): Fix warnings: Remove unused
1732 variables, fix format strings.
1734 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
1736 * objdump.c (disassemble_bytes): Remove section VMA adjustment
1737 when computing the address of the line to show.
1739 2001-05-16 Richard Henderson <rth@redhat.com>
1741 * readelf.c (do_debug_frames_interp): New.
1742 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
1743 (byte_get_big_endian): Likewise.
1744 (parse_args) ['F']: Set do_debug_frames_interp.
1745 (Frame_Chunk): Make data_factor signed, add fde_encoding.
1746 (frame_display_row): Don't trunc pc_begin to int.
1747 (size_of_encoded_value): New.
1748 (display_debug_frames): Handle 64-bit targets. Print raw data
1749 unless do_debug_frames_interp.
1750 (debug_displays): Remove duplicate .debug_frame.
1752 2001-05-15 Ralf Baechle <ralf@gnu.org>
1754 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
1755 The former constant was never in active use and is used otherwise
1758 2001-05-11 Jakub Jelinek <jakub@redhat.com>
1760 * readelf.c (process_unwind): Print all unwind sections, not just
1763 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1765 * readelf.c (process_unwind): Remove const specifier.
1767 2001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
1769 * strings.c (isgraphic): Do not use isascii() unless it is needed
1770 for isprint() to work.
1771 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
1773 2001-04-27 Johan Rydberg <jrydberg@opencores.org>
1775 * NEWS: Announce support for OpenRISC.
1777 2001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
1779 * dlltool.c (do_default_excludes): Initialise to true.
1781 2001-04-10 Alan Modra <amodra@one.net.au>
1783 * MAINTAINERS: Update my email address
1784 * nm.c (print_symbol_info_bsd): Use a simple printf string.
1786 2001-04-05 Hans-Peter Nilsson <hp@axis.com>
1788 * readelf.c (display_debug_lines): Fix typo for "Prologue".
1790 2001-03-30 H.J. Lu <hjl@gnu.org>
1792 * readelf.c (process_unwind): Just return if do_unwind is 0.
1794 2001-03-28 Roger Sayle <roger@metaphorics.com>
1796 * dlltool.c (make_one_lib_file): Fix section flags for
1797 .text, .data and .bss in stub ds*.o files to match those
1800 2001-03-29 H.J. Lu <hjl@gnu.org>
1802 * readelf.c (process_unwind): Only do unwind sections for
1805 2001-03-28 H.J. Lu <hjl@gnu.org>
1807 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
1808 * Makefile.in: Regenerate.
1810 2001-03-26 Andreas Jaeger <aj@suse.de>
1812 * binutils.texi (nm): Fix texi syntax.
1814 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1816 * binutils.texi: Put @c man begin and @c man end indications
1817 to generate man pages using texi2pod and pod2man. Put @c man title
1818 to identify each man. Add SEEALSO entries.
1819 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
1820 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
1822 (*.1): Build the man pages from binutils.texi.
1823 * Makefile.in: Regenerate.
1825 2001-03-13 Eric Kohl <ekohl@rz-online.de>
1827 * defparse.y (opt_equal_name): allow "." in name.
1828 * dlltool.c (def_exports): Added ability to generate forwarded exports.
1829 (gen_exp_file): Likewise.
1831 2001-03-12 Stefan Geuken <mail@stefan-geuken.de>
1833 * NEWS: Document addition of -B switch to objcopy.
1834 * binutils.texi: Document addition of -B switch to objcopy.
1835 * objcopy.c: (copy_options): Add --binary-architecture.
1836 (copy_usage): Document -B/--binary-architecture.
1837 (copy_main): Support -B/--binary-architecture. Set
1838 bfd_external_binary_architecture.
1840 2001-03-11 Andreas Jaeger <aj@suse.de>
1842 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
1843 (dump_relocations): Likewise.
1844 (get_machine_name): Likewise.
1846 2001-02-28 Nick Clifton <nickc@redhat.com>
1848 * readelf.c: (struct unw_aux_info): Remove const modifier for
1850 (process_unwind): Remove non-K&R compliant LHS type cast in call
1851 to GET_DATA_ALLOC macro.
1853 2001-02-28 Philip Blundell <pb@futuretv.com>
1855 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
1856 ABI is in use; remove ambiguity between the "unknown" EABI and
1857 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
1858 renamed EF_xx constants.
1860 2001-02-27 Alan Modra <alan@linuxcare.com.au>
1862 * configure.in (BFD_VERSION): New.
1863 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
1864 * configure: Regenerate.
1865 * Makefile.am: Run "make dep-am"
1866 * Makefile.in: Regenerate.
1868 2001-02-14 Nick Clifton <nickc@redhat.com>
1870 * MAINTAINERS: Add "Obvious Fix" rule.
1872 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1874 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
1875 literal concatenation.
1877 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1879 * readelf.c (struct unw_aux_info): Remove const from the info member.
1880 (process_unwind): Don't type-cast the third argument to the
1881 GET_DATA_ALLOC macro.
1883 2001-02-11 Nick Clifton <nickc@redhat.com>
1885 * readelf.c (dump_relocations): Free corrected allocated
1887 (process_unwind): Fix compile time warning.
1889 2001-02-10 Nick Clifton <nickc@redhat.com>
1891 * binutils.texi: Document new --unwind option to readelf.
1893 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
1895 * readelf.c: Add linux target for S/390.
1897 2001-02-10 Alan Modra <alan@linuxcare.com.au>
1899 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
1902 2001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
1904 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
1905 * aclocal.m4: Regenerate.
1906 * configure: Regenerate.
1908 2001-02-07 Todd Vierling <tv@wasabisystems.com>
1910 * bucomm.c (bfd_target_vector): Change extern array to pointer.
1911 * objdump.c (bfd_target_vector): Likewise.
1913 2001-02-07 David Mosberger <davidm@hpl.hp.com>
1915 * readelf.c (process_unwind): New function.
1916 (slurp_ia64_unwind_table): Ditto.
1917 (dump_ia64_unwind): Ditto.
1918 (find_symbol_for_address): Ditto.
1919 (slurp_rela_relocs): New function (split off from dump_relocations()).
1920 (slurp_rel_relocs): Ditto.
1921 (parse_args): Handle '-u' option.
1923 * unwind-ia64.c: New file.
1924 * unwind-ia64.h: New file.
1925 * Makefile.am: Include unwind-ia64.c in readelf build.
1926 * Makefile.in: Regenerate.
1927 * po/binutils.pot: Regenerate.
1929 2001-02-04 Philip Blundell <philb@gnu.org>
1931 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
1932 * configure: Regenerate.
1934 2001-01-31 Steve deRosier <sderosier@vari-lite.com>
1936 * ieee.c (ieee_add_bb11): Don't check for backslashes
1937 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1939 2001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
1941 * ieee.c: Update copyright.
1942 (ieee_start_compilation_unit): Don't check for backslashes
1943 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1945 * stabs.c: Update copyright. Include "filenames.h".
1946 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
1948 2001-01-23 Jakub Jelinek <jakub@redhat.com>
1950 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
1951 sections are present before using them. Remove code duplication.
1952 (process_symbol_table): Check if VERDEF or VERNEED sections are
1953 present before using them.
1955 2001-01-17 Nick Clifton <nickc@redhat.com>
1957 * objcopy.c (copy_object): Fail if attempting to convert the
1958 endianness of the input object file.
1960 * binutils.texi: Explain that objcopy cannot convert endianness.
1962 2001-01-16 Nick Clifton <nickc@redhat.com>
1964 * readelf.c (string_table_length): New variable.
1965 (SECTION_NAME): Catch out of range indices and missing section
1967 (process_section_headers): Delete useless local variable
1968 string_table_offset. Set the value of string_table_length
1969 after loading the string table.
1970 (process_mips_specific): Use SECTION_NAME macro.
1971 (process_file): Set string_table_length to 0 when it is freed.
1973 2001-01-12 Nick Clifton <nickc@redhat.com>
1975 * version.c (print_version): Update copyright date.
1977 2001-01-11 Peter Targett <peter.targett@arccores.com>
1979 * readelf.c (dump_relocations): Include selection with EM_ARC.
1980 (get_machine_name) Update name to "ARC".
1982 2001-01-09 Nick Clifton <nickc@redhat.com>
1984 * Makefile.am: Add rule to build objdump.o from objdump.c and
1986 * Makefile.in: Regenerate.
1988 * configure.in: Define OBJDUMP_DEFS. Default to empty.
1989 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
1990 -DDISASSEMBLER_NEEDS_RELOCS.
1991 * configure: Regenerate.
1993 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
1994 is defined read in the relocs even if dump_reloc_info is
1997 2001-01-07 Philip Blundell <philb@gnu.org>
1999 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
2003 2000-12-19 Nick Clifton <nickc@redhat.com>
2005 * dlltool.c: Add missing support for arm-epoc-pe.
2006 * configure.in: Add missing support for arm-epoc-pe.
2007 * configure: Regenerate.
2009 2000-12-15 Nick Clifton <nickc@redhat.com>
2011 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
2012 Mode parts of the x86 port.
2014 2000-12-04 Andreas Jaeger <aj@suse.de>
2016 * readelf.c (guess_is_rela): Add EM_X86_64.
2017 (dump_relocations): Add EM_X86_64.
2018 (get_machine_name): Add EM_X86_64.
2019 Include "elf/x86-64.h".
2021 2000-12-12 Nick Clifton <nickc@redhat.com>
2023 * readelf.c: Fix formatting.
2025 2000-12-11 Jan Hubicka <jh@suse.cz>
2027 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
2029 2000-12-07 Andrew Haley <aph@redhat.com>
2031 * readelf.c (display_debug_frames): Only display columns that are
2032 referenced by the frame debug info.
2034 2000-12-05 Nick Clifton <nickc@redhat.com>
2036 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
2038 2000-12-04 Jason Merrill <jason@redhat.com>
2040 * readelf.c (process_section_headers): Handle linkonce.wi sections.
2041 (display_debug_section): Likewise.
2042 (display_debug_info): Display CU header before bailing.
2044 2000-12-01 Chris Demetriou <cgd@sibyte.com>
2046 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
2047 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
2048 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
2050 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
2053 * readelf.c (get_machine_flags): Add case for
2056 2000-11-30 Richard Earnshaw <rearnsha@arm.com>
2058 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
2060 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
2062 * MAINTAINERS: Add J
\81örn Rennecke and self as SH maintainers.
2063 Change sourceware.cygnus.com to sources.redhat.com.
2064 Fix typo for "amongst".
2066 2000-11-28 Nick Clifton <nickc@redhat.com>
2068 * strip.1 (COPYING): Mention that the GNU Free Documentation
2069 License is present in the sources, but not the output, and
2070 also available from the GNU website.
2071 (GNU Free Documentation License): Comment out this section.
2080 * addr2line.1: Ditto.
2082 2000-11-27 DJ Delorie <dj@redhat.com>
2084 * readelf.c (usage): Add -wf (--debug-dump=frames) option.
2085 (parse_args): Support -wf option.
2086 (process_section_headers): Ditto.
2087 (debug_displays): Ditto.
2088 (display_debug_frames): New, dump *_frame sections.
2089 (frame_need_space): Support for above.
2090 (frame_display_row): Ditto.
2091 * binutils.texi: Document it.
2093 2000-11-24 Nick Clifton <nickc@redhat.com>
2095 * NEWS: Announce support for v5t, v5te and XScale.
2097 2000-11-22 Nick Clifton <nickc@redhat.com>
2099 * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
2100 EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
2101 (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
2102 (get_elf_section_flags: Add SHF_GROUP.
2103 (process_section_headers): Adjust output for 32-bit binaries
2104 to look nice on an 80 column terminal.
2106 2000-11-20 H.J. Lu <hjl@gnu.org>
2108 * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
2111 2000-11-17 Richard Henderson <rth@redhat.com>
2113 * readelf.c (display_debug_lines): Adjust last change to
2114 use sizeof (external->li_length).
2116 2000-11-17 Richard Henderson <rth@redhat.com>
2118 * readelf.c (display_debug_lines): Fix section length check
2119 and end_of_sequence computation.
2121 2000-11-06 Nick Clifton <nickc@redhat.com>
2123 * binutils.texi: Add GNU Free Documentation License.
2124 * objcopy.1: Add GNU Free Documentation License.
2125 * objdump.1: Add GNU Free Documentation License.
2126 * addr2line.1: Add GNU Free Documentation License.
2127 * ar.1: Add GNU Free Documentation License.
2128 * nlmconv.1: Add GNU Free Documentation License.
2129 * nm.1: Add GNU Free Documentation License.
2130 * ranlib.1: Add GNU Free Documentation License.
2131 * size.1: Add GNU Free Documentation License.
2132 * strings.1: Add GNU Free Documentation License.
2133 * strip.1: Add GNU Free Documentation License.
2135 2000-10-06 Luciano Gemme <ishitawa@yahoo.com>
2137 * objcopy.c (--srec-len=nn): New parameter to set the
2138 maximum length of generated Srecords.
2139 (--srec-forceS3): New parameter that restricts the generation of
2140 Srecords to type S3 only.
2141 * binutils.texi: Document new command line switches.
2142 * objcopy.1: Docuemnt the new command line switches.
2143 * NEWS: Announce the existence of the new command line switches.
2145 2000-10-31 Nick Clifton <nickc@redhat.com>
2147 * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
2148 code. Add Eric Chrisopher as maintainer of MN10300 port.
2150 2000-10-12 Roger Sayle <roger@metaphorics.com>
2152 * Make comma after string after icon/control optional.
2154 2000-09-13 Anders Norlander <anorland@acc.umu.se>
2156 * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
2158 * NEWS: Mention support for MIPS32.
2160 2000-09-08 Nick Clifton <nickc@redhat.com>
2162 * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
2164 2000-09-07 H.J. Lu <hjl@gnu.org>
2166 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
2167 * configure: Rebuild.
2169 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
2171 * configure: Rebuilt with new libtool.m4.
2173 2000-09-05 Nick Clifton <nickc@redhat.com>
2175 * aclocal.m4: Regenerate.
2176 * config.in: Regenerate.
2177 * configure: Regenerate.
2179 2000-09-04 Todd Vierling <tv@wasabisystems.com>
2181 * strip.1: Fix stray '\' in -o formatting.
2183 2000-09-02 Nick Clifton <nickc@redhat.com>
2185 * configure.in: Increase version number to 2.10.91.
2186 * configure: Regenerate.
2187 * aclocal.m4: Regenerate.
2188 * config.in: Regenerate.
2189 * po/binutils.pot: Regenerate.
2191 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
2193 * acinclude.m4: Include libtool and gettext macros from the
2195 * aclocal.m4, configure: Rebuilt.
2197 2000-08-30 Jamie Guinan <guinan@bluebutton.com>
2199 * resrc.c (close_input_stream): Delete extraneous logic
2201 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
2203 * NEWS: Mention support for CRIS.
2205 2000-08-21 Nick Clifton <nickc@redhat.com>
2207 * addr2line.c: Changed email address for Ulrich Lauther.
2209 2000-08-17 Christopher C. Chimelis <chris@debian.org>
2211 * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
2213 2000-08-17 Nick Clifton <nickc@redhat.com>
2215 * readelf.c (display_debug_pubnames): Only issue warning
2216 message once. Terminate message with a new line.
2217 (display_debug_aranges): Only display version 2 debug info.
2219 2000-08-14 Todd Vierling <tv@wasabisystems.com>
2221 * objcopy.c (strip_main): Silently accept -d as an alias for -g
2222 for compatability with old BSD systems.
2224 2000-08-14 Jason Eckhardt <jle@cygnus.com>
2226 * NEWS: Mention i860 support.
2228 2000-08-11 Carlo Wood <carlo@alinoe.com>
2230 * addr2line.c (main): Add const to char *.
2232 2000-08-11 Geoff Keating <geoffk@cygnus.com>
2234 * ar.c (main): Don't crash if called with no arguments
2235 or only '-X32_64' as an argument.
2237 2000-08-08 DJ Delorie <dj@redhat.com>
2239 * resrc.c: use "gcc -xc" instead of -xc-header
2241 2000-08-05 Jason Eckhardt <jle@cygnus.com>
2243 * readelf.c (elf/i860.h): Include.
2244 (dump_relocations): Add recognition of i860 architecture.
2245 (guess_is_rela): Add recognition of i860 architecture.
2247 2000-08-03 Nick Clifton <nickc@cygnus.com>
2249 * MAINTAINERS: Add information about CGEN maintainers.
2251 2000-07-26 Geoff Keating <geoffk@cygnus.com>
2253 * nm.c (main): Ignore '-X32_64' as an option.
2254 * ar.c (main): Likewise.
2255 * binutils.texi (nm): Document new option.
2258 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2260 * rdcoff.c (external_coff_symbol_p): K&R-ise.
2262 2000-07-20 H.J. Lu <hjl@gnu.org>
2264 * binutils.texi: Put back "@end table" deleted by
2267 2000-07-05 Kenneth Block <krblock@computer.org>
2269 * nm.c: Add optional style to demangle switch.
2270 * objdump.c: Add optional style to demangle switch.
2271 * addr2line.c: Add optional style to demangle switch.
2272 * binutils.texi: Document optional style to demangle
2275 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
2277 * MAINTAINERS: Add self as CRIS port maintainer.
2278 * readelf.c: Include elf/cris.h.
2279 (guess_is_rela): Handle EM_CRIS.
2280 (dump_relocations): Ditto.
2281 (get_machine_name): Ditto.
2282 * Makefile.am: Rebuild dependencies.
2283 * Makefile.in: Regenerate.
2284 * po/binutils.pot: Regenerate.
2286 2000-07-19 H.J. Lu <hjl@gnu.org>
2288 * readelf.c (get_dynamic_type): Change "AUXILARY" to
2290 (process_dynamic_segment): Print out strings for DT_CONFIG,
2291 DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
2293 2000-07-19 Mark Kettenis <kettenis@gnu.org>
2295 * nm.c (usage): Change output of `nm --help' to include a
2296 description of the purpose of the program and a detailed
2297 description of the accepted options.
2299 2000-07-19 H.J. Lu <hjl@gnu.org>
2301 * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
2304 2000-07-19 H.J. Lu <hjl@gnu.org>
2306 * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
2308 2000-07-19 H.J. Lu <hjl@gnu.org>
2310 * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
2312 (process_dynamic_segment): Likewise.
2314 * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
2315 DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
2316 (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
2317 DF_1_NODUMP and DF_1_CONLFAT.
2319 2000-07-18 Nick Clifton <nickc@cygnus.com>
2321 * binutils.texi (readelf): Fix spelling typo.
2323 2000-07-11 Mark Kettenis <kettenis@gnu.org>
2325 * objdump.c (usage): Make output of `objdump --help' more
2326 consistent with the rest of the GNU world. Add a line describing
2327 the purpose of the program.
2329 2000-07-10 David Huggins-Daines <dhd@linuxcare.com>
2331 * stabs.c (parse_stab_range_type): Cast to proper type to fix
2334 2000-07-10 Ryan Bradetich <rbradetich@uswest.net>
2336 * readelf.c (get_dynamic_data): Add casts and use unsigned chars
2338 (process_symbol_table): Ditto.
2339 (procesS_extended_line_op): Ditto.
2340 (display_debug_lines): Ditto.
2341 (display_debug_pubnames): Ditto.
2342 (read_and_display_attr): Ditto.
2344 2000-07-09 Nick Clifton <nickc@cygnus.com>
2346 * MAINTAINERS: Add several more port specific maintainers.
2348 2000-07-05 Nick Clifton <nickc@cygnus.com>
2350 * MAINTAINERS: Add blanket write privs for Michael Meissner.
2352 2000-06-05 DJ Delorie <dj@redhat.com>
2356 2000-07-01 Eric Fifer <EFifer@sanwaint.com>
2358 * dllwrap.c: Changed mistaken dyn_string_append() calls
2359 to dyn_string_append_cstr().
2361 2000-07-01 Alexander Aganichev <AAganichev@hypercom.com>
2363 * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
2364 struct debug_type stores size in bytes.
2366 2000-07-01 Alan Modra <alan@linuxcare.com.au>
2368 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
2369 (CLEANFILES): Add DEPA.
2370 * Makefile.in: Regenerate.
2372 2000-06-27 Alan Modra <alan@linuxcare.com.au>
2374 * ar.c: Revert incorrect 2000-06-25 patch.
2375 * bucomm.c: Likewise.
2377 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
2379 * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
2380 (external_coff_symbol_p): New function.
2381 (parse_coff): Use it.
2383 2000-06-25 Alexander Aganichev <AAganichev@hypercom.com>
2385 * ar.c (normalize): Advance past both characters in a DOS based
2386 <letter>: filepath prefix.
2388 * bucomm.c (make_tempname): Likewise.
2390 2000-06-24 Nick Clifton <nickc@cygnus.com>
2392 * objdump.c (usage): Fix description of --stabs switch.
2394 2000-06-22 Alan Modra <alan@linuxcare.com.au>
2396 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
2398 * Makefile.in: Regenerate.
2400 2000-06-20 Alexander Aganichev <AAganichev@hypercom.com>
2402 * ar.c (normalize): Correct pointer comparison when checking for
2405 * bucomm.c (make_tempname): Likewise.
2407 * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
2408 and search for backslashes in the original pathname.
2409 (ieee_add_bb11): Likewise.
2411 2000-06-18 Nick Clifton <nickc@redhat.com>
2413 * ar.c (print_contents): Improve verbose message.
2415 2000-06-15 H.J. Lu <hjl@gnu.org>
2417 * dyn-string.c: Removed. Not needed with dyn-string.c in
2419 * dyn-string.h: Likewise.
2421 * Makefile.am: Remove references to dyn-string.c and
2422 dyn-string.h. Rebuild dependency.
2423 * Makefile.in: Rebuild.
2425 2000-06-15 H.J. Lu <hjl@gnu.org>
2427 * binutils.texi: Put a warning on copying relocatable object
2428 files between two different formats.
2430 2000-06-13 DJ Delorie <dj@cygnus.com>
2432 * rcparse.y (control): ICON controls take an id as the first
2433 parameter, not an optional string. Also, call new convenience
2434 function that takes res_id's.
2435 * resrc.c (define_control): missing text means zero-length string,
2437 (define_icon_control): New.
2438 * windres.h: declare define_icon_control.
2440 2000-06-13 H.J. Lu <hjl@gnu.org>
2442 * configure: Regenerate.
2444 2000-06-08 David O'Brien <obrien@FreeBSD.org>
2446 * configure.in (VERSION): Update to show this is the CVS mainline.
2448 2000-06-02 David O'Brien <obrien@FreeBSD.org>
2450 * strings.c (isgraphic): Interpret <TAB> as a printable character,
2451 analogous to <SPACE>.
2453 2000-05-30 Alan Modra <alan@linuxcare.com.au>
2455 * objdump.c (display_target_list): Use bfd_close_all_done, not
2456 bfd_close to fix crash caused by 2000-05-24 change.
2458 2000-05-25 DJ Delorie <dj@cygnus.com>
2460 * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
2462 2000-05-26 Alan Modra <alan@linuxcare.com.au>
2464 * Makefile.am: Update dependencies with "make dep-am"
2465 * Makefile.in: Regenerate.
2467 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
2469 * ar.c: Include filenames.h.
2470 (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
2471 and drive letters in file names.
2472 (main): Support backslashes and drive letters in argv[0]. Drop
2473 the .exe suffix, if any, in argv[0] if is_ranlib is negative. Use
2474 FILENAME_CMP instead of strcmp to compare file names.
2475 (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
2477 (do_quick_append) [__GO32__]: Ditto.
2478 (get_pos_bfd, delete_members, move_members, replace_members):
2479 Compare file names with FILENAME_CMP.
2481 * bucomm.c: Include filenames.h.
2482 (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
2483 forward/backward slashes and drive letters in file names.
2485 * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
2486 mixed forward/backward slashes and drive letters in file names.
2488 * strings.c (O_BINARY, setmode, SET_BINARY): Define.
2489 (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
2492 * objcopy.c: Include filenames.h.
2493 (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
2494 before comparing to "strip".
2495 Use FILENAME_CMP to compare file names.
2497 * arsup.c: Include filenames.h.
2498 (map_over_list, ar_delete, ar_replace, ar_extract): Use
2499 FILENAME_CMP to compare file names.
2500 (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
2501 the temporary file name.
2503 * configure.in: Check for setmode.
2504 * configure: Regenerate.
2506 2000-05-24 Alan Modra <alan@linuxcare.com.au>
2508 * objdump.c (display_target_list): Close the bfd.
2509 (display_info_table): Likewise.
2511 2000-05-14 H.J. Lu (hjl@gnu.org)
2513 * objcopy.c (filter_symbols): Don't strip global symbols in
2514 relocatable object files.
2516 2000-05-14 Alan Modra <alan@linuxcare.com.au>
2518 * size.c (usage): Associate short options with corresponding long
2519 option to give a clue as to their function.
2521 2000-05-14 Philippe De Muyter <phdm@macqel.be>
2523 * size.c (main): Accept and ignore `-f' option.
2525 2000-05-13 Alan Modra <alan@linuxcare.com.au>
2527 * bucomm.h (gettext, dgettext, dcgettext, textdomain,
2528 bindtextdomain): Replace defines with those from intl/libgettext.h
2529 to quieten gcc warnings.
2531 2000-05-12 H.J. Lu <hjl@gnu.org>
2533 * nlmconv.c (temp_filename): Removed.
2535 * nlmconv.c (link_inputs): Use make_temp_file () instead of
2536 choose_temp_base ().
2537 * objdump.c (display_target_list): Likewise.
2538 (display_info_table): Likewise.
2540 2000-05-08 Alan Modra <alan@linuxcare.com.au>
2542 * objcopy.c (setup_section): Add const and gettext calls for err.
2544 2000-05-02 H.J. Lu <hjl@gnu.org>
2546 * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
2547 ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
2548 ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
2549 ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
2550 and ELFOSABI_OPENBSD.
2552 2000-05-02 Kazu Hirata <kazu@hxi.com>
2554 * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
2555 * srconv.c: Likewise.
2556 * sysdump.c: Likewise.
2558 2000-04-23 Denis Chertykov <denisc@overta.ru>
2560 * readelf.c (guess_is_rela): AVR uses RELA relocations.
2561 (get_machine_name): machine name for EM_AVR added.
2563 2000-04-21 Richard Henderson <rth@cygnus.com>
2564 David Mosberger <davidm@hpl.hp.com>
2566 * Makefile.am (readelf.o): Add elf/ia64.h.
2567 * Makefile.in: Rebuild.
2568 * readelf.c: Include elf/ia64.h.
2569 (guess_is_rela, dump_relocations): Handle EM_IA_64.
2571 2000-04-17 Timothy Wall <twall@cygnus.com>
2573 * objdump.c (disassemble_data): Set octets per byte *after*
2574 resolving arch/mach for binary files.
2576 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2578 * arlex.l: Add directives to increase lex buffer size.
2580 * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
2581 already included by bucomm.h.
2583 2000-04-10 Philippe De Muyter <phdm@macqel.be>
2585 * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
2586 `strftime' since strftime is not available on all systems.
2587 (process_mips_specific): Ditto.
2589 2000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
2591 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
2592 --enable-build-warnings option.
2593 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
2594 * Makefile.in, configure: Re-generate.
2596 2000-04-06 Alan Modra <alan@linuxcare.com.au>
2598 * addr2line.c: Update copyright.
2599 * objcopy.1: Likewise, and title.
2600 * strings.1: Likewise.
2602 * version.c (print_version): Add 2000.
2604 * rddbg.c (read_section_stabs_debugging_info): Don't use
2605 bfd_size_type for strx to avoid printf problems if BFD64.
2607 * bucomm.c: (report): Remove `static'.
2608 Move inclusion of stdarg.h/vararg.h from here.
2609 * bucomm.h: To here.
2610 (CONST): Change all occurences to const.
2611 (report): Declare it.
2612 (bfd_fatal): Add ATTRIBUTE_NORETURN.
2613 (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
2614 (non_fatal): Add ATTRIBUTE_PRINTF_1.
2616 * ar.c (main): Use fatal or non_fatal instead of fprintf.
2617 Correct a typo in an error message.
2618 (do_quick_append): Use non_fatal instead of fprintf.
2619 (move_members): Use fatal instead of fprintf, exit.
2620 * coffdump.c (main): Same here.
2622 * dlltool.c (display): Delete.
2624 (inform): Use `report' instead of `display'.
2625 (rvaafter): Remove trailing \n from fatal error msg.
2627 (asm_prefix): Ditto.
2628 (yyerror): Replace `warn' with `non_fatal', and remove \n.
2629 (def_name): Likewise.
2631 (scan_all_symbols): Likewise.
2632 (gen_lib_file): Likewise.
2633 (def_library): Likewise. Remove extra program_name too.
2634 (run): Remove \n from inform strings.
2635 (scan_drectve_symbols): Likewise.
2636 (add_excludes): Likewise.
2637 (scan_open_obj_file): Likewise.
2638 (gen_exp_file): Likewise.
2639 (gen_lib_file): Likewise.
2640 (process_duplicates): Likewise.
2642 * Makefile.am (dllwrap_SOURCES): Add version.c.
2643 * dllwrap.c (program_version): Delete.
2644 (print_version): Delete.
2645 (display): Always print trailing \n.
2647 (delete_temp_files): Use warn instead of fprintf. Use gettext.
2650 (usage): gettext'ify.
2651 (long_options): Add missing initialisers.
2653 * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
2654 (select_output_format): Likewise.
2655 (powerpc_mangle_relocs): Likewise.
2656 (link_inputs): Likewise.
2658 * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
2659 (set_output_format): Likewise.
2660 (main): Use non_fatal instead of fprintf.
2661 (display_rel_file): Likewise.
2663 * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
2664 (slurp_dynamic_symtab): Same here.
2665 (disassemble_data): And here.
2666 (read_section_stabs): And here.
2667 (read_section_stabs): And here.
2668 (dump_bfd): And here.
2670 (objdump_sprintf): Use fatal instead of fprintf, exit.
2671 (disassemble_data): Same here.
2673 * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
2674 (parse_coff_struct_type): Same here.
2675 (parse_coff_enum_type): And here.
2676 (parse_coff): And here.
2677 * rddbg.c (read_debugging_info): And here.
2678 * size.c (main): And here.
2679 * windres.c (format_from_name): And here.
2680 * wrstabs.c (stab_write_symbol): Here too.
2681 (write_stabs_in_sections_debugging_info): And here.
2682 (stab_int_type): And here.
2683 (stab_struct_field): And here.
2684 (stab_typdef): And here.
2686 * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
2687 * srconv.c (main): Same here.
2688 * strings.c (main): And here.
2689 (integer_arg): And here.
2690 * sysdump.c (main): And here.
2692 2000-04-06 Timothy Wall <twall@cygnus.com>
2694 * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
2696 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
2698 * readelf.c (decode_location_expression): Loop through multiple
2700 (read_and_display_attr): Pass in length.
2702 * readelf.c (read_and_display_attr): Add CU offset to references.
2703 (display_debug_info): Pass it in.
2705 2000-04-06 Nick Clifton <nickc@cygnus.com>
2707 * readelf.c (decode_ARM_machine_flags): New function.
2708 (get_machine_flags): Call decode_ARM_machine_flags for ARM
2711 (get_machine_name): Catch EM_AVR
2713 2000-04-05 Alan Modra <alan@linuxcare.com.au>
2715 * binutils.texi: Remove optional `=' from long options that have
2716 an `=' in the argument.
2717 * objcopy.1: Here too. Remove extra space on discard-all.
2719 * binutils.texi (objcopy): Mention --redefine-sym.
2720 * objcopy.1: Here too.
2723 * objcopy.c (parse_flags): Split off flag names from error message
2724 gettext as they are not translated.
2725 (copy_main): Similarly split off option name for --add-section,
2726 --set-section-flags, --change-section-vma, --change-section-lma
2728 Some white space changes.
2730 from Matthew Benjamin <matt@linuxbox.nu>
2731 * objcopy.c (struct redefine_node): New.
2732 (redefine_sym_list): New.
2733 (redefine_list_append): New.
2734 (lookup_sym_redefinition): New.
2735 (OPTION_REDEFINE_SYM): New.
2736 (copy_options): Add --redefine-sym option.
2737 (copy_usage): Mention it.
2738 (filter_symbols): Rename symbols on redefine_sym_list.
2739 (copy_object): Call filter_symbols if redefine_sym_list != NULL.
2740 (copy_main): Handle OPTION_REDEFINE_SYM.
2742 2000-04-04 H.J. Lu <hjl@gnu.org>
2744 * readelf.c (process_symbol_table): Correctly read in symbol
2745 versioning information.
2747 2000-04-04 Alan Modra <alan@linuxcare.com.au>
2749 * po/binutils.pot: Regenerate.
2751 * addr2line.c (usage): Restore translated part of bug string.
2752 * ar.c (usage): Likewise.
2753 * nlmconv.c (show_usage): Likewise.
2754 * nm.c (usage): Likewise.
2755 * objcopy.c (copy_usage): Likewise.
2756 (strip_usage): Likewise.
2757 * objdump.c (usage): Likewise.
2758 * readelf.c (usage): Likewise.
2759 * size.c (usage): Likewise.
2760 * strings.c (usage): Likewise.
2761 * windres.c (usage): Likewise.
2763 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
2764 (DEP): Quote when passing vars to sub-make. Add warning
2766 (DEP1): Rewrite for "gcc -MM".
2767 (CLEANFILES): Add DEP2.
2768 Update dependencies.
2769 * Makefile.in: Regenerate.
2771 2000-04-04 H.J. Lu <hjl@gnu.org>
2773 * Makefile.am (GENERATED_HFILES): Add rcparse.h
2774 (arparse.h): Depend on arparse.c
2775 (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
2777 2000-04-03 H.J. Lu (hjl@gnu.org)
2779 * size.c (usage): Use REPORT_BUGS_TO.
2781 2000-04-03 Alan Modra <alan@linuxcare.com.au>
2783 * bucomm.h: #include "bin-bugs.h"
2784 * addr2line.c (usage): Use REPORT_BUGS_TO.
2785 * ar.c (usage): Likewise.
2786 * nlmconv.c (show_usage): Likewise.
2787 * nm.c (usage): Likewise.
2788 (OPTION_TARGET): Define.
2789 (long_options): Use OPTION_TARGET rather than 200.
2792 * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
2793 (strip_usage): Likewise.
2794 * objdump.c (usage): Likewise.
2795 * readelf.c (usage): Likewise.
2796 * strings.c (usage): Likewise.
2797 * windres.c (usage): Likewise.
2799 2000-03-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
2801 * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
2803 2000-03-27 Nick Clifton <nickc@cygnus.com>
2805 * rddbg.c (read_section_stabs_debugging_info): Catch out of range
2806 string offsets in corrupt stabs entries.
2808 2000-03-27 Alan Modra <alan@linuxcare.com.au>
2810 * readelf.c: Include elf/avr.h
2811 (dump_relocations): Add EM_AVR case.
2813 2000-03-09 Tim Waugh <twaugh@redhat.com>
2815 * strings.1: Correct '-bytes' to '--bytes'.
2817 2000-03-08 H.J. Lu <hjl@gnu.org>
2819 * Makefile.am (install-exec-local): Depend on
2820 install-binPROGRAMS for parallel make.
2821 * Makefile.in: Regenerated.
2823 2000-02-27 Ian Lance Taylor <ian@zembu.com>
2825 From Brad Lucier <lucier@math.purdue.edu>:
2826 * readelf.c (process_dynamic_segment): Add cast to make sure
2827 argument to %* is int.
2829 2000-02-25 H.J. Lu <hjl@gnu.org>
2831 * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
2833 2000-02-24 Nick Clifton <nickc@cygnus.com>
2835 * configure.in: Add arm-wince, mips-pe and sh-pe targets.
2836 * configure: Regenerate.
2838 * dlltool.c: Add support for sh-pe and mips-pe targets.
2839 * rescoff.c: Add support for sh-pe and mips-pe targets.
2841 2000-02-23 H.J. Lu <hjl@gnu.org>
2843 * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
2845 2000-02-22 Nick Clifton <nickc@cygnus.com>
2847 * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
2849 2000-02-22 Ian Lance Taylor <ian@zembu.com>
2851 From Brad Lucier <lucier@math.purdue.edu>:
2852 * readelf.c (process_version_sections): Add casts to make sure
2853 argument to %* is an int.
2854 (process_mips_specific): Add casts to make printf arguments match
2857 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
2859 * objdump.c (dump_section_header): Change `opb' to unsigned.
2860 (find_symbol_for_address): Same here.
2861 (disassemble_data): And here. Change `addr_offset',
2862 `stop_offset', `nextstop_offset' to unsigned long.
2863 (dump_data): Change opb to unsigned.
2865 2000-02-18 Frank Ch. Eigler <fche@redhat.com>
2867 * resrc.c: Remove unmatched #if for cygwin.
2869 2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com>
2871 * binutils.texi: Document the change of flavor name from atpcs-special
2872 to special-atpcs to prevent name conflict in gdb.
2874 2000-02-08 Timothy Wall <twall@redhat.com>
2876 * objdump.c (show_line): Fix bug preventing printing of the very
2877 first line (line zero) of a file when interlisting source and
2878 assembly. Added option to print entire context from start of file
2879 when the first line from that file is encountered.
2881 2000-02-03 Timothy Wall <twall@redhat.com>
2883 * objdump.c (dump_section_header, find_symbol_for_address,
2884 show_line, disassemble_bytes, disassemble_data, dump_data):
2885 distinguish between octets and bytes.
2887 2000-01-27 Thomas de Lellis <tdel@windriver.com>
2889 * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
2890 check to unresolved symbols.
2891 (print_symbol_info_sysv): Ditto.
2892 (print_symbol_info_posix): Ditto.
2894 * binutils.texi: Document new 'V' symclass flag for nm.
2896 2000-01-27 Nick Clifton <nickc@redhat.com>
2898 * binutils.texi (objdump): Document new ARM specific
2899 disassembler options.
2901 * objdump.c (usage): Call disassembler_usage().
2903 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
2905 * readelf.c (get_dynamic_flags): Return buff.
2906 (process_dynamic_segment): Don't pass error strings to printf
2908 (read_and_display_attr): Use lx and ld to print longs.
2909 (process_corefile_note_segment): Cast bfd_vma to unsigned long
2913 2000-01-17 Nick Clifton <nickc@cygnus.com>
2915 * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
2917 2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
2919 * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
2921 (debug_tag_type): Here too.
2922 * ieee.c (ieee_builtin_type): And here.
2923 * stabs.c (parse_stab_type, parse_stab_array_type): And here.
2925 2000-01-13 Nick Clifton <nickc@cygnus.com>
2927 * readelf.c (get_machine_name): Change EM_S370 to return "IBM
2930 2000-01-11 Nick Clifton <nickc@cygnus.com>
2932 * readelf.c (get_dynamic_type): Remove DT_ENCODING.
2934 2000-01-10 Nick Clifton <nickc@cygnus.com>
2936 * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
2938 2000-01-07 Mumit Khan <khan@xraylith.wisc.edu>
2940 * windres.c (long_options): Add --use-temp-file and
2941 --no-use-temp-file options.
2945 * windres.h: Update read_rc_file prototype.
2947 * resrc.c (cpp_temp_file): New static variable.
2948 (istream_type): New static variable.
2949 (close_pipe): Delete function.
2950 (run_cmd): New static function.
2951 (open_input_stream): New static function.
2952 (close_input_stream): New static function.
2953 (look_for_default): Handle DOS directory separator. Use
2954 open_input_stream instead of popen.
2955 (read_rc_file): Likewise.
2957 * binutils.texi: Document --use-temp-file, --no-use-temp-file
2960 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
2962 * dlltool.c (create_compat_implib): New variable.
2963 (gen_exp_file): Use.
2964 (make_one_lib_file): Use.
2965 (long_options): Add --compat-implib option.
2969 * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
2970 (main): Use. Don't look for "32" in cygwin and mingw target names.
2972 2000-01-03 Nick Clifton <nickc@cygnus.com>
2974 * binutils.texi: Document new, ARM specific disassembler
2975 command line switch "-M force-thumb".
2977 For older changes see ChangeLog-9899
2983 version-control: never