1 2002-11-18 Svein E. Seldal <Svein.Seldal@solidas.com>
3 * testsuite/binutils-all/objcopy.exp: Disable tic4x from test
4 * testsuite/binutils-all/objdump.exp: Setup proper values for tic4x
7 2002-11-14 Nick Clifton <nickc@redhat.com>
9 * readelf.c (process_program_headers): Add comment about return
10 value. Ensure that 0 is returned if the headers are not loaded.
11 (process_file): If process_section_headers failed to load the
12 headers disable any tests that rely upon them. Similarly for
13 process_program_headers.
15 2002-11-12 Nick Clifton <nickc@redhat.com>
17 * po/da.po: Updated Danish translation.
19 2002-11-12 Klee Dienes <kdienes@apple.com>
21 * rddbg.c (read_section_stabs_debugging_info): Also recognize
22 LC_SYMTAB.stab/LC_SYMTAB.stabstr as a valid pair of sections.
24 2002-11-11 Christopher Faylor <cgf@redhat.com>
26 * MAINTAINERS: Reinstate DJ Delorie as COFF maintainer. Drop COFF from
29 2002-11-11 Christopher Faylor <cgf@redhat.com>
31 * MAINTAINERS: Replace DJ Delorie as PE/COFF maintainer.
33 2002-11-07 Nick Clifton <nickc@redhat.com>
35 * configure.in (ALL_LINGUAS): Add 'da'.
36 * configure: Regenerate.
37 * po/da.po: New Danish translation.
39 * readelf.c (get_symbol_index_type): Revert part of previous
40 patch: Display unknown symbol types in decimal, not hex.
42 2002-11-07 Danny Smith <dannysmith@users.sourceforge.net>
44 * dlltool.c (add_excludes): Don't prefix excluded fastcall
45 symbols with underscore.
46 (xlate): Ignore add_underscore for decorated fastcall symbols.
48 2002-11-07 Eric Kohl <ekohl@rz-online.de>
50 * deflex.l: Accept '@' as first character of an ID.
51 * dlltool.c (gen_exp_file): Use existing '@' prefix rather than
52 ASM_PREFIX for fastcall symbols.
53 (scan_drectve_symbols): Handle fastcall symbols when generating
54 undecorated aliases for symbols in drectve section.
55 (scan_filtered_symbols): Likewise, with export-all.
56 (xlate): Likewise, with --kill-at.
57 (make_imp_label): New function to handle fastcall symbols
59 (make_one_lib_file): Use make_imp_label instead of make_label
62 2002-11-06 Svein E. Seldal <Svein.Seldal@solidas.com>
64 * MAINTAINERS: Add self as TIC4X maintainer.
66 2002-11-06 Hiroyuki Machida <machida@sm.sony.co.jp>
68 * readelf.c (get_symbol_index_type): Add hex number to
69 PROCESSOR-specific, OS-specific, reserved and unknown symbol
72 2002-11-04 Alan Modra <amodra@bigpond.net.au>
74 * readelf.c (byte_get_little_endian): Comment typo fix.
75 (print_symbol): Constify "symbol" arg. Don't pass "symbol" to printf
77 (dump_relocations): Correct section sym names.
78 (process_section_headers): Clear symtab_shndx_hdr.
79 (read_and_display_attr_value): Don't pass indirect string to printf
81 (display_debug_frames): Indicate when zero terminator found. Decode
82 DW_EH_PE_pcrel addresses.
84 2002-10-23 Svein E. Seldal <Svein.Seldal@solidas.com>
86 * configure.in: Define SKIP_ZEROES as 32 for tic4x target in
87 order to ensure proper disassembly of the valid 0-value opcode.
88 * configure: Regenerate.
89 * aclocal.m4: Regenerate.
90 * config.in: Regenerate.
91 * configure.in: Regenerate.
92 * doc/Makefile.in: Regenerate.
93 * po/binutils.pot: Regenerate.
95 2002-10-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
97 * MAINTAINERS: Add self as SH maintainer.
99 2002-10-23 Ben Elliston <bje@redhat.com>
101 * doc/binutils.texi (objdump): Document -z and move the entry for
102 --disassemble-zeroes to the end of the options section (for `z').
104 2002-10-21 Nick Clifton <nickc@redhat.com>
106 * MAINTAINERS: Discontinue Hans-Peter Nilsson as SH maintainer.
108 2002-10-21 Svein E. Seldal <Svein.Seldal@solidas.com>
110 * objdump.c (dump_data): Correct addr_offset for opb != 1.
112 2002-10-15 Alan Modra <amodra@bigpond.net.au>
114 * bucomm.c (list_supported_targets): Use bfd_target_list.
116 * objcopy.c (copy_file): Report ambiguous bfd_object matches, and
117 other object errors in preference to bfd_core errors.
119 2002-10-14 Alan Modra <amodra@bigpond.net.au>
121 * Makefile.am: Run "make dep-am".
122 * objdump.c: #include "bfdver.h".
123 * version.c: Likewise.
124 * Makefile.in: Regenerate.
125 * config.in: Regenerate.
126 * configure: Regenerate.
127 * po/POTFILES.in: Regenerate.
129 2002-10-09 Daniel Jacobowitz <drow@mvista.com>
131 * readelf.c (display_debug_info): Ignore empty .rela.debug_info
132 sections. Allow relocations against the absolute symbol. Don't
133 use the value in compunit.cu_abbrev_offset if we found a RELA
136 2002-10-07 Gordon Chaffee <chaffee@netvmg.com>
138 * addr2line.c (slurp_symtab): Read in dynamic symbols if no
139 ordinary ones are available.
141 2002-09-30 H.J. Lu <hjl@gnu.org>
143 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_4120,
144 E_MIPS_MACH_5400 and E_MIPS_MACH_5500.
146 2002-09-17 Zack Weinberg <zack@codesourcery.com>
148 * Makefile.am (CFILES): Add cxxfilt.c.
149 (cxxfilt_SOURCES): Now just cxxfilt.c $(BULIBS).
150 (cxxfilt_LDADD): Delete.
151 Remove all references to underscore.c.
153 * configure.in: Define TARGET_PREPENDS_UNDERSCORE in
154 config.h from $UNDERSCORE, rather than AC_SUBSTing it.
155 * binutils/cxxfilt.c: Moved here from gcc/cp, minor
156 adjustments to fit into binutils framework.
157 * configure, config.in, Makefile.in, doc/Makefile.in: Regenerate.
159 2002-09-12 Roland McGrath <roland@redhat.com>
161 * readelf.c (decode_location_expression): DW_OP_calli -> DW_OP_call_ref
162 Handle DW_OP_GNU_push_tls_address.
164 2002-09-11 Nick Clifton <nickc@redhat.com>
166 * po/tr.po: Updated Turkish translation.
168 2002-09-10 Nick Clifton <nickc@redhat.com>
170 * MAINTAINERS: Add Ben Elliston as a maintainer for configure and
171 testsuite changes. Add paragraphs about testsuite and config
174 2002-08-29 Nick Clifton <nickc@redhat.com>
176 * readelf.c (get_machine_flags): Remove redundant reference to
179 2002-08-28 Alan Modra <amodra@bigpond.net.au>
181 * objdump.c (dump_bfd): Restore lines accidentally deleted in
184 2002-08-28 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
186 * objdump.c (dump_headers): Add printing of HAS_LOAD_PAGE flag.
187 (dump_bfd_header): Likewise.
189 2002-08-27 Alan Modra <amodra@bigpond.net.au>
191 * nm.c: Revert last change.
193 2002-08-26 Alan Modra <amodra@bigpond.net.au>
195 * nm.c (display_rel_file): Don't report "no symbols" as an error.
196 * objdump.c (slurp_symtab): Likewise.
197 (slurp_dynamic_symtab): Likewise.
198 (dump_symbols): Likewise. Do print "no symbols" to stdout.
200 2002-08-24 Geoffrey Keating <geoffk@redhat.com>
202 * MAINTAINERS: Change my mailing address.
204 2002-08-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
206 * MAINTAINERS: Add Dave Anglin as HPPA co-maintainer.
208 2002-08-22 Nick Clifton <nickc@redhat.com>
210 * MAINTAINERS: Add Jeff Law as (maintainance) maintainer for
213 2002-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
215 * readelf.c (parse_args): Change debug_dump_opt to static.
217 2002-08-16 Sivaguru Sankaridurg <siva@eternal-systems.com>
219 * stabs.c (parse_stab_argtype): Pass length of physname to
220 stab_demangle_argtypes.
221 (stab_demangle_argtypes): Add new parameter - length of physname.
222 Pass length of physname on to stab_demangle_prefix.
223 (stab_demangle_prefix): Add new parameter - length of physname.
224 Use length of physname (if supplied) to compute end of function
227 2002-08-15 Alan Modra <amodra@bigpond.net.au>
229 * readelf.c: Include elf/i370.h.
230 (dump_relocations): Handle EM_S370.
231 (dynamic_segment_parisc_val): Print \n.
232 (process_dynamic_segment <DT_BIND_NOW>): Here too.
234 2002-08-14 Nick Clifton <nickc@redhat.com>
236 * nm.c (usage): Change 'gnu-new-abi' to 'gnu-v3'.
237 * objdump.c (usage): Likewise.
238 * doc/binutils.texi: Likewise.
240 2002-08-14 Luke Dunstan <infidel@users.sourceforge.net>
242 * rcparse.y (acc_entry): Don't warn about ALT use with
245 2002-08-13 H.J. Lu <hjl@gnu.org>
247 * objcopy.c (copy_object): Don't warn about the unsupported
248 architecture unless the input target is defaulted or the
249 output architecture is different from the input.
251 2002-08-09 Nick Clifton <nickc@redhat.com>
253 * po/sv.po: Updated Swedish translation.
255 2002-08-05 Alan Modra <amodra@bigpond.net.au>
257 * prdbg.c (pr_fix_visibility): Remove assert.
259 2002-07-31 Nick Clifton <nickc@redhat.com>
261 * addr2line.c (process_file): Rename parameter 'filename' to
262 'file_name' in order to avoid shadowing global symbol of the
266 2002-07-30 Jakub Jelinek <jakub@redhat.com>
268 * readelf.c (OPTION_DEBUG_DUMP): Define.
270 (usage): Update help.
271 (parse_args): Handle --debug-dump separately from -w.
272 * doc/binutils.texi (readelf): Update documentation.
274 2002-07-25 Nick Clifton <nickc@redhat.com>
276 * po/es.po: Updated Spanish translation.
277 * po/fr.po: Updated French translation.
279 2002-07-24 Nick Clifton <nickc@redhat.com>
281 * po/es.po: Updated Spanish translation.
283 2002-07-23 Alan Modra <amodra@bigpond.net.au>
285 * Makefile.am: Run "make dep-am".
286 * Makefile.in: Regenerate.
288 2002-07-23 Nick Clifton <nickc@redhat.com>
290 * po/fr.po: Updated French translation.
292 2002-07-23 Eric S. Raymond <esr@golux.thyrsus.com>
294 * doc/binutils.texi (addr2line <man synopsis>): Correct brackets.
296 2002-07-20 Alan Modra <amodra@bigpond.net.au>
298 * budemang.c: Include config.h and string.h/strings.h.
300 2002-07-18 Denis Chertykov <denisc@overta.ru>
301 Frank Ch. Eigler <fche@redhat.com>
303 * readelf.c: Include "elf/ip2k.h".
304 (guess_is_rela): Add support for EM_IP2K and EM_IP2K_OLD.
305 (dump_relocations): Likewise.
306 (get_machine_name): Likewise.
307 * NEWS: Mention IP2K support.
309 2002-07-16 Nick Clifton <nickc@cambridge.redhat.com>
311 * NEWS: Add 'Changes in 2.13'.
313 2002-07-10 Jakub Jelinek <jakub@redhat.com>
315 * readelf.c (get_dynamic_type): Handle DT_GNU_PRELINKED,
316 DT_GNU_CONFLICT* and DT_GNU_LIBLISZ*.
317 (get_section_type_name): Handle SHT_GNU_LIBLIST.
318 (process_dynamic_segment): Handle DT_GNU_CONFLICTSZ,
319 DT_GNU_LIBLISTSZ and DT_GNU_PRELINKED.
320 (process_gnu_liblist): New.
321 (process_file): Call it.
323 2002-07-03 Alan Modra <amodra@bigpond.net.au>
325 * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
326 * Makefile.in: Regenerate.
328 2002-07-02 Alan Modra <amodra@bigpond.net.au>
330 * budemang.c: New file, "demangle" function.
331 * budemang.h: New file.
332 * addr2line.c (translate_addresses): Use "demangle".
333 * nm.c (print_symname): Likewise.
334 * objdump.c (objdump_print_symname): Likewise.
335 (dump_symbols): Likewise. Also, don't use bfd_asymbol_name macro
336 here since that obfuscates.
337 * rdcoff.c: Don't #include demangle.h.
338 * Makefile.am (CFILES): Add budemang.c, emul_aix.c,
339 emul_vanilla.c. Remove emul_$(EMULATION).c. Sort.
340 (HFILES): Add budemang.h. Sort.
341 (nm_new_SOURCES, objdump_SOURCES, addr2line_SOURCES): Add budemang.c.
343 * Makefile.in: Regenerate.
345 2002-07-01 Matt Thomas <matt@3am-software.com>
347 * readelf.c: Include "elf/vax.h".
348 (guess_is_rela): Move EM_VAX from unknown to RELA case.
349 (dump_relocations): Handle VAX relocations.
350 (get_machine_flags): Handle VAX machine flags.
352 2002-06-29 Stephane Carrez <stcarrez@nerim.fr>
354 * readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.
356 2002-06-26 Nick Clifton <nickc@cambridge.redhat.com>
358 * MAINTAINERS: Remove Tom Rix from d10v and pcc maintainerships.
360 2002-06-26 Alan Modra <amodra@bigpond.net.au>
362 * nm.c (print_symname): When demangling, strip leading dots from
363 symbol names to avoid confusing the demangler.
365 2002-06-25 H.J. Lu <hjl@gnu.org>
367 * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
368 * Makefile.in: Regenerated.
370 2002-06-21 Igor Schein <igor@txc.com>
372 * configure.in: Quote bu_cv_have_fopen64.
373 * configure: Regenerate.
375 2002-06-21 Mitsru Chinen <chinen@jp.ibm.com>
377 * configure.in: Check for strcoll.
378 * configure: Regenerate.
379 * config.in: Regenerate.
380 * nm.c (main): Set locale for LC_COLLATE category.
381 (non_numeric_forward): Use strcoll if available.
383 2002-06-20 Dave Brolley <brolley@redhat.com>
385 * MAINTAINERS: Add self as fr30 and frv maintainer.
387 2002-06-18 H.J. Lu (hjl@gnu.org)
389 * nm.c: Include "elf/common.h".
390 (extended_symbol_info): Add elfinfo, a pointer to
392 (SYM_SIZE): Use elfinfo if it is not NULL.
393 (get_symbol_type): New function.
394 (display_archive): Set print_width for each archive member.
395 (display_file): Likewise.
396 (display_rel_file): Don't set print_width here.
397 (print_object_filename_sysv): Handle print_width.
398 (print_archive_member_sysv): Likewise.
399 (print_symbols): Pass (bfd_vma) 0 to print_symbol.
400 (print_symbol): Set the elfinfo field in extended_symbol_info
402 (print_object_filename_sysv): Fix the output format.
403 (print_symbol_info_sysv): Print type and section for ELF.
405 2002-06-18 Elias Athanasopoulos <eathan@otenet.gr>
407 * nm.c (print_size_symbols): Remove assignment, which makes
408 the symbol's size equal to its value when --size-sort is
411 2002-06-18 Dave Brolley <brolley@redhat.com>
413 From Catherine Moore:
414 * readelf.c (elf/frv.h): #include it.
415 (guess_is_rela): Support EM_CYGNUS_FRV.
416 (dump_relocations): Ditto.
417 (get_machine_name): Ditto.
418 * Makefile.am (readelf.o): add dependency on $(INCDIR)/elf/frv.h.
420 2002-06-18 Jakub Jelinek <jakub@redhat.com>
422 * readelf.c (get_file_header): Only read the first section header if
425 2002-06-15 H.J. Lu (hjl@gnu.org)
427 * nm.c (print_size): New variable. Initialize to 0.
428 (long_options): Add 'S'/"print-size".
430 (print_symbol_info_bsd): Print size only if print_size is not
433 * doc/binutils.texi: Document -S/--print-size.
435 2002-6-13 Elias Athanasopoulos <eathan@otenet.gr>
437 * nm.c (struct extended_symbol_info): New strcuture: Add the size
438 of the symbols to the information provided by the symbol_info
440 (print_symbols): Pass the symbol size to print_symbol.
441 (print_size_symbols): Pass the symbol size to print_symbol.
442 (print_symbol): Extra argument: The size of the symbol. Store
443 this in the extended_symbol_info structure.
444 (print_symbol_info): Change type of info parameter to
445 extended_symbol_info. Display the size, if known.
446 (print_symbol_info_posix): Likewise.
447 (print_symbol_info_sysv): Likewise.
449 2002-06-08 Alan Modra <amodra@bigpond.net.au>
451 * Makefile.am: Run "make dep-am".
452 * Makefile.in: Regenerate.
453 * doc/Makefile.in: Regnerate.
455 * bucomm.c: Replace CONST with const.
457 * objdump.c: Likewise.
459 2002-06-07 H.J. Lu <hjl@gnu.org>
461 * readelf.c (DW_CFA_GNU_args_size): Don't define.
462 (DW_CFA_GNU_negative_offset_extended): Likewise.
463 (DW_CFA_GNU_window_save): Likewise.
464 (display_debug_frames): Handle DW_CFA_offset_extended_sf,
465 DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
467 2002-06-07 Elias Athanasopoulos <eathan@otenet.gr>
469 * nm.c: When computing size of symbols for an ELF target use the
472 2002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
474 * testsuite/binutils-all/objcopy.exp: clear xfail for
476 * testsuite/binutils-all/hppa/objdump.exp: Return if
479 2002-06-05 Alan Modra <amodra@bigpond.net.au>
481 * objcopy.c (copy_section): Don't copy SEC_GROUP sections.
483 2002-06-03 Elias Athanasopoulos <eathan@otenet.gr>
485 * objdump.c: Fix formatting.
487 2002-05-29 Ben Elliston <bje@redhat.com>
489 * MAINTAINERS: Add self as M68k maintainer.
491 2002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
493 * readelf.c: Modified/Added DLX elf support.
495 2002-05-27 Nick Clifton <nickc@cambridge.redhat.com>
497 * arsup.c: Fix formatting.
498 * debug.c (debug_record_label): Add missing colon to error
500 * ieee.c (parse_ieee_ty): Fix spelling typo.
501 * readelf.c (process_program_headers): Remove English assumption
502 about making a plural word.
503 (process_section_headers): Likewise.
504 (process_relocs): Allow quotes to be translated.
505 (process_unwind): Likewise,
506 (process_mips_specific): Improve error message.
507 (get_note_type): Fix spelling typo.
509 * configure.in (ALL_LINGUAS): Add sv
510 * po/sv.po: New file.
512 2002-05-27 Alan Modra <amodra@bigpond.net.au>
514 * unwind-ia64.c (unw_print_brmask): Don't use sprintf.
515 (unw_print_grmask): Likewise.
516 (unw_print_frmask): Likewise.
518 2002-05-26 Kazu Hirata <kazu@cs.umass.edu>
520 * arsup.c: Remove ARGSUSED.
523 * nlmconv.c: Likewise.
526 * wrstabs.c: Likewise.
528 2002-05-25 Alan Modra <amodra@bigpond.net.au>
530 * arlex.l: Use #include "" instead of <> for local header files.
531 * coffdump.c: Likewise.
532 * coffgrok.c: Likewise.
533 * nlmconv.c: Likewise.
534 * nlmheader.y: Likewise.
535 * srconv.c: Likewise.
536 * strings.c: Likewise.
537 * sysdump.c: Likewise.
538 * unwind-ia64.h: Likewise.
539 * windres.h: Likewise.
540 * winduni.h: Likewise.
542 2002-05-24 Tom Rix <trix@redhat.com>
544 * MAINTAINERS: Add self as the d10v maintainer.
546 2002-05-24 TAMURA Kent <kent@netbsd.org>
548 * configure.in: Builds dlltool for i386-netbsdpe.
549 * configure: Regenerate.
551 2002-05-23 Kazu Hirata <kazu@cs.umass.edu>
553 * size.c: Fix formatting.
554 * srconv.c: Likewise.
556 * sysdump.c: Likewise.
557 * unwind-ia64.c: Likewise.
558 * wrstabs.c: Likewise.
560 2002-05-23 Jakub Jelinek <jakub@redhat.com>
562 * readelf.c (get_segment_type): Add PT_TLS.
563 (get_elf_section_flags): Add SHF_TLS.
564 (get_dynamic_flags): Optimize. Add DF_STATIC_TLS.
565 (process_dynamic_segment): Use puts instead of printf.
566 (get_symbol_type): Support STT_TLS.
567 * objdump.c (dump_section_header): Remove SEC_CONSTRUCTOR_TEXT,
568 SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS.
569 Add SEC_THREAD_LOCAL.
571 2002-05-23 Kazu Hirata <kazu@cs.umass.edu>
573 * rdcoff.c: Fix formatting.
575 * readelf.c: Likewise.
576 * rename.c: Likewise.
577 * resbin.c: Likewise.
579 * resres.c: Likewise.
581 2002-05-21 Kazu Hirata <kazu@cs.umass.edu>
583 * filemode.c: Fix formatting.
585 * is-ranlib.c: Likewise.
586 * is-strip.c: Likewise.
587 * maybe-ranlib.c: Likewise.
588 * maybe-strip.c: Likewise.
589 * nlmconv.c: Likewise.
591 * not-ranlib.c: Likewise.
592 * not-strip.c: Likewise.
593 * objcopy.c: Likewise.
594 * objdump.c: Likewise.
596 2002-05-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
598 * objdump.c (dump_headers): Fix output formatting for ELF32
599 architectures in a BFD64 enabled toolchain.
601 2002-05-20 Kazu Hirata <kazu@cs.umass.edu>
603 * debug.c: Fix formatting.
605 * dlltool.c: Likewise.
606 * dllwrap.c: Likewise.
607 * emul_aix.c: Likewise.
608 * emul_vanilla.c: Likewise.
610 2002-05-19 Kazu Hirata <kazu@cs.umass.edu>
612 * addr2line.c: Fix formatting.
616 * binemul.c: Likewise.
617 * binemul.h: Likewise.
618 * bucomm.c: Likewise.
619 * coffdump.c: Likewise.
620 * coffgrok.c: Likewise.
621 * coffgrok.h: Likewise.
623 2002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
625 * MAINTAINERS: Add myself as the second AVR port maintainer.
627 2002-05-16 Stephane Carrez <stcarrez@nerim.fr>
629 * MAINTAINERS: Update my email address.
631 2002-05-09 Nick Clifton <nickc@cambridge.redhat.com>
633 * MAINTAINERS: Add Jason Thorpe as VAX maintainer.
635 2002-05-09 Alan Modra <amodra@bigpond.net.au>
637 * configure.in: Replace `*pe' with `pe' throughout.
638 * configure: Regenerate.
640 2002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
642 * Makefile.am: Honour DESTDIR.
643 * Makefile.in: Regenerate.
645 2002-05-06 Alan Modra <amodra@bigpond.net.au>
647 * dlltool.c (process_def_file): Add missing prototype.
648 (new_directive, assemble_file, main): Likewise.
649 (process_def_file, new_directive): Make static.
650 (inform): Rewrite using VA_FIXEDARG.
651 * dllwrap.c (mybasename): Add missing prototype.
652 (strhash, main): Likewise.
653 (inform): Rewrite using VA_FIXEDARG.
655 (cleanup_and_exit): Use old style function definition.
657 * windres.c (define_resource): Use one memset to clear all of
660 * rcparse.y: Remove newcmd rule. Move rcparse_discard_strings
661 call to rules that need no lookahead. Check for no lookahead.
663 2002-05-06 Borut Razem <borut.razem@siol.net>
665 * rclex.l (get_string): Correct "strings" list handling.
666 * resrc.c (read_rc_file): Discard strings.
668 2002-05-04 Alan Modra <amodra@bigpond.net.au>
670 * ar.c (replace_members): Remove unused var. Formatting fix.
671 * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
673 * MAINTAINERS: Sort port maintainers by CPU.
675 2002-05-04 Bob Byrnes <byrnes@curl.com>
677 * size.c (display_archive): Add last_arfile and code to close archives.
679 2002-05-01 Alan Modra <amodra@bigpond.net.au>
681 * nm.c (print_symbol): Check returned filename from
682 bfd_find_nearest_line is non-NULL.
684 2002-04-25 Elena Zannoni <ezannoni@redhat.com>
686 * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
688 2002-04-24 Christian Groessler <chris@groessler.org>
690 * MAINTAINERS: Changed my email address.
692 2002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
694 * arparse.y: Fix syntax warning.
696 2002-04-16 Nick Clifton <nickc@cambridge.redhat.com>
698 * readelf.c (fetch_location_list): Remove unused function.
700 * readelf.c (process_corefile_note_segment): Catch corrupt notes
701 and display a warning message, then exit the loop.
703 * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
705 2002-04-15 Nick Clifton <nickc@cambridge.redhat.com>
707 * resrc.c (write_rc_dialog): If charset is non-default value
708 display all of the DIALOGEX parameters.
710 2002-04-15 Eric Kohl <ekohl@rz-online.de>
712 * rcparse.y: Allow two to five parameter in FONT statement of
714 * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
716 (res_to_bin_dialog): Likewise.
717 * windres.h: Added misssing charset variable to dialog_ex
720 2002-04-10 Nick Clifton <nickc@cambridge.redhat.com>
722 * rcparse.y: Set MEMFLAG_PURE by default.
724 2002-04-09 Bernd Herd <info@herdsoft.com>
726 * rcparse.y: CLASS definitions in DIALOG resources
728 Fix typo in BEDIT warning.
729 Don't add default dialog style when explicit style specified.
730 Add WS_CAPTION dialog style if CAPTION is specified.
732 * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
733 (handle_quotes) "\a" escape (used for right justified key
734 definitions in menus) is encodes as binary 8.
736 * resrc.c (write_rc_dialog): Print style even if it is 0.
737 (write_rc_directory): Fix overlooked sublang shift bug.
738 (bin_to_res_dialog): Don't print empty dialog caption.
740 * resbin.c (bin_to_res_dialog): Use signature to identify
743 * windres.c (main): Set default LANGUAGE to english/us.
745 2002-04-09 Gunnar Degnbol <degnbol@danbbs.dk>
747 * resrc.c: print CLASS names in quotes
749 2002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
751 * MAINTAINERS: Update my email address.
753 2002-04-04 Alan Modra <amodra@bigpond.net.au>
755 * dep-in.sed: Cope with absolute paths.
756 * Makefile.am (dep.sed): Subst TOPDIR.
758 * Makefile.in: Regenerate.
760 2002-03-27 Peter Targett <peter.targett@arc.com>
762 * MAINTAINERS: Update my email address.
764 2002-03-21 Alan Modra <amodra@bigpond.net.au>
766 * Makefile.am: Run "make dep-am".
767 * Makefile.in: Regenerate.
768 * doc/Makefile.in: Regenerate.
769 * po/POTFILES.in: Regenerate.
770 * aclocal.m4: Regenerate.
771 * config.in: Regenerate.
772 * configure: Regenerate.
774 2002-03-20 Daniel Berlin <dan@dberlin.org>
776 * readelf.c: Add support for displaying dwarf2 location lists.
777 (do_debug_loc, debug_loc_section, debug_loc_size): New.
778 (parse_args): Use 'O' as shorthand for displaying location list
780 (process_section_headers): Handle debug_loc as well.
781 (load_debug_loc): New.
782 (free_debug_loc): New.
783 (fetch_location_list): New.
784 (display_debug_loc): New.
785 (display_debug_info): Call load_debug_loc and free_debug_loc.
786 (debug_displays): We can display .debug_loc now, too.
787 (usage): Update usage string.
788 (read_and_display_attr_value): Note location lists, but don't
791 2002-03-18 Tom Rix <trix@redhat.com>
793 * Makefile.am: Add binutils emulation support.
794 * configure.in: Same.
795 * configure.tgt: New file. Same.
796 * ar.c (main): Use ar_emul_parse_arg.
797 (usage): Use ar_emul_usage.
798 (replace_members): Use ar_emul_replace, ar_emul_append.
799 * binemul.c: New file. Define the binutils emulation
800 layer. Define default methods.
801 * binemul.h: New file. Binutils emulation layer header file.
802 * emul_aix.c: New file. AIX binutils emulation.
803 * emul_vanilla.c: New file. Default binutils emulation.
804 * Makefile.in: Regenerate.
807 2002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
809 * po/fr.po: Updated version.
811 2002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
813 * po/fr.po: Updated version.
815 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
817 * README: Update some version numbers.
819 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
821 * doc/binutils.texi (Target Selection): Fix LD crossreferences.
822 (Architecture Selection): Likewise.
824 2002-03-01 Dmitry Timoshkov <dmitry@baikal.ru>
826 * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
827 generating .exp file.
829 2002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
831 * readelf.c (dump_relocations): Fix typo.
833 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
835 * NEWS: Mark 2.12 branch.
837 2002-02-18 Timothy Daly <remote_bob@yahoo.com>
839 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
840 types for 64-bit MIPS. Narrow some fields for 80-char
842 (dump_relocations): Change spelling from 'unrecognised'
844 (decode_ARM_machine_flags): Likewise.
845 (parse_args): Likewise.
846 (read_and_display_attr_value): Likewise.
847 (display_debug_section): Likewise.
849 2002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
851 * NEWS: Mention support for MMIX.
853 2002-02-13 Matt Fredette <fredette@netbsd.org>
855 * readelf.c (get_machine_flags): Recognize EF_M68000.
857 2002-02-12 Alexandre Oliva <aoliva@redhat.com>
859 * MAINTAINERS: Added self as MN10300 co-maintainer.
861 2002-02-12 Alan Modra <amodra@bigpond.net.au>
863 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
866 2002-02-11 Daniel Jacobowitz <drow@mvista.com>
868 * MAINTAINERS: List myself as branch maintainer.
870 2002-02-11 Alan Modra <amodra@bigpond.net.au>
872 * configure: Regenerate.
873 * objcopy.c: Update copyright date.
874 * doc/Makefile.in: Regenerate.
876 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
878 * nlmconv.c: Back out localtime PARAMS change.
880 2002-02-11 Alan Modra <amodra@bigpond.net.au>
882 * objcopy.c (MKDIR): Define.
883 (copy_archive): Make name_list.name const. Use MKDIR.
884 Handle duplicate files in archives by making more temp dirs.
886 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
888 * coffdump.c: Include "getopt.h" after "bucomm.h"
889 so that macros are defined correctly.
890 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
891 prototype. Prototype main.
892 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
894 2002-02-06 Alexandre Oliva <aoliva@redhat.com>
896 * MAINTAINERS: Added self as SH co-maintainer.
898 2002-02-05 Nick Clifton <nickc@redhat.com>
900 * po/tr.po: Updated translation.
902 2002-02-01 Alan Modra <amodra@bigpond.net.au>
904 * Makefile.am: Run "make dep-am"
905 * Makefile.in: Regenerate.
907 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
909 * nm.c (print_value): Mark abfd unused.
911 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
913 * unwind-ia64.c (unw_decoder): Change second argument
914 to unsigned int, to match function prototypes.
916 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
918 * objdump.c: Include "getopt.h" after "bucomm.h" so that
919 __GNU_LIBRARY__ will be defined.
922 2002-01-27 Daniel Jacobowitz <drow@mvista.com>
924 * configure: Regenerated.
926 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
928 * doc/Makefile.am (install): Depend on install-info.
929 * doc/Makefile.in: Regenerate.
931 2002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
933 * objcopy.c (strip_usage): Document -d as an alias
936 * size.c (usage): Document [-t | --totals] options.
937 (long_options): Add --totals option.
938 (main): If the [-t | --totals] option is specified and
939 the output format is Berkeley-style, print the total
940 text, data, and bss sizes of all objects listed.
941 (print_berkeley_format): If the [-t | --totals] option
942 is specified, track the total text, data, and bss
944 * doc/binutils.texi (size): Document [-t | --totals] options.
945 (strip): Document -d as an alias for --strip-debug.
946 * NEWS: Mention new feature of size.
948 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
950 * po/fr.po: Updated version.
951 * po/es.po: Updated version.
953 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
955 * addr2line.c (usage): Update text to provide verbose
956 description of the command line options.
957 * ar.c (usage): Update text to provide verbose
958 description of the command line options.
959 (main): Accept -h and -H when running as ranlib.
960 * coffdump.c (show_usage): Update text to provide verbose
961 description of the command line options.
962 * dlltool.c (main): Accept -H as an alias for --help.
963 * nlmconv.c (show_usage): Update text to provide verbose
964 description of the command line options.
965 * nm.c (usage): Replace OPTIONS with option(s).
966 (main): Accept -H as an alias for --help.
967 * objcopy.c (strip_main): Accept -H as an alias for --help.
968 * objdump.c (main): Accept -v as an alias for --verbose.
969 * readelf.c (usage): Adjust format to match style used in
971 * size.c (usage): Update text to provide verbose description
972 of the command line options.
973 (main): Accept -v, -h and -H as command line options.
974 * srconv.c (show_usage): Update text to provide verbose
975 description of the command line options.
976 * strings.c (main): Accept -H and -v as command line options.
977 (usage): Update text to provide verbose description of the
978 command line options.
979 * sysdump.c (show_usage): Update text to provide verbose
980 description of the command line options.
981 * windres.c (usage): Adjust format to match style used in
984 * coffdump.c: Fix formatting.
985 * nlmconv.c: Fix formatting.
986 * srconv.c: Fix formatting.
987 * sysdump.c: Fix formatting.
989 2002-01-22 Alan Modra <amodra@bigpond.net.au>
991 * Makefile.am: Run "make dep-am".
992 * Makefile.in: Regenerate.
994 2002-01-18 Andreas Jaeger <aj@suse.de>
996 * version.c (print_version): Update year.
998 2002-01-17 Alan Modra <amodra@bigpond.net.au>
1000 * readelf.c (get_machine_name): Handle EM_PPC64.
1001 (guess_is_rela): Here too.
1003 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
1005 * po/binutils.pot: Regenerate.
1006 * po/fr.po: Regenerate.
1007 * po/tr.po: Regenerate.
1009 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
1011 * po/tr.po: Import new version.
1013 2002-01-16 Alan Modra <amodra@bigpond.net.au>
1015 * readelf.c (get_ppc64_dynamic_type): New.
1016 (get_dynamic_type): Call it.
1018 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
1020 * objcopy.c (copy_usage): Use "options" instead of "switches".
1021 (strip_usage): Use "options" instead of "switches".
1022 * doc/binutils.texi (dlltool): Refer to "options" instead of
1025 2002-01-14 Richard Earnshaw <rearnsha@arm.com>
1027 * MAINTAINERS: Add self as co-maintainer for the ARM code.
1029 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
1031 * po/es.po: Import from translation project.
1032 * configure.in (ALL_LINGUAS): Add es.
1033 * configure: Regenerate.
1035 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
1037 * readelf.c (get_netbsd_elfcore_note_type): Use
1038 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
1040 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
1042 * readelf.c: Update copyright years.
1043 (get_note_type): Return a const char *.
1044 (get_netbsd_elfcore_note_type): New function.
1045 (process_note): Use get_netbsd_elfcore_note_type to get
1046 the note type string for NetBSD ELF core files.
1048 2002-01-06 Steve Ellcey <sje@cup.hp.com>
1050 * readelf.c (get_ia64_segment_type): Add support for macros.
1051 (get_segment_type): Add support for IA64 specific macros.
1053 2001-12-20 Julian v. Bock <julian@wongr.net>
1055 * readelf.c (print_symbol): New function: Print a formatted symbol
1056 name. If --wide is specified do not truncate it.
1057 (dump_relocations): Use print_symbol() to print symbol names.
1058 (process_symbol_table): Likewise.
1059 (process_syminfo): Likewise.
1060 (process_mips_specific): Likewise.
1061 (usage): Document new feature of --wide switch.
1062 * doc/binutils.texi (objdump): Document additional behaviour of
1065 2001-12-18 Michael Snyder <msnyder@redhat.com>
1067 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
1068 (copy_object): Don't set the start address or flags of a core file.
1069 (copy_section): Don't relocate a core file. Don't copy contents
1070 if the input section has the contents flag set, but the output
1071 section does not (which happens with the fake 'note' pseudo-
1072 sections that BFD creates for corefiles).
1074 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1076 * readelf.c (get_machine_flags): Recognize header flags for ABI and
1077 ASE extensions. More robust code for ISA checking. Ignore empty fields
1078 in header flags for GNU extensions.
1080 2001-12-18 Alan Modra <amodra@bigpond.net.au>
1082 * objcopy.c (copy_archive): Set output bfd format outside the loop.
1084 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
1086 * po/ja.po: Import from translation project.
1087 * configure.in (ALL_LINGUAS): Add ja.
1088 * configure: Regenerate.
1090 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1092 * addr2line.c (main): Protoype.
1093 * ar.c (main): Protoype.
1094 * nm.c (main): Protoype.
1095 * objcopy.c (main): Protoype.
1096 * objdump.c (main): Protoype.
1097 * size.c (main): Protoype.
1098 * strings.c (main): Protoype.
1100 2001-12-17 Alan Modra <amodra@bigpond.net.au>
1102 * readelf.c (symtab_shndx_hdr): New global.
1103 (SECTION_HEADER_INDEX): Define.
1104 (SECTION_HEADER_NUM): Define.
1105 (SECTION_HEADER): Define.
1106 (GET_ELF_SYMBOLS): Pass two params rather than three.
1107 (get_32bit_elf_symbols): Take file and section args. Read and
1108 use SHT_SYMTAB_SHNDX.
1109 (get_64bit_elf_symbols): Likewise.
1110 (dump_relocations): Use SECTION_HEADER to index "section_headers".
1111 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
1112 Remember symtab_shdx_hdr.
1113 (process_program_headers): Scan from index 1 for segment map.
1114 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
1116 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
1117 (process_unwind): Likewise.
1118 (process_version_sections): Likewise.
1119 (process_symbol_table): Likewise.
1120 (display_debug_info): Likewise.
1121 (process_dynamic_segment): Fake up a symtab section for changed
1123 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
1124 (process_program_headers): Kill signed/unsigned warning.
1125 (load_debug_str): Likewise.
1126 (display_debug_info): Likewise.
1128 2001-12-13 Jakub Jelinek <jakub@redhat.com>
1130 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
1132 2001-12-11 Alan Modra <amodra@bigpond.net.au>
1134 * readelf.c (process_file_header): Print extended e_shnum and
1135 e_shdtrndx values. Set elf_header values for same.
1136 (get_32bit_section_headers): Add "num" arg to read "num" headers.
1137 (get_64bit_section_headers): Likewise.
1138 (process_section_headers): Update calls.
1139 (get_file_header): Call get_32bit_section_headers or 64bit variant.
1141 2001-12-10 Jakub Jelinek <jakub@redhat.com>
1143 * objcopy.c (setup_section): Copy entsize.
1145 2001-12-07 Geoffrey Keating <geoffk@redhat.com>
1147 * readelf.c (guess_is_rela): Add support for stormy16.
1148 (dump_relocations): Likewise.
1149 (get_machine_name): Likewise.
1151 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
1153 * dllwrap.c (main) Replace multiple strings describing a
1154 single error with a single, newline escaped sentence to permit
1155 better translation into foreign languages.
1157 * readelf.c (get_elf_class): Remove internalionalisation of ELF
1160 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1162 * strings.c (get_char): Initialize value.
1164 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1166 * arlex.l: Silence compile warnings.
1167 * arsup.h: Likewise. Fix formatting.
1169 2001-12-04 Jakub Jelinek <jakub@redhat.com>
1171 * strings.c: Include config.h before bfd.h.
1172 (file_off): New type.
1173 (file_open): Define.
1174 (print_strings): Use file_off instead of file_ptr. Print addresses
1175 which don't fit into long correctly.
1176 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
1178 (strings_file): Use file_off instead of file_ptr. Use file_open.
1179 * configure.in: Check for getc_unlocked.
1180 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
1182 * configure: Rebuilt.
1183 * config.h.in: Rebuilt.
1185 2001-11-29 H.J. Lu <hjl@gnu.org>
1187 * bucomm.c (make_tempname): Revert the changes made on
1188 2001-11-14 and 2001-11-12. They won't work with directories.
1190 2001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
1192 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
1193 CFLAGS_FOR_TARGET to runtest in environment.
1194 * Makefile.in: Rebuild.
1195 * doc/Makefile.in: Rebuild.
1197 2001-11-28 Mike Stump <mrs@wrs.com>
1199 * objcopy.c (setup_section): Preserve SEC_RELOC when
1200 --set-section-flags is used.
1202 2001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
1204 * readelf.c (do_debug_str): New variable.
1205 (display_debug_str): New function: Display the contents of a
1207 (load_debug_str): New function: Load in the contents of a
1209 (free_debug_str): New function: Free the memory used by
1211 (fetch_indirect_string): Retrieve a string from the .debug_str
1214 (parse_args): Accept -ws.
1215 (process_section_headers): Allow the display of the .debug_str
1217 (read_and_display_attr_value): Use fetch_indirect_string. Show
1218 offset into .debug_str section.
1219 (display_debug_info): Use load_debug_str and free_debug_str.
1220 (debug_displays): Add .debug_str.
1221 * doc/binutils.texi: Document -ws.
1223 2001-11-19 Andreas Jaeger <aj@suse.de>
1225 * testsuite/binutils-all/objdump.exp: Add x86-64.
1227 2001-11-15 Andreas Schwab <schwab@suse.de>
1229 * readelf.c: Fix warnings without terminating newline.
1231 2001-11-15 Alan Modra <amodra@bigpond.net.au>
1233 * doc/binutils.texi (objdump): Document ppc -M options.
1235 2001-11-14 Andreas Jaeger <aj@suse.de>
1237 * doc/binutils.texi (objdump): Fix description to use x86-64.
1239 2001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
1241 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
1242 not all systems provide mkstemp.
1244 2001-11-14 Alan Modra <amodra@bigpond.net.au>
1246 * doc/binutils.texi (objdump): Document x86 -M options.
1248 2001-11-13 Keith Walker <keith.walker@arm.com>
1250 * readelf.c (read_and_display_attr_value): New function to
1251 handle DW_FORM_indirect.
1252 (read_and_display_attr): Use it.
1254 2001-11-13 Geoffrey Keating <geoffk@redhat.com>
1256 * readelf.c (display_debug_lines): Deal with unknown standard
1257 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
1260 2001-11-13 Timothy Wall <twall@alum.mit.edu>
1262 * MAINTAINERS: Add self as tic54x maintainer. This target
1263 includes the IBM C54XDSP clone.
1265 2001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
1267 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
1269 2001-11-09 Jeffrey A Law (law@cygnus.com)
1271 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
1272 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
1273 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
1274 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
1275 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
1276 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
1277 (unw_decode_b2, unw_decode_b3_b4): Likewise.
1279 * readelf.c (get_elf_class): Fix ISO portability glitch.
1280 (get_data_encoding, get_osabi_name, request_dump): Likewise.
1282 2001-11-07 Jakub Jelinek <jakub@redhat.com>
1284 * readelf.c (debug_str, debug_str_size): New.
1285 (display_debug_abbrev): If no abbrevs were read, skip the CU.
1287 (read_and_display_addr): Handle DW_FORM_strp.
1288 (display_debug_info): Read .debug_str section if present,
1289 so that DW_FORM_strp can be handled.
1290 Fix test for non-existant .debug_abbrev section.
1292 2001-11-05 Jakub Jelinek <jakub@redhat.com>
1294 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
1296 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
1298 2001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
1300 * MAINTAINERS: Add self as s390/s390x maintainer.
1302 2001-11-02 Tom Rix <trix@bluey.cygnus.com>
1304 * MAINTAINERS: Add self as PPC XCOFF maintainer.
1306 2001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
1308 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
1309 * configure: Regernate.
1310 * po/fr.po: New file.
1311 * po/tr.po: New file.
1313 2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
1315 * MAINTAINERS: Add self as MMIX port maintainer.
1316 * readelf.c: Include elf/mmix.h.
1317 (guess_is_rela): MMIX is RELA.
1318 (dump_relocations): Handle MMIX relocations.
1319 * Makefile.am: Regenerate dependencies.
1320 * Makefile.in: Regenerate.
1322 2001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
1324 * readelf.c (parse_args): Handle multiple options to the -w
1327 2001-10-12 Jakub Jelinek <jakub@redhat.com>
1329 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
1330 LOPROC, LOOS and LOUSER.
1332 2001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
1334 * MAINTAINERS: Update my email address.
1336 2001-10-03 Alan Modra <amodra@bigpond.net.au>
1338 * doc/Makefile.in: Regenerate.
1339 * configure: Regenerate.
1341 2001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
1343 * readelf.c (display_debug_line, display_debug_pubnames,
1344 display_debug_info, display_debug_frames): Detect and warn
1345 about 64-bit format entries.
1346 (display_debug_aranges): Reword 64-bit warning.
1347 (debug_displays): Add .debug_pubtypes as a known, but not yet
1348 supported, debug section.
1350 2001-10-02 Alan Modra <amodra@bigpond.net.au>
1352 * coffdump.c (PROGRAM_VERSION): Delete.
1353 (main <'V'>): Call print_version.
1354 * srconv.c: Likewise.
1355 * sysdump.c: Likewise.
1356 * version.c (program_version): Remove.
1357 (print_version): Use BFD_VERSION_STRING. Just print the current
1358 year in copyright message.
1359 * addr2line.c (program_version): Remove unused declaration.
1360 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
1361 place of BFD_VERSION.
1362 * Makefile.am (Makefile): Depend on bfd/configure.in.
1363 (cplus-dem.o): Depend on Makefile.
1365 * Makefile.in: Regenerate.
1367 2001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
1369 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
1370 format .debug_arange sections.
1371 (main): Add missing prototype.
1373 2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
1375 * Makefile.am: Update dependencies with "make dep-am".
1376 * Makefile.in: Regenerate.
1378 2001-09-28 Richard Henderson <rth@redhat.com>
1380 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
1382 2001-09-26 Alan Modra <amodra@bigpond.net.au>
1384 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
1386 (non_fatal): Likewise.
1387 * objdump.c (objdump_sprintf): Likewise.
1388 * readelf.c (error): Likewise.
1391 2001-09-25 Jakub Jelinek <jakub@redhat.com>
1393 * readelf.c (do_wide): New.
1394 (options): Add --wide.
1395 (usage, parse_args): Likewise.
1396 (process_program_headers): Put each segment on a single line if
1398 (process_section_headers): Put each section on a single line if
1400 * doc/binutils.texi: Document it.
1403 2001-09-25 Alan Modra <amodra@bigpond.net.au>
1405 * readelf.c (print_vma): Print 8 digits of low hex value.
1407 2001-09-24 Andreas Jaeger <aj@suse.de>
1409 * nlmconv.c: Fix warnings about unused attributes and function
1412 * strings.c: Add prototype for get_char.
1414 2000-09-19 H.J. Lu <hjl@gnu.org>
1416 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
1417 $(srcdir)/cxxfilt.man.
1418 * doc/Makefile.in: Rebuild.
1420 2001-09-19 Alan Modra <amodra@bigpond.net.au>
1422 * objcopy.c (copy_main): Correct rename-section string parsing.
1423 Consolidate new_name parsing, and error messages.
1425 2001-09-18 Bruno Haible <haible@clisp.cons.org>
1427 * addr2line.c: Don't include <ctype.h>.
1428 (main): For gettext, also set the LC_CTYPE locate facet.
1429 * ar.c (main): Likewise.
1430 * coffdump.c (main): Likewise.
1431 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
1432 (main): For gettext, also set the LC_CTYPE locate facet.
1433 Use ISALNUM instead of isalpha/isdigit.
1434 * dllwrap.c: Don't include <ctype.h>.
1435 (main): For gettext, also set the LC_CTYPE locate facet.
1436 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
1437 (main): For gettext, also set the LC_CTYPE locate facet.
1438 Use TOUPPER instead of islower/toupper.
1439 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
1440 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
1441 Use TOUPPER instead of islower/toupper.
1442 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
1443 * objcopy.c (main): Likewise.
1444 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
1445 (disassemble_bytes): Use ISPRINT instead of isprint.
1446 (dump_section_stabs): Use ISDIGIT instead of isdigit.
1447 (dump_data): Use ISPRINT instead of isprint.
1448 (main): For gettext, also set the LC_CTYPE locate facet.
1449 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
1450 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
1451 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
1452 Use TOUPPER instead of islower/toupper.
1453 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
1454 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
1455 (write_rc_accelerators): Use ISPRINT instead of isprint.
1456 (write_rc_rcdata): Likewise.
1457 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
1458 * srconv.c (main): Likewise.
1459 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
1460 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
1461 isdigit/isupper/islower.
1462 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
1463 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
1464 stab_demangle_prefix, stab_demangle_qualified,
1465 stab_demangle_template, stab_demangle_type,
1466 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
1467 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
1468 (isgraphic): Use ISPRINT instead of isascii/isprint.
1469 (main): Remove HAVE_LC_MESSAGES dependency.
1470 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
1471 (pbarray): Use ISPRINT instead of isprint.
1472 (main): For gettext, also set the LC_CTYPE locate facet.
1473 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
1474 (format_from_filename): Use ISPRINT instead of isprint.
1475 (main): For gettext, also set the LC_CTYPE locate facet.
1476 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
1477 (unicode_print): Use ISPRINT instead of isprint.
1478 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
1479 (stab_variable): Use ISDIGIT instead of isdigit.
1481 2001-09-18 Alan Modra <amodra@bigpond.net.au>
1483 * ar.c (print_contents): Cast args of bfd_seek to the right types.
1484 Replace bfd_read call with call to bfd_bread.
1485 (extract_file): Likewise.
1487 * objdump.c (dump_section_header): Cast section->filepos to
1488 unsigned long to suit printf format string.
1489 * readelf.c (process_section_headers): Similarly for sh_offset.
1490 (process_unwind): Likewise.
1492 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
1494 * strings.c (encoding, encoding_bytes): New variables.
1495 (long_options): Add --encoding.
1496 (main): Accept -e and --encoding.
1497 (get_char): New function. Read a, possibly wide, character from
1499 (print_strings): Use get_char().
1500 (usage): Document new command line option.
1501 * doc/binutils.texi: Document new command line option.
1502 * NEWS: Announce new command line option.
1504 2001-09-12 Alexandre Oliva <aoliva@redhat.com>
1506 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
1507 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
1508 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
1509 Removed EM_CYGNUS_ARC.
1511 2001-09-04 Jeffrey A Law (law@cygnus.com)
1513 * readelf.c: Include elf/h8 for H8 series definitions.
1514 (guess_is_rela): H8 series if RELA.
1515 (dump_relocations): Handle H8 series relocations.
1517 2001-08-31 Eric Christopher <echristo@redhat.com>
1519 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
1521 2001-08-29 Peter Targett <peter.targett@arccores.com>
1523 * MAINTAINERS: Include ARC Maintainer.
1525 2001-08-29 Ben Elliston <bje@redhat.com>
1527 * stabs.c (stab_demangle_template): Initialise s4.
1529 2001-08-27 Alan Modra <amodra@bigpond.net.au>
1531 * readelf.c (dump_relocations): Recognise EM_PPC64.
1533 2001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1535 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
1537 2001-08-25 H.J. Lu <hjl@gnu.org>
1539 * nm.c (print_width): New.
1540 (display_rel_file): Set `print_width' according to
1542 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
1544 2001-08-24 Alexandre Oliva <aoliva@redhat.com>
1546 * objcopy.c (use_alt_mach_code): New variable.
1547 (OPTION_ALT_MACH_CODE): Define.
1548 (copy_options): Added --alt-machine-code.
1549 (copy_main): Handle it.
1550 (copy_object): Switch to alternate machine code if requested.
1551 * doc/binutils.texi: Document new option.
1554 2001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1556 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
1558 2001-08-21 H.J. Lu <hjl@gnu.org>
1560 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
1561 (display_debug_info): Cast for 64bit hosts.
1562 (display_debug_frames): Likewise.
1563 (process_mips_specific): Likewise.
1565 2001-08-21 Andreas Jaeger <aj@suse.de>
1567 * coffgrok.h: Add missing parameter for prototype of coff_grok.
1569 * sysdump.c: Add missing prototypes.
1570 * srconv.c: Likewise.
1571 * unwind-ia64.c: Likewise.
1572 * coffdump.c: Likewise.
1574 * sysinfo.y: Print prototypes, include <ansidecl.h>.
1576 * coffgrok.c: Add missing prototypes, include libiberty.h instead
1577 of declaring xcalloc.
1579 2001-08-10 H.J. Lu <hjl@gnu.org>
1581 * nm.c (print_value): Add one arg, bfd *.
1582 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
1583 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
1584 (print_symbol_info_sysv): Likewise.
1585 (print_symbol_info_posix): Likewise.
1587 * objdump.c (dump_section_header): Replace printf_vma with
1589 (print_section_stabs): Likewise.
1590 (dump_bfd_header): Likewise.
1591 (objdump_print_value): Replace sprintf_vma with
1593 (disassemble_bytes): Likewise.
1594 (dump_reloc_set): Likewise.
1596 2001-08-10 Andreas Jaeger <aj@suse.de>
1598 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
1600 * configure: Regenerate.
1602 2001-08-09 Alan Modra <amodra@bigpond.net.au>
1604 * readelf.c: Add missing prototypes.
1605 * objdump.c: Likewise. Format existing prototypes.
1607 2001-08-08 Alexandre Oliva <aoliva@redhat.com>
1609 * readelf.c (display_debug_info): Add to abbrev_offset the addend
1610 of any RELA relocation for the abbrev_offset memory location that
1611 refers to the .debug_abbrev section symbol.
1613 2001-08-07 H.J. Lu <hjl@gnu.org>
1615 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
1616 (main): Return process_file ().
1618 2001-08-05 Philip Blundell <philb@gnu.org>
1620 * doc/binutils.texi: Use "Thumb" not "THUMB".
1622 2001-08-03 John Healy <jhealy@redhat.com>
1624 Patch suggested by Frank Eigler <fche@redhat.com>.
1625 * objdump.c (disassemble_data): Fill in section member of the
1626 disasm_info structure.
1628 2001-08-03 Tom Walsh <tom@cyberiansoftware.com>
1630 * configure.in: Added --with-windres option.
1631 * configure: Regenerated.
1633 2001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1635 * doc/binutils.texi: Use @command{name} for commands;
1636 use @option{-opt} for options; use @table @env for list of options;
1637 remove spaces arround [ | ] in synopsis.
1639 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
1642 2001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
1644 * objcopy.c: Fix formatting.
1645 (section_rename): New structure.
1646 (OPTION_RENAME_SECTION): New switch.
1647 (copy_usage): Document new switch.
1648 (add_section_rename): New function: Add a node to the section
1650 (find_section_rename): New function: Find the new name and
1651 flags for a section.
1652 (setup_section): Call find_section_name to determine the name
1653 of the output section.
1654 (copy_main): Handle OPTION_RENAME_SECTION.
1655 * binutils.texi: Document new switch.
1656 * NEWS: Mention new switch.
1658 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
1660 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
1661 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
1662 bug-binutils@gcc.org.
1664 2001-07-28 Matthias Kramm <kramm@quiss.org>
1666 * bucomm.c (list_supported_architectures): New function.
1667 * bucomm.h (list_supported_architectures): Declare.
1668 * objdump.c (usage): Call the above.
1670 2001-07-25 Dave Brolley <brolley@redhat.com>
1672 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
1673 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
1675 2001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
1677 * README: Update for 2.11. Change bug reporting email address.
1678 * MAINTAINERS: Tidy up. Change bug reporting email address.
1680 2001-07-16 DJ Delorie <dj@redhat.com>
1682 * resres.c (write_res_header): Align header size.
1683 (res_align_file): Calculate alignment correctly.
1685 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
1687 * resrc.c (write_rc_resource): Likewise.
1688 * windres.h (SUBLANG_SHIFT): Define - as 10.
1690 2001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
1692 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
1694 2001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
1696 * MAINTAINERS: Add notes about branch checkins.
1698 2001-07-05 Daniel Berlin <dan@cgsoftware.com>
1700 * readelf.c (display_debug_macinfo): New function, display
1701 .debug_macinfo section.
1702 (do_debug_macinfo): New variable.
1703 (parse_args): Handle "-w[mM]" to mean display macro info.
1704 (process_section_headers): Handle debug_macinfo.
1705 (debug_displays): Replace unsupported function with macinfo
1706 function for .debug_macinfo display.
1707 * doc/binutils.texi: Document new command line switch.
1708 * NEWS: Document new feature of readelf.
1710 2001-07-05 H.J. Lu <hjl@gnu.org>
1712 * objcopy.c (filter_symbols): Don't turn undefined symbols
1715 2001-07-03 H.J. Lu <hjl@gnu.org>
1717 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
1720 (dlltool.1): Likewise.
1721 (nlmconv.1): Likewise.
1723 (objcopy.1): Likewise.
1724 (objdump.1): Likewise.
1725 (ranlib.1): Likewise.
1726 (readelf.1): Likewise.
1728 (strings.1): Likewise.
1729 (strip.1): Likewise.
1730 (windres.1): Likewise.
1731 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
1732 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
1735 * doc/Makefile.in: Regenerated.
1737 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
1739 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
1741 2001-07-01 Daniel Berlin <dan@cgsoftware.com>
1743 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
1745 2001-06-29 James Cownie <jcownie@etnus.com>
1747 * readelf.c: Support DWARF 2.1 attributes.
1749 2001-06-28 Alan Modra <amodra@bigpond.net.au>
1751 * readelf.c (GET_DATA_ALLOC): Remove.
1753 (get_data): New function combining above macros, with an extra
1755 (slurp_rela_relocs): Use get_data, and catch error return.
1756 (slurp_rel_relocs): Likewise.
1757 (get_32bit_program_headers): Likewise.
1758 (get_64bit_program_headers): Likewise.
1759 (get_32bit_section_headers): Likewise.
1760 (get_64bit_section_headers): Likewise.
1761 (get_32bit_elf_symbols): Likewise.
1762 (get_64bit_elf_symbols): Likewise.
1763 (process_section_headers): Likewise.
1764 (process_relocs): Likewise.
1765 (slurp_ia64_unwind_table): Likewise.
1766 (process_unwind): Likewise.
1767 (get_32bit_dynamic_segment): Likewise.
1768 (get_64bit_dynamic_segment): Likewise.
1769 (process_dynamic_segment): Likewise.
1770 (process_version_sections): Likewise.
1771 (process_symbol_table): Likewise.
1772 (dump_section): Likewise.
1773 (display_debug_info): Likewise.
1774 (display_debug_section): Likewise.
1775 (process_section_contents): Likewise.
1776 (process_corefile_note_segment): Likewise.
1777 (process_mips_specific): Likewise. Also free econf32, econf64.
1779 2001-06-25 Alan Modra <amodra@bigpond.net.au>
1781 * readelf.c (dump_relocations): Print "bad symbol index" if
1782 symtab == NULL with non-zero symtab_index.
1783 (process_relocs): Don't bomb if reloc section has no symsec.
1785 2001-06-24 H.J. Lu <hjl@gnu.org>
1787 * objcopy.c (strip_main): Revert the change made on 2001-05-30
1789 (copy_main): Apply the the change made to strip_main on
1790 2001-05-30 by accident.
1792 2001-06-23 Andreas Jaeger <aj@suse.de>
1794 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
1796 (unw_decode_x2): Likewise.
1797 (unw_decode_x3): Likewise.
1798 (unw_decode_x4): Likewise.
1800 2001-06-23 Ben Elliston <bje@redhat.com>
1802 * MAINTAINERS: Add myself as M88k maintainer.
1804 2001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
1806 * objcopy.c (strip_main): Support -o or --output-file command lien
1809 2001-06-19 H.J. Lu <hjl@gnu.org>
1811 * doc/Makefile.in: Regenerated.
1813 2001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
1815 * readelf.c: Restore formatting.
1817 2001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
1819 * Makefile.am: Move documentation into doc subdirectory.
1820 * Makefile.in: Regenerated.
1821 * binutils.texi: Move into doc subdirectory.
1822 * addr2line.1: Removed.
1824 * dlltool.1: Likewise.
1825 * nlmconv.1: Likewise.
1827 * objcopy.1: Likewise.
1828 * objdump.1: Likewise.
1829 * ranlib.1: Likewise.
1830 * readelf.1: Likewise.
1832 * strings.1: Likewise.
1833 * strip.1: Likewise.
1834 * windres.1: Likewise.
1835 * cxxfilt.man: Likewise.
1836 * doc: New Directory.
1837 * doc/Makefile.am: New file.
1838 * doc/Makefile.in: Generate.
1840 2001-06-09 Alan Modra <amodra@bigpond.net.au>
1842 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
1844 2001-06-01 Alan Modra <amodra@bigpond.net.au>
1846 * MAINTAINERS: Update my email address.
1848 2001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
1850 * objcopy.c: Add new switches: --keep-global-symbol,
1851 --keep-symbols, --localize-symbols, --keep-global-symbols and
1853 * binutils.texi: Document new switches.
1854 * objcopy.1: Regenerate.
1855 * NEWS: Announce new feature.
1857 2001-05-28 Andreas Jaeger <aj@suse.de>
1859 * readelf.c (display_debug_frames): Fix warnings: Remove unused
1860 variables, fix format strings.
1862 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
1864 * objdump.c (disassemble_bytes): Remove section VMA adjustment
1865 when computing the address of the line to show.
1867 2001-05-16 Richard Henderson <rth@redhat.com>
1869 * readelf.c (do_debug_frames_interp): New.
1870 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
1871 (byte_get_big_endian): Likewise.
1872 (parse_args) ['F']: Set do_debug_frames_interp.
1873 (Frame_Chunk): Make data_factor signed, add fde_encoding.
1874 (frame_display_row): Don't trunc pc_begin to int.
1875 (size_of_encoded_value): New.
1876 (display_debug_frames): Handle 64-bit targets. Print raw data
1877 unless do_debug_frames_interp.
1878 (debug_displays): Remove duplicate .debug_frame.
1880 2001-05-15 Ralf Baechle <ralf@gnu.org>
1882 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
1883 The former constant was never in active use and is used otherwise
1886 2001-05-11 Jakub Jelinek <jakub@redhat.com>
1888 * readelf.c (process_unwind): Print all unwind sections, not just
1891 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1893 * readelf.c (process_unwind): Remove const specifier.
1895 2001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
1897 * strings.c (isgraphic): Do not use isascii() unless it is needed
1898 for isprint() to work.
1899 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
1901 2001-04-27 Johan Rydberg <jrydberg@opencores.org>
1903 * NEWS: Announce support for OpenRISC.
1905 2001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
1907 * dlltool.c (do_default_excludes): Initialise to true.
1909 2001-04-10 Alan Modra <amodra@one.net.au>
1911 * MAINTAINERS: Update my email address
1912 * nm.c (print_symbol_info_bsd): Use a simple printf string.
1914 2001-04-05 Hans-Peter Nilsson <hp@axis.com>
1916 * readelf.c (display_debug_lines): Fix typo for "Prologue".
1918 2001-03-30 H.J. Lu <hjl@gnu.org>
1920 * readelf.c (process_unwind): Just return if do_unwind is 0.
1922 2001-03-28 Roger Sayle <roger@metaphorics.com>
1924 * dlltool.c (make_one_lib_file): Fix section flags for
1925 .text, .data and .bss in stub ds*.o files to match those
1928 2001-03-29 H.J. Lu <hjl@gnu.org>
1930 * readelf.c (process_unwind): Only do unwind sections for
1933 2001-03-28 H.J. Lu <hjl@gnu.org>
1935 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
1936 * Makefile.in: Regenerate.
1938 2001-03-26 Andreas Jaeger <aj@suse.de>
1940 * binutils.texi (nm): Fix texi syntax.
1942 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1944 * binutils.texi: Put @c man begin and @c man end indications
1945 to generate man pages using texi2pod and pod2man. Put @c man title
1946 to identify each man. Add SEEALSO entries.
1947 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
1948 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
1950 (*.1): Build the man pages from binutils.texi.
1951 * Makefile.in: Regenerate.
1953 2001-03-13 Eric Kohl <ekohl@rz-online.de>
1955 * defparse.y (opt_equal_name): allow "." in name.
1956 * dlltool.c (def_exports): Added ability to generate forwarded exports.
1957 (gen_exp_file): Likewise.
1959 2001-03-12 Stefan Geuken <mail@stefan-geuken.de>
1961 * NEWS: Document addition of -B switch to objcopy.
1962 * binutils.texi: Document addition of -B switch to objcopy.
1963 * objcopy.c: (copy_options): Add --binary-architecture.
1964 (copy_usage): Document -B/--binary-architecture.
1965 (copy_main): Support -B/--binary-architecture. Set
1966 bfd_external_binary_architecture.
1968 2001-03-11 Andreas Jaeger <aj@suse.de>
1970 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
1971 (dump_relocations): Likewise.
1972 (get_machine_name): Likewise.
1974 2001-02-28 Nick Clifton <nickc@redhat.com>
1976 * readelf.c: (struct unw_aux_info): Remove const modifier for
1978 (process_unwind): Remove non-K&R compliant LHS type cast in call
1979 to GET_DATA_ALLOC macro.
1981 2001-02-28 Philip Blundell <pb@futuretv.com>
1983 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
1984 ABI is in use; remove ambiguity between the "unknown" EABI and
1985 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
1986 renamed EF_xx constants.
1988 2001-02-27 Alan Modra <alan@linuxcare.com.au>
1990 * configure.in (BFD_VERSION): New.
1991 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
1992 * configure: Regenerate.
1993 * Makefile.am: Run "make dep-am"
1994 * Makefile.in: Regenerate.
1996 2001-02-14 Nick Clifton <nickc@redhat.com>
1998 * MAINTAINERS: Add "Obvious Fix" rule.
2000 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2002 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
2003 literal concatenation.
2005 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2007 * readelf.c (struct unw_aux_info): Remove const from the info member.
2008 (process_unwind): Don't type-cast the third argument to the
2009 GET_DATA_ALLOC macro.
2011 2001-02-11 Nick Clifton <nickc@redhat.com>
2013 * readelf.c (dump_relocations): Free corrected allocated
2015 (process_unwind): Fix compile time warning.
2017 2001-02-10 Nick Clifton <nickc@redhat.com>
2019 * binutils.texi: Document new --unwind option to readelf.
2021 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
2023 * readelf.c: Add linux target for S/390.
2025 2001-02-10 Alan Modra <alan@linuxcare.com.au>
2027 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
2030 2001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
2032 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
2033 * aclocal.m4: Regenerate.
2034 * configure: Regenerate.
2036 2001-02-07 Todd Vierling <tv@wasabisystems.com>
2038 * bucomm.c (bfd_target_vector): Change extern array to pointer.
2039 * objdump.c (bfd_target_vector): Likewise.
2041 2001-02-07 David Mosberger <davidm@hpl.hp.com>
2043 * readelf.c (process_unwind): New function.
2044 (slurp_ia64_unwind_table): Ditto.
2045 (dump_ia64_unwind): Ditto.
2046 (find_symbol_for_address): Ditto.
2047 (slurp_rela_relocs): New function (split off from dump_relocations()).
2048 (slurp_rel_relocs): Ditto.
2049 (parse_args): Handle '-u' option.
2051 * unwind-ia64.c: New file.
2052 * unwind-ia64.h: New file.
2053 * Makefile.am: Include unwind-ia64.c in readelf build.
2054 * Makefile.in: Regenerate.
2055 * po/binutils.pot: Regenerate.
2057 2001-02-04 Philip Blundell <philb@gnu.org>
2059 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
2060 * configure: Regenerate.
2062 2001-01-31 Steve deRosier <sderosier@vari-lite.com>
2064 * ieee.c (ieee_add_bb11): Don't check for backslashes
2065 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
2067 2001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
2069 * ieee.c: Update copyright.
2070 (ieee_start_compilation_unit): Don't check for backslashes
2071 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
2073 * stabs.c: Update copyright. Include "filenames.h".
2074 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
2076 2001-01-23 Jakub Jelinek <jakub@redhat.com>
2078 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
2079 sections are present before using them. Remove code duplication.
2080 (process_symbol_table): Check if VERDEF or VERNEED sections are
2081 present before using them.
2083 2001-01-17 Nick Clifton <nickc@redhat.com>
2085 * objcopy.c (copy_object): Fail if attempting to convert the
2086 endianness of the input object file.
2088 * binutils.texi: Explain that objcopy cannot convert endianness.
2090 2001-01-16 Nick Clifton <nickc@redhat.com>
2092 * readelf.c (string_table_length): New variable.
2093 (SECTION_NAME): Catch out of range indices and missing section
2095 (process_section_headers): Delete useless local variable
2096 string_table_offset. Set the value of string_table_length
2097 after loading the string table.
2098 (process_mips_specific): Use SECTION_NAME macro.
2099 (process_file): Set string_table_length to 0 when it is freed.
2101 2001-01-12 Nick Clifton <nickc@redhat.com>
2103 * version.c (print_version): Update copyright date.
2105 2001-01-11 Peter Targett <peter.targett@arccores.com>
2107 * readelf.c (dump_relocations): Include selection with EM_ARC.
2108 (get_machine_name) Update name to "ARC".
2110 2001-01-09 Nick Clifton <nickc@redhat.com>
2112 * Makefile.am: Add rule to build objdump.o from objdump.c and
2114 * Makefile.in: Regenerate.
2116 * configure.in: Define OBJDUMP_DEFS. Default to empty.
2117 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
2118 -DDISASSEMBLER_NEEDS_RELOCS.
2119 * configure: Regenerate.
2121 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
2122 is defined read in the relocs even if dump_reloc_info is
2125 2001-01-07 Philip Blundell <philb@gnu.org>
2127 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
2131 2000-12-19 Nick Clifton <nickc@redhat.com>
2133 * dlltool.c: Add missing support for arm-epoc-pe.
2134 * configure.in: Add missing support for arm-epoc-pe.
2135 * configure: Regenerate.
2137 2000-12-15 Nick Clifton <nickc@redhat.com>
2139 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
2140 Mode parts of the x86 port.
2142 2000-12-04 Andreas Jaeger <aj@suse.de>
2144 * readelf.c (guess_is_rela): Add EM_X86_64.
2145 (dump_relocations): Add EM_X86_64.
2146 (get_machine_name): Add EM_X86_64.
2147 Include "elf/x86-64.h".
2149 2000-12-12 Nick Clifton <nickc@redhat.com>
2151 * readelf.c: Fix formatting.
2153 2000-12-11 Jan Hubicka <jh@suse.cz>
2155 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
2157 2000-12-07 Andrew Haley <aph@redhat.com>
2159 * readelf.c (display_debug_frames): Only display columns that are
2160 referenced by the frame debug info.
2162 2000-12-05 Nick Clifton <nickc@redhat.com>
2164 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
2166 2000-12-04 Jason Merrill <jason@redhat.com>
2168 * readelf.c (process_section_headers): Handle linkonce.wi sections.
2169 (display_debug_section): Likewise.
2170 (display_debug_info): Display CU header before bailing.
2172 2000-12-01 Chris Demetriou <cgd@sibyte.com>
2174 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
2175 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
2176 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
2178 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
2181 * readelf.c (get_machine_flags): Add case for
2184 2000-11-30 Richard Earnshaw <rearnsha@arm.com>
2186 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
2188 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
2190 * MAINTAINERS: Add J
\81örn Rennecke and self as SH maintainers.
2191 Change sourceware.cygnus.com to sources.redhat.com.
2192 Fix typo for "amongst".
2194 2000-11-28 Nick Clifton <nickc@redhat.com>
2196 * strip.1 (COPYING): Mention that the GNU Free Documentation
2197 License is present in the sources, but not the output, and
2198 also available from the GNU website.
2199 (GNU Free Documentation License): Comment out this section.
2208 * addr2line.1: Ditto.
2210 2000-11-27 DJ Delorie <dj@redhat.com>
2212 * readelf.c (usage): Add -wf (--debug-dump=frames) option.
2213 (parse_args): Support -wf option.
2214 (process_section_headers): Ditto.
2215 (debug_displays): Ditto.
2216 (display_debug_frames): New, dump *_frame sections.
2217 (frame_need_space): Support for above.
2218 (frame_display_row): Ditto.
2219 * binutils.texi: Document it.
2221 2000-11-24 Nick Clifton <nickc@redhat.com>
2223 * NEWS: Announce support for v5t, v5te and XScale.
2225 2000-11-22 Nick Clifton <nickc@redhat.com>
2227 * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
2228 EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
2229 (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
2230 (get_elf_section_flags: Add SHF_GROUP.
2231 (process_section_headers): Adjust output for 32-bit binaries
2232 to look nice on an 80 column terminal.
2234 2000-11-20 H.J. Lu <hjl@gnu.org>
2236 * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
2239 2000-11-17 Richard Henderson <rth@redhat.com>
2241 * readelf.c (display_debug_lines): Adjust last change to
2242 use sizeof (external->li_length).
2244 2000-11-17 Richard Henderson <rth@redhat.com>
2246 * readelf.c (display_debug_lines): Fix section length check
2247 and end_of_sequence computation.
2249 2000-11-06 Nick Clifton <nickc@redhat.com>
2251 * binutils.texi: Add GNU Free Documentation License.
2252 * objcopy.1: Add GNU Free Documentation License.
2253 * objdump.1: Add GNU Free Documentation License.
2254 * addr2line.1: Add GNU Free Documentation License.
2255 * ar.1: Add GNU Free Documentation License.
2256 * nlmconv.1: Add GNU Free Documentation License.
2257 * nm.1: Add GNU Free Documentation License.
2258 * ranlib.1: Add GNU Free Documentation License.
2259 * size.1: Add GNU Free Documentation License.
2260 * strings.1: Add GNU Free Documentation License.
2261 * strip.1: Add GNU Free Documentation License.
2263 2000-10-06 Luciano Gemme <ishitawa@yahoo.com>
2265 * objcopy.c (--srec-len=nn): New parameter to set the
2266 maximum length of generated Srecords.
2267 (--srec-forceS3): New parameter that restricts the generation of
2268 Srecords to type S3 only.
2269 * binutils.texi: Document new command line switches.
2270 * objcopy.1: Docuemnt the new command line switches.
2271 * NEWS: Announce the existence of the new command line switches.
2273 2000-10-31 Nick Clifton <nickc@redhat.com>
2275 * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
2276 code. Add Eric Chrisopher as maintainer of MN10300 port.
2278 2000-10-12 Roger Sayle <roger@metaphorics.com>
2280 * Make comma after string after icon/control optional.
2282 2000-09-13 Anders Norlander <anorland@acc.umu.se>
2284 * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
2286 * NEWS: Mention support for MIPS32.
2288 2000-09-08 Nick Clifton <nickc@redhat.com>
2290 * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
2292 2000-09-07 H.J. Lu <hjl@gnu.org>
2294 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
2295 * configure: Rebuild.
2297 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
2299 * configure: Rebuilt with new libtool.m4.
2301 2000-09-05 Nick Clifton <nickc@redhat.com>
2303 * aclocal.m4: Regenerate.
2304 * config.in: Regenerate.
2305 * configure: Regenerate.
2307 2000-09-04 Todd Vierling <tv@wasabisystems.com>
2309 * strip.1: Fix stray '\' in -o formatting.
2311 2000-09-02 Nick Clifton <nickc@redhat.com>
2313 * configure.in: Increase version number to 2.10.91.
2314 * configure: Regenerate.
2315 * aclocal.m4: Regenerate.
2316 * config.in: Regenerate.
2317 * po/binutils.pot: Regenerate.
2319 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
2321 * acinclude.m4: Include libtool and gettext macros from the
2323 * aclocal.m4, configure: Rebuilt.
2325 2000-08-30 Jamie Guinan <guinan@bluebutton.com>
2327 * resrc.c (close_input_stream): Delete extraneous logic
2329 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
2331 * NEWS: Mention support for CRIS.
2333 2000-08-21 Nick Clifton <nickc@redhat.com>
2335 * addr2line.c: Changed email address for Ulrich Lauther.
2337 2000-08-17 Christopher C. Chimelis <chris@debian.org>
2339 * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
2341 2000-08-17 Nick Clifton <nickc@redhat.com>
2343 * readelf.c (display_debug_pubnames): Only issue warning
2344 message once. Terminate message with a new line.
2345 (display_debug_aranges): Only display version 2 debug info.
2347 2000-08-14 Todd Vierling <tv@wasabisystems.com>
2349 * objcopy.c (strip_main): Silently accept -d as an alias for -g
2350 for compatability with old BSD systems.
2352 2000-08-14 Jason Eckhardt <jle@cygnus.com>
2354 * NEWS: Mention i860 support.
2356 2000-08-11 Carlo Wood <carlo@alinoe.com>
2358 * addr2line.c (main): Add const to char *.
2360 2000-08-11 Geoff Keating <geoffk@cygnus.com>
2362 * ar.c (main): Don't crash if called with no arguments
2363 or only '-X32_64' as an argument.
2365 2000-08-08 DJ Delorie <dj@redhat.com>
2367 * resrc.c: use "gcc -xc" instead of -xc-header
2369 2000-08-05 Jason Eckhardt <jle@cygnus.com>
2371 * readelf.c (elf/i860.h): Include.
2372 (dump_relocations): Add recognition of i860 architecture.
2373 (guess_is_rela): Add recognition of i860 architecture.
2375 2000-08-03 Nick Clifton <nickc@cygnus.com>
2377 * MAINTAINERS: Add information about CGEN maintainers.
2379 2000-07-26 Geoff Keating <geoffk@cygnus.com>
2381 * nm.c (main): Ignore '-X32_64' as an option.
2382 * ar.c (main): Likewise.
2383 * binutils.texi (nm): Document new option.
2386 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2388 * rdcoff.c (external_coff_symbol_p): K&R-ise.
2390 2000-07-20 H.J. Lu <hjl@gnu.org>
2392 * binutils.texi: Put back "@end table" deleted by
2395 2000-07-05 Kenneth Block <krblock@computer.org>
2397 * nm.c: Add optional style to demangle switch.
2398 * objdump.c: Add optional style to demangle switch.
2399 * addr2line.c: Add optional style to demangle switch.
2400 * binutils.texi: Document optional style to demangle
2403 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
2405 * MAINTAINERS: Add self as CRIS port maintainer.
2406 * readelf.c: Include elf/cris.h.
2407 (guess_is_rela): Handle EM_CRIS.
2408 (dump_relocations): Ditto.
2409 (get_machine_name): Ditto.
2410 * Makefile.am: Rebuild dependencies.
2411 * Makefile.in: Regenerate.
2412 * po/binutils.pot: Regenerate.
2414 2000-07-19 H.J. Lu <hjl@gnu.org>
2416 * readelf.c (get_dynamic_type): Change "AUXILARY" to
2418 (process_dynamic_segment): Print out strings for DT_CONFIG,
2419 DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
2421 2000-07-19 Mark Kettenis <kettenis@gnu.org>
2423 * nm.c (usage): Change output of `nm --help' to include a
2424 description of the purpose of the program and a detailed
2425 description of the accepted options.
2427 2000-07-19 H.J. Lu <hjl@gnu.org>
2429 * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
2432 2000-07-19 H.J. Lu <hjl@gnu.org>
2434 * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
2436 2000-07-19 H.J. Lu <hjl@gnu.org>
2438 * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
2440 (process_dynamic_segment): Likewise.
2442 * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
2443 DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
2444 (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
2445 DF_1_NODUMP and DF_1_CONLFAT.
2447 2000-07-18 Nick Clifton <nickc@cygnus.com>
2449 * binutils.texi (readelf): Fix spelling typo.
2451 2000-07-11 Mark Kettenis <kettenis@gnu.org>
2453 * objdump.c (usage): Make output of `objdump --help' more
2454 consistent with the rest of the GNU world. Add a line describing
2455 the purpose of the program.
2457 2000-07-10 David Huggins-Daines <dhd@linuxcare.com>
2459 * stabs.c (parse_stab_range_type): Cast to proper type to fix
2462 2000-07-10 Ryan Bradetich <rbradetich@uswest.net>
2464 * readelf.c (get_dynamic_data): Add casts and use unsigned chars
2466 (process_symbol_table): Ditto.
2467 (procesS_extended_line_op): Ditto.
2468 (display_debug_lines): Ditto.
2469 (display_debug_pubnames): Ditto.
2470 (read_and_display_attr): Ditto.
2472 2000-07-09 Nick Clifton <nickc@cygnus.com>
2474 * MAINTAINERS: Add several more port specific maintainers.
2476 2000-07-05 Nick Clifton <nickc@cygnus.com>
2478 * MAINTAINERS: Add blanket write privs for Michael Meissner.
2480 2000-06-05 DJ Delorie <dj@redhat.com>
2484 2000-07-01 Eric Fifer <EFifer@sanwaint.com>
2486 * dllwrap.c: Changed mistaken dyn_string_append() calls
2487 to dyn_string_append_cstr().
2489 2000-07-01 Alexander Aganichev <AAganichev@hypercom.com>
2491 * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
2492 struct debug_type stores size in bytes.
2494 2000-07-01 Alan Modra <alan@linuxcare.com.au>
2496 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
2497 (CLEANFILES): Add DEPA.
2498 * Makefile.in: Regenerate.
2500 2000-06-27 Alan Modra <alan@linuxcare.com.au>
2502 * ar.c: Revert incorrect 2000-06-25 patch.
2503 * bucomm.c: Likewise.
2505 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
2507 * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
2508 (external_coff_symbol_p): New function.
2509 (parse_coff): Use it.
2511 2000-06-25 Alexander Aganichev <AAganichev@hypercom.com>
2513 * ar.c (normalize): Advance past both characters in a DOS based
2514 <letter>: filepath prefix.
2516 * bucomm.c (make_tempname): Likewise.
2518 2000-06-24 Nick Clifton <nickc@cygnus.com>
2520 * objdump.c (usage): Fix description of --stabs switch.
2522 2000-06-22 Alan Modra <alan@linuxcare.com.au>
2524 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
2526 * Makefile.in: Regenerate.
2528 2000-06-20 Alexander Aganichev <AAganichev@hypercom.com>
2530 * ar.c (normalize): Correct pointer comparison when checking for
2533 * bucomm.c (make_tempname): Likewise.
2535 * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
2536 and search for backslashes in the original pathname.
2537 (ieee_add_bb11): Likewise.
2539 2000-06-18 Nick Clifton <nickc@redhat.com>
2541 * ar.c (print_contents): Improve verbose message.
2543 2000-06-15 H.J. Lu <hjl@gnu.org>
2545 * dyn-string.c: Removed. Not needed with dyn-string.c in
2547 * dyn-string.h: Likewise.
2549 * Makefile.am: Remove references to dyn-string.c and
2550 dyn-string.h. Rebuild dependency.
2551 * Makefile.in: Rebuild.
2553 2000-06-15 H.J. Lu <hjl@gnu.org>
2555 * binutils.texi: Put a warning on copying relocatable object
2556 files between two different formats.
2558 2000-06-13 DJ Delorie <dj@cygnus.com>
2560 * rcparse.y (control): ICON controls take an id as the first
2561 parameter, not an optional string. Also, call new convenience
2562 function that takes res_id's.
2563 * resrc.c (define_control): missing text means zero-length string,
2565 (define_icon_control): New.
2566 * windres.h: declare define_icon_control.
2568 2000-06-13 H.J. Lu <hjl@gnu.org>
2570 * configure: Regenerate.
2572 2000-06-08 David O'Brien <obrien@FreeBSD.org>
2574 * configure.in (VERSION): Update to show this is the CVS mainline.
2576 2000-06-02 David O'Brien <obrien@FreeBSD.org>
2578 * strings.c (isgraphic): Interpret <TAB> as a printable character,
2579 analogous to <SPACE>.
2581 2000-05-30 Alan Modra <alan@linuxcare.com.au>
2583 * objdump.c (display_target_list): Use bfd_close_all_done, not
2584 bfd_close to fix crash caused by 2000-05-24 change.
2586 2000-05-25 DJ Delorie <dj@cygnus.com>
2588 * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
2590 2000-05-26 Alan Modra <alan@linuxcare.com.au>
2592 * Makefile.am: Update dependencies with "make dep-am"
2593 * Makefile.in: Regenerate.
2595 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
2597 * ar.c: Include filenames.h.
2598 (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
2599 and drive letters in file names.
2600 (main): Support backslashes and drive letters in argv[0]. Drop
2601 the .exe suffix, if any, in argv[0] if is_ranlib is negative. Use
2602 FILENAME_CMP instead of strcmp to compare file names.
2603 (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
2605 (do_quick_append) [__GO32__]: Ditto.
2606 (get_pos_bfd, delete_members, move_members, replace_members):
2607 Compare file names with FILENAME_CMP.
2609 * bucomm.c: Include filenames.h.
2610 (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
2611 forward/backward slashes and drive letters in file names.
2613 * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
2614 mixed forward/backward slashes and drive letters in file names.
2616 * strings.c (O_BINARY, setmode, SET_BINARY): Define.
2617 (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
2620 * objcopy.c: Include filenames.h.
2621 (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
2622 before comparing to "strip".
2623 Use FILENAME_CMP to compare file names.
2625 * arsup.c: Include filenames.h.
2626 (map_over_list, ar_delete, ar_replace, ar_extract): Use
2627 FILENAME_CMP to compare file names.
2628 (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
2629 the temporary file name.
2631 * configure.in: Check for setmode.
2632 * configure: Regenerate.
2634 2000-05-24 Alan Modra <alan@linuxcare.com.au>
2636 * objdump.c (display_target_list): Close the bfd.
2637 (display_info_table): Likewise.
2639 2000-05-14 H.J. Lu (hjl@gnu.org)
2641 * objcopy.c (filter_symbols): Don't strip global symbols in
2642 relocatable object files.
2644 2000-05-14 Alan Modra <alan@linuxcare.com.au>
2646 * size.c (usage): Associate short options with corresponding long
2647 option to give a clue as to their function.
2649 2000-05-14 Philippe De Muyter <phdm@macqel.be>
2651 * size.c (main): Accept and ignore `-f' option.
2653 2000-05-13 Alan Modra <alan@linuxcare.com.au>
2655 * bucomm.h (gettext, dgettext, dcgettext, textdomain,
2656 bindtextdomain): Replace defines with those from intl/libgettext.h
2657 to quieten gcc warnings.
2659 2000-05-12 H.J. Lu <hjl@gnu.org>
2661 * nlmconv.c (temp_filename): Removed.
2663 * nlmconv.c (link_inputs): Use make_temp_file () instead of
2664 choose_temp_base ().
2665 * objdump.c (display_target_list): Likewise.
2666 (display_info_table): Likewise.
2668 2000-05-08 Alan Modra <alan@linuxcare.com.au>
2670 * objcopy.c (setup_section): Add const and gettext calls for err.
2672 2000-05-02 H.J. Lu <hjl@gnu.org>
2674 * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
2675 ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
2676 ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
2677 ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
2678 and ELFOSABI_OPENBSD.
2680 2000-05-02 Kazu Hirata <kazu@hxi.com>
2682 * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
2683 * srconv.c: Likewise.
2684 * sysdump.c: Likewise.
2686 2000-04-23 Denis Chertykov <denisc@overta.ru>
2688 * readelf.c (guess_is_rela): AVR uses RELA relocations.
2689 (get_machine_name): machine name for EM_AVR added.
2691 2000-04-21 Richard Henderson <rth@cygnus.com>
2692 David Mosberger <davidm@hpl.hp.com>
2694 * Makefile.am (readelf.o): Add elf/ia64.h.
2695 * Makefile.in: Rebuild.
2696 * readelf.c: Include elf/ia64.h.
2697 (guess_is_rela, dump_relocations): Handle EM_IA_64.
2699 2000-04-17 Timothy Wall <twall@cygnus.com>
2701 * objdump.c (disassemble_data): Set octets per byte *after*
2702 resolving arch/mach for binary files.
2704 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2706 * arlex.l: Add directives to increase lex buffer size.
2708 * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
2709 already included by bucomm.h.
2711 2000-04-10 Philippe De Muyter <phdm@macqel.be>
2713 * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
2714 `strftime' since strftime is not available on all systems.
2715 (process_mips_specific): Ditto.
2717 2000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
2719 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
2720 --enable-build-warnings option.
2721 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
2722 * Makefile.in, configure: Re-generate.
2724 2000-04-06 Alan Modra <alan@linuxcare.com.au>
2726 * addr2line.c: Update copyright.
2727 * objcopy.1: Likewise, and title.
2728 * strings.1: Likewise.
2730 * version.c (print_version): Add 2000.
2732 * rddbg.c (read_section_stabs_debugging_info): Don't use
2733 bfd_size_type for strx to avoid printf problems if BFD64.
2735 * bucomm.c: (report): Remove `static'.
2736 Move inclusion of stdarg.h/vararg.h from here.
2737 * bucomm.h: To here.
2738 (CONST): Change all occurences to const.
2739 (report): Declare it.
2740 (bfd_fatal): Add ATTRIBUTE_NORETURN.
2741 (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
2742 (non_fatal): Add ATTRIBUTE_PRINTF_1.
2744 * ar.c (main): Use fatal or non_fatal instead of fprintf.
2745 Correct a typo in an error message.
2746 (do_quick_append): Use non_fatal instead of fprintf.
2747 (move_members): Use fatal instead of fprintf, exit.
2748 * coffdump.c (main): Same here.
2750 * dlltool.c (display): Delete.
2752 (inform): Use `report' instead of `display'.
2753 (rvaafter): Remove trailing \n from fatal error msg.
2755 (asm_prefix): Ditto.
2756 (yyerror): Replace `warn' with `non_fatal', and remove \n.
2757 (def_name): Likewise.
2759 (scan_all_symbols): Likewise.
2760 (gen_lib_file): Likewise.
2761 (def_library): Likewise. Remove extra program_name too.
2762 (run): Remove \n from inform strings.
2763 (scan_drectve_symbols): Likewise.
2764 (add_excludes): Likewise.
2765 (scan_open_obj_file): Likewise.
2766 (gen_exp_file): Likewise.
2767 (gen_lib_file): Likewise.
2768 (process_duplicates): Likewise.
2770 * Makefile.am (dllwrap_SOURCES): Add version.c.
2771 * dllwrap.c (program_version): Delete.
2772 (print_version): Delete.
2773 (display): Always print trailing \n.
2775 (delete_temp_files): Use warn instead of fprintf. Use gettext.
2778 (usage): gettext'ify.
2779 (long_options): Add missing initialisers.
2781 * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
2782 (select_output_format): Likewise.
2783 (powerpc_mangle_relocs): Likewise.
2784 (link_inputs): Likewise.
2786 * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
2787 (set_output_format): Likewise.
2788 (main): Use non_fatal instead of fprintf.
2789 (display_rel_file): Likewise.
2791 * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
2792 (slurp_dynamic_symtab): Same here.
2793 (disassemble_data): And here.
2794 (read_section_stabs): And here.
2795 (read_section_stabs): And here.
2796 (dump_bfd): And here.
2798 (objdump_sprintf): Use fatal instead of fprintf, exit.
2799 (disassemble_data): Same here.
2801 * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
2802 (parse_coff_struct_type): Same here.
2803 (parse_coff_enum_type): And here.
2804 (parse_coff): And here.
2805 * rddbg.c (read_debugging_info): And here.
2806 * size.c (main): And here.
2807 * windres.c (format_from_name): And here.
2808 * wrstabs.c (stab_write_symbol): Here too.
2809 (write_stabs_in_sections_debugging_info): And here.
2810 (stab_int_type): And here.
2811 (stab_struct_field): And here.
2812 (stab_typdef): And here.
2814 * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
2815 * srconv.c (main): Same here.
2816 * strings.c (main): And here.
2817 (integer_arg): And here.
2818 * sysdump.c (main): And here.
2820 2000-04-06 Timothy Wall <twall@cygnus.com>
2822 * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
2824 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
2826 * readelf.c (decode_location_expression): Loop through multiple
2828 (read_and_display_attr): Pass in length.
2830 * readelf.c (read_and_display_attr): Add CU offset to references.
2831 (display_debug_info): Pass it in.
2833 2000-04-06 Nick Clifton <nickc@cygnus.com>
2835 * readelf.c (decode_ARM_machine_flags): New function.
2836 (get_machine_flags): Call decode_ARM_machine_flags for ARM
2839 (get_machine_name): Catch EM_AVR
2841 2000-04-05 Alan Modra <alan@linuxcare.com.au>
2843 * binutils.texi: Remove optional `=' from long options that have
2844 an `=' in the argument.
2845 * objcopy.1: Here too. Remove extra space on discard-all.
2847 * binutils.texi (objcopy): Mention --redefine-sym.
2848 * objcopy.1: Here too.
2851 * objcopy.c (parse_flags): Split off flag names from error message
2852 gettext as they are not translated.
2853 (copy_main): Similarly split off option name for --add-section,
2854 --set-section-flags, --change-section-vma, --change-section-lma
2856 Some white space changes.
2858 from Matthew Benjamin <matt@linuxbox.nu>
2859 * objcopy.c (struct redefine_node): New.
2860 (redefine_sym_list): New.
2861 (redefine_list_append): New.
2862 (lookup_sym_redefinition): New.
2863 (OPTION_REDEFINE_SYM): New.
2864 (copy_options): Add --redefine-sym option.
2865 (copy_usage): Mention it.
2866 (filter_symbols): Rename symbols on redefine_sym_list.
2867 (copy_object): Call filter_symbols if redefine_sym_list != NULL.
2868 (copy_main): Handle OPTION_REDEFINE_SYM.
2870 2000-04-04 H.J. Lu <hjl@gnu.org>
2872 * readelf.c (process_symbol_table): Correctly read in symbol
2873 versioning information.
2875 2000-04-04 Alan Modra <alan@linuxcare.com.au>
2877 * po/binutils.pot: Regenerate.
2879 * addr2line.c (usage): Restore translated part of bug string.
2880 * ar.c (usage): Likewise.
2881 * nlmconv.c (show_usage): Likewise.
2882 * nm.c (usage): Likewise.
2883 * objcopy.c (copy_usage): Likewise.
2884 (strip_usage): Likewise.
2885 * objdump.c (usage): Likewise.
2886 * readelf.c (usage): Likewise.
2887 * size.c (usage): Likewise.
2888 * strings.c (usage): Likewise.
2889 * windres.c (usage): Likewise.
2891 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
2892 (DEP): Quote when passing vars to sub-make. Add warning
2894 (DEP1): Rewrite for "gcc -MM".
2895 (CLEANFILES): Add DEP2.
2896 Update dependencies.
2897 * Makefile.in: Regenerate.
2899 2000-04-04 H.J. Lu <hjl@gnu.org>
2901 * Makefile.am (GENERATED_HFILES): Add rcparse.h
2902 (arparse.h): Depend on arparse.c
2903 (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
2905 2000-04-03 H.J. Lu (hjl@gnu.org)
2907 * size.c (usage): Use REPORT_BUGS_TO.
2909 2000-04-03 Alan Modra <alan@linuxcare.com.au>
2911 * bucomm.h: #include "bin-bugs.h"
2912 * addr2line.c (usage): Use REPORT_BUGS_TO.
2913 * ar.c (usage): Likewise.
2914 * nlmconv.c (show_usage): Likewise.
2915 * nm.c (usage): Likewise.
2916 (OPTION_TARGET): Define.
2917 (long_options): Use OPTION_TARGET rather than 200.
2920 * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
2921 (strip_usage): Likewise.
2922 * objdump.c (usage): Likewise.
2923 * readelf.c (usage): Likewise.
2924 * strings.c (usage): Likewise.
2925 * windres.c (usage): Likewise.
2927 2000-03-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
2929 * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
2931 2000-03-27 Nick Clifton <nickc@cygnus.com>
2933 * rddbg.c (read_section_stabs_debugging_info): Catch out of range
2934 string offsets in corrupt stabs entries.
2936 2000-03-27 Alan Modra <alan@linuxcare.com.au>
2938 * readelf.c: Include elf/avr.h
2939 (dump_relocations): Add EM_AVR case.
2941 2000-03-09 Tim Waugh <twaugh@redhat.com>
2943 * strings.1: Correct '-bytes' to '--bytes'.
2945 2000-03-08 H.J. Lu <hjl@gnu.org>
2947 * Makefile.am (install-exec-local): Depend on
2948 install-binPROGRAMS for parallel make.
2949 * Makefile.in: Regenerated.
2951 2000-02-27 Ian Lance Taylor <ian@zembu.com>
2953 From Brad Lucier <lucier@math.purdue.edu>:
2954 * readelf.c (process_dynamic_segment): Add cast to make sure
2955 argument to %* is int.
2957 2000-02-25 H.J. Lu <hjl@gnu.org>
2959 * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
2961 2000-02-24 Nick Clifton <nickc@cygnus.com>
2963 * configure.in: Add arm-wince, mips-pe and sh-pe targets.
2964 * configure: Regenerate.
2966 * dlltool.c: Add support for sh-pe and mips-pe targets.
2967 * rescoff.c: Add support for sh-pe and mips-pe targets.
2969 2000-02-23 H.J. Lu <hjl@gnu.org>
2971 * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
2973 2000-02-22 Nick Clifton <nickc@cygnus.com>
2975 * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
2977 2000-02-22 Ian Lance Taylor <ian@zembu.com>
2979 From Brad Lucier <lucier@math.purdue.edu>:
2980 * readelf.c (process_version_sections): Add casts to make sure
2981 argument to %* is an int.
2982 (process_mips_specific): Add casts to make printf arguments match
2985 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
2987 * objdump.c (dump_section_header): Change `opb' to unsigned.
2988 (find_symbol_for_address): Same here.
2989 (disassemble_data): And here. Change `addr_offset',
2990 `stop_offset', `nextstop_offset' to unsigned long.
2991 (dump_data): Change opb to unsigned.
2993 2000-02-18 Frank Ch. Eigler <fche@redhat.com>
2995 * resrc.c: Remove unmatched #if for cygwin.
2997 2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com>
2999 * binutils.texi: Document the change of flavor name from atpcs-special
3000 to special-atpcs to prevent name conflict in gdb.
3002 2000-02-08 Timothy Wall <twall@redhat.com>
3004 * objdump.c (show_line): Fix bug preventing printing of the very
3005 first line (line zero) of a file when interlisting source and
3006 assembly. Added option to print entire context from start of file
3007 when the first line from that file is encountered.
3009 2000-02-03 Timothy Wall <twall@redhat.com>
3011 * objdump.c (dump_section_header, find_symbol_for_address,
3012 show_line, disassemble_bytes, disassemble_data, dump_data):
3013 distinguish between octets and bytes.
3015 2000-01-27 Thomas de Lellis <tdel@windriver.com>
3017 * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
3018 check to unresolved symbols.
3019 (print_symbol_info_sysv): Ditto.
3020 (print_symbol_info_posix): Ditto.
3022 * binutils.texi: Document new 'V' symclass flag for nm.
3024 2000-01-27 Nick Clifton <nickc@redhat.com>
3026 * binutils.texi (objdump): Document new ARM specific
3027 disassembler options.
3029 * objdump.c (usage): Call disassembler_usage().
3031 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
3033 * readelf.c (get_dynamic_flags): Return buff.
3034 (process_dynamic_segment): Don't pass error strings to printf
3036 (read_and_display_attr): Use lx and ld to print longs.
3037 (process_corefile_note_segment): Cast bfd_vma to unsigned long
3041 2000-01-17 Nick Clifton <nickc@cygnus.com>
3043 * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
3045 2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
3047 * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
3049 (debug_tag_type): Here too.
3050 * ieee.c (ieee_builtin_type): And here.
3051 * stabs.c (parse_stab_type, parse_stab_array_type): And here.
3053 2000-01-13 Nick Clifton <nickc@cygnus.com>
3055 * readelf.c (get_machine_name): Change EM_S370 to return "IBM
3058 2000-01-11 Nick Clifton <nickc@cygnus.com>
3060 * readelf.c (get_dynamic_type): Remove DT_ENCODING.
3062 2000-01-10 Nick Clifton <nickc@cygnus.com>
3064 * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
3066 2000-01-07 Mumit Khan <khan@xraylith.wisc.edu>
3068 * windres.c (long_options): Add --use-temp-file and
3069 --no-use-temp-file options.
3073 * windres.h: Update read_rc_file prototype.
3075 * resrc.c (cpp_temp_file): New static variable.
3076 (istream_type): New static variable.
3077 (close_pipe): Delete function.
3078 (run_cmd): New static function.
3079 (open_input_stream): New static function.
3080 (close_input_stream): New static function.
3081 (look_for_default): Handle DOS directory separator. Use
3082 open_input_stream instead of popen.
3083 (read_rc_file): Likewise.
3085 * binutils.texi: Document --use-temp-file, --no-use-temp-file
3088 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
3090 * dlltool.c (create_compat_implib): New variable.
3091 (gen_exp_file): Use.
3092 (make_one_lib_file): Use.
3093 (long_options): Add --compat-implib option.
3097 * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
3098 (main): Use. Don't look for "32" in cygwin and mingw target names.
3100 2000-01-03 Nick Clifton <nickc@cygnus.com>
3102 * binutils.texi: Document new, ARM specific disassembler
3103 command line switch "-M force-thumb".
3105 For older changes see ChangeLog-9899
3111 version-control: never