1 2002-11-07 Danny Smith <dannysmith@users.sourceforge.net>
3 * dlltool.c (add_excludes): Don't prefix excluded fastcall
4 symbols with underscore.
5 (xlate): Ignore add_underscore for decorated fastcall symbols.
7 2002-11-07 Eric Kohl <ekohl@rz-online.de>
9 * deflex.l: Accept '@' as first character of an ID.
10 * dlltool.c (gen_exp_file): Use existing '@' prefix rather than
11 ASM_PREFIX for fastcall symbols.
12 (scan_drectve_symbols): Handle fastcall symbols when generating
13 undecorated aliases for symbols in drectve section.
14 (scan_filtered_symbols): Likewise, with export-all.
15 (xlate): Likewise, with --kill-at.
16 (make_imp_label): New function to handle fastcall symbols
18 (make_one_lib_file): Use make_imp_label instead of make_label
21 2002-11-06 Svein E. Seldal <Svein.Seldal@solidas.com>
23 * MAINTAINERS: Add self as TIC4X maintainer.
25 2002-11-06 Hiroyuki Machida <machida@sm.sony.co.jp>
27 * readelf.c (get_symbol_index_type): Add hex number to
28 PROCESSOR-specific, OS-specific, reserved and unknown symbol
31 2002-11-04 Alan Modra <amodra@bigpond.net.au>
33 * readelf.c (byte_get_little_endian): Comment typo fix.
34 (print_symbol): Constify "symbol" arg. Don't pass "symbol" to printf
36 (dump_relocations): Correct section sym names.
37 (process_section_headers): Clear symtab_shndx_hdr.
38 (read_and_display_attr_value): Don't pass indirect string to printf
40 (display_debug_frames): Indicate when zero terminator found. Decode
41 DW_EH_PE_pcrel addresses.
43 2002-10-23 Svein E. Seldal <Svein.Seldal@solidas.com>
45 * configure.in: Define SKIP_ZEROES as 32 for tic4x target in
46 order to ensure proper disassembly of the valid 0-value opcode.
47 * configure: Regenerate.
48 * aclocal.m4: Regenerate.
49 * config.in: Regenerate.
50 * configure.in: Regenerate.
51 * doc/Makefile.in: Regenerate.
52 * po/binutils.pot: Regenerate.
54 2002-10-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
56 * MAINTAINERS: Add self as SH maintainer.
58 2002-10-23 Ben Elliston <bje@redhat.com>
60 * doc/binutils.texi (objdump): Document -z and move the entry for
61 --disassemble-zeroes to the end of the options section (for `z').
63 2002-10-21 Nick Clifton <nickc@redhat.com>
65 * MAINTAINERS: Discontinue Hans-Peter Nilsson as SH maintainer.
67 2002-10-21 Svein E. Seldal <Svein.Seldal@solidas.com>
69 * objdump.c (dump_data): Correct addr_offset for opb != 1.
71 2002-10-15 Alan Modra <amodra@bigpond.net.au>
73 * bucomm.c (list_supported_targets): Use bfd_target_list.
75 * objcopy.c (copy_file): Report ambiguous bfd_object matches, and
76 other object errors in preference to bfd_core errors.
78 2002-10-14 Alan Modra <amodra@bigpond.net.au>
80 * Makefile.am: Run "make dep-am".
81 * objdump.c: #include "bfdver.h".
82 * version.c: Likewise.
83 * Makefile.in: Regenerate.
84 * config.in: Regenerate.
85 * configure: Regenerate.
86 * po/POTFILES.in: Regenerate.
88 2002-10-09 Daniel Jacobowitz <drow@mvista.com>
90 * readelf.c (display_debug_info): Ignore empty .rela.debug_info
91 sections. Allow relocations against the absolute symbol. Don't
92 use the value in compunit.cu_abbrev_offset if we found a RELA
95 2002-10-07 Gordon Chaffee <chaffee@netvmg.com>
97 * addr2line.c (slurp_symtab): Read in dynamic symbols if no
98 ordinary ones are available.
100 2002-09-30 H.J. Lu <hjl@gnu.org>
102 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_4120,
103 E_MIPS_MACH_5400 and E_MIPS_MACH_5500.
105 2002-09-17 Zack Weinberg <zack@codesourcery.com>
107 * Makefile.am (CFILES): Add cxxfilt.c.
108 (cxxfilt_SOURCES): Now just cxxfilt.c $(BULIBS).
109 (cxxfilt_LDADD): Delete.
110 Remove all references to underscore.c.
112 * configure.in: Define TARGET_PREPENDS_UNDERSCORE in
113 config.h from $UNDERSCORE, rather than AC_SUBSTing it.
114 * binutils/cxxfilt.c: Moved here from gcc/cp, minor
115 adjustments to fit into binutils framework.
116 * configure, config.in, Makefile.in, doc/Makefile.in: Regenerate.
118 2002-09-12 Roland McGrath <roland@redhat.com>
120 * readelf.c (decode_location_expression): DW_OP_calli -> DW_OP_call_ref
121 Handle DW_OP_GNU_push_tls_address.
123 2002-09-11 Nick Clifton <nickc@redhat.com>
125 * po/tr.po: Updated Turkish translation.
127 2002-09-10 Nick Clifton <nickc@redhat.com>
129 * MAINTAINERS: Add Ben Elliston as a maintainer for configure and
130 testsuite changes. Add paragraphs about testsuite and config
133 2002-08-29 Nick Clifton <nickc@redhat.com>
135 * readelf.c (get_machine_flags): Remove redundant reference to
138 2002-08-28 Alan Modra <amodra@bigpond.net.au>
140 * objdump.c (dump_bfd): Restore lines accidentally deleted in
143 2002-08-28 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
145 * objdump.c (dump_headers): Add printing of HAS_LOAD_PAGE flag.
146 (dump_bfd_header): Likewise.
148 2002-08-27 Alan Modra <amodra@bigpond.net.au>
150 * nm.c: Revert last change.
152 2002-08-26 Alan Modra <amodra@bigpond.net.au>
154 * nm.c (display_rel_file): Don't report "no symbols" as an error.
155 * objdump.c (slurp_symtab): Likewise.
156 (slurp_dynamic_symtab): Likewise.
157 (dump_symbols): Likewise. Do print "no symbols" to stdout.
159 2002-08-24 Geoffrey Keating <geoffk@redhat.com>
161 * MAINTAINERS: Change my mailing address.
163 2002-08-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
165 * MAINTAINERS: Add Dave Anglin as HPPA co-maintainer.
167 2002-08-22 Nick Clifton <nickc@redhat.com>
169 * MAINTAINERS: Add Jeff Law as (maintainance) maintainer for
172 2002-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
174 * readelf.c (parse_args): Change debug_dump_opt to static.
176 2002-08-16 Sivaguru Sankaridurg <siva@eternal-systems.com>
178 * stabs.c (parse_stab_argtype): Pass length of physname to
179 stab_demangle_argtypes.
180 (stab_demangle_argtypes): Add new parameter - length of physname.
181 Pass length of physname on to stab_demangle_prefix.
182 (stab_demangle_prefix): Add new parameter - length of physname.
183 Use length of physname (if supplied) to compute end of function
186 2002-08-15 Alan Modra <amodra@bigpond.net.au>
188 * readelf.c: Include elf/i370.h.
189 (dump_relocations): Handle EM_S370.
190 (dynamic_segment_parisc_val): Print \n.
191 (process_dynamic_segment <DT_BIND_NOW>): Here too.
193 2002-08-14 Nick Clifton <nickc@redhat.com>
195 * nm.c (usage): Change 'gnu-new-abi' to 'gnu-v3'.
196 * objdump.c (usage): Likewise.
197 * doc/binutils.texi: Likewise.
199 2002-08-14 Luke Dunstan <infidel@users.sourceforge.net>
201 * rcparse.y (acc_entry): Don't warn about ALT use with
204 2002-08-13 H.J. Lu <hjl@gnu.org>
206 * objcopy.c (copy_object): Don't warn about the unsupported
207 architecture unless the input target is defaulted or the
208 output architecture is different from the input.
210 2002-08-09 Nick Clifton <nickc@redhat.com>
212 * po/sv.po: Updated Swedish translation.
214 2002-08-05 Alan Modra <amodra@bigpond.net.au>
216 * prdbg.c (pr_fix_visibility): Remove assert.
218 2002-07-31 Nick Clifton <nickc@redhat.com>
220 * addr2line.c (process_file): Rename parameter 'filename' to
221 'file_name' in order to avoid shadowing global symbol of the
225 2002-07-30 Jakub Jelinek <jakub@redhat.com>
227 * readelf.c (OPTION_DEBUG_DUMP): Define.
229 (usage): Update help.
230 (parse_args): Handle --debug-dump separately from -w.
231 * doc/binutils.texi (readelf): Update documentation.
233 2002-07-25 Nick Clifton <nickc@redhat.com>
235 * po/es.po: Updated Spanish translation.
236 * po/fr.po: Updated French translation.
238 2002-07-24 Nick Clifton <nickc@redhat.com>
240 * po/es.po: Updated Spanish translation.
242 2002-07-23 Alan Modra <amodra@bigpond.net.au>
244 * Makefile.am: Run "make dep-am".
245 * Makefile.in: Regenerate.
247 2002-07-23 Nick Clifton <nickc@redhat.com>
249 * po/fr.po: Updated French translation.
251 2002-07-23 Eric S. Raymond <esr@golux.thyrsus.com>
253 * doc/binutils.texi (addr2line <man synopsis>): Correct brackets.
255 2002-07-20 Alan Modra <amodra@bigpond.net.au>
257 * budemang.c: Include config.h and string.h/strings.h.
259 2002-07-18 Denis Chertykov <denisc@overta.ru>
260 Frank Ch. Eigler <fche@redhat.com>
262 * readelf.c: Include "elf/ip2k.h".
263 (guess_is_rela): Add support for EM_IP2K and EM_IP2K_OLD.
264 (dump_relocations): Likewise.
265 (get_machine_name): Likewise.
266 * NEWS: Mention IP2K support.
268 2002-07-16 Nick Clifton <nickc@cambridge.redhat.com>
270 * NEWS: Add 'Changes in 2.13'.
272 2002-07-10 Jakub Jelinek <jakub@redhat.com>
274 * readelf.c (get_dynamic_type): Handle DT_GNU_PRELINKED,
275 DT_GNU_CONFLICT* and DT_GNU_LIBLISZ*.
276 (get_section_type_name): Handle SHT_GNU_LIBLIST.
277 (process_dynamic_segment): Handle DT_GNU_CONFLICTSZ,
278 DT_GNU_LIBLISTSZ and DT_GNU_PRELINKED.
279 (process_gnu_liblist): New.
280 (process_file): Call it.
282 2002-07-03 Alan Modra <amodra@bigpond.net.au>
284 * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
285 * Makefile.in: Regenerate.
287 2002-07-02 Alan Modra <amodra@bigpond.net.au>
289 * budemang.c: New file, "demangle" function.
290 * budemang.h: New file.
291 * addr2line.c (translate_addresses): Use "demangle".
292 * nm.c (print_symname): Likewise.
293 * objdump.c (objdump_print_symname): Likewise.
294 (dump_symbols): Likewise. Also, don't use bfd_asymbol_name macro
295 here since that obfuscates.
296 * rdcoff.c: Don't #include demangle.h.
297 * Makefile.am (CFILES): Add budemang.c, emul_aix.c,
298 emul_vanilla.c. Remove emul_$(EMULATION).c. Sort.
299 (HFILES): Add budemang.h. Sort.
300 (nm_new_SOURCES, objdump_SOURCES, addr2line_SOURCES): Add budemang.c.
302 * Makefile.in: Regenerate.
304 2002-07-01 Matt Thomas <matt@3am-software.com>
306 * readelf.c: Include "elf/vax.h".
307 (guess_is_rela): Move EM_VAX from unknown to RELA case.
308 (dump_relocations): Handle VAX relocations.
309 (get_machine_flags): Handle VAX machine flags.
311 2002-06-29 Stephane Carrez <stcarrez@nerim.fr>
313 * readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.
315 2002-06-26 Nick Clifton <nickc@cambridge.redhat.com>
317 * MAINTAINERS: Remove Tom Rix from d10v and pcc maintainerships.
319 2002-06-26 Alan Modra <amodra@bigpond.net.au>
321 * nm.c (print_symname): When demangling, strip leading dots from
322 symbol names to avoid confusing the demangler.
324 2002-06-25 H.J. Lu <hjl@gnu.org>
326 * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
327 * Makefile.in: Regenerated.
329 2002-06-21 Igor Schein <igor@txc.com>
331 * configure.in: Quote bu_cv_have_fopen64.
332 * configure: Regenerate.
334 2002-06-21 Mitsru Chinen <chinen@jp.ibm.com>
336 * configure.in: Check for strcoll.
337 * configure: Regenerate.
338 * config.in: Regenerate.
339 * nm.c (main): Set locale for LC_COLLATE category.
340 (non_numeric_forward): Use strcoll if available.
342 2002-06-20 Dave Brolley <brolley@redhat.com>
344 * MAINTAINERS: Add self as fr30 and frv maintainer.
346 2002-06-18 H.J. Lu (hjl@gnu.org)
348 * nm.c: Include "elf/common.h".
349 (extended_symbol_info): Add elfinfo, a pointer to
351 (SYM_SIZE): Use elfinfo if it is not NULL.
352 (get_symbol_type): New function.
353 (display_archive): Set print_width for each archive member.
354 (display_file): Likewise.
355 (display_rel_file): Don't set print_width here.
356 (print_object_filename_sysv): Handle print_width.
357 (print_archive_member_sysv): Likewise.
358 (print_symbols): Pass (bfd_vma) 0 to print_symbol.
359 (print_symbol): Set the elfinfo field in extended_symbol_info
361 (print_object_filename_sysv): Fix the output format.
362 (print_symbol_info_sysv): Print type and section for ELF.
364 2002-06-18 Elias Athanasopoulos <eathan@otenet.gr>
366 * nm.c (print_size_symbols): Remove assignment, which makes
367 the symbol's size equal to its value when --size-sort is
370 2002-06-18 Dave Brolley <brolley@redhat.com>
372 From Catherine Moore:
373 * readelf.c (elf/frv.h): #include it.
374 (guess_is_rela): Support EM_CYGNUS_FRV.
375 (dump_relocations): Ditto.
376 (get_machine_name): Ditto.
377 * Makefile.am (readelf.o): add dependency on $(INCDIR)/elf/frv.h.
379 2002-06-18 Jakub Jelinek <jakub@redhat.com>
381 * readelf.c (get_file_header): Only read the first section header if
384 2002-06-15 H.J. Lu (hjl@gnu.org)
386 * nm.c (print_size): New variable. Initialize to 0.
387 (long_options): Add 'S'/"print-size".
389 (print_symbol_info_bsd): Print size only if print_size is not
392 * doc/binutils.texi: Document -S/--print-size.
394 2002-6-13 Elias Athanasopoulos <eathan@otenet.gr>
396 * nm.c (struct extended_symbol_info): New strcuture: Add the size
397 of the symbols to the information provided by the symbol_info
399 (print_symbols): Pass the symbol size to print_symbol.
400 (print_size_symbols): Pass the symbol size to print_symbol.
401 (print_symbol): Extra argument: The size of the symbol. Store
402 this in the extended_symbol_info structure.
403 (print_symbol_info): Change type of info parameter to
404 extended_symbol_info. Display the size, if known.
405 (print_symbol_info_posix): Likewise.
406 (print_symbol_info_sysv): Likewise.
408 2002-06-08 Alan Modra <amodra@bigpond.net.au>
410 * Makefile.am: Run "make dep-am".
411 * Makefile.in: Regenerate.
412 * doc/Makefile.in: Regnerate.
414 * bucomm.c: Replace CONST with const.
416 * objdump.c: Likewise.
418 2002-06-07 H.J. Lu <hjl@gnu.org>
420 * readelf.c (DW_CFA_GNU_args_size): Don't define.
421 (DW_CFA_GNU_negative_offset_extended): Likewise.
422 (DW_CFA_GNU_window_save): Likewise.
423 (display_debug_frames): Handle DW_CFA_offset_extended_sf,
424 DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
426 2002-06-07 Elias Athanasopoulos <eathan@otenet.gr>
428 * nm.c: When computing size of symbols for an ELF target use the
431 2002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
433 * testsuite/binutils-all/objcopy.exp: clear xfail for
435 * testsuite/binutils-all/hppa/objdump.exp: Return if
438 2002-06-05 Alan Modra <amodra@bigpond.net.au>
440 * objcopy.c (copy_section): Don't copy SEC_GROUP sections.
442 2002-06-03 Elias Athanasopoulos <eathan@otenet.gr>
444 * objdump.c: Fix formatting.
446 2002-05-29 Ben Elliston <bje@redhat.com>
448 * MAINTAINERS: Add self as M68k maintainer.
450 2002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
452 * readelf.c: Modified/Added DLX elf support.
454 2002-05-27 Nick Clifton <nickc@cambridge.redhat.com>
456 * arsup.c: Fix formatting.
457 * debug.c (debug_record_label): Add missing colon to error
459 * ieee.c (parse_ieee_ty): Fix spelling typo.
460 * readelf.c (process_program_headers): Remove English assumption
461 about making a plural word.
462 (process_section_headers): Likewise.
463 (process_relocs): Allow quotes to be translated.
464 (process_unwind): Likewise,
465 (process_mips_specific): Improve error message.
466 (get_note_type): Fix spelling typo.
468 * configure.in (ALL_LINGUAS): Add sv
469 * po/sv.po: New file.
471 2002-05-27 Alan Modra <amodra@bigpond.net.au>
473 * unwind-ia64.c (unw_print_brmask): Don't use sprintf.
474 (unw_print_grmask): Likewise.
475 (unw_print_frmask): Likewise.
477 2002-05-26 Kazu Hirata <kazu@cs.umass.edu>
479 * arsup.c: Remove ARGSUSED.
482 * nlmconv.c: Likewise.
485 * wrstabs.c: Likewise.
487 2002-05-25 Alan Modra <amodra@bigpond.net.au>
489 * arlex.l: Use #include "" instead of <> for local header files.
490 * coffdump.c: Likewise.
491 * coffgrok.c: Likewise.
492 * nlmconv.c: Likewise.
493 * nlmheader.y: Likewise.
494 * srconv.c: Likewise.
495 * strings.c: Likewise.
496 * sysdump.c: Likewise.
497 * unwind-ia64.h: Likewise.
498 * windres.h: Likewise.
499 * winduni.h: Likewise.
501 2002-05-24 Tom Rix <trix@redhat.com>
503 * MAINTAINERS: Add self as the d10v maintainer.
505 2002-05-24 TAMURA Kent <kent@netbsd.org>
507 * configure.in: Builds dlltool for i386-netbsdpe.
508 * configure: Regenerate.
510 2002-05-23 Kazu Hirata <kazu@cs.umass.edu>
512 * size.c: Fix formatting.
513 * srconv.c: Likewise.
515 * sysdump.c: Likewise.
516 * unwind-ia64.c: Likewise.
517 * wrstabs.c: Likewise.
519 2002-05-23 Jakub Jelinek <jakub@redhat.com>
521 * readelf.c (get_segment_type): Add PT_TLS.
522 (get_elf_section_flags): Add SHF_TLS.
523 (get_dynamic_flags): Optimize. Add DF_STATIC_TLS.
524 (process_dynamic_segment): Use puts instead of printf.
525 (get_symbol_type): Support STT_TLS.
526 * objdump.c (dump_section_header): Remove SEC_CONSTRUCTOR_TEXT,
527 SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS.
528 Add SEC_THREAD_LOCAL.
530 2002-05-23 Kazu Hirata <kazu@cs.umass.edu>
532 * rdcoff.c: Fix formatting.
534 * readelf.c: Likewise.
535 * rename.c: Likewise.
536 * resbin.c: Likewise.
538 * resres.c: Likewise.
540 2002-05-21 Kazu Hirata <kazu@cs.umass.edu>
542 * filemode.c: Fix formatting.
544 * is-ranlib.c: Likewise.
545 * is-strip.c: Likewise.
546 * maybe-ranlib.c: Likewise.
547 * maybe-strip.c: Likewise.
548 * nlmconv.c: Likewise.
550 * not-ranlib.c: Likewise.
551 * not-strip.c: Likewise.
552 * objcopy.c: Likewise.
553 * objdump.c: Likewise.
555 2002-05-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
557 * objdump.c (dump_headers): Fix output formatting for ELF32
558 architectures in a BFD64 enabled toolchain.
560 2002-05-20 Kazu Hirata <kazu@cs.umass.edu>
562 * debug.c: Fix formatting.
564 * dlltool.c: Likewise.
565 * dllwrap.c: Likewise.
566 * emul_aix.c: Likewise.
567 * emul_vanilla.c: Likewise.
569 2002-05-19 Kazu Hirata <kazu@cs.umass.edu>
571 * addr2line.c: Fix formatting.
575 * binemul.c: Likewise.
576 * binemul.h: Likewise.
577 * bucomm.c: Likewise.
578 * coffdump.c: Likewise.
579 * coffgrok.c: Likewise.
580 * coffgrok.h: Likewise.
582 2002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
584 * MAINTAINERS: Add myself as the second AVR port maintainer.
586 2002-05-16 Stephane Carrez <stcarrez@nerim.fr>
588 * MAINTAINERS: Update my email address.
590 2002-05-09 Nick Clifton <nickc@cambridge.redhat.com>
592 * MAINTAINERS: Add Jason Thorpe as VAX maintainer.
594 2002-05-09 Alan Modra <amodra@bigpond.net.au>
596 * configure.in: Replace `*pe' with `pe' throughout.
597 * configure: Regenerate.
599 2002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
601 * Makefile.am: Honour DESTDIR.
602 * Makefile.in: Regenerate.
604 2002-05-06 Alan Modra <amodra@bigpond.net.au>
606 * dlltool.c (process_def_file): Add missing prototype.
607 (new_directive, assemble_file, main): Likewise.
608 (process_def_file, new_directive): Make static.
609 (inform): Rewrite using VA_FIXEDARG.
610 * dllwrap.c (mybasename): Add missing prototype.
611 (strhash, main): Likewise.
612 (inform): Rewrite using VA_FIXEDARG.
614 (cleanup_and_exit): Use old style function definition.
616 * windres.c (define_resource): Use one memset to clear all of
619 * rcparse.y: Remove newcmd rule. Move rcparse_discard_strings
620 call to rules that need no lookahead. Check for no lookahead.
622 2002-05-06 Borut Razem <borut.razem@siol.net>
624 * rclex.l (get_string): Correct "strings" list handling.
625 * resrc.c (read_rc_file): Discard strings.
627 2002-05-04 Alan Modra <amodra@bigpond.net.au>
629 * ar.c (replace_members): Remove unused var. Formatting fix.
630 * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
632 * MAINTAINERS: Sort port maintainers by CPU.
634 2002-05-04 Bob Byrnes <byrnes@curl.com>
636 * size.c (display_archive): Add last_arfile and code to close archives.
638 2002-05-01 Alan Modra <amodra@bigpond.net.au>
640 * nm.c (print_symbol): Check returned filename from
641 bfd_find_nearest_line is non-NULL.
643 2002-04-25 Elena Zannoni <ezannoni@redhat.com>
645 * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
647 2002-04-24 Christian Groessler <chris@groessler.org>
649 * MAINTAINERS: Changed my email address.
651 2002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
653 * arparse.y: Fix syntax warning.
655 2002-04-16 Nick Clifton <nickc@cambridge.redhat.com>
657 * readelf.c (fetch_location_list): Remove unused function.
659 * readelf.c (process_corefile_note_segment): Catch corrupt notes
660 and display a warning message, then exit the loop.
662 * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
664 2002-04-15 Nick Clifton <nickc@cambridge.redhat.com>
666 * resrc.c (write_rc_dialog): If charset is non-default value
667 display all of the DIALOGEX parameters.
669 2002-04-15 Eric Kohl <ekohl@rz-online.de>
671 * rcparse.y: Allow two to five parameter in FONT statement of
673 * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
675 (res_to_bin_dialog): Likewise.
676 * windres.h: Added misssing charset variable to dialog_ex
679 2002-04-10 Nick Clifton <nickc@cambridge.redhat.com>
681 * rcparse.y: Set MEMFLAG_PURE by default.
683 2002-04-09 Bernd Herd <info@herdsoft.com>
685 * rcparse.y: CLASS definitions in DIALOG resources
687 Fix typo in BEDIT warning.
688 Don't add default dialog style when explicit style specified.
689 Add WS_CAPTION dialog style if CAPTION is specified.
691 * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
692 (handle_quotes) "\a" escape (used for right justified key
693 definitions in menus) is encodes as binary 8.
695 * resrc.c (write_rc_dialog): Print style even if it is 0.
696 (write_rc_directory): Fix overlooked sublang shift bug.
697 (bin_to_res_dialog): Don't print empty dialog caption.
699 * resbin.c (bin_to_res_dialog): Use signature to identify
702 * windres.c (main): Set default LANGUAGE to english/us.
704 2002-04-09 Gunnar Degnbol <degnbol@danbbs.dk>
706 * resrc.c: print CLASS names in quotes
708 2002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
710 * MAINTAINERS: Update my email address.
712 2002-04-04 Alan Modra <amodra@bigpond.net.au>
714 * dep-in.sed: Cope with absolute paths.
715 * Makefile.am (dep.sed): Subst TOPDIR.
717 * Makefile.in: Regenerate.
719 2002-03-27 Peter Targett <peter.targett@arc.com>
721 * MAINTAINERS: Update my email address.
723 2002-03-21 Alan Modra <amodra@bigpond.net.au>
725 * Makefile.am: Run "make dep-am".
726 * Makefile.in: Regenerate.
727 * doc/Makefile.in: Regenerate.
728 * po/POTFILES.in: Regenerate.
729 * aclocal.m4: Regenerate.
730 * config.in: Regenerate.
731 * configure: Regenerate.
733 2002-03-20 Daniel Berlin <dan@dberlin.org>
735 * readelf.c: Add support for displaying dwarf2 location lists.
736 (do_debug_loc, debug_loc_section, debug_loc_size): New.
737 (parse_args): Use 'O' as shorthand for displaying location list
739 (process_section_headers): Handle debug_loc as well.
740 (load_debug_loc): New.
741 (free_debug_loc): New.
742 (fetch_location_list): New.
743 (display_debug_loc): New.
744 (display_debug_info): Call load_debug_loc and free_debug_loc.
745 (debug_displays): We can display .debug_loc now, too.
746 (usage): Update usage string.
747 (read_and_display_attr_value): Note location lists, but don't
750 2002-03-18 Tom Rix <trix@redhat.com>
752 * Makefile.am: Add binutils emulation support.
753 * configure.in: Same.
754 * configure.tgt: New file. Same.
755 * ar.c (main): Use ar_emul_parse_arg.
756 (usage): Use ar_emul_usage.
757 (replace_members): Use ar_emul_replace, ar_emul_append.
758 * binemul.c: New file. Define the binutils emulation
759 layer. Define default methods.
760 * binemul.h: New file. Binutils emulation layer header file.
761 * emul_aix.c: New file. AIX binutils emulation.
762 * emul_vanilla.c: New file. Default binutils emulation.
763 * Makefile.in: Regenerate.
766 2002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
768 * po/fr.po: Updated version.
770 2002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
772 * po/fr.po: Updated version.
774 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
776 * README: Update some version numbers.
778 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
780 * doc/binutils.texi (Target Selection): Fix LD crossreferences.
781 (Architecture Selection): Likewise.
783 2002-03-01 Dmitry Timoshkov <dmitry@baikal.ru>
785 * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
786 generating .exp file.
788 2002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
790 * readelf.c (dump_relocations): Fix typo.
792 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
794 * NEWS: Mark 2.12 branch.
796 2002-02-18 Timothy Daly <remote_bob@yahoo.com>
798 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
799 types for 64-bit MIPS. Narrow some fields for 80-char
801 (dump_relocations): Change spelling from 'unrecognised'
803 (decode_ARM_machine_flags): Likewise.
804 (parse_args): Likewise.
805 (read_and_display_attr_value): Likewise.
806 (display_debug_section): Likewise.
808 2002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
810 * NEWS: Mention support for MMIX.
812 2002-02-13 Matt Fredette <fredette@netbsd.org>
814 * readelf.c (get_machine_flags): Recognize EF_M68000.
816 2002-02-12 Alexandre Oliva <aoliva@redhat.com>
818 * MAINTAINERS: Added self as MN10300 co-maintainer.
820 2002-02-12 Alan Modra <amodra@bigpond.net.au>
822 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
825 2002-02-11 Daniel Jacobowitz <drow@mvista.com>
827 * MAINTAINERS: List myself as branch maintainer.
829 2002-02-11 Alan Modra <amodra@bigpond.net.au>
831 * configure: Regenerate.
832 * objcopy.c: Update copyright date.
833 * doc/Makefile.in: Regenerate.
835 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
837 * nlmconv.c: Back out localtime PARAMS change.
839 2002-02-11 Alan Modra <amodra@bigpond.net.au>
841 * objcopy.c (MKDIR): Define.
842 (copy_archive): Make name_list.name const. Use MKDIR.
843 Handle duplicate files in archives by making more temp dirs.
845 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
847 * coffdump.c: Include "getopt.h" after "bucomm.h"
848 so that macros are defined correctly.
849 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
850 prototype. Prototype main.
851 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
853 2002-02-06 Alexandre Oliva <aoliva@redhat.com>
855 * MAINTAINERS: Added self as SH co-maintainer.
857 2002-02-05 Nick Clifton <nickc@redhat.com>
859 * po/tr.po: Updated translation.
861 2002-02-01 Alan Modra <amodra@bigpond.net.au>
863 * Makefile.am: Run "make dep-am"
864 * Makefile.in: Regenerate.
866 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
868 * nm.c (print_value): Mark abfd unused.
870 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
872 * unwind-ia64.c (unw_decoder): Change second argument
873 to unsigned int, to match function prototypes.
875 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
877 * objdump.c: Include "getopt.h" after "bucomm.h" so that
878 __GNU_LIBRARY__ will be defined.
881 2002-01-27 Daniel Jacobowitz <drow@mvista.com>
883 * configure: Regenerated.
885 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
887 * doc/Makefile.am (install): Depend on install-info.
888 * doc/Makefile.in: Regenerate.
890 2002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
892 * objcopy.c (strip_usage): Document -d as an alias
895 * size.c (usage): Document [-t | --totals] options.
896 (long_options): Add --totals option.
897 (main): If the [-t | --totals] option is specified and
898 the output format is Berkeley-style, print the total
899 text, data, and bss sizes of all objects listed.
900 (print_berkeley_format): If the [-t | --totals] option
901 is specified, track the total text, data, and bss
903 * doc/binutils.texi (size): Document [-t | --totals] options.
904 (strip): Document -d as an alias for --strip-debug.
905 * NEWS: Mention new feature of size.
907 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
909 * po/fr.po: Updated version.
910 * po/es.po: Updated version.
912 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
914 * addr2line.c (usage): Update text to provide verbose
915 description of the command line options.
916 * ar.c (usage): Update text to provide verbose
917 description of the command line options.
918 (main): Accept -h and -H when running as ranlib.
919 * coffdump.c (show_usage): Update text to provide verbose
920 description of the command line options.
921 * dlltool.c (main): Accept -H as an alias for --help.
922 * nlmconv.c (show_usage): Update text to provide verbose
923 description of the command line options.
924 * nm.c (usage): Replace OPTIONS with option(s).
925 (main): Accept -H as an alias for --help.
926 * objcopy.c (strip_main): Accept -H as an alias for --help.
927 * objdump.c (main): Accept -v as an alias for --verbose.
928 * readelf.c (usage): Adjust format to match style used in
930 * size.c (usage): Update text to provide verbose description
931 of the command line options.
932 (main): Accept -v, -h and -H as command line options.
933 * srconv.c (show_usage): Update text to provide verbose
934 description of the command line options.
935 * strings.c (main): Accept -H and -v as command line options.
936 (usage): Update text to provide verbose description of the
937 command line options.
938 * sysdump.c (show_usage): Update text to provide verbose
939 description of the command line options.
940 * windres.c (usage): Adjust format to match style used in
943 * coffdump.c: Fix formatting.
944 * nlmconv.c: Fix formatting.
945 * srconv.c: Fix formatting.
946 * sysdump.c: Fix formatting.
948 2002-01-22 Alan Modra <amodra@bigpond.net.au>
950 * Makefile.am: Run "make dep-am".
951 * Makefile.in: Regenerate.
953 2002-01-18 Andreas Jaeger <aj@suse.de>
955 * version.c (print_version): Update year.
957 2002-01-17 Alan Modra <amodra@bigpond.net.au>
959 * readelf.c (get_machine_name): Handle EM_PPC64.
960 (guess_is_rela): Here too.
962 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
964 * po/binutils.pot: Regenerate.
965 * po/fr.po: Regenerate.
966 * po/tr.po: Regenerate.
968 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
970 * po/tr.po: Import new version.
972 2002-01-16 Alan Modra <amodra@bigpond.net.au>
974 * readelf.c (get_ppc64_dynamic_type): New.
975 (get_dynamic_type): Call it.
977 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
979 * objcopy.c (copy_usage): Use "options" instead of "switches".
980 (strip_usage): Use "options" instead of "switches".
981 * doc/binutils.texi (dlltool): Refer to "options" instead of
984 2002-01-14 Richard Earnshaw <rearnsha@arm.com>
986 * MAINTAINERS: Add self as co-maintainer for the ARM code.
988 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
990 * po/es.po: Import from translation project.
991 * configure.in (ALL_LINGUAS): Add es.
992 * configure: Regenerate.
994 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
996 * readelf.c (get_netbsd_elfcore_note_type): Use
997 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
999 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
1001 * readelf.c: Update copyright years.
1002 (get_note_type): Return a const char *.
1003 (get_netbsd_elfcore_note_type): New function.
1004 (process_note): Use get_netbsd_elfcore_note_type to get
1005 the note type string for NetBSD ELF core files.
1007 2002-01-06 Steve Ellcey <sje@cup.hp.com>
1009 * readelf.c (get_ia64_segment_type): Add support for macros.
1010 (get_segment_type): Add support for IA64 specific macros.
1012 2001-12-20 Julian v. Bock <julian@wongr.net>
1014 * readelf.c (print_symbol): New function: Print a formatted symbol
1015 name. If --wide is specified do not truncate it.
1016 (dump_relocations): Use print_symbol() to print symbol names.
1017 (process_symbol_table): Likewise.
1018 (process_syminfo): Likewise.
1019 (process_mips_specific): Likewise.
1020 (usage): Document new feature of --wide switch.
1021 * doc/binutils.texi (objdump): Document additional behaviour of
1024 2001-12-18 Michael Snyder <msnyder@redhat.com>
1026 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
1027 (copy_object): Don't set the start address or flags of a core file.
1028 (copy_section): Don't relocate a core file. Don't copy contents
1029 if the input section has the contents flag set, but the output
1030 section does not (which happens with the fake 'note' pseudo-
1031 sections that BFD creates for corefiles).
1033 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1035 * readelf.c (get_machine_flags): Recognize header flags for ABI and
1036 ASE extensions. More robust code for ISA checking. Ignore empty fields
1037 in header flags for GNU extensions.
1039 2001-12-18 Alan Modra <amodra@bigpond.net.au>
1041 * objcopy.c (copy_archive): Set output bfd format outside the loop.
1043 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
1045 * po/ja.po: Import from translation project.
1046 * configure.in (ALL_LINGUAS): Add ja.
1047 * configure: Regenerate.
1049 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1051 * addr2line.c (main): Protoype.
1052 * ar.c (main): Protoype.
1053 * nm.c (main): Protoype.
1054 * objcopy.c (main): Protoype.
1055 * objdump.c (main): Protoype.
1056 * size.c (main): Protoype.
1057 * strings.c (main): Protoype.
1059 2001-12-17 Alan Modra <amodra@bigpond.net.au>
1061 * readelf.c (symtab_shndx_hdr): New global.
1062 (SECTION_HEADER_INDEX): Define.
1063 (SECTION_HEADER_NUM): Define.
1064 (SECTION_HEADER): Define.
1065 (GET_ELF_SYMBOLS): Pass two params rather than three.
1066 (get_32bit_elf_symbols): Take file and section args. Read and
1067 use SHT_SYMTAB_SHNDX.
1068 (get_64bit_elf_symbols): Likewise.
1069 (dump_relocations): Use SECTION_HEADER to index "section_headers".
1070 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
1071 Remember symtab_shdx_hdr.
1072 (process_program_headers): Scan from index 1 for segment map.
1073 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
1075 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
1076 (process_unwind): Likewise.
1077 (process_version_sections): Likewise.
1078 (process_symbol_table): Likewise.
1079 (display_debug_info): Likewise.
1080 (process_dynamic_segment): Fake up a symtab section for changed
1082 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
1083 (process_program_headers): Kill signed/unsigned warning.
1084 (load_debug_str): Likewise.
1085 (display_debug_info): Likewise.
1087 2001-12-13 Jakub Jelinek <jakub@redhat.com>
1089 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
1091 2001-12-11 Alan Modra <amodra@bigpond.net.au>
1093 * readelf.c (process_file_header): Print extended e_shnum and
1094 e_shdtrndx values. Set elf_header values for same.
1095 (get_32bit_section_headers): Add "num" arg to read "num" headers.
1096 (get_64bit_section_headers): Likewise.
1097 (process_section_headers): Update calls.
1098 (get_file_header): Call get_32bit_section_headers or 64bit variant.
1100 2001-12-10 Jakub Jelinek <jakub@redhat.com>
1102 * objcopy.c (setup_section): Copy entsize.
1104 2001-12-07 Geoffrey Keating <geoffk@redhat.com>
1106 * readelf.c (guess_is_rela): Add support for stormy16.
1107 (dump_relocations): Likewise.
1108 (get_machine_name): Likewise.
1110 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
1112 * dllwrap.c (main) Replace multiple strings describing a
1113 single error with a single, newline escaped sentence to permit
1114 better translation into foreign languages.
1116 * readelf.c (get_elf_class): Remove internalionalisation of ELF
1119 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1121 * strings.c (get_char): Initialize value.
1123 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1125 * arlex.l: Silence compile warnings.
1126 * arsup.h: Likewise. Fix formatting.
1128 2001-12-04 Jakub Jelinek <jakub@redhat.com>
1130 * strings.c: Include config.h before bfd.h.
1131 (file_off): New type.
1132 (file_open): Define.
1133 (print_strings): Use file_off instead of file_ptr. Print addresses
1134 which don't fit into long correctly.
1135 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
1137 (strings_file): Use file_off instead of file_ptr. Use file_open.
1138 * configure.in: Check for getc_unlocked.
1139 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
1141 * configure: Rebuilt.
1142 * config.h.in: Rebuilt.
1144 2001-11-29 H.J. Lu <hjl@gnu.org>
1146 * bucomm.c (make_tempname): Revert the changes made on
1147 2001-11-14 and 2001-11-12. They won't work with directories.
1149 2001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
1151 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
1152 CFLAGS_FOR_TARGET to runtest in environment.
1153 * Makefile.in: Rebuild.
1154 * doc/Makefile.in: Rebuild.
1156 2001-11-28 Mike Stump <mrs@wrs.com>
1158 * objcopy.c (setup_section): Preserve SEC_RELOC when
1159 --set-section-flags is used.
1161 2001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
1163 * readelf.c (do_debug_str): New variable.
1164 (display_debug_str): New function: Display the contents of a
1166 (load_debug_str): New function: Load in the contents of a
1168 (free_debug_str): New function: Free the memory used by
1170 (fetch_indirect_string): Retrieve a string from the .debug_str
1173 (parse_args): Accept -ws.
1174 (process_section_headers): Allow the display of the .debug_str
1176 (read_and_display_attr_value): Use fetch_indirect_string. Show
1177 offset into .debug_str section.
1178 (display_debug_info): Use load_debug_str and free_debug_str.
1179 (debug_displays): Add .debug_str.
1180 * doc/binutils.texi: Document -ws.
1182 2001-11-19 Andreas Jaeger <aj@suse.de>
1184 * testsuite/binutils-all/objdump.exp: Add x86-64.
1186 2001-11-15 Andreas Schwab <schwab@suse.de>
1188 * readelf.c: Fix warnings without terminating newline.
1190 2001-11-15 Alan Modra <amodra@bigpond.net.au>
1192 * doc/binutils.texi (objdump): Document ppc -M options.
1194 2001-11-14 Andreas Jaeger <aj@suse.de>
1196 * doc/binutils.texi (objdump): Fix description to use x86-64.
1198 2001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
1200 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
1201 not all systems provide mkstemp.
1203 2001-11-14 Alan Modra <amodra@bigpond.net.au>
1205 * doc/binutils.texi (objdump): Document x86 -M options.
1207 2001-11-13 Keith Walker <keith.walker@arm.com>
1209 * readelf.c (read_and_display_attr_value): New function to
1210 handle DW_FORM_indirect.
1211 (read_and_display_attr): Use it.
1213 2001-11-13 Geoffrey Keating <geoffk@redhat.com>
1215 * readelf.c (display_debug_lines): Deal with unknown standard
1216 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
1219 2001-11-13 Timothy Wall <twall@alum.mit.edu>
1221 * MAINTAINERS: Add self as tic54x maintainer. This target
1222 includes the IBM C54XDSP clone.
1224 2001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
1226 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
1228 2001-11-09 Jeffrey A Law (law@cygnus.com)
1230 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
1231 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
1232 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
1233 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
1234 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
1235 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
1236 (unw_decode_b2, unw_decode_b3_b4): Likewise.
1238 * readelf.c (get_elf_class): Fix ISO portability glitch.
1239 (get_data_encoding, get_osabi_name, request_dump): Likewise.
1241 2001-11-07 Jakub Jelinek <jakub@redhat.com>
1243 * readelf.c (debug_str, debug_str_size): New.
1244 (display_debug_abbrev): If no abbrevs were read, skip the CU.
1246 (read_and_display_addr): Handle DW_FORM_strp.
1247 (display_debug_info): Read .debug_str section if present,
1248 so that DW_FORM_strp can be handled.
1249 Fix test for non-existant .debug_abbrev section.
1251 2001-11-05 Jakub Jelinek <jakub@redhat.com>
1253 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
1255 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
1257 2001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
1259 * MAINTAINERS: Add self as s390/s390x maintainer.
1261 2001-11-02 Tom Rix <trix@bluey.cygnus.com>
1263 * MAINTAINERS: Add self as PPC XCOFF maintainer.
1265 2001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
1267 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
1268 * configure: Regernate.
1269 * po/fr.po: New file.
1270 * po/tr.po: New file.
1272 2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
1274 * MAINTAINERS: Add self as MMIX port maintainer.
1275 * readelf.c: Include elf/mmix.h.
1276 (guess_is_rela): MMIX is RELA.
1277 (dump_relocations): Handle MMIX relocations.
1278 * Makefile.am: Regenerate dependencies.
1279 * Makefile.in: Regenerate.
1281 2001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
1283 * readelf.c (parse_args): Handle multiple options to the -w
1286 2001-10-12 Jakub Jelinek <jakub@redhat.com>
1288 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
1289 LOPROC, LOOS and LOUSER.
1291 2001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
1293 * MAINTAINERS: Update my email address.
1295 2001-10-03 Alan Modra <amodra@bigpond.net.au>
1297 * doc/Makefile.in: Regenerate.
1298 * configure: Regenerate.
1300 2001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
1302 * readelf.c (display_debug_line, display_debug_pubnames,
1303 display_debug_info, display_debug_frames): Detect and warn
1304 about 64-bit format entries.
1305 (display_debug_aranges): Reword 64-bit warning.
1306 (debug_displays): Add .debug_pubtypes as a known, but not yet
1307 supported, debug section.
1309 2001-10-02 Alan Modra <amodra@bigpond.net.au>
1311 * coffdump.c (PROGRAM_VERSION): Delete.
1312 (main <'V'>): Call print_version.
1313 * srconv.c: Likewise.
1314 * sysdump.c: Likewise.
1315 * version.c (program_version): Remove.
1316 (print_version): Use BFD_VERSION_STRING. Just print the current
1317 year in copyright message.
1318 * addr2line.c (program_version): Remove unused declaration.
1319 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
1320 place of BFD_VERSION.
1321 * Makefile.am (Makefile): Depend on bfd/configure.in.
1322 (cplus-dem.o): Depend on Makefile.
1324 * Makefile.in: Regenerate.
1326 2001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
1328 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
1329 format .debug_arange sections.
1330 (main): Add missing prototype.
1332 2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
1334 * Makefile.am: Update dependencies with "make dep-am".
1335 * Makefile.in: Regenerate.
1337 2001-09-28 Richard Henderson <rth@redhat.com>
1339 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
1341 2001-09-26 Alan Modra <amodra@bigpond.net.au>
1343 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
1345 (non_fatal): Likewise.
1346 * objdump.c (objdump_sprintf): Likewise.
1347 * readelf.c (error): Likewise.
1350 2001-09-25 Jakub Jelinek <jakub@redhat.com>
1352 * readelf.c (do_wide): New.
1353 (options): Add --wide.
1354 (usage, parse_args): Likewise.
1355 (process_program_headers): Put each segment on a single line if
1357 (process_section_headers): Put each section on a single line if
1359 * doc/binutils.texi: Document it.
1362 2001-09-25 Alan Modra <amodra@bigpond.net.au>
1364 * readelf.c (print_vma): Print 8 digits of low hex value.
1366 2001-09-24 Andreas Jaeger <aj@suse.de>
1368 * nlmconv.c: Fix warnings about unused attributes and function
1371 * strings.c: Add prototype for get_char.
1373 2000-09-19 H.J. Lu <hjl@gnu.org>
1375 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
1376 $(srcdir)/cxxfilt.man.
1377 * doc/Makefile.in: Rebuild.
1379 2001-09-19 Alan Modra <amodra@bigpond.net.au>
1381 * objcopy.c (copy_main): Correct rename-section string parsing.
1382 Consolidate new_name parsing, and error messages.
1384 2001-09-18 Bruno Haible <haible@clisp.cons.org>
1386 * addr2line.c: Don't include <ctype.h>.
1387 (main): For gettext, also set the LC_CTYPE locate facet.
1388 * ar.c (main): Likewise.
1389 * coffdump.c (main): Likewise.
1390 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
1391 (main): For gettext, also set the LC_CTYPE locate facet.
1392 Use ISALNUM instead of isalpha/isdigit.
1393 * dllwrap.c: Don't include <ctype.h>.
1394 (main): For gettext, also set the LC_CTYPE locate facet.
1395 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
1396 (main): For gettext, also set the LC_CTYPE locate facet.
1397 Use TOUPPER instead of islower/toupper.
1398 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
1399 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
1400 Use TOUPPER instead of islower/toupper.
1401 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
1402 * objcopy.c (main): Likewise.
1403 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
1404 (disassemble_bytes): Use ISPRINT instead of isprint.
1405 (dump_section_stabs): Use ISDIGIT instead of isdigit.
1406 (dump_data): Use ISPRINT instead of isprint.
1407 (main): For gettext, also set the LC_CTYPE locate facet.
1408 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
1409 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
1410 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
1411 Use TOUPPER instead of islower/toupper.
1412 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
1413 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
1414 (write_rc_accelerators): Use ISPRINT instead of isprint.
1415 (write_rc_rcdata): Likewise.
1416 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
1417 * srconv.c (main): Likewise.
1418 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
1419 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
1420 isdigit/isupper/islower.
1421 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
1422 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
1423 stab_demangle_prefix, stab_demangle_qualified,
1424 stab_demangle_template, stab_demangle_type,
1425 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
1426 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
1427 (isgraphic): Use ISPRINT instead of isascii/isprint.
1428 (main): Remove HAVE_LC_MESSAGES dependency.
1429 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
1430 (pbarray): Use ISPRINT instead of isprint.
1431 (main): For gettext, also set the LC_CTYPE locate facet.
1432 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
1433 (format_from_filename): Use ISPRINT instead of isprint.
1434 (main): For gettext, also set the LC_CTYPE locate facet.
1435 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
1436 (unicode_print): Use ISPRINT instead of isprint.
1437 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
1438 (stab_variable): Use ISDIGIT instead of isdigit.
1440 2001-09-18 Alan Modra <amodra@bigpond.net.au>
1442 * ar.c (print_contents): Cast args of bfd_seek to the right types.
1443 Replace bfd_read call with call to bfd_bread.
1444 (extract_file): Likewise.
1446 * objdump.c (dump_section_header): Cast section->filepos to
1447 unsigned long to suit printf format string.
1448 * readelf.c (process_section_headers): Similarly for sh_offset.
1449 (process_unwind): Likewise.
1451 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
1453 * strings.c (encoding, encoding_bytes): New variables.
1454 (long_options): Add --encoding.
1455 (main): Accept -e and --encoding.
1456 (get_char): New function. Read a, possibly wide, character from
1458 (print_strings): Use get_char().
1459 (usage): Document new command line option.
1460 * doc/binutils.texi: Document new command line option.
1461 * NEWS: Announce new command line option.
1463 2001-09-12 Alexandre Oliva <aoliva@redhat.com>
1465 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
1466 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
1467 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
1468 Removed EM_CYGNUS_ARC.
1470 2001-09-04 Jeffrey A Law (law@cygnus.com)
1472 * readelf.c: Include elf/h8 for H8 series definitions.
1473 (guess_is_rela): H8 series if RELA.
1474 (dump_relocations): Handle H8 series relocations.
1476 2001-08-31 Eric Christopher <echristo@redhat.com>
1478 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
1480 2001-08-29 Peter Targett <peter.targett@arccores.com>
1482 * MAINTAINERS: Include ARC Maintainer.
1484 2001-08-29 Ben Elliston <bje@redhat.com>
1486 * stabs.c (stab_demangle_template): Initialise s4.
1488 2001-08-27 Alan Modra <amodra@bigpond.net.au>
1490 * readelf.c (dump_relocations): Recognise EM_PPC64.
1492 2001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1494 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
1496 2001-08-25 H.J. Lu <hjl@gnu.org>
1498 * nm.c (print_width): New.
1499 (display_rel_file): Set `print_width' according to
1501 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
1503 2001-08-24 Alexandre Oliva <aoliva@redhat.com>
1505 * objcopy.c (use_alt_mach_code): New variable.
1506 (OPTION_ALT_MACH_CODE): Define.
1507 (copy_options): Added --alt-machine-code.
1508 (copy_main): Handle it.
1509 (copy_object): Switch to alternate machine code if requested.
1510 * doc/binutils.texi: Document new option.
1513 2001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1515 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
1517 2001-08-21 H.J. Lu <hjl@gnu.org>
1519 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
1520 (display_debug_info): Cast for 64bit hosts.
1521 (display_debug_frames): Likewise.
1522 (process_mips_specific): Likewise.
1524 2001-08-21 Andreas Jaeger <aj@suse.de>
1526 * coffgrok.h: Add missing parameter for prototype of coff_grok.
1528 * sysdump.c: Add missing prototypes.
1529 * srconv.c: Likewise.
1530 * unwind-ia64.c: Likewise.
1531 * coffdump.c: Likewise.
1533 * sysinfo.y: Print prototypes, include <ansidecl.h>.
1535 * coffgrok.c: Add missing prototypes, include libiberty.h instead
1536 of declaring xcalloc.
1538 2001-08-10 H.J. Lu <hjl@gnu.org>
1540 * nm.c (print_value): Add one arg, bfd *.
1541 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
1542 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
1543 (print_symbol_info_sysv): Likewise.
1544 (print_symbol_info_posix): Likewise.
1546 * objdump.c (dump_section_header): Replace printf_vma with
1548 (print_section_stabs): Likewise.
1549 (dump_bfd_header): Likewise.
1550 (objdump_print_value): Replace sprintf_vma with
1552 (disassemble_bytes): Likewise.
1553 (dump_reloc_set): Likewise.
1555 2001-08-10 Andreas Jaeger <aj@suse.de>
1557 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
1559 * configure: Regenerate.
1561 2001-08-09 Alan Modra <amodra@bigpond.net.au>
1563 * readelf.c: Add missing prototypes.
1564 * objdump.c: Likewise. Format existing prototypes.
1566 2001-08-08 Alexandre Oliva <aoliva@redhat.com>
1568 * readelf.c (display_debug_info): Add to abbrev_offset the addend
1569 of any RELA relocation for the abbrev_offset memory location that
1570 refers to the .debug_abbrev section symbol.
1572 2001-08-07 H.J. Lu <hjl@gnu.org>
1574 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
1575 (main): Return process_file ().
1577 2001-08-05 Philip Blundell <philb@gnu.org>
1579 * doc/binutils.texi: Use "Thumb" not "THUMB".
1581 2001-08-03 John Healy <jhealy@redhat.com>
1583 Patch suggested by Frank Eigler <fche@redhat.com>.
1584 * objdump.c (disassemble_data): Fill in section member of the
1585 disasm_info structure.
1587 2001-08-03 Tom Walsh <tom@cyberiansoftware.com>
1589 * configure.in: Added --with-windres option.
1590 * configure: Regenerated.
1592 2001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1594 * doc/binutils.texi: Use @command{name} for commands;
1595 use @option{-opt} for options; use @table @env for list of options;
1596 remove spaces arround [ | ] in synopsis.
1598 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
1601 2001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
1603 * objcopy.c: Fix formatting.
1604 (section_rename): New structure.
1605 (OPTION_RENAME_SECTION): New switch.
1606 (copy_usage): Document new switch.
1607 (add_section_rename): New function: Add a node to the section
1609 (find_section_rename): New function: Find the new name and
1610 flags for a section.
1611 (setup_section): Call find_section_name to determine the name
1612 of the output section.
1613 (copy_main): Handle OPTION_RENAME_SECTION.
1614 * binutils.texi: Document new switch.
1615 * NEWS: Mention new switch.
1617 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
1619 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
1620 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
1621 bug-binutils@gcc.org.
1623 2001-07-28 Matthias Kramm <kramm@quiss.org>
1625 * bucomm.c (list_supported_architectures): New function.
1626 * bucomm.h (list_supported_architectures): Declare.
1627 * objdump.c (usage): Call the above.
1629 2001-07-25 Dave Brolley <brolley@redhat.com>
1631 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
1632 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
1634 2001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
1636 * README: Update for 2.11. Change bug reporting email address.
1637 * MAINTAINERS: Tidy up. Change bug reporting email address.
1639 2001-07-16 DJ Delorie <dj@redhat.com>
1641 * resres.c (write_res_header): Align header size.
1642 (res_align_file): Calculate alignment correctly.
1644 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
1646 * resrc.c (write_rc_resource): Likewise.
1647 * windres.h (SUBLANG_SHIFT): Define - as 10.
1649 2001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
1651 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
1653 2001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
1655 * MAINTAINERS: Add notes about branch checkins.
1657 2001-07-05 Daniel Berlin <dan@cgsoftware.com>
1659 * readelf.c (display_debug_macinfo): New function, display
1660 .debug_macinfo section.
1661 (do_debug_macinfo): New variable.
1662 (parse_args): Handle "-w[mM]" to mean display macro info.
1663 (process_section_headers): Handle debug_macinfo.
1664 (debug_displays): Replace unsupported function with macinfo
1665 function for .debug_macinfo display.
1666 * doc/binutils.texi: Document new command line switch.
1667 * NEWS: Document new feature of readelf.
1669 2001-07-05 H.J. Lu <hjl@gnu.org>
1671 * objcopy.c (filter_symbols): Don't turn undefined symbols
1674 2001-07-03 H.J. Lu <hjl@gnu.org>
1676 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
1679 (dlltool.1): Likewise.
1680 (nlmconv.1): Likewise.
1682 (objcopy.1): Likewise.
1683 (objdump.1): Likewise.
1684 (ranlib.1): Likewise.
1685 (readelf.1): Likewise.
1687 (strings.1): Likewise.
1688 (strip.1): Likewise.
1689 (windres.1): Likewise.
1690 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
1691 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
1694 * doc/Makefile.in: Regenerated.
1696 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
1698 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
1700 2001-07-01 Daniel Berlin <dan@cgsoftware.com>
1702 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
1704 2001-06-29 James Cownie <jcownie@etnus.com>
1706 * readelf.c: Support DWARF 2.1 attributes.
1708 2001-06-28 Alan Modra <amodra@bigpond.net.au>
1710 * readelf.c (GET_DATA_ALLOC): Remove.
1712 (get_data): New function combining above macros, with an extra
1714 (slurp_rela_relocs): Use get_data, and catch error return.
1715 (slurp_rel_relocs): Likewise.
1716 (get_32bit_program_headers): Likewise.
1717 (get_64bit_program_headers): Likewise.
1718 (get_32bit_section_headers): Likewise.
1719 (get_64bit_section_headers): Likewise.
1720 (get_32bit_elf_symbols): Likewise.
1721 (get_64bit_elf_symbols): Likewise.
1722 (process_section_headers): Likewise.
1723 (process_relocs): Likewise.
1724 (slurp_ia64_unwind_table): Likewise.
1725 (process_unwind): Likewise.
1726 (get_32bit_dynamic_segment): Likewise.
1727 (get_64bit_dynamic_segment): Likewise.
1728 (process_dynamic_segment): Likewise.
1729 (process_version_sections): Likewise.
1730 (process_symbol_table): Likewise.
1731 (dump_section): Likewise.
1732 (display_debug_info): Likewise.
1733 (display_debug_section): Likewise.
1734 (process_section_contents): Likewise.
1735 (process_corefile_note_segment): Likewise.
1736 (process_mips_specific): Likewise. Also free econf32, econf64.
1738 2001-06-25 Alan Modra <amodra@bigpond.net.au>
1740 * readelf.c (dump_relocations): Print "bad symbol index" if
1741 symtab == NULL with non-zero symtab_index.
1742 (process_relocs): Don't bomb if reloc section has no symsec.
1744 2001-06-24 H.J. Lu <hjl@gnu.org>
1746 * objcopy.c (strip_main): Revert the change made on 2001-05-30
1748 (copy_main): Apply the the change made to strip_main on
1749 2001-05-30 by accident.
1751 2001-06-23 Andreas Jaeger <aj@suse.de>
1753 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
1755 (unw_decode_x2): Likewise.
1756 (unw_decode_x3): Likewise.
1757 (unw_decode_x4): Likewise.
1759 2001-06-23 Ben Elliston <bje@redhat.com>
1761 * MAINTAINERS: Add myself as M88k maintainer.
1763 2001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
1765 * objcopy.c (strip_main): Support -o or --output-file command lien
1768 2001-06-19 H.J. Lu <hjl@gnu.org>
1770 * doc/Makefile.in: Regenerated.
1772 2001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
1774 * readelf.c: Restore formatting.
1776 2001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
1778 * Makefile.am: Move documentation into doc subdirectory.
1779 * Makefile.in: Regenerated.
1780 * binutils.texi: Move into doc subdirectory.
1781 * addr2line.1: Removed.
1783 * dlltool.1: Likewise.
1784 * nlmconv.1: Likewise.
1786 * objcopy.1: Likewise.
1787 * objdump.1: Likewise.
1788 * ranlib.1: Likewise.
1789 * readelf.1: Likewise.
1791 * strings.1: Likewise.
1792 * strip.1: Likewise.
1793 * windres.1: Likewise.
1794 * cxxfilt.man: Likewise.
1795 * doc: New Directory.
1796 * doc/Makefile.am: New file.
1797 * doc/Makefile.in: Generate.
1799 2001-06-09 Alan Modra <amodra@bigpond.net.au>
1801 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
1803 2001-06-01 Alan Modra <amodra@bigpond.net.au>
1805 * MAINTAINERS: Update my email address.
1807 2001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
1809 * objcopy.c: Add new switches: --keep-global-symbol,
1810 --keep-symbols, --localize-symbols, --keep-global-symbols and
1812 * binutils.texi: Document new switches.
1813 * objcopy.1: Regenerate.
1814 * NEWS: Announce new feature.
1816 2001-05-28 Andreas Jaeger <aj@suse.de>
1818 * readelf.c (display_debug_frames): Fix warnings: Remove unused
1819 variables, fix format strings.
1821 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
1823 * objdump.c (disassemble_bytes): Remove section VMA adjustment
1824 when computing the address of the line to show.
1826 2001-05-16 Richard Henderson <rth@redhat.com>
1828 * readelf.c (do_debug_frames_interp): New.
1829 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
1830 (byte_get_big_endian): Likewise.
1831 (parse_args) ['F']: Set do_debug_frames_interp.
1832 (Frame_Chunk): Make data_factor signed, add fde_encoding.
1833 (frame_display_row): Don't trunc pc_begin to int.
1834 (size_of_encoded_value): New.
1835 (display_debug_frames): Handle 64-bit targets. Print raw data
1836 unless do_debug_frames_interp.
1837 (debug_displays): Remove duplicate .debug_frame.
1839 2001-05-15 Ralf Baechle <ralf@gnu.org>
1841 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
1842 The former constant was never in active use and is used otherwise
1845 2001-05-11 Jakub Jelinek <jakub@redhat.com>
1847 * readelf.c (process_unwind): Print all unwind sections, not just
1850 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1852 * readelf.c (process_unwind): Remove const specifier.
1854 2001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
1856 * strings.c (isgraphic): Do not use isascii() unless it is needed
1857 for isprint() to work.
1858 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
1860 2001-04-27 Johan Rydberg <jrydberg@opencores.org>
1862 * NEWS: Announce support for OpenRISC.
1864 2001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
1866 * dlltool.c (do_default_excludes): Initialise to true.
1868 2001-04-10 Alan Modra <amodra@one.net.au>
1870 * MAINTAINERS: Update my email address
1871 * nm.c (print_symbol_info_bsd): Use a simple printf string.
1873 2001-04-05 Hans-Peter Nilsson <hp@axis.com>
1875 * readelf.c (display_debug_lines): Fix typo for "Prologue".
1877 2001-03-30 H.J. Lu <hjl@gnu.org>
1879 * readelf.c (process_unwind): Just return if do_unwind is 0.
1881 2001-03-28 Roger Sayle <roger@metaphorics.com>
1883 * dlltool.c (make_one_lib_file): Fix section flags for
1884 .text, .data and .bss in stub ds*.o files to match those
1887 2001-03-29 H.J. Lu <hjl@gnu.org>
1889 * readelf.c (process_unwind): Only do unwind sections for
1892 2001-03-28 H.J. Lu <hjl@gnu.org>
1894 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
1895 * Makefile.in: Regenerate.
1897 2001-03-26 Andreas Jaeger <aj@suse.de>
1899 * binutils.texi (nm): Fix texi syntax.
1901 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1903 * binutils.texi: Put @c man begin and @c man end indications
1904 to generate man pages using texi2pod and pod2man. Put @c man title
1905 to identify each man. Add SEEALSO entries.
1906 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
1907 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
1909 (*.1): Build the man pages from binutils.texi.
1910 * Makefile.in: Regenerate.
1912 2001-03-13 Eric Kohl <ekohl@rz-online.de>
1914 * defparse.y (opt_equal_name): allow "." in name.
1915 * dlltool.c (def_exports): Added ability to generate forwarded exports.
1916 (gen_exp_file): Likewise.
1918 2001-03-12 Stefan Geuken <mail@stefan-geuken.de>
1920 * NEWS: Document addition of -B switch to objcopy.
1921 * binutils.texi: Document addition of -B switch to objcopy.
1922 * objcopy.c: (copy_options): Add --binary-architecture.
1923 (copy_usage): Document -B/--binary-architecture.
1924 (copy_main): Support -B/--binary-architecture. Set
1925 bfd_external_binary_architecture.
1927 2001-03-11 Andreas Jaeger <aj@suse.de>
1929 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
1930 (dump_relocations): Likewise.
1931 (get_machine_name): Likewise.
1933 2001-02-28 Nick Clifton <nickc@redhat.com>
1935 * readelf.c: (struct unw_aux_info): Remove const modifier for
1937 (process_unwind): Remove non-K&R compliant LHS type cast in call
1938 to GET_DATA_ALLOC macro.
1940 2001-02-28 Philip Blundell <pb@futuretv.com>
1942 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
1943 ABI is in use; remove ambiguity between the "unknown" EABI and
1944 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
1945 renamed EF_xx constants.
1947 2001-02-27 Alan Modra <alan@linuxcare.com.au>
1949 * configure.in (BFD_VERSION): New.
1950 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
1951 * configure: Regenerate.
1952 * Makefile.am: Run "make dep-am"
1953 * Makefile.in: Regenerate.
1955 2001-02-14 Nick Clifton <nickc@redhat.com>
1957 * MAINTAINERS: Add "Obvious Fix" rule.
1959 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1961 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
1962 literal concatenation.
1964 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1966 * readelf.c (struct unw_aux_info): Remove const from the info member.
1967 (process_unwind): Don't type-cast the third argument to the
1968 GET_DATA_ALLOC macro.
1970 2001-02-11 Nick Clifton <nickc@redhat.com>
1972 * readelf.c (dump_relocations): Free corrected allocated
1974 (process_unwind): Fix compile time warning.
1976 2001-02-10 Nick Clifton <nickc@redhat.com>
1978 * binutils.texi: Document new --unwind option to readelf.
1980 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
1982 * readelf.c: Add linux target for S/390.
1984 2001-02-10 Alan Modra <alan@linuxcare.com.au>
1986 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
1989 2001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
1991 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
1992 * aclocal.m4: Regenerate.
1993 * configure: Regenerate.
1995 2001-02-07 Todd Vierling <tv@wasabisystems.com>
1997 * bucomm.c (bfd_target_vector): Change extern array to pointer.
1998 * objdump.c (bfd_target_vector): Likewise.
2000 2001-02-07 David Mosberger <davidm@hpl.hp.com>
2002 * readelf.c (process_unwind): New function.
2003 (slurp_ia64_unwind_table): Ditto.
2004 (dump_ia64_unwind): Ditto.
2005 (find_symbol_for_address): Ditto.
2006 (slurp_rela_relocs): New function (split off from dump_relocations()).
2007 (slurp_rel_relocs): Ditto.
2008 (parse_args): Handle '-u' option.
2010 * unwind-ia64.c: New file.
2011 * unwind-ia64.h: New file.
2012 * Makefile.am: Include unwind-ia64.c in readelf build.
2013 * Makefile.in: Regenerate.
2014 * po/binutils.pot: Regenerate.
2016 2001-02-04 Philip Blundell <philb@gnu.org>
2018 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
2019 * configure: Regenerate.
2021 2001-01-31 Steve deRosier <sderosier@vari-lite.com>
2023 * ieee.c (ieee_add_bb11): Don't check for backslashes
2024 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
2026 2001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
2028 * ieee.c: Update copyright.
2029 (ieee_start_compilation_unit): Don't check for backslashes
2030 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
2032 * stabs.c: Update copyright. Include "filenames.h".
2033 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
2035 2001-01-23 Jakub Jelinek <jakub@redhat.com>
2037 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
2038 sections are present before using them. Remove code duplication.
2039 (process_symbol_table): Check if VERDEF or VERNEED sections are
2040 present before using them.
2042 2001-01-17 Nick Clifton <nickc@redhat.com>
2044 * objcopy.c (copy_object): Fail if attempting to convert the
2045 endianness of the input object file.
2047 * binutils.texi: Explain that objcopy cannot convert endianness.
2049 2001-01-16 Nick Clifton <nickc@redhat.com>
2051 * readelf.c (string_table_length): New variable.
2052 (SECTION_NAME): Catch out of range indices and missing section
2054 (process_section_headers): Delete useless local variable
2055 string_table_offset. Set the value of string_table_length
2056 after loading the string table.
2057 (process_mips_specific): Use SECTION_NAME macro.
2058 (process_file): Set string_table_length to 0 when it is freed.
2060 2001-01-12 Nick Clifton <nickc@redhat.com>
2062 * version.c (print_version): Update copyright date.
2064 2001-01-11 Peter Targett <peter.targett@arccores.com>
2066 * readelf.c (dump_relocations): Include selection with EM_ARC.
2067 (get_machine_name) Update name to "ARC".
2069 2001-01-09 Nick Clifton <nickc@redhat.com>
2071 * Makefile.am: Add rule to build objdump.o from objdump.c and
2073 * Makefile.in: Regenerate.
2075 * configure.in: Define OBJDUMP_DEFS. Default to empty.
2076 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
2077 -DDISASSEMBLER_NEEDS_RELOCS.
2078 * configure: Regenerate.
2080 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
2081 is defined read in the relocs even if dump_reloc_info is
2084 2001-01-07 Philip Blundell <philb@gnu.org>
2086 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
2090 2000-12-19 Nick Clifton <nickc@redhat.com>
2092 * dlltool.c: Add missing support for arm-epoc-pe.
2093 * configure.in: Add missing support for arm-epoc-pe.
2094 * configure: Regenerate.
2096 2000-12-15 Nick Clifton <nickc@redhat.com>
2098 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
2099 Mode parts of the x86 port.
2101 2000-12-04 Andreas Jaeger <aj@suse.de>
2103 * readelf.c (guess_is_rela): Add EM_X86_64.
2104 (dump_relocations): Add EM_X86_64.
2105 (get_machine_name): Add EM_X86_64.
2106 Include "elf/x86-64.h".
2108 2000-12-12 Nick Clifton <nickc@redhat.com>
2110 * readelf.c: Fix formatting.
2112 2000-12-11 Jan Hubicka <jh@suse.cz>
2114 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
2116 2000-12-07 Andrew Haley <aph@redhat.com>
2118 * readelf.c (display_debug_frames): Only display columns that are
2119 referenced by the frame debug info.
2121 2000-12-05 Nick Clifton <nickc@redhat.com>
2123 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
2125 2000-12-04 Jason Merrill <jason@redhat.com>
2127 * readelf.c (process_section_headers): Handle linkonce.wi sections.
2128 (display_debug_section): Likewise.
2129 (display_debug_info): Display CU header before bailing.
2131 2000-12-01 Chris Demetriou <cgd@sibyte.com>
2133 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
2134 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
2135 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
2137 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
2140 * readelf.c (get_machine_flags): Add case for
2143 2000-11-30 Richard Earnshaw <rearnsha@arm.com>
2145 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
2147 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
2149 * MAINTAINERS: Add J
\81örn Rennecke and self as SH maintainers.
2150 Change sourceware.cygnus.com to sources.redhat.com.
2151 Fix typo for "amongst".
2153 2000-11-28 Nick Clifton <nickc@redhat.com>
2155 * strip.1 (COPYING): Mention that the GNU Free Documentation
2156 License is present in the sources, but not the output, and
2157 also available from the GNU website.
2158 (GNU Free Documentation License): Comment out this section.
2167 * addr2line.1: Ditto.
2169 2000-11-27 DJ Delorie <dj@redhat.com>
2171 * readelf.c (usage): Add -wf (--debug-dump=frames) option.
2172 (parse_args): Support -wf option.
2173 (process_section_headers): Ditto.
2174 (debug_displays): Ditto.
2175 (display_debug_frames): New, dump *_frame sections.
2176 (frame_need_space): Support for above.
2177 (frame_display_row): Ditto.
2178 * binutils.texi: Document it.
2180 2000-11-24 Nick Clifton <nickc@redhat.com>
2182 * NEWS: Announce support for v5t, v5te and XScale.
2184 2000-11-22 Nick Clifton <nickc@redhat.com>
2186 * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
2187 EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
2188 (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
2189 (get_elf_section_flags: Add SHF_GROUP.
2190 (process_section_headers): Adjust output for 32-bit binaries
2191 to look nice on an 80 column terminal.
2193 2000-11-20 H.J. Lu <hjl@gnu.org>
2195 * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
2198 2000-11-17 Richard Henderson <rth@redhat.com>
2200 * readelf.c (display_debug_lines): Adjust last change to
2201 use sizeof (external->li_length).
2203 2000-11-17 Richard Henderson <rth@redhat.com>
2205 * readelf.c (display_debug_lines): Fix section length check
2206 and end_of_sequence computation.
2208 2000-11-06 Nick Clifton <nickc@redhat.com>
2210 * binutils.texi: Add GNU Free Documentation License.
2211 * objcopy.1: Add GNU Free Documentation License.
2212 * objdump.1: Add GNU Free Documentation License.
2213 * addr2line.1: Add GNU Free Documentation License.
2214 * ar.1: Add GNU Free Documentation License.
2215 * nlmconv.1: Add GNU Free Documentation License.
2216 * nm.1: Add GNU Free Documentation License.
2217 * ranlib.1: Add GNU Free Documentation License.
2218 * size.1: Add GNU Free Documentation License.
2219 * strings.1: Add GNU Free Documentation License.
2220 * strip.1: Add GNU Free Documentation License.
2222 2000-10-06 Luciano Gemme <ishitawa@yahoo.com>
2224 * objcopy.c (--srec-len=nn): New parameter to set the
2225 maximum length of generated Srecords.
2226 (--srec-forceS3): New parameter that restricts the generation of
2227 Srecords to type S3 only.
2228 * binutils.texi: Document new command line switches.
2229 * objcopy.1: Docuemnt the new command line switches.
2230 * NEWS: Announce the existence of the new command line switches.
2232 2000-10-31 Nick Clifton <nickc@redhat.com>
2234 * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
2235 code. Add Eric Chrisopher as maintainer of MN10300 port.
2237 2000-10-12 Roger Sayle <roger@metaphorics.com>
2239 * Make comma after string after icon/control optional.
2241 2000-09-13 Anders Norlander <anorland@acc.umu.se>
2243 * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
2245 * NEWS: Mention support for MIPS32.
2247 2000-09-08 Nick Clifton <nickc@redhat.com>
2249 * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
2251 2000-09-07 H.J. Lu <hjl@gnu.org>
2253 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
2254 * configure: Rebuild.
2256 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
2258 * configure: Rebuilt with new libtool.m4.
2260 2000-09-05 Nick Clifton <nickc@redhat.com>
2262 * aclocal.m4: Regenerate.
2263 * config.in: Regenerate.
2264 * configure: Regenerate.
2266 2000-09-04 Todd Vierling <tv@wasabisystems.com>
2268 * strip.1: Fix stray '\' in -o formatting.
2270 2000-09-02 Nick Clifton <nickc@redhat.com>
2272 * configure.in: Increase version number to 2.10.91.
2273 * configure: Regenerate.
2274 * aclocal.m4: Regenerate.
2275 * config.in: Regenerate.
2276 * po/binutils.pot: Regenerate.
2278 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
2280 * acinclude.m4: Include libtool and gettext macros from the
2282 * aclocal.m4, configure: Rebuilt.
2284 2000-08-30 Jamie Guinan <guinan@bluebutton.com>
2286 * resrc.c (close_input_stream): Delete extraneous logic
2288 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
2290 * NEWS: Mention support for CRIS.
2292 2000-08-21 Nick Clifton <nickc@redhat.com>
2294 * addr2line.c: Changed email address for Ulrich Lauther.
2296 2000-08-17 Christopher C. Chimelis <chris@debian.org>
2298 * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
2300 2000-08-17 Nick Clifton <nickc@redhat.com>
2302 * readelf.c (display_debug_pubnames): Only issue warning
2303 message once. Terminate message with a new line.
2304 (display_debug_aranges): Only display version 2 debug info.
2306 2000-08-14 Todd Vierling <tv@wasabisystems.com>
2308 * objcopy.c (strip_main): Silently accept -d as an alias for -g
2309 for compatability with old BSD systems.
2311 2000-08-14 Jason Eckhardt <jle@cygnus.com>
2313 * NEWS: Mention i860 support.
2315 2000-08-11 Carlo Wood <carlo@alinoe.com>
2317 * addr2line.c (main): Add const to char *.
2319 2000-08-11 Geoff Keating <geoffk@cygnus.com>
2321 * ar.c (main): Don't crash if called with no arguments
2322 or only '-X32_64' as an argument.
2324 2000-08-08 DJ Delorie <dj@redhat.com>
2326 * resrc.c: use "gcc -xc" instead of -xc-header
2328 2000-08-05 Jason Eckhardt <jle@cygnus.com>
2330 * readelf.c (elf/i860.h): Include.
2331 (dump_relocations): Add recognition of i860 architecture.
2332 (guess_is_rela): Add recognition of i860 architecture.
2334 2000-08-03 Nick Clifton <nickc@cygnus.com>
2336 * MAINTAINERS: Add information about CGEN maintainers.
2338 2000-07-26 Geoff Keating <geoffk@cygnus.com>
2340 * nm.c (main): Ignore '-X32_64' as an option.
2341 * ar.c (main): Likewise.
2342 * binutils.texi (nm): Document new option.
2345 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2347 * rdcoff.c (external_coff_symbol_p): K&R-ise.
2349 2000-07-20 H.J. Lu <hjl@gnu.org>
2351 * binutils.texi: Put back "@end table" deleted by
2354 2000-07-05 Kenneth Block <krblock@computer.org>
2356 * nm.c: Add optional style to demangle switch.
2357 * objdump.c: Add optional style to demangle switch.
2358 * addr2line.c: Add optional style to demangle switch.
2359 * binutils.texi: Document optional style to demangle
2362 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
2364 * MAINTAINERS: Add self as CRIS port maintainer.
2365 * readelf.c: Include elf/cris.h.
2366 (guess_is_rela): Handle EM_CRIS.
2367 (dump_relocations): Ditto.
2368 (get_machine_name): Ditto.
2369 * Makefile.am: Rebuild dependencies.
2370 * Makefile.in: Regenerate.
2371 * po/binutils.pot: Regenerate.
2373 2000-07-19 H.J. Lu <hjl@gnu.org>
2375 * readelf.c (get_dynamic_type): Change "AUXILARY" to
2377 (process_dynamic_segment): Print out strings for DT_CONFIG,
2378 DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
2380 2000-07-19 Mark Kettenis <kettenis@gnu.org>
2382 * nm.c (usage): Change output of `nm --help' to include a
2383 description of the purpose of the program and a detailed
2384 description of the accepted options.
2386 2000-07-19 H.J. Lu <hjl@gnu.org>
2388 * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
2391 2000-07-19 H.J. Lu <hjl@gnu.org>
2393 * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
2395 2000-07-19 H.J. Lu <hjl@gnu.org>
2397 * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
2399 (process_dynamic_segment): Likewise.
2401 * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
2402 DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
2403 (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
2404 DF_1_NODUMP and DF_1_CONLFAT.
2406 2000-07-18 Nick Clifton <nickc@cygnus.com>
2408 * binutils.texi (readelf): Fix spelling typo.
2410 2000-07-11 Mark Kettenis <kettenis@gnu.org>
2412 * objdump.c (usage): Make output of `objdump --help' more
2413 consistent with the rest of the GNU world. Add a line describing
2414 the purpose of the program.
2416 2000-07-10 David Huggins-Daines <dhd@linuxcare.com>
2418 * stabs.c (parse_stab_range_type): Cast to proper type to fix
2421 2000-07-10 Ryan Bradetich <rbradetich@uswest.net>
2423 * readelf.c (get_dynamic_data): Add casts and use unsigned chars
2425 (process_symbol_table): Ditto.
2426 (procesS_extended_line_op): Ditto.
2427 (display_debug_lines): Ditto.
2428 (display_debug_pubnames): Ditto.
2429 (read_and_display_attr): Ditto.
2431 2000-07-09 Nick Clifton <nickc@cygnus.com>
2433 * MAINTAINERS: Add several more port specific maintainers.
2435 2000-07-05 Nick Clifton <nickc@cygnus.com>
2437 * MAINTAINERS: Add blanket write privs for Michael Meissner.
2439 2000-06-05 DJ Delorie <dj@redhat.com>
2443 2000-07-01 Eric Fifer <EFifer@sanwaint.com>
2445 * dllwrap.c: Changed mistaken dyn_string_append() calls
2446 to dyn_string_append_cstr().
2448 2000-07-01 Alexander Aganichev <AAganichev@hypercom.com>
2450 * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
2451 struct debug_type stores size in bytes.
2453 2000-07-01 Alan Modra <alan@linuxcare.com.au>
2455 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
2456 (CLEANFILES): Add DEPA.
2457 * Makefile.in: Regenerate.
2459 2000-06-27 Alan Modra <alan@linuxcare.com.au>
2461 * ar.c: Revert incorrect 2000-06-25 patch.
2462 * bucomm.c: Likewise.
2464 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
2466 * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
2467 (external_coff_symbol_p): New function.
2468 (parse_coff): Use it.
2470 2000-06-25 Alexander Aganichev <AAganichev@hypercom.com>
2472 * ar.c (normalize): Advance past both characters in a DOS based
2473 <letter>: filepath prefix.
2475 * bucomm.c (make_tempname): Likewise.
2477 2000-06-24 Nick Clifton <nickc@cygnus.com>
2479 * objdump.c (usage): Fix description of --stabs switch.
2481 2000-06-22 Alan Modra <alan@linuxcare.com.au>
2483 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
2485 * Makefile.in: Regenerate.
2487 2000-06-20 Alexander Aganichev <AAganichev@hypercom.com>
2489 * ar.c (normalize): Correct pointer comparison when checking for
2492 * bucomm.c (make_tempname): Likewise.
2494 * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
2495 and search for backslashes in the original pathname.
2496 (ieee_add_bb11): Likewise.
2498 2000-06-18 Nick Clifton <nickc@redhat.com>
2500 * ar.c (print_contents): Improve verbose message.
2502 2000-06-15 H.J. Lu <hjl@gnu.org>
2504 * dyn-string.c: Removed. Not needed with dyn-string.c in
2506 * dyn-string.h: Likewise.
2508 * Makefile.am: Remove references to dyn-string.c and
2509 dyn-string.h. Rebuild dependency.
2510 * Makefile.in: Rebuild.
2512 2000-06-15 H.J. Lu <hjl@gnu.org>
2514 * binutils.texi: Put a warning on copying relocatable object
2515 files between two different formats.
2517 2000-06-13 DJ Delorie <dj@cygnus.com>
2519 * rcparse.y (control): ICON controls take an id as the first
2520 parameter, not an optional string. Also, call new convenience
2521 function that takes res_id's.
2522 * resrc.c (define_control): missing text means zero-length string,
2524 (define_icon_control): New.
2525 * windres.h: declare define_icon_control.
2527 2000-06-13 H.J. Lu <hjl@gnu.org>
2529 * configure: Regenerate.
2531 2000-06-08 David O'Brien <obrien@FreeBSD.org>
2533 * configure.in (VERSION): Update to show this is the CVS mainline.
2535 2000-06-02 David O'Brien <obrien@FreeBSD.org>
2537 * strings.c (isgraphic): Interpret <TAB> as a printable character,
2538 analogous to <SPACE>.
2540 2000-05-30 Alan Modra <alan@linuxcare.com.au>
2542 * objdump.c (display_target_list): Use bfd_close_all_done, not
2543 bfd_close to fix crash caused by 2000-05-24 change.
2545 2000-05-25 DJ Delorie <dj@cygnus.com>
2547 * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
2549 2000-05-26 Alan Modra <alan@linuxcare.com.au>
2551 * Makefile.am: Update dependencies with "make dep-am"
2552 * Makefile.in: Regenerate.
2554 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
2556 * ar.c: Include filenames.h.
2557 (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
2558 and drive letters in file names.
2559 (main): Support backslashes and drive letters in argv[0]. Drop
2560 the .exe suffix, if any, in argv[0] if is_ranlib is negative. Use
2561 FILENAME_CMP instead of strcmp to compare file names.
2562 (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
2564 (do_quick_append) [__GO32__]: Ditto.
2565 (get_pos_bfd, delete_members, move_members, replace_members):
2566 Compare file names with FILENAME_CMP.
2568 * bucomm.c: Include filenames.h.
2569 (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
2570 forward/backward slashes and drive letters in file names.
2572 * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
2573 mixed forward/backward slashes and drive letters in file names.
2575 * strings.c (O_BINARY, setmode, SET_BINARY): Define.
2576 (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
2579 * objcopy.c: Include filenames.h.
2580 (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
2581 before comparing to "strip".
2582 Use FILENAME_CMP to compare file names.
2584 * arsup.c: Include filenames.h.
2585 (map_over_list, ar_delete, ar_replace, ar_extract): Use
2586 FILENAME_CMP to compare file names.
2587 (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
2588 the temporary file name.
2590 * configure.in: Check for setmode.
2591 * configure: Regenerate.
2593 2000-05-24 Alan Modra <alan@linuxcare.com.au>
2595 * objdump.c (display_target_list): Close the bfd.
2596 (display_info_table): Likewise.
2598 2000-05-14 H.J. Lu (hjl@gnu.org)
2600 * objcopy.c (filter_symbols): Don't strip global symbols in
2601 relocatable object files.
2603 2000-05-14 Alan Modra <alan@linuxcare.com.au>
2605 * size.c (usage): Associate short options with corresponding long
2606 option to give a clue as to their function.
2608 2000-05-14 Philippe De Muyter <phdm@macqel.be>
2610 * size.c (main): Accept and ignore `-f' option.
2612 2000-05-13 Alan Modra <alan@linuxcare.com.au>
2614 * bucomm.h (gettext, dgettext, dcgettext, textdomain,
2615 bindtextdomain): Replace defines with those from intl/libgettext.h
2616 to quieten gcc warnings.
2618 2000-05-12 H.J. Lu <hjl@gnu.org>
2620 * nlmconv.c (temp_filename): Removed.
2622 * nlmconv.c (link_inputs): Use make_temp_file () instead of
2623 choose_temp_base ().
2624 * objdump.c (display_target_list): Likewise.
2625 (display_info_table): Likewise.
2627 2000-05-08 Alan Modra <alan@linuxcare.com.au>
2629 * objcopy.c (setup_section): Add const and gettext calls for err.
2631 2000-05-02 H.J. Lu <hjl@gnu.org>
2633 * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
2634 ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
2635 ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
2636 ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
2637 and ELFOSABI_OPENBSD.
2639 2000-05-02 Kazu Hirata <kazu@hxi.com>
2641 * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
2642 * srconv.c: Likewise.
2643 * sysdump.c: Likewise.
2645 2000-04-23 Denis Chertykov <denisc@overta.ru>
2647 * readelf.c (guess_is_rela): AVR uses RELA relocations.
2648 (get_machine_name): machine name for EM_AVR added.
2650 2000-04-21 Richard Henderson <rth@cygnus.com>
2651 David Mosberger <davidm@hpl.hp.com>
2653 * Makefile.am (readelf.o): Add elf/ia64.h.
2654 * Makefile.in: Rebuild.
2655 * readelf.c: Include elf/ia64.h.
2656 (guess_is_rela, dump_relocations): Handle EM_IA_64.
2658 2000-04-17 Timothy Wall <twall@cygnus.com>
2660 * objdump.c (disassemble_data): Set octets per byte *after*
2661 resolving arch/mach for binary files.
2663 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2665 * arlex.l: Add directives to increase lex buffer size.
2667 * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
2668 already included by bucomm.h.
2670 2000-04-10 Philippe De Muyter <phdm@macqel.be>
2672 * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
2673 `strftime' since strftime is not available on all systems.
2674 (process_mips_specific): Ditto.
2676 2000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
2678 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
2679 --enable-build-warnings option.
2680 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
2681 * Makefile.in, configure: Re-generate.
2683 2000-04-06 Alan Modra <alan@linuxcare.com.au>
2685 * addr2line.c: Update copyright.
2686 * objcopy.1: Likewise, and title.
2687 * strings.1: Likewise.
2689 * version.c (print_version): Add 2000.
2691 * rddbg.c (read_section_stabs_debugging_info): Don't use
2692 bfd_size_type for strx to avoid printf problems if BFD64.
2694 * bucomm.c: (report): Remove `static'.
2695 Move inclusion of stdarg.h/vararg.h from here.
2696 * bucomm.h: To here.
2697 (CONST): Change all occurences to const.
2698 (report): Declare it.
2699 (bfd_fatal): Add ATTRIBUTE_NORETURN.
2700 (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
2701 (non_fatal): Add ATTRIBUTE_PRINTF_1.
2703 * ar.c (main): Use fatal or non_fatal instead of fprintf.
2704 Correct a typo in an error message.
2705 (do_quick_append): Use non_fatal instead of fprintf.
2706 (move_members): Use fatal instead of fprintf, exit.
2707 * coffdump.c (main): Same here.
2709 * dlltool.c (display): Delete.
2711 (inform): Use `report' instead of `display'.
2712 (rvaafter): Remove trailing \n from fatal error msg.
2714 (asm_prefix): Ditto.
2715 (yyerror): Replace `warn' with `non_fatal', and remove \n.
2716 (def_name): Likewise.
2718 (scan_all_symbols): Likewise.
2719 (gen_lib_file): Likewise.
2720 (def_library): Likewise. Remove extra program_name too.
2721 (run): Remove \n from inform strings.
2722 (scan_drectve_symbols): Likewise.
2723 (add_excludes): Likewise.
2724 (scan_open_obj_file): Likewise.
2725 (gen_exp_file): Likewise.
2726 (gen_lib_file): Likewise.
2727 (process_duplicates): Likewise.
2729 * Makefile.am (dllwrap_SOURCES): Add version.c.
2730 * dllwrap.c (program_version): Delete.
2731 (print_version): Delete.
2732 (display): Always print trailing \n.
2734 (delete_temp_files): Use warn instead of fprintf. Use gettext.
2737 (usage): gettext'ify.
2738 (long_options): Add missing initialisers.
2740 * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
2741 (select_output_format): Likewise.
2742 (powerpc_mangle_relocs): Likewise.
2743 (link_inputs): Likewise.
2745 * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
2746 (set_output_format): Likewise.
2747 (main): Use non_fatal instead of fprintf.
2748 (display_rel_file): Likewise.
2750 * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
2751 (slurp_dynamic_symtab): Same here.
2752 (disassemble_data): And here.
2753 (read_section_stabs): And here.
2754 (read_section_stabs): And here.
2755 (dump_bfd): And here.
2757 (objdump_sprintf): Use fatal instead of fprintf, exit.
2758 (disassemble_data): Same here.
2760 * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
2761 (parse_coff_struct_type): Same here.
2762 (parse_coff_enum_type): And here.
2763 (parse_coff): And here.
2764 * rddbg.c (read_debugging_info): And here.
2765 * size.c (main): And here.
2766 * windres.c (format_from_name): And here.
2767 * wrstabs.c (stab_write_symbol): Here too.
2768 (write_stabs_in_sections_debugging_info): And here.
2769 (stab_int_type): And here.
2770 (stab_struct_field): And here.
2771 (stab_typdef): And here.
2773 * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
2774 * srconv.c (main): Same here.
2775 * strings.c (main): And here.
2776 (integer_arg): And here.
2777 * sysdump.c (main): And here.
2779 2000-04-06 Timothy Wall <twall@cygnus.com>
2781 * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
2783 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
2785 * readelf.c (decode_location_expression): Loop through multiple
2787 (read_and_display_attr): Pass in length.
2789 * readelf.c (read_and_display_attr): Add CU offset to references.
2790 (display_debug_info): Pass it in.
2792 2000-04-06 Nick Clifton <nickc@cygnus.com>
2794 * readelf.c (decode_ARM_machine_flags): New function.
2795 (get_machine_flags): Call decode_ARM_machine_flags for ARM
2798 (get_machine_name): Catch EM_AVR
2800 2000-04-05 Alan Modra <alan@linuxcare.com.au>
2802 * binutils.texi: Remove optional `=' from long options that have
2803 an `=' in the argument.
2804 * objcopy.1: Here too. Remove extra space on discard-all.
2806 * binutils.texi (objcopy): Mention --redefine-sym.
2807 * objcopy.1: Here too.
2810 * objcopy.c (parse_flags): Split off flag names from error message
2811 gettext as they are not translated.
2812 (copy_main): Similarly split off option name for --add-section,
2813 --set-section-flags, --change-section-vma, --change-section-lma
2815 Some white space changes.
2817 from Matthew Benjamin <matt@linuxbox.nu>
2818 * objcopy.c (struct redefine_node): New.
2819 (redefine_sym_list): New.
2820 (redefine_list_append): New.
2821 (lookup_sym_redefinition): New.
2822 (OPTION_REDEFINE_SYM): New.
2823 (copy_options): Add --redefine-sym option.
2824 (copy_usage): Mention it.
2825 (filter_symbols): Rename symbols on redefine_sym_list.
2826 (copy_object): Call filter_symbols if redefine_sym_list != NULL.
2827 (copy_main): Handle OPTION_REDEFINE_SYM.
2829 2000-04-04 H.J. Lu <hjl@gnu.org>
2831 * readelf.c (process_symbol_table): Correctly read in symbol
2832 versioning information.
2834 2000-04-04 Alan Modra <alan@linuxcare.com.au>
2836 * po/binutils.pot: Regenerate.
2838 * addr2line.c (usage): Restore translated part of bug string.
2839 * ar.c (usage): Likewise.
2840 * nlmconv.c (show_usage): Likewise.
2841 * nm.c (usage): Likewise.
2842 * objcopy.c (copy_usage): Likewise.
2843 (strip_usage): Likewise.
2844 * objdump.c (usage): Likewise.
2845 * readelf.c (usage): Likewise.
2846 * size.c (usage): Likewise.
2847 * strings.c (usage): Likewise.
2848 * windres.c (usage): Likewise.
2850 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
2851 (DEP): Quote when passing vars to sub-make. Add warning
2853 (DEP1): Rewrite for "gcc -MM".
2854 (CLEANFILES): Add DEP2.
2855 Update dependencies.
2856 * Makefile.in: Regenerate.
2858 2000-04-04 H.J. Lu <hjl@gnu.org>
2860 * Makefile.am (GENERATED_HFILES): Add rcparse.h
2861 (arparse.h): Depend on arparse.c
2862 (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
2864 2000-04-03 H.J. Lu (hjl@gnu.org)
2866 * size.c (usage): Use REPORT_BUGS_TO.
2868 2000-04-03 Alan Modra <alan@linuxcare.com.au>
2870 * bucomm.h: #include "bin-bugs.h"
2871 * addr2line.c (usage): Use REPORT_BUGS_TO.
2872 * ar.c (usage): Likewise.
2873 * nlmconv.c (show_usage): Likewise.
2874 * nm.c (usage): Likewise.
2875 (OPTION_TARGET): Define.
2876 (long_options): Use OPTION_TARGET rather than 200.
2879 * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
2880 (strip_usage): Likewise.
2881 * objdump.c (usage): Likewise.
2882 * readelf.c (usage): Likewise.
2883 * strings.c (usage): Likewise.
2884 * windres.c (usage): Likewise.
2886 2000-03-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
2888 * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
2890 2000-03-27 Nick Clifton <nickc@cygnus.com>
2892 * rddbg.c (read_section_stabs_debugging_info): Catch out of range
2893 string offsets in corrupt stabs entries.
2895 2000-03-27 Alan Modra <alan@linuxcare.com.au>
2897 * readelf.c: Include elf/avr.h
2898 (dump_relocations): Add EM_AVR case.
2900 2000-03-09 Tim Waugh <twaugh@redhat.com>
2902 * strings.1: Correct '-bytes' to '--bytes'.
2904 2000-03-08 H.J. Lu <hjl@gnu.org>
2906 * Makefile.am (install-exec-local): Depend on
2907 install-binPROGRAMS for parallel make.
2908 * Makefile.in: Regenerated.
2910 2000-02-27 Ian Lance Taylor <ian@zembu.com>
2912 From Brad Lucier <lucier@math.purdue.edu>:
2913 * readelf.c (process_dynamic_segment): Add cast to make sure
2914 argument to %* is int.
2916 2000-02-25 H.J. Lu <hjl@gnu.org>
2918 * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
2920 2000-02-24 Nick Clifton <nickc@cygnus.com>
2922 * configure.in: Add arm-wince, mips-pe and sh-pe targets.
2923 * configure: Regenerate.
2925 * dlltool.c: Add support for sh-pe and mips-pe targets.
2926 * rescoff.c: Add support for sh-pe and mips-pe targets.
2928 2000-02-23 H.J. Lu <hjl@gnu.org>
2930 * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
2932 2000-02-22 Nick Clifton <nickc@cygnus.com>
2934 * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
2936 2000-02-22 Ian Lance Taylor <ian@zembu.com>
2938 From Brad Lucier <lucier@math.purdue.edu>:
2939 * readelf.c (process_version_sections): Add casts to make sure
2940 argument to %* is an int.
2941 (process_mips_specific): Add casts to make printf arguments match
2944 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
2946 * objdump.c (dump_section_header): Change `opb' to unsigned.
2947 (find_symbol_for_address): Same here.
2948 (disassemble_data): And here. Change `addr_offset',
2949 `stop_offset', `nextstop_offset' to unsigned long.
2950 (dump_data): Change opb to unsigned.
2952 2000-02-18 Frank Ch. Eigler <fche@redhat.com>
2954 * resrc.c: Remove unmatched #if for cygwin.
2956 2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com>
2958 * binutils.texi: Document the change of flavor name from atpcs-special
2959 to special-atpcs to prevent name conflict in gdb.
2961 2000-02-08 Timothy Wall <twall@redhat.com>
2963 * objdump.c (show_line): Fix bug preventing printing of the very
2964 first line (line zero) of a file when interlisting source and
2965 assembly. Added option to print entire context from start of file
2966 when the first line from that file is encountered.
2968 2000-02-03 Timothy Wall <twall@redhat.com>
2970 * objdump.c (dump_section_header, find_symbol_for_address,
2971 show_line, disassemble_bytes, disassemble_data, dump_data):
2972 distinguish between octets and bytes.
2974 2000-01-27 Thomas de Lellis <tdel@windriver.com>
2976 * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
2977 check to unresolved symbols.
2978 (print_symbol_info_sysv): Ditto.
2979 (print_symbol_info_posix): Ditto.
2981 * binutils.texi: Document new 'V' symclass flag for nm.
2983 2000-01-27 Nick Clifton <nickc@redhat.com>
2985 * binutils.texi (objdump): Document new ARM specific
2986 disassembler options.
2988 * objdump.c (usage): Call disassembler_usage().
2990 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
2992 * readelf.c (get_dynamic_flags): Return buff.
2993 (process_dynamic_segment): Don't pass error strings to printf
2995 (read_and_display_attr): Use lx and ld to print longs.
2996 (process_corefile_note_segment): Cast bfd_vma to unsigned long
3000 2000-01-17 Nick Clifton <nickc@cygnus.com>
3002 * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
3004 2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
3006 * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
3008 (debug_tag_type): Here too.
3009 * ieee.c (ieee_builtin_type): And here.
3010 * stabs.c (parse_stab_type, parse_stab_array_type): And here.
3012 2000-01-13 Nick Clifton <nickc@cygnus.com>
3014 * readelf.c (get_machine_name): Change EM_S370 to return "IBM
3017 2000-01-11 Nick Clifton <nickc@cygnus.com>
3019 * readelf.c (get_dynamic_type): Remove DT_ENCODING.
3021 2000-01-10 Nick Clifton <nickc@cygnus.com>
3023 * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
3025 2000-01-07 Mumit Khan <khan@xraylith.wisc.edu>
3027 * windres.c (long_options): Add --use-temp-file and
3028 --no-use-temp-file options.
3032 * windres.h: Update read_rc_file prototype.
3034 * resrc.c (cpp_temp_file): New static variable.
3035 (istream_type): New static variable.
3036 (close_pipe): Delete function.
3037 (run_cmd): New static function.
3038 (open_input_stream): New static function.
3039 (close_input_stream): New static function.
3040 (look_for_default): Handle DOS directory separator. Use
3041 open_input_stream instead of popen.
3042 (read_rc_file): Likewise.
3044 * binutils.texi: Document --use-temp-file, --no-use-temp-file
3047 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
3049 * dlltool.c (create_compat_implib): New variable.
3050 (gen_exp_file): Use.
3051 (make_one_lib_file): Use.
3052 (long_options): Add --compat-implib option.
3056 * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
3057 (main): Use. Don't look for "32" in cygwin and mingw target names.
3059 2000-01-03 Nick Clifton <nickc@cygnus.com>
3061 * binutils.texi: Document new, ARM specific disassembler
3062 command line switch "-M force-thumb".
3064 For older changes see ChangeLog-9899
3070 version-control: never