1 2002-05-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
3 * objdump.c (dump_headers): Fix output formatting for ELF32
4 architectures in a BFD64 enabled toolchain.
6 2002-05-20 Kazu Hirata <kazu@cs.umass.edu>
8 * debug.c: Fix formatting.
10 * dlltool.c: Likewise.
11 * dllwrap.c: Likewise.
12 * emul_aix.c: Likewise.
13 * emul_vanilla.c: Likewise.
15 2002-05-19 Kazu Hirata <kazu@cs.umass.edu>
17 * addr2line.c: Fix formatting.
21 * binemul.c: Likewise.
22 * binemul.h: Likewise.
24 * coffdump.c: Likewise.
25 * coffgrok.c: Likewise.
26 * coffgrok.h: Likewise.
28 2002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
30 * MAINTAINERS: Add myself as the second AVR port maintainer.
32 2002-05-16 Stephane Carrez <stcarrez@nerim.fr>
34 * MAINTAINERS: Update my email address.
36 2002-05-09 Nick Clifton <nickc@cambridge.redhat.com>
38 * MAINTAINERS: Add Jason Thorpe as VAX maintainer.
40 2002-05-09 Alan Modra <amodra@bigpond.net.au>
42 * configure.in: Replace `*pe' with `pe' throughout.
43 * configure: Regenerate.
45 2002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
47 * Makefile.am: Honour DESTDIR.
48 * Makefile.in: Regenerate.
50 2002-05-06 Alan Modra <amodra@bigpond.net.au>
52 * dlltool.c (process_def_file): Add missing prototype.
53 (new_directive, assemble_file, main): Likewise.
54 (process_def_file, new_directive): Make static.
55 (inform): Rewrite using VA_FIXEDARG.
56 * dllwrap.c (mybasename): Add missing prototype.
57 (strhash, main): Likewise.
58 (inform): Rewrite using VA_FIXEDARG.
60 (cleanup_and_exit): Use old style function definition.
62 * windres.c (define_resource): Use one memset to clear all of
65 * rcparse.y: Remove newcmd rule. Move rcparse_discard_strings
66 call to rules that need no lookahead. Check for no lookahead.
68 2002-05-06 Borut Razem <borut.razem@siol.net>
70 * rclex.l (get_string): Correct "strings" list handling.
71 * resrc.c (read_rc_file): Discard strings.
73 2002-05-04 Alan Modra <amodra@bigpond.net.au>
75 * ar.c (replace_members): Remove unused var. Formatting fix.
76 * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
78 * MAINTAINERS: Sort port maintainers by CPU.
80 2002-05-04 Bob Byrnes <byrnes@curl.com>
82 * size.c (display_archive): Add last_arfile and code to close archives.
84 2002-05-01 Alan Modra <amodra@bigpond.net.au>
86 * nm.c (print_symbol): Check returned filename from
87 bfd_find_nearest_line is non-NULL.
89 2002-04-25 Elena Zannoni <ezannoni@redhat.com>
91 * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
93 2002-04-24 Christian Groessler <chris@groessler.org>
95 * MAINTAINERS: Changed my email address.
97 2002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
99 * arparse.y: Fix syntax warning.
101 2002-04-16 Nick Clifton <nickc@cambridge.redhat.com>
103 * readelf.c (fetch_location_list): Remove unused function.
105 * readelf.c (process_corefile_note_segment): Catch corrupt notes
106 and display a warning message, then exit the loop.
108 * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
110 2002-04-15 Nick Clifton <nickc@cambridge.redhat.com>
112 * resrc.c (write_rc_dialog): If charset is non-default value
113 display all of the DIALOGEX parameters.
115 2002-04-15 Eric Kohl <ekohl@rz-online.de>
117 * rcparse.y: Allow two to five parameter in FONT statement of
119 * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
121 (res_to_bin_dialog): Likewise.
122 * windres.h: Added misssing charset variable to dialog_ex
125 2002-04-10 Nick Clifton <nickc@cambridge.redhat.com>
127 * rcparse.y: Set MEMFLAG_PURE by default.
129 2002-04-09 Bernd Herd <info@herdsoft.com>
131 * rcparse.y: CLASS definitions in DIALOG resources
133 Fix typo in BEDIT warning.
134 Don't add default dialog style when explicit style specified.
135 Add WS_CAPTION dialog style if CAPTION is specified.
137 * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
138 (handle_quotes) "\a" escape (used for right justified key
139 definitions in menus) is encodes as binary 8.
141 * resrc.c (write_rc_dialog): Print style even if it is 0.
142 (write_rc_directory): Fix overlooked sublang shift bug.
143 (bin_to_res_dialog): Don't print empty dialog caption.
145 * resbin.c (bin_to_res_dialog): Use signature to identify
148 * windres.c (main): Set default LANGUAGE to english/us.
150 2002-04-09 Gunnar Degnbol <degnbol@danbbs.dk>
152 * resrc.c: print CLASS names in quotes
154 2002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
156 * MAINTAINERS: Update my email address.
158 2002-04-04 Alan Modra <amodra@bigpond.net.au>
160 * dep-in.sed: Cope with absolute paths.
161 * Makefile.am (dep.sed): Subst TOPDIR.
163 * Makefile.in: Regenerate.
165 2002-03-27 Peter Targett <peter.targett@arc.com>
167 * MAINTAINERS: Update my email address.
169 2002-03-21 Alan Modra <amodra@bigpond.net.au>
171 * Makefile.am: Run "make dep-am".
172 * Makefile.in: Regenerate.
173 * doc/Makefile.in: Regenerate.
174 * po/POTFILES.in: Regenerate.
175 * aclocal.m4: Regenerate.
176 * config.in: Regenerate.
177 * configure: Regenerate.
179 2002-03-20 Daniel Berlin <dan@dberlin.org>
181 * readelf.c: Add support for displaying dwarf2 location lists.
182 (do_debug_loc, debug_loc_section, debug_loc_size): New.
183 (parse_args): Use 'O' as shorthand for displaying location list
185 (process_section_headers): Handle debug_loc as well.
186 (load_debug_loc): New.
187 (free_debug_loc): New.
188 (fetch_location_list): New.
189 (display_debug_loc): New.
190 (display_debug_info): Call load_debug_loc and free_debug_loc.
191 (debug_displays): We can display .debug_loc now, too.
192 (usage): Update usage string.
193 (read_and_display_attr_value): Note location lists, but don't
196 2002-03-18 Tom Rix <trix@redhat.com>
198 * Makefile.am: Add binutils emulation support.
199 * configure.in: Same.
200 * configure.tgt: New file. Same.
201 * ar.c (main): Use ar_emul_parse_arg.
202 (usage): Use ar_emul_usage.
203 (replace_members): Use ar_emul_replace, ar_emul_append.
204 * binemul.c: New file. Define the binutils emulation
205 layer. Define default methods.
206 * binemul.h: New file. Binutils emulation layer header file.
207 * emul_aix.c: New file. AIX binutils emulation.
208 * emul_vanilla.c: New file. Default binutils emulation.
209 * Makefile.in: Regenerate.
212 2002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
214 * po/fr.po: Updated version.
216 2002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
218 * po/fr.po: Updated version.
220 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
222 * README: Update some version numbers.
224 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
226 * doc/binutils.texi (Target Selection): Fix LD crossreferences.
227 (Architecture Selection): Likewise.
229 2002-03-01 Dmitry Timoshkov <dmitry@baikal.ru>
231 * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
232 generating .exp file.
234 2002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
236 * readelf.c (dump_relocations): Fix typo.
238 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
240 * NEWS: Mark 2.12 branch.
242 2002-02-18 Timothy Daly <remote_bob@yahoo.com>
244 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
245 types for 64-bit MIPS. Narrow some fields for 80-char
247 (dump_relocations): Change spelling from 'unrecognised'
249 (decode_ARM_machine_flags): Likewise.
250 (parse_args): Likewise.
251 (read_and_display_attr_value): Likewise.
252 (display_debug_section): Likewise.
254 2002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
256 * NEWS: Mention support for MMIX.
258 2002-02-13 Matt Fredette <fredette@netbsd.org>
260 * readelf.c (get_machine_flags): Recognize EF_M68000.
262 2002-02-12 Alexandre Oliva <aoliva@redhat.com>
264 * MAINTAINERS: Added self as MN10300 co-maintainer.
266 2002-02-12 Alan Modra <amodra@bigpond.net.au>
268 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
271 2002-02-11 Daniel Jacobowitz <drow@mvista.com>
273 * MAINTAINERS: List myself as branch maintainer.
275 2002-02-11 Alan Modra <amodra@bigpond.net.au>
277 * configure: Regenerate.
278 * objcopy.c: Update copyright date.
279 * doc/Makefile.in: Regenerate.
281 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
283 * nlmconv.c: Back out localtime PARAMS change.
285 2002-02-11 Alan Modra <amodra@bigpond.net.au>
287 * objcopy.c (MKDIR): Define.
288 (copy_archive): Make name_list.name const. Use MKDIR.
289 Handle duplicate files in archives by making more temp dirs.
291 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
293 * coffdump.c: Include "getopt.h" after "bucomm.h"
294 so that macros are defined correctly.
295 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
296 prototype. Prototype main.
297 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
299 2002-02-06 Alexandre Oliva <aoliva@redhat.com>
301 * MAINTAINERS: Added self as SH co-maintainer.
303 2002-02-05 Nick Clifton <nickc@redhat.com>
305 * po/tr.po: Updated translation.
307 2002-02-01 Alan Modra <amodra@bigpond.net.au>
309 * Makefile.am: Run "make dep-am"
310 * Makefile.in: Regenerate.
312 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
314 * nm.c (print_value): Mark abfd unused.
316 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
318 * unwind-ia64.c (unw_decoder): Change second argument
319 to unsigned int, to match function prototypes.
321 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
323 * objdump.c: Include "getopt.h" after "bucomm.h" so that
324 __GNU_LIBRARY__ will be defined.
327 2002-01-27 Daniel Jacobowitz <drow@mvista.com>
329 * configure: Regenerated.
331 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
333 * doc/Makefile.am (install): Depend on install-info.
334 * doc/Makefile.in: Regenerate.
336 2002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
338 * objcopy.c (strip_usage): Document -d as an alias
341 * size.c (usage): Document [-t | --totals] options.
342 (long_options): Add --totals option.
343 (main): If the [-t | --totals] option is specified and
344 the output format is Berkeley-style, print the total
345 text, data, and bss sizes of all objects listed.
346 (print_berkeley_format): If the [-t | --totals] option
347 is specified, track the total text, data, and bss
349 * doc/binutils.texi (size): Document [-t | --totals] options.
350 (strip): Document -d as an alias for --strip-debug.
351 * NEWS: Mention new feature of size.
353 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
355 * po/fr.po: Updated version.
356 * po/es.po: Updated version.
358 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
360 * addr2line.c (usage): Update text to provide verbose
361 description of the command line options.
362 * ar.c (usage): Update text to provide verbose
363 description of the command line options.
364 (main): Accept -h and -H when running as ranlib.
365 * coffdump.c (show_usage): Update text to provide verbose
366 description of the command line options.
367 * dlltool.c (main): Accept -H as an alias for --help.
368 * nlmconv.c (show_usage): Update text to provide verbose
369 description of the command line options.
370 * nm.c (usage): Replace OPTIONS with option(s).
371 (main): Accept -H as an alias for --help.
372 * objcopy.c (strip_main): Accept -H as an alias for --help.
373 * objdump.c (main): Accept -v as an alias for --verbose.
374 * readelf.c (usage): Adjust format to match style used in
376 * size.c (usage): Update text to provide verbose description
377 of the command line options.
378 (main): Accept -v, -h and -H as command line options.
379 * srconv.c (show_usage): Update text to provide verbose
380 description of the command line options.
381 * strings.c (main): Accept -H and -v as command line options.
382 (usage): Update text to provide verbose description of the
383 command line options.
384 * sysdump.c (show_usage): Update text to provide verbose
385 description of the command line options.
386 * windres.c (usage): Adjust format to match style used in
389 * coffdump.c: Fix formatting.
390 * nlmconv.c: Fix formatting.
391 * srconv.c: Fix formatting.
392 * sysdump.c: Fix formatting.
394 2002-01-22 Alan Modra <amodra@bigpond.net.au>
396 * Makefile.am: Run "make dep-am".
397 * Makefile.in: Regenerate.
399 2002-01-18 Andreas Jaeger <aj@suse.de>
401 * version.c (print_version): Update year.
403 2002-01-17 Alan Modra <amodra@bigpond.net.au>
405 * readelf.c (get_machine_name): Handle EM_PPC64.
406 (guess_is_rela): Here too.
408 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
410 * po/binutils.pot: Regenerate.
411 * po/fr.po: Regenerate.
412 * po/tr.po: Regenerate.
414 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
416 * po/tr.po: Import new version.
418 2002-01-16 Alan Modra <amodra@bigpond.net.au>
420 * readelf.c (get_ppc64_dynamic_type): New.
421 (get_dynamic_type): Call it.
423 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
425 * objcopy.c (copy_usage): Use "options" instead of "switches".
426 (strip_usage): Use "options" instead of "switches".
427 * doc/binutils.texi (dlltool): Refer to "options" instead of
430 2002-01-14 Richard Earnshaw <rearnsha@arm.com>
432 * MAINTAINERS: Add self as co-maintainer for the ARM code.
434 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
436 * po/es.po: Import from translation project.
437 * configure.in (ALL_LINGUAS): Add es.
438 * configure: Regenerate.
440 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
442 * readelf.c (get_netbsd_elfcore_note_type): Use
443 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
445 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
447 * readelf.c: Update copyright years.
448 (get_note_type): Return a const char *.
449 (get_netbsd_elfcore_note_type): New function.
450 (process_note): Use get_netbsd_elfcore_note_type to get
451 the note type string for NetBSD ELF core files.
453 2002-01-06 Steve Ellcey <sje@cup.hp.com>
455 * readelf.c (get_ia64_segment_type): Add support for macros.
456 (get_segment_type): Add support for IA64 specific macros.
458 2001-12-20 Julian v. Bock <julian@wongr.net>
460 * readelf.c (print_symbol): New function: Print a formatted symbol
461 name. If --wide is specified do not truncate it.
462 (dump_relocations): Use print_symbol() to print symbol names.
463 (process_symbol_table): Likewise.
464 (process_syminfo): Likewise.
465 (process_mips_specific): Likewise.
466 (usage): Document new feature of --wide switch.
467 * doc/binutils.texi (objdump): Document additional behaviour of
470 2001-12-18 Michael Snyder <msnyder@redhat.com>
472 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
473 (copy_object): Don't set the start address or flags of a core file.
474 (copy_section): Don't relocate a core file. Don't copy contents
475 if the input section has the contents flag set, but the output
476 section does not (which happens with the fake 'note' pseudo-
477 sections that BFD creates for corefiles).
479 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
481 * readelf.c (get_machine_flags): Recognize header flags for ABI and
482 ASE extensions. More robust code for ISA checking. Ignore empty fields
483 in header flags for GNU extensions.
485 2001-12-18 Alan Modra <amodra@bigpond.net.au>
487 * objcopy.c (copy_archive): Set output bfd format outside the loop.
489 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
491 * po/ja.po: Import from translation project.
492 * configure.in (ALL_LINGUAS): Add ja.
493 * configure: Regenerate.
495 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
497 * addr2line.c (main): Protoype.
498 * ar.c (main): Protoype.
499 * nm.c (main): Protoype.
500 * objcopy.c (main): Protoype.
501 * objdump.c (main): Protoype.
502 * size.c (main): Protoype.
503 * strings.c (main): Protoype.
505 2001-12-17 Alan Modra <amodra@bigpond.net.au>
507 * readelf.c (symtab_shndx_hdr): New global.
508 (SECTION_HEADER_INDEX): Define.
509 (SECTION_HEADER_NUM): Define.
510 (SECTION_HEADER): Define.
511 (GET_ELF_SYMBOLS): Pass two params rather than three.
512 (get_32bit_elf_symbols): Take file and section args. Read and
513 use SHT_SYMTAB_SHNDX.
514 (get_64bit_elf_symbols): Likewise.
515 (dump_relocations): Use SECTION_HEADER to index "section_headers".
516 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
517 Remember symtab_shdx_hdr.
518 (process_program_headers): Scan from index 1 for segment map.
519 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
521 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
522 (process_unwind): Likewise.
523 (process_version_sections): Likewise.
524 (process_symbol_table): Likewise.
525 (display_debug_info): Likewise.
526 (process_dynamic_segment): Fake up a symtab section for changed
528 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
529 (process_program_headers): Kill signed/unsigned warning.
530 (load_debug_str): Likewise.
531 (display_debug_info): Likewise.
533 2001-12-13 Jakub Jelinek <jakub@redhat.com>
535 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
537 2001-12-11 Alan Modra <amodra@bigpond.net.au>
539 * readelf.c (process_file_header): Print extended e_shnum and
540 e_shdtrndx values. Set elf_header values for same.
541 (get_32bit_section_headers): Add "num" arg to read "num" headers.
542 (get_64bit_section_headers): Likewise.
543 (process_section_headers): Update calls.
544 (get_file_header): Call get_32bit_section_headers or 64bit variant.
546 2001-12-10 Jakub Jelinek <jakub@redhat.com>
548 * objcopy.c (setup_section): Copy entsize.
550 2001-12-07 Geoffrey Keating <geoffk@redhat.com>
552 * readelf.c (guess_is_rela): Add support for stormy16.
553 (dump_relocations): Likewise.
554 (get_machine_name): Likewise.
556 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
558 * dllwrap.c (main) Replace multiple strings describing a
559 single error with a single, newline escaped sentence to permit
560 better translation into foreign languages.
562 * readelf.c (get_elf_class): Remove internalionalisation of ELF
565 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
567 * strings.c (get_char): Initialize value.
569 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
571 * arlex.l: Silence compile warnings.
572 * arsup.h: Likewise. Fix formatting.
574 2001-12-04 Jakub Jelinek <jakub@redhat.com>
576 * strings.c: Include config.h before bfd.h.
577 (file_off): New type.
579 (print_strings): Use file_off instead of file_ptr. Print addresses
580 which don't fit into long correctly.
581 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
583 (strings_file): Use file_off instead of file_ptr. Use file_open.
584 * configure.in: Check for getc_unlocked.
585 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
587 * configure: Rebuilt.
588 * config.h.in: Rebuilt.
590 2001-11-29 H.J. Lu <hjl@gnu.org>
592 * bucomm.c (make_tempname): Revert the changes made on
593 2001-11-14 and 2001-11-12. They won't work with directories.
595 2001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
597 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
598 CFLAGS_FOR_TARGET to runtest in environment.
599 * Makefile.in: Rebuild.
600 * doc/Makefile.in: Rebuild.
602 2001-11-28 Mike Stump <mrs@wrs.com>
604 * objcopy.c (setup_section): Preserve SEC_RELOC when
605 --set-section-flags is used.
607 2001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
609 * readelf.c (do_debug_str): New variable.
610 (display_debug_str): New function: Display the contents of a
612 (load_debug_str): New function: Load in the contents of a
614 (free_debug_str): New function: Free the memory used by
616 (fetch_indirect_string): Retrieve a string from the .debug_str
619 (parse_args): Accept -ws.
620 (process_section_headers): Allow the display of the .debug_str
622 (read_and_display_attr_value): Use fetch_indirect_string. Show
623 offset into .debug_str section.
624 (display_debug_info): Use load_debug_str and free_debug_str.
625 (debug_displays): Add .debug_str.
626 * doc/binutils.texi: Document -ws.
628 2001-11-19 Andreas Jaeger <aj@suse.de>
630 * testsuite/binutils-all/objdump.exp: Add x86-64.
632 2001-11-15 Andreas Schwab <schwab@suse.de>
634 * readelf.c: Fix warnings without terminating newline.
636 2001-11-15 Alan Modra <amodra@bigpond.net.au>
638 * doc/binutils.texi (objdump): Document ppc -M options.
640 2001-11-14 Andreas Jaeger <aj@suse.de>
642 * doc/binutils.texi (objdump): Fix description to use x86-64.
644 2001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
646 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
647 not all systems provide mkstemp.
649 2001-11-14 Alan Modra <amodra@bigpond.net.au>
651 * doc/binutils.texi (objdump): Document x86 -M options.
653 2001-11-13 Keith Walker <keith.walker@arm.com>
655 * readelf.c (read_and_display_attr_value): New function to
656 handle DW_FORM_indirect.
657 (read_and_display_attr): Use it.
659 2001-11-13 Geoffrey Keating <geoffk@redhat.com>
661 * readelf.c (display_debug_lines): Deal with unknown standard
662 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
665 2001-11-13 Timothy Wall <twall@alum.mit.edu>
667 * MAINTAINERS: Add self as tic54x maintainer. This target
668 includes the IBM C54XDSP clone.
670 2001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
672 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
674 2001-11-09 Jeffrey A Law (law@cygnus.com)
676 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
677 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
678 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
679 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
680 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
681 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
682 (unw_decode_b2, unw_decode_b3_b4): Likewise.
684 * readelf.c (get_elf_class): Fix ISO portability glitch.
685 (get_data_encoding, get_osabi_name, request_dump): Likewise.
687 2001-11-07 Jakub Jelinek <jakub@redhat.com>
689 * readelf.c (debug_str, debug_str_size): New.
690 (display_debug_abbrev): If no abbrevs were read, skip the CU.
692 (read_and_display_addr): Handle DW_FORM_strp.
693 (display_debug_info): Read .debug_str section if present,
694 so that DW_FORM_strp can be handled.
695 Fix test for non-existant .debug_abbrev section.
697 2001-11-05 Jakub Jelinek <jakub@redhat.com>
699 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
701 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
703 2001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
705 * MAINTAINERS: Add self as s390/s390x maintainer.
707 2001-11-02 Tom Rix <trix@bluey.cygnus.com>
709 * MAINTAINERS: Add self as PPC XCOFF maintainer.
711 2001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
713 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
714 * configure: Regernate.
715 * po/fr.po: New file.
716 * po/tr.po: New file.
718 2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
720 * MAINTAINERS: Add self as MMIX port maintainer.
721 * readelf.c: Include elf/mmix.h.
722 (guess_is_rela): MMIX is RELA.
723 (dump_relocations): Handle MMIX relocations.
724 * Makefile.am: Regenerate dependencies.
725 * Makefile.in: Regenerate.
727 2001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
729 * readelf.c (parse_args): Handle multiple options to the -w
732 2001-10-12 Jakub Jelinek <jakub@redhat.com>
734 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
735 LOPROC, LOOS and LOUSER.
737 2001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
739 * MAINTAINERS: Update my email address.
741 2001-10-03 Alan Modra <amodra@bigpond.net.au>
743 * doc/Makefile.in: Regenerate.
744 * configure: Regenerate.
746 2001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
748 * readelf.c (display_debug_line, display_debug_pubnames,
749 display_debug_info, display_debug_frames): Detect and warn
750 about 64-bit format entries.
751 (display_debug_aranges): Reword 64-bit warning.
752 (debug_displays): Add .debug_pubtypes as a known, but not yet
753 supported, debug section.
755 2001-10-02 Alan Modra <amodra@bigpond.net.au>
757 * coffdump.c (PROGRAM_VERSION): Delete.
758 (main <'V'>): Call print_version.
759 * srconv.c: Likewise.
760 * sysdump.c: Likewise.
761 * version.c (program_version): Remove.
762 (print_version): Use BFD_VERSION_STRING. Just print the current
763 year in copyright message.
764 * addr2line.c (program_version): Remove unused declaration.
765 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
766 place of BFD_VERSION.
767 * Makefile.am (Makefile): Depend on bfd/configure.in.
768 (cplus-dem.o): Depend on Makefile.
770 * Makefile.in: Regenerate.
772 2001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
774 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
775 format .debug_arange sections.
776 (main): Add missing prototype.
778 2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
780 * Makefile.am: Update dependencies with "make dep-am".
781 * Makefile.in: Regenerate.
783 2001-09-28 Richard Henderson <rth@redhat.com>
785 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
787 2001-09-26 Alan Modra <amodra@bigpond.net.au>
789 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
791 (non_fatal): Likewise.
792 * objdump.c (objdump_sprintf): Likewise.
793 * readelf.c (error): Likewise.
796 2001-09-25 Jakub Jelinek <jakub@redhat.com>
798 * readelf.c (do_wide): New.
799 (options): Add --wide.
800 (usage, parse_args): Likewise.
801 (process_program_headers): Put each segment on a single line if
803 (process_section_headers): Put each section on a single line if
805 * doc/binutils.texi: Document it.
808 2001-09-25 Alan Modra <amodra@bigpond.net.au>
810 * readelf.c (print_vma): Print 8 digits of low hex value.
812 2001-09-24 Andreas Jaeger <aj@suse.de>
814 * nlmconv.c: Fix warnings about unused attributes and function
817 * strings.c: Add prototype for get_char.
819 2000-09-19 H.J. Lu <hjl@gnu.org>
821 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
822 $(srcdir)/cxxfilt.man.
823 * doc/Makefile.in: Rebuild.
825 2001-09-19 Alan Modra <amodra@bigpond.net.au>
827 * objcopy.c (copy_main): Correct rename-section string parsing.
828 Consolidate new_name parsing, and error messages.
830 2001-09-18 Bruno Haible <haible@clisp.cons.org>
832 * addr2line.c: Don't include <ctype.h>.
833 (main): For gettext, also set the LC_CTYPE locate facet.
834 * ar.c (main): Likewise.
835 * coffdump.c (main): Likewise.
836 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
837 (main): For gettext, also set the LC_CTYPE locate facet.
838 Use ISALNUM instead of isalpha/isdigit.
839 * dllwrap.c: Don't include <ctype.h>.
840 (main): For gettext, also set the LC_CTYPE locate facet.
841 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
842 (main): For gettext, also set the LC_CTYPE locate facet.
843 Use TOUPPER instead of islower/toupper.
844 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
845 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
846 Use TOUPPER instead of islower/toupper.
847 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
848 * objcopy.c (main): Likewise.
849 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
850 (disassemble_bytes): Use ISPRINT instead of isprint.
851 (dump_section_stabs): Use ISDIGIT instead of isdigit.
852 (dump_data): Use ISPRINT instead of isprint.
853 (main): For gettext, also set the LC_CTYPE locate facet.
854 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
855 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
856 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
857 Use TOUPPER instead of islower/toupper.
858 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
859 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
860 (write_rc_accelerators): Use ISPRINT instead of isprint.
861 (write_rc_rcdata): Likewise.
862 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
863 * srconv.c (main): Likewise.
864 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
865 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
866 isdigit/isupper/islower.
867 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
868 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
869 stab_demangle_prefix, stab_demangle_qualified,
870 stab_demangle_template, stab_demangle_type,
871 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
872 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
873 (isgraphic): Use ISPRINT instead of isascii/isprint.
874 (main): Remove HAVE_LC_MESSAGES dependency.
875 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
876 (pbarray): Use ISPRINT instead of isprint.
877 (main): For gettext, also set the LC_CTYPE locate facet.
878 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
879 (format_from_filename): Use ISPRINT instead of isprint.
880 (main): For gettext, also set the LC_CTYPE locate facet.
881 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
882 (unicode_print): Use ISPRINT instead of isprint.
883 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
884 (stab_variable): Use ISDIGIT instead of isdigit.
886 2001-09-18 Alan Modra <amodra@bigpond.net.au>
888 * ar.c (print_contents): Cast args of bfd_seek to the right types.
889 Replace bfd_read call with call to bfd_bread.
890 (extract_file): Likewise.
892 * objdump.c (dump_section_header): Cast section->filepos to
893 unsigned long to suit printf format string.
894 * readelf.c (process_section_headers): Similarly for sh_offset.
895 (process_unwind): Likewise.
897 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
899 * strings.c (encoding, encoding_bytes): New variables.
900 (long_options): Add --encoding.
901 (main): Accept -e and --encoding.
902 (get_char): New function. Read a, possibly wide, character from
904 (print_strings): Use get_char().
905 (usage): Document new command line option.
906 * doc/binutils.texi: Document new command line option.
907 * NEWS: Announce new command line option.
909 2001-09-12 Alexandre Oliva <aoliva@redhat.com>
911 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
912 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
913 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
914 Removed EM_CYGNUS_ARC.
916 2001-09-04 Jeffrey A Law (law@cygnus.com)
918 * readelf.c: Include elf/h8 for H8 series definitions.
919 (guess_is_rela): H8 series if RELA.
920 (dump_relocations): Handle H8 series relocations.
922 2001-08-31 Eric Christopher <echristo@redhat.com>
924 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
926 2001-08-29 Peter Targett <peter.targett@arccores.com>
928 * MAINTAINERS: Include ARC Maintainer.
930 2001-08-29 Ben Elliston <bje@redhat.com>
932 * stabs.c (stab_demangle_template): Initialise s4.
934 2001-08-27 Alan Modra <amodra@bigpond.net.au>
936 * readelf.c (dump_relocations): Recognise EM_PPC64.
938 2001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
940 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
942 2001-08-25 H.J. Lu <hjl@gnu.org>
944 * nm.c (print_width): New.
945 (display_rel_file): Set `print_width' according to
947 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
949 2001-08-24 Alexandre Oliva <aoliva@redhat.com>
951 * objcopy.c (use_alt_mach_code): New variable.
952 (OPTION_ALT_MACH_CODE): Define.
953 (copy_options): Added --alt-machine-code.
954 (copy_main): Handle it.
955 (copy_object): Switch to alternate machine code if requested.
956 * doc/binutils.texi: Document new option.
959 2001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
961 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
963 2001-08-21 H.J. Lu <hjl@gnu.org>
965 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
966 (display_debug_info): Cast for 64bit hosts.
967 (display_debug_frames): Likewise.
968 (process_mips_specific): Likewise.
970 2001-08-21 Andreas Jaeger <aj@suse.de>
972 * coffgrok.h: Add missing parameter for prototype of coff_grok.
974 * sysdump.c: Add missing prototypes.
975 * srconv.c: Likewise.
976 * unwind-ia64.c: Likewise.
977 * coffdump.c: Likewise.
979 * sysinfo.y: Print prototypes, include <ansidecl.h>.
981 * coffgrok.c: Add missing prototypes, include libiberty.h instead
982 of declaring xcalloc.
984 2001-08-10 H.J. Lu <hjl@gnu.org>
986 * nm.c (print_value): Add one arg, bfd *.
987 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
988 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
989 (print_symbol_info_sysv): Likewise.
990 (print_symbol_info_posix): Likewise.
992 * objdump.c (dump_section_header): Replace printf_vma with
994 (print_section_stabs): Likewise.
995 (dump_bfd_header): Likewise.
996 (objdump_print_value): Replace sprintf_vma with
998 (disassemble_bytes): Likewise.
999 (dump_reloc_set): Likewise.
1001 2001-08-10 Andreas Jaeger <aj@suse.de>
1003 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
1005 * configure: Regenerate.
1007 2001-08-09 Alan Modra <amodra@bigpond.net.au>
1009 * readelf.c: Add missing prototypes.
1010 * objdump.c: Likewise. Format existing prototypes.
1012 2001-08-08 Alexandre Oliva <aoliva@redhat.com>
1014 * readelf.c (display_debug_info): Add to abbrev_offset the addend
1015 of any RELA relocation for the abbrev_offset memory location that
1016 refers to the .debug_abbrev section symbol.
1018 2001-08-07 H.J. Lu <hjl@gnu.org>
1020 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
1021 (main): Return process_file ().
1023 2001-08-05 Philip Blundell <philb@gnu.org>
1025 * doc/binutils.texi: Use "Thumb" not "THUMB".
1027 2001-08-03 John Healy <jhealy@redhat.com>
1029 Patch suggested by Frank Eigler <fche@redhat.com>.
1030 * objdump.c (disassemble_data): Fill in section member of the
1031 disasm_info structure.
1033 2001-08-03 Tom Walsh <tom@cyberiansoftware.com>
1035 * configure.in: Added --with-windres option.
1036 * configure: Regenerated.
1038 2001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1040 * doc/binutils.texi: Use @command{name} for commands;
1041 use @option{-opt} for options; use @table @env for list of options;
1042 remove spaces arround [ | ] in synopsis.
1044 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
1047 2001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
1049 * objcopy.c: Fix formatting.
1050 (section_rename): New structure.
1051 (OPTION_RENAME_SECTION): New switch.
1052 (copy_usage): Document new switch.
1053 (add_section_rename): New function: Add a node to the section
1055 (find_section_rename): New function: Find the new name and
1056 flags for a section.
1057 (setup_section): Call find_section_name to determine the name
1058 of the output section.
1059 (copy_main): Handle OPTION_RENAME_SECTION.
1060 * binutils.texi: Document new switch.
1061 * NEWS: Mention new switch.
1063 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
1065 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
1066 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
1067 bug-binutils@gcc.org.
1069 2001-07-28 Matthias Kramm <kramm@quiss.org>
1071 * bucomm.c (list_supported_architectures): New function.
1072 * bucomm.h (list_supported_architectures): Declare.
1073 * objdump.c (usage): Call the above.
1075 2001-07-25 Dave Brolley <brolley@redhat.com>
1077 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
1078 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
1080 2001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
1082 * README: Update for 2.11. Change bug reporting email address.
1083 * MAINTAINERS: Tidy up. Change bug reporting email address.
1085 2001-07-16 DJ Delorie <dj@redhat.com>
1087 * resres.c (write_res_header): Align header size.
1088 (res_align_file): Calculate alignment correctly.
1090 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
1092 * resrc.c (write_rc_resource): Likewise.
1093 * windres.h (SUBLANG_SHIFT): Define - as 10.
1095 2001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
1097 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
1099 2001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
1101 * MAINTAINERS: Add notes about branch checkins.
1103 2001-07-05 Daniel Berlin <dan@cgsoftware.com>
1105 * readelf.c (display_debug_macinfo): New function, display
1106 .debug_macinfo section.
1107 (do_debug_macinfo): New variable.
1108 (parse_args): Handle "-w[mM]" to mean display macro info.
1109 (process_section_headers): Handle debug_macinfo.
1110 (debug_displays): Replace unsupported function with macinfo
1111 function for .debug_macinfo display.
1112 * doc/binutils.texi: Document new command line switch.
1113 * NEWS: Document new feature of readelf.
1115 2001-07-05 H.J. Lu <hjl@gnu.org>
1117 * objcopy.c (filter_symbols): Don't turn undefined symbols
1120 2001-07-03 H.J. Lu <hjl@gnu.org>
1122 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
1125 (dlltool.1): Likewise.
1126 (nlmconv.1): Likewise.
1128 (objcopy.1): Likewise.
1129 (objdump.1): Likewise.
1130 (ranlib.1): Likewise.
1131 (readelf.1): Likewise.
1133 (strings.1): Likewise.
1134 (strip.1): Likewise.
1135 (windres.1): Likewise.
1136 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
1137 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
1140 * doc/Makefile.in: Regenerated.
1142 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
1144 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
1146 2001-07-01 Daniel Berlin <dan@cgsoftware.com>
1148 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
1150 2001-06-29 James Cownie <jcownie@etnus.com>
1152 * readelf.c: Support DWARF 2.1 attributes.
1154 2001-06-28 Alan Modra <amodra@bigpond.net.au>
1156 * readelf.c (GET_DATA_ALLOC): Remove.
1158 (get_data): New function combining above macros, with an extra
1160 (slurp_rela_relocs): Use get_data, and catch error return.
1161 (slurp_rel_relocs): Likewise.
1162 (get_32bit_program_headers): Likewise.
1163 (get_64bit_program_headers): Likewise.
1164 (get_32bit_section_headers): Likewise.
1165 (get_64bit_section_headers): Likewise.
1166 (get_32bit_elf_symbols): Likewise.
1167 (get_64bit_elf_symbols): Likewise.
1168 (process_section_headers): Likewise.
1169 (process_relocs): Likewise.
1170 (slurp_ia64_unwind_table): Likewise.
1171 (process_unwind): Likewise.
1172 (get_32bit_dynamic_segment): Likewise.
1173 (get_64bit_dynamic_segment): Likewise.
1174 (process_dynamic_segment): Likewise.
1175 (process_version_sections): Likewise.
1176 (process_symbol_table): Likewise.
1177 (dump_section): Likewise.
1178 (display_debug_info): Likewise.
1179 (display_debug_section): Likewise.
1180 (process_section_contents): Likewise.
1181 (process_corefile_note_segment): Likewise.
1182 (process_mips_specific): Likewise. Also free econf32, econf64.
1184 2001-06-25 Alan Modra <amodra@bigpond.net.au>
1186 * readelf.c (dump_relocations): Print "bad symbol index" if
1187 symtab == NULL with non-zero symtab_index.
1188 (process_relocs): Don't bomb if reloc section has no symsec.
1190 2001-06-24 H.J. Lu <hjl@gnu.org>
1192 * objcopy.c (strip_main): Revert the change made on 2001-05-30
1194 (copy_main): Apply the the change made to strip_main on
1195 2001-05-30 by accident.
1197 2001-06-23 Andreas Jaeger <aj@suse.de>
1199 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
1201 (unw_decode_x2): Likewise.
1202 (unw_decode_x3): Likewise.
1203 (unw_decode_x4): Likewise.
1205 2001-06-23 Ben Elliston <bje@redhat.com>
1207 * MAINTAINERS: Add myself as M88k maintainer.
1209 2001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
1211 * objcopy.c (strip_main): Support -o or --output-file command lien
1214 2001-06-19 H.J. Lu <hjl@gnu.org>
1216 * doc/Makefile.in: Regenerated.
1218 2001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
1220 * readelf.c: Restore formatting.
1222 2001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
1224 * Makefile.am: Move documentation into doc subdirectory.
1225 * Makefile.in: Regenerated.
1226 * binutils.texi: Move into doc subdirectory.
1227 * addr2line.1: Removed.
1229 * dlltool.1: Likewise.
1230 * nlmconv.1: Likewise.
1232 * objcopy.1: Likewise.
1233 * objdump.1: Likewise.
1234 * ranlib.1: Likewise.
1235 * readelf.1: Likewise.
1237 * strings.1: Likewise.
1238 * strip.1: Likewise.
1239 * windres.1: Likewise.
1240 * cxxfilt.man: Likewise.
1241 * doc: New Directory.
1242 * doc/Makefile.am: New file.
1243 * doc/Makefile.in: Generate.
1245 2001-06-09 Alan Modra <amodra@bigpond.net.au>
1247 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
1249 2001-06-01 Alan Modra <amodra@bigpond.net.au>
1251 * MAINTAINERS: Update my email address.
1253 2001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
1255 * objcopy.c: Add new switches: --keep-global-symbol,
1256 --keep-symbols, --localize-symbols, --keep-global-symbols and
1258 * binutils.texi: Document new switches.
1259 * objcopy.1: Regenerate.
1260 * NEWS: Announce new feature.
1262 2001-05-28 Andreas Jaeger <aj@suse.de>
1264 * readelf.c (display_debug_frames): Fix warnings: Remove unused
1265 variables, fix format strings.
1267 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
1269 * objdump.c (disassemble_bytes): Remove section VMA adjustment
1270 when computing the address of the line to show.
1272 2001-05-16 Richard Henderson <rth@redhat.com>
1274 * readelf.c (do_debug_frames_interp): New.
1275 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
1276 (byte_get_big_endian): Likewise.
1277 (parse_args) ['F']: Set do_debug_frames_interp.
1278 (Frame_Chunk): Make data_factor signed, add fde_encoding.
1279 (frame_display_row): Don't trunc pc_begin to int.
1280 (size_of_encoded_value): New.
1281 (display_debug_frames): Handle 64-bit targets. Print raw data
1282 unless do_debug_frames_interp.
1283 (debug_displays): Remove duplicate .debug_frame.
1285 2001-05-15 Ralf Baechle <ralf@gnu.org>
1287 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
1288 The former constant was never in active use and is used otherwise
1291 2001-05-11 Jakub Jelinek <jakub@redhat.com>
1293 * readelf.c (process_unwind): Print all unwind sections, not just
1296 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1298 * readelf.c (process_unwind): Remove const specifier.
1300 2001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
1302 * strings.c (isgraphic): Do not use isascii() unless it is needed
1303 for isprint() to work.
1304 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
1306 2001-04-27 Johan Rydberg <jrydberg@opencores.org>
1308 * NEWS: Announce support for OpenRISC.
1310 2001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
1312 * dlltool.c (do_default_excludes): Initialise to true.
1314 2001-04-10 Alan Modra <amodra@one.net.au>
1316 * MAINTAINERS: Update my email address
1317 * nm.c (print_symbol_info_bsd): Use a simple printf string.
1319 2001-04-05 Hans-Peter Nilsson <hp@axis.com>
1321 * readelf.c (display_debug_lines): Fix typo for "Prologue".
1323 2001-03-30 H.J. Lu <hjl@gnu.org>
1325 * readelf.c (process_unwind): Just return if do_unwind is 0.
1327 2001-03-28 Roger Sayle <roger@metaphorics.com>
1329 * dlltool.c (make_one_lib_file): Fix section flags for
1330 .text, .data and .bss in stub ds*.o files to match those
1333 2001-03-29 H.J. Lu <hjl@gnu.org>
1335 * readelf.c (process_unwind): Only do unwind sections for
1338 2001-03-28 H.J. Lu <hjl@gnu.org>
1340 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
1341 * Makefile.in: Regenerate.
1343 2001-03-26 Andreas Jaeger <aj@suse.de>
1345 * binutils.texi (nm): Fix texi syntax.
1347 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1349 * binutils.texi: Put @c man begin and @c man end indications
1350 to generate man pages using texi2pod and pod2man. Put @c man title
1351 to identify each man. Add SEEALSO entries.
1352 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
1353 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
1355 (*.1): Build the man pages from binutils.texi.
1356 * Makefile.in: Regenerate.
1358 2001-03-13 Eric Kohl <ekohl@rz-online.de>
1360 * defparse.y (opt_equal_name): allow "." in name.
1361 * dlltool.c (def_exports): Added ability to generate forwarded exports.
1362 (gen_exp_file): Likewise.
1364 2001-03-12 Stefan Geuken <mail@stefan-geuken.de>
1366 * NEWS: Document addition of -B switch to objcopy.
1367 * binutils.texi: Document addition of -B switch to objcopy.
1368 * objcopy.c: (copy_options): Add --binary-architecture.
1369 (copy_usage): Document -B/--binary-architecture.
1370 (copy_main): Support -B/--binary-architecture. Set
1371 bfd_external_binary_architecture.
1373 2001-03-11 Andreas Jaeger <aj@suse.de>
1375 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
1376 (dump_relocations): Likewise.
1377 (get_machine_name): Likewise.
1379 2001-02-28 Nick Clifton <nickc@redhat.com>
1381 * readelf.c: (struct unw_aux_info): Remove const modifier for
1383 (process_unwind): Remove non-K&R compliant LHS type cast in call
1384 to GET_DATA_ALLOC macro.
1386 2001-02-28 Philip Blundell <pb@futuretv.com>
1388 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
1389 ABI is in use; remove ambiguity between the "unknown" EABI and
1390 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
1391 renamed EF_xx constants.
1393 2001-02-27 Alan Modra <alan@linuxcare.com.au>
1395 * configure.in (BFD_VERSION): New.
1396 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
1397 * configure: Regenerate.
1398 * Makefile.am: Run "make dep-am"
1399 * Makefile.in: Regenerate.
1401 2001-02-14 Nick Clifton <nickc@redhat.com>
1403 * MAINTAINERS: Add "Obvious Fix" rule.
1405 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1407 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
1408 literal concatenation.
1410 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1412 * readelf.c (struct unw_aux_info): Remove const from the info member.
1413 (process_unwind): Don't type-cast the third argument to the
1414 GET_DATA_ALLOC macro.
1416 2001-02-11 Nick Clifton <nickc@redhat.com>
1418 * readelf.c (dump_relocations): Free corrected allocated
1420 (process_unwind): Fix compile time warning.
1422 2001-02-10 Nick Clifton <nickc@redhat.com>
1424 * binutils.texi: Document new --unwind option to readelf.
1426 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
1428 * readelf.c: Add linux target for S/390.
1430 2001-02-10 Alan Modra <alan@linuxcare.com.au>
1432 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
1435 2001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
1437 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
1438 * aclocal.m4: Regenerate.
1439 * configure: Regenerate.
1441 2001-02-07 Todd Vierling <tv@wasabisystems.com>
1443 * bucomm.c (bfd_target_vector): Change extern array to pointer.
1444 * objdump.c (bfd_target_vector): Likewise.
1446 2001-02-07 David Mosberger <davidm@hpl.hp.com>
1448 * readelf.c (process_unwind): New function.
1449 (slurp_ia64_unwind_table): Ditto.
1450 (dump_ia64_unwind): Ditto.
1451 (find_symbol_for_address): Ditto.
1452 (slurp_rela_relocs): New function (split off from dump_relocations()).
1453 (slurp_rel_relocs): Ditto.
1454 (parse_args): Handle '-u' option.
1456 * unwind-ia64.c: New file.
1457 * unwind-ia64.h: New file.
1458 * Makefile.am: Include unwind-ia64.c in readelf build.
1459 * Makefile.in: Regenerate.
1460 * po/binutils.pot: Regenerate.
1462 2001-02-04 Philip Blundell <philb@gnu.org>
1464 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
1465 * configure: Regenerate.
1467 2001-01-31 Steve deRosier <sderosier@vari-lite.com>
1469 * ieee.c (ieee_add_bb11): Don't check for backslashes
1470 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1472 2001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
1474 * ieee.c: Update copyright.
1475 (ieee_start_compilation_unit): Don't check for backslashes
1476 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1478 * stabs.c: Update copyright. Include "filenames.h".
1479 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
1481 2001-01-23 Jakub Jelinek <jakub@redhat.com>
1483 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
1484 sections are present before using them. Remove code duplication.
1485 (process_symbol_table): Check if VERDEF or VERNEED sections are
1486 present before using them.
1488 2001-01-17 Nick Clifton <nickc@redhat.com>
1490 * objcopy.c (copy_object): Fail if attempting to convert the
1491 endianness of the input object file.
1493 * binutils.texi: Explain that objcopy cannot convert endianness.
1495 2001-01-16 Nick Clifton <nickc@redhat.com>
1497 * readelf.c (string_table_length): New variable.
1498 (SECTION_NAME): Catch out of range indices and missing section
1500 (process_section_headers): Delete useless local variable
1501 string_table_offset. Set the value of string_table_length
1502 after loading the string table.
1503 (process_mips_specific): Use SECTION_NAME macro.
1504 (process_file): Set string_table_length to 0 when it is freed.
1506 2001-01-12 Nick Clifton <nickc@redhat.com>
1508 * version.c (print_version): Update copyright date.
1510 2001-01-11 Peter Targett <peter.targett@arccores.com>
1512 * readelf.c (dump_relocations): Include selection with EM_ARC.
1513 (get_machine_name) Update name to "ARC".
1515 2001-01-09 Nick Clifton <nickc@redhat.com>
1517 * Makefile.am: Add rule to build objdump.o from objdump.c and
1519 * Makefile.in: Regenerate.
1521 * configure.in: Define OBJDUMP_DEFS. Default to empty.
1522 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
1523 -DDISASSEMBLER_NEEDS_RELOCS.
1524 * configure: Regenerate.
1526 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
1527 is defined read in the relocs even if dump_reloc_info is
1530 2001-01-07 Philip Blundell <philb@gnu.org>
1532 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
1536 2000-12-19 Nick Clifton <nickc@redhat.com>
1538 * dlltool.c: Add missing support for arm-epoc-pe.
1539 * configure.in: Add missing support for arm-epoc-pe.
1540 * configure: Regenerate.
1542 2000-12-15 Nick Clifton <nickc@redhat.com>
1544 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
1545 Mode parts of the x86 port.
1547 2000-12-04 Andreas Jaeger <aj@suse.de>
1549 * readelf.c (guess_is_rela): Add EM_X86_64.
1550 (dump_relocations): Add EM_X86_64.
1551 (get_machine_name): Add EM_X86_64.
1552 Include "elf/x86-64.h".
1554 2000-12-12 Nick Clifton <nickc@redhat.com>
1556 * readelf.c: Fix formatting.
1558 2000-12-11 Jan Hubicka <jh@suse.cz>
1560 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
1562 2000-12-07 Andrew Haley <aph@redhat.com>
1564 * readelf.c (display_debug_frames): Only display columns that are
1565 referenced by the frame debug info.
1567 2000-12-05 Nick Clifton <nickc@redhat.com>
1569 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
1571 2000-12-04 Jason Merrill <jason@redhat.com>
1573 * readelf.c (process_section_headers): Handle linkonce.wi sections.
1574 (display_debug_section): Likewise.
1575 (display_debug_info): Display CU header before bailing.
1577 2000-12-01 Chris Demetriou <cgd@sibyte.com>
1579 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
1580 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
1581 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
1583 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
1586 * readelf.c (get_machine_flags): Add case for
1589 2000-11-30 Richard Earnshaw <rearnsha@arm.com>
1591 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
1593 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
1595 * MAINTAINERS: Add J
\81örn Rennecke and self as SH maintainers.
1596 Change sourceware.cygnus.com to sources.redhat.com.
1597 Fix typo for "amongst".
1599 2000-11-28 Nick Clifton <nickc@redhat.com>
1601 * strip.1 (COPYING): Mention that the GNU Free Documentation
1602 License is present in the sources, but not the output, and
1603 also available from the GNU website.
1604 (GNU Free Documentation License): Comment out this section.
1613 * addr2line.1: Ditto.
1615 2000-11-27 DJ Delorie <dj@redhat.com>
1617 * readelf.c (usage): Add -wf (--debug-dump=frames) option.
1618 (parse_args): Support -wf option.
1619 (process_section_headers): Ditto.
1620 (debug_displays): Ditto.
1621 (display_debug_frames): New, dump *_frame sections.
1622 (frame_need_space): Support for above.
1623 (frame_display_row): Ditto.
1624 * binutils.texi: Document it.
1626 2000-11-24 Nick Clifton <nickc@redhat.com>
1628 * NEWS: Announce support for v5t, v5te and XScale.
1630 2000-11-22 Nick Clifton <nickc@redhat.com>
1632 * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
1633 EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
1634 (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
1635 (get_elf_section_flags: Add SHF_GROUP.
1636 (process_section_headers): Adjust output for 32-bit binaries
1637 to look nice on an 80 column terminal.
1639 2000-11-20 H.J. Lu <hjl@gnu.org>
1641 * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
1644 2000-11-17 Richard Henderson <rth@redhat.com>
1646 * readelf.c (display_debug_lines): Adjust last change to
1647 use sizeof (external->li_length).
1649 2000-11-17 Richard Henderson <rth@redhat.com>
1651 * readelf.c (display_debug_lines): Fix section length check
1652 and end_of_sequence computation.
1654 2000-11-06 Nick Clifton <nickc@redhat.com>
1656 * binutils.texi: Add GNU Free Documentation License.
1657 * objcopy.1: Add GNU Free Documentation License.
1658 * objdump.1: Add GNU Free Documentation License.
1659 * addr2line.1: Add GNU Free Documentation License.
1660 * ar.1: Add GNU Free Documentation License.
1661 * nlmconv.1: Add GNU Free Documentation License.
1662 * nm.1: Add GNU Free Documentation License.
1663 * ranlib.1: Add GNU Free Documentation License.
1664 * size.1: Add GNU Free Documentation License.
1665 * strings.1: Add GNU Free Documentation License.
1666 * strip.1: Add GNU Free Documentation License.
1668 2000-10-06 Luciano Gemme <ishitawa@yahoo.com>
1670 * objcopy.c (--srec-len=nn): New parameter to set the
1671 maximum length of generated Srecords.
1672 (--srec-forceS3): New parameter that restricts the generation of
1673 Srecords to type S3 only.
1674 * binutils.texi: Document new command line switches.
1675 * objcopy.1: Docuemnt the new command line switches.
1676 * NEWS: Announce the existence of the new command line switches.
1678 2000-10-31 Nick Clifton <nickc@redhat.com>
1680 * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
1681 code. Add Eric Chrisopher as maintainer of MN10300 port.
1683 2000-10-12 Roger Sayle <roger@metaphorics.com>
1685 * Make comma after string after icon/control optional.
1687 2000-09-13 Anders Norlander <anorland@acc.umu.se>
1689 * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
1691 * NEWS: Mention support for MIPS32.
1693 2000-09-08 Nick Clifton <nickc@redhat.com>
1695 * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
1697 2000-09-07 H.J. Lu <hjl@gnu.org>
1699 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
1700 * configure: Rebuild.
1702 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
1704 * configure: Rebuilt with new libtool.m4.
1706 2000-09-05 Nick Clifton <nickc@redhat.com>
1708 * aclocal.m4: Regenerate.
1709 * config.in: Regenerate.
1710 * configure: Regenerate.
1712 2000-09-04 Todd Vierling <tv@wasabisystems.com>
1714 * strip.1: Fix stray '\' in -o formatting.
1716 2000-09-02 Nick Clifton <nickc@redhat.com>
1718 * configure.in: Increase version number to 2.10.91.
1719 * configure: Regenerate.
1720 * aclocal.m4: Regenerate.
1721 * config.in: Regenerate.
1722 * po/binutils.pot: Regenerate.
1724 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
1726 * acinclude.m4: Include libtool and gettext macros from the
1728 * aclocal.m4, configure: Rebuilt.
1730 2000-08-30 Jamie Guinan <guinan@bluebutton.com>
1732 * resrc.c (close_input_stream): Delete extraneous logic
1734 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
1736 * NEWS: Mention support for CRIS.
1738 2000-08-21 Nick Clifton <nickc@redhat.com>
1740 * addr2line.c: Changed email address for Ulrich Lauther.
1742 2000-08-17 Christopher C. Chimelis <chris@debian.org>
1744 * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
1746 2000-08-17 Nick Clifton <nickc@redhat.com>
1748 * readelf.c (display_debug_pubnames): Only issue warning
1749 message once. Terminate message with a new line.
1750 (display_debug_aranges): Only display version 2 debug info.
1752 2000-08-14 Todd Vierling <tv@wasabisystems.com>
1754 * objcopy.c (strip_main): Silently accept -d as an alias for -g
1755 for compatability with old BSD systems.
1757 2000-08-14 Jason Eckhardt <jle@cygnus.com>
1759 * NEWS: Mention i860 support.
1761 2000-08-11 Carlo Wood <carlo@alinoe.com>
1763 * addr2line.c (main): Add const to char *.
1765 2000-08-11 Geoff Keating <geoffk@cygnus.com>
1767 * ar.c (main): Don't crash if called with no arguments
1768 or only '-X32_64' as an argument.
1770 2000-08-08 DJ Delorie <dj@redhat.com>
1772 * resrc.c: use "gcc -xc" instead of -xc-header
1774 2000-08-05 Jason Eckhardt <jle@cygnus.com>
1776 * readelf.c (elf/i860.h): Include.
1777 (dump_relocations): Add recognition of i860 architecture.
1778 (guess_is_rela): Add recognition of i860 architecture.
1780 2000-08-03 Nick Clifton <nickc@cygnus.com>
1782 * MAINTAINERS: Add information about CGEN maintainers.
1784 2000-07-26 Geoff Keating <geoffk@cygnus.com>
1786 * nm.c (main): Ignore '-X32_64' as an option.
1787 * ar.c (main): Likewise.
1788 * binutils.texi (nm): Document new option.
1791 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1793 * rdcoff.c (external_coff_symbol_p): K&R-ise.
1795 2000-07-20 H.J. Lu <hjl@gnu.org>
1797 * binutils.texi: Put back "@end table" deleted by
1800 2000-07-05 Kenneth Block <krblock@computer.org>
1802 * nm.c: Add optional style to demangle switch.
1803 * objdump.c: Add optional style to demangle switch.
1804 * addr2line.c: Add optional style to demangle switch.
1805 * binutils.texi: Document optional style to demangle
1808 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
1810 * MAINTAINERS: Add self as CRIS port maintainer.
1811 * readelf.c: Include elf/cris.h.
1812 (guess_is_rela): Handle EM_CRIS.
1813 (dump_relocations): Ditto.
1814 (get_machine_name): Ditto.
1815 * Makefile.am: Rebuild dependencies.
1816 * Makefile.in: Regenerate.
1817 * po/binutils.pot: Regenerate.
1819 2000-07-19 H.J. Lu <hjl@gnu.org>
1821 * readelf.c (get_dynamic_type): Change "AUXILARY" to
1823 (process_dynamic_segment): Print out strings for DT_CONFIG,
1824 DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
1826 2000-07-19 Mark Kettenis <kettenis@gnu.org>
1828 * nm.c (usage): Change output of `nm --help' to include a
1829 description of the purpose of the program and a detailed
1830 description of the accepted options.
1832 2000-07-19 H.J. Lu <hjl@gnu.org>
1834 * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
1837 2000-07-19 H.J. Lu <hjl@gnu.org>
1839 * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
1841 2000-07-19 H.J. Lu <hjl@gnu.org>
1843 * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
1845 (process_dynamic_segment): Likewise.
1847 * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
1848 DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
1849 (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
1850 DF_1_NODUMP and DF_1_CONLFAT.
1852 2000-07-18 Nick Clifton <nickc@cygnus.com>
1854 * binutils.texi (readelf): Fix spelling typo.
1856 2000-07-11 Mark Kettenis <kettenis@gnu.org>
1858 * objdump.c (usage): Make output of `objdump --help' more
1859 consistent with the rest of the GNU world. Add a line describing
1860 the purpose of the program.
1862 2000-07-10 David Huggins-Daines <dhd@linuxcare.com>
1864 * stabs.c (parse_stab_range_type): Cast to proper type to fix
1867 2000-07-10 Ryan Bradetich <rbradetich@uswest.net>
1869 * readelf.c (get_dynamic_data): Add casts and use unsigned chars
1871 (process_symbol_table): Ditto.
1872 (procesS_extended_line_op): Ditto.
1873 (display_debug_lines): Ditto.
1874 (display_debug_pubnames): Ditto.
1875 (read_and_display_attr): Ditto.
1877 2000-07-09 Nick Clifton <nickc@cygnus.com>
1879 * MAINTAINERS: Add several more port specific maintainers.
1881 2000-07-05 Nick Clifton <nickc@cygnus.com>
1883 * MAINTAINERS: Add blanket write privs for Michael Meissner.
1885 2000-06-05 DJ Delorie <dj@redhat.com>
1889 2000-07-01 Eric Fifer <EFifer@sanwaint.com>
1891 * dllwrap.c: Changed mistaken dyn_string_append() calls
1892 to dyn_string_append_cstr().
1894 2000-07-01 Alexander Aganichev <AAganichev@hypercom.com>
1896 * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
1897 struct debug_type stores size in bytes.
1899 2000-07-01 Alan Modra <alan@linuxcare.com.au>
1901 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
1902 (CLEANFILES): Add DEPA.
1903 * Makefile.in: Regenerate.
1905 2000-06-27 Alan Modra <alan@linuxcare.com.au>
1907 * ar.c: Revert incorrect 2000-06-25 patch.
1908 * bucomm.c: Likewise.
1910 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
1912 * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
1913 (external_coff_symbol_p): New function.
1914 (parse_coff): Use it.
1916 2000-06-25 Alexander Aganichev <AAganichev@hypercom.com>
1918 * ar.c (normalize): Advance past both characters in a DOS based
1919 <letter>: filepath prefix.
1921 * bucomm.c (make_tempname): Likewise.
1923 2000-06-24 Nick Clifton <nickc@cygnus.com>
1925 * objdump.c (usage): Fix description of --stabs switch.
1927 2000-06-22 Alan Modra <alan@linuxcare.com.au>
1929 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
1931 * Makefile.in: Regenerate.
1933 2000-06-20 Alexander Aganichev <AAganichev@hypercom.com>
1935 * ar.c (normalize): Correct pointer comparison when checking for
1938 * bucomm.c (make_tempname): Likewise.
1940 * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
1941 and search for backslashes in the original pathname.
1942 (ieee_add_bb11): Likewise.
1944 2000-06-18 Nick Clifton <nickc@redhat.com>
1946 * ar.c (print_contents): Improve verbose message.
1948 2000-06-15 H.J. Lu <hjl@gnu.org>
1950 * dyn-string.c: Removed. Not needed with dyn-string.c in
1952 * dyn-string.h: Likewise.
1954 * Makefile.am: Remove references to dyn-string.c and
1955 dyn-string.h. Rebuild dependency.
1956 * Makefile.in: Rebuild.
1958 2000-06-15 H.J. Lu <hjl@gnu.org>
1960 * binutils.texi: Put a warning on copying relocatable object
1961 files between two different formats.
1963 2000-06-13 DJ Delorie <dj@cygnus.com>
1965 * rcparse.y (control): ICON controls take an id as the first
1966 parameter, not an optional string. Also, call new convenience
1967 function that takes res_id's.
1968 * resrc.c (define_control): missing text means zero-length string,
1970 (define_icon_control): New.
1971 * windres.h: declare define_icon_control.
1973 2000-06-13 H.J. Lu <hjl@gnu.org>
1975 * configure: Regenerate.
1977 2000-06-08 David O'Brien <obrien@FreeBSD.org>
1979 * configure.in (VERSION): Update to show this is the CVS mainline.
1981 2000-06-02 David O'Brien <obrien@FreeBSD.org>
1983 * strings.c (isgraphic): Interpret <TAB> as a printable character,
1984 analogous to <SPACE>.
1986 2000-05-30 Alan Modra <alan@linuxcare.com.au>
1988 * objdump.c (display_target_list): Use bfd_close_all_done, not
1989 bfd_close to fix crash caused by 2000-05-24 change.
1991 2000-05-25 DJ Delorie <dj@cygnus.com>
1993 * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
1995 2000-05-26 Alan Modra <alan@linuxcare.com.au>
1997 * Makefile.am: Update dependencies with "make dep-am"
1998 * Makefile.in: Regenerate.
2000 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
2002 * ar.c: Include filenames.h.
2003 (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
2004 and drive letters in file names.
2005 (main): Support backslashes and drive letters in argv[0]. Drop
2006 the .exe suffix, if any, in argv[0] if is_ranlib is negative. Use
2007 FILENAME_CMP instead of strcmp to compare file names.
2008 (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
2010 (do_quick_append) [__GO32__]: Ditto.
2011 (get_pos_bfd, delete_members, move_members, replace_members):
2012 Compare file names with FILENAME_CMP.
2014 * bucomm.c: Include filenames.h.
2015 (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
2016 forward/backward slashes and drive letters in file names.
2018 * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
2019 mixed forward/backward slashes and drive letters in file names.
2021 * strings.c (O_BINARY, setmode, SET_BINARY): Define.
2022 (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
2025 * objcopy.c: Include filenames.h.
2026 (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
2027 before comparing to "strip".
2028 Use FILENAME_CMP to compare file names.
2030 * arsup.c: Include filenames.h.
2031 (map_over_list, ar_delete, ar_replace, ar_extract): Use
2032 FILENAME_CMP to compare file names.
2033 (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
2034 the temporary file name.
2036 * configure.in: Check for setmode.
2037 * configure: Regenerate.
2039 2000-05-24 Alan Modra <alan@linuxcare.com.au>
2041 * objdump.c (display_target_list): Close the bfd.
2042 (display_info_table): Likewise.
2044 2000-05-14 H.J. Lu (hjl@gnu.org)
2046 * objcopy.c (filter_symbols): Don't strip global symbols in
2047 relocatable object files.
2049 2000-05-14 Alan Modra <alan@linuxcare.com.au>
2051 * size.c (usage): Associate short options with corresponding long
2052 option to give a clue as to their function.
2054 2000-05-14 Philippe De Muyter <phdm@macqel.be>
2056 * size.c (main): Accept and ignore `-f' option.
2058 2000-05-13 Alan Modra <alan@linuxcare.com.au>
2060 * bucomm.h (gettext, dgettext, dcgettext, textdomain,
2061 bindtextdomain): Replace defines with those from intl/libgettext.h
2062 to quieten gcc warnings.
2064 2000-05-12 H.J. Lu <hjl@gnu.org>
2066 * nlmconv.c (temp_filename): Removed.
2068 * nlmconv.c (link_inputs): Use make_temp_file () instead of
2069 choose_temp_base ().
2070 * objdump.c (display_target_list): Likewise.
2071 (display_info_table): Likewise.
2073 2000-05-08 Alan Modra <alan@linuxcare.com.au>
2075 * objcopy.c (setup_section): Add const and gettext calls for err.
2077 2000-05-02 H.J. Lu <hjl@gnu.org>
2079 * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
2080 ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
2081 ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
2082 ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
2083 and ELFOSABI_OPENBSD.
2085 2000-05-02 Kazu Hirata <kazu@hxi.com>
2087 * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
2088 * srconv.c: Likewise.
2089 * sysdump.c: Likewise.
2091 2000-04-23 Denis Chertykov <denisc@overta.ru>
2093 * readelf.c (guess_is_rela): AVR uses RELA relocations.
2094 (get_machine_name): machine name for EM_AVR added.
2096 2000-04-21 Richard Henderson <rth@cygnus.com>
2097 David Mosberger <davidm@hpl.hp.com>
2099 * Makefile.am (readelf.o): Add elf/ia64.h.
2100 * Makefile.in: Rebuild.
2101 * readelf.c: Include elf/ia64.h.
2102 (guess_is_rela, dump_relocations): Handle EM_IA_64.
2104 2000-04-17 Timothy Wall <twall@cygnus.com>
2106 * objdump.c (disassemble_data): Set octets per byte *after*
2107 resolving arch/mach for binary files.
2109 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2111 * arlex.l: Add directives to increase lex buffer size.
2113 * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
2114 already included by bucomm.h.
2116 2000-04-10 Philippe De Muyter <phdm@macqel.be>
2118 * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
2119 `strftime' since strftime is not available on all systems.
2120 (process_mips_specific): Ditto.
2122 2000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
2124 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
2125 --enable-build-warnings option.
2126 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
2127 * Makefile.in, configure: Re-generate.
2129 2000-04-06 Alan Modra <alan@linuxcare.com.au>
2131 * addr2line.c: Update copyright.
2132 * objcopy.1: Likewise, and title.
2133 * strings.1: Likewise.
2135 * version.c (print_version): Add 2000.
2137 * rddbg.c (read_section_stabs_debugging_info): Don't use
2138 bfd_size_type for strx to avoid printf problems if BFD64.
2140 * bucomm.c: (report): Remove `static'.
2141 Move inclusion of stdarg.h/vararg.h from here.
2142 * bucomm.h: To here.
2143 (CONST): Change all occurences to const.
2144 (report): Declare it.
2145 (bfd_fatal): Add ATTRIBUTE_NORETURN.
2146 (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
2147 (non_fatal): Add ATTRIBUTE_PRINTF_1.
2149 * ar.c (main): Use fatal or non_fatal instead of fprintf.
2150 Correct a typo in an error message.
2151 (do_quick_append): Use non_fatal instead of fprintf.
2152 (move_members): Use fatal instead of fprintf, exit.
2153 * coffdump.c (main): Same here.
2155 * dlltool.c (display): Delete.
2157 (inform): Use `report' instead of `display'.
2158 (rvaafter): Remove trailing \n from fatal error msg.
2160 (asm_prefix): Ditto.
2161 (yyerror): Replace `warn' with `non_fatal', and remove \n.
2162 (def_name): Likewise.
2164 (scan_all_symbols): Likewise.
2165 (gen_lib_file): Likewise.
2166 (def_library): Likewise. Remove extra program_name too.
2167 (run): Remove \n from inform strings.
2168 (scan_drectve_symbols): Likewise.
2169 (add_excludes): Likewise.
2170 (scan_open_obj_file): Likewise.
2171 (gen_exp_file): Likewise.
2172 (gen_lib_file): Likewise.
2173 (process_duplicates): Likewise.
2175 * Makefile.am (dllwrap_SOURCES): Add version.c.
2176 * dllwrap.c (program_version): Delete.
2177 (print_version): Delete.
2178 (display): Always print trailing \n.
2180 (delete_temp_files): Use warn instead of fprintf. Use gettext.
2183 (usage): gettext'ify.
2184 (long_options): Add missing initialisers.
2186 * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
2187 (select_output_format): Likewise.
2188 (powerpc_mangle_relocs): Likewise.
2189 (link_inputs): Likewise.
2191 * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
2192 (set_output_format): Likewise.
2193 (main): Use non_fatal instead of fprintf.
2194 (display_rel_file): Likewise.
2196 * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
2197 (slurp_dynamic_symtab): Same here.
2198 (disassemble_data): And here.
2199 (read_section_stabs): And here.
2200 (read_section_stabs): And here.
2201 (dump_bfd): And here.
2203 (objdump_sprintf): Use fatal instead of fprintf, exit.
2204 (disassemble_data): Same here.
2206 * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
2207 (parse_coff_struct_type): Same here.
2208 (parse_coff_enum_type): And here.
2209 (parse_coff): And here.
2210 * rddbg.c (read_debugging_info): And here.
2211 * size.c (main): And here.
2212 * windres.c (format_from_name): And here.
2213 * wrstabs.c (stab_write_symbol): Here too.
2214 (write_stabs_in_sections_debugging_info): And here.
2215 (stab_int_type): And here.
2216 (stab_struct_field): And here.
2217 (stab_typdef): And here.
2219 * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
2220 * srconv.c (main): Same here.
2221 * strings.c (main): And here.
2222 (integer_arg): And here.
2223 * sysdump.c (main): And here.
2225 2000-04-06 Timothy Wall <twall@cygnus.com>
2227 * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
2229 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
2231 * readelf.c (decode_location_expression): Loop through multiple
2233 (read_and_display_attr): Pass in length.
2235 * readelf.c (read_and_display_attr): Add CU offset to references.
2236 (display_debug_info): Pass it in.
2238 2000-04-06 Nick Clifton <nickc@cygnus.com>
2240 * readelf.c (decode_ARM_machine_flags): New function.
2241 (get_machine_flags): Call decode_ARM_machine_flags for ARM
2244 (get_machine_name): Catch EM_AVR
2246 2000-04-05 Alan Modra <alan@linuxcare.com.au>
2248 * binutils.texi: Remove optional `=' from long options that have
2249 an `=' in the argument.
2250 * objcopy.1: Here too. Remove extra space on discard-all.
2252 * binutils.texi (objcopy): Mention --redefine-sym.
2253 * objcopy.1: Here too.
2256 * objcopy.c (parse_flags): Split off flag names from error message
2257 gettext as they are not translated.
2258 (copy_main): Similarly split off option name for --add-section,
2259 --set-section-flags, --change-section-vma, --change-section-lma
2261 Some white space changes.
2263 from Matthew Benjamin <matt@linuxbox.nu>
2264 * objcopy.c (struct redefine_node): New.
2265 (redefine_sym_list): New.
2266 (redefine_list_append): New.
2267 (lookup_sym_redefinition): New.
2268 (OPTION_REDEFINE_SYM): New.
2269 (copy_options): Add --redefine-sym option.
2270 (copy_usage): Mention it.
2271 (filter_symbols): Rename symbols on redefine_sym_list.
2272 (copy_object): Call filter_symbols if redefine_sym_list != NULL.
2273 (copy_main): Handle OPTION_REDEFINE_SYM.
2275 2000-04-04 H.J. Lu <hjl@gnu.org>
2277 * readelf.c (process_symbol_table): Correctly read in symbol
2278 versioning information.
2280 2000-04-04 Alan Modra <alan@linuxcare.com.au>
2282 * po/binutils.pot: Regenerate.
2284 * addr2line.c (usage): Restore translated part of bug string.
2285 * ar.c (usage): Likewise.
2286 * nlmconv.c (show_usage): Likewise.
2287 * nm.c (usage): Likewise.
2288 * objcopy.c (copy_usage): Likewise.
2289 (strip_usage): Likewise.
2290 * objdump.c (usage): Likewise.
2291 * readelf.c (usage): Likewise.
2292 * size.c (usage): Likewise.
2293 * strings.c (usage): Likewise.
2294 * windres.c (usage): Likewise.
2296 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
2297 (DEP): Quote when passing vars to sub-make. Add warning
2299 (DEP1): Rewrite for "gcc -MM".
2300 (CLEANFILES): Add DEP2.
2301 Update dependencies.
2302 * Makefile.in: Regenerate.
2304 2000-04-04 H.J. Lu <hjl@gnu.org>
2306 * Makefile.am (GENERATED_HFILES): Add rcparse.h
2307 (arparse.h): Depend on arparse.c
2308 (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
2310 2000-04-03 H.J. Lu (hjl@gnu.org)
2312 * size.c (usage): Use REPORT_BUGS_TO.
2314 2000-04-03 Alan Modra <alan@linuxcare.com.au>
2316 * bucomm.h: #include "bin-bugs.h"
2317 * addr2line.c (usage): Use REPORT_BUGS_TO.
2318 * ar.c (usage): Likewise.
2319 * nlmconv.c (show_usage): Likewise.
2320 * nm.c (usage): Likewise.
2321 (OPTION_TARGET): Define.
2322 (long_options): Use OPTION_TARGET rather than 200.
2325 * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
2326 (strip_usage): Likewise.
2327 * objdump.c (usage): Likewise.
2328 * readelf.c (usage): Likewise.
2329 * strings.c (usage): Likewise.
2330 * windres.c (usage): Likewise.
2332 2000-03-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
2334 * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
2336 2000-03-27 Nick Clifton <nickc@cygnus.com>
2338 * rddbg.c (read_section_stabs_debugging_info): Catch out of range
2339 string offsets in corrupt stabs entries.
2341 2000-03-27 Alan Modra <alan@linuxcare.com.au>
2343 * readelf.c: Include elf/avr.h
2344 (dump_relocations): Add EM_AVR case.
2346 2000-03-09 Tim Waugh <twaugh@redhat.com>
2348 * strings.1: Correct '-bytes' to '--bytes'.
2350 2000-03-08 H.J. Lu <hjl@gnu.org>
2352 * Makefile.am (install-exec-local): Depend on
2353 install-binPROGRAMS for parallel make.
2354 * Makefile.in: Regenerated.
2356 2000-02-27 Ian Lance Taylor <ian@zembu.com>
2358 From Brad Lucier <lucier@math.purdue.edu>:
2359 * readelf.c (process_dynamic_segment): Add cast to make sure
2360 argument to %* is int.
2362 2000-02-25 H.J. Lu <hjl@gnu.org>
2364 * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
2366 2000-02-24 Nick Clifton <nickc@cygnus.com>
2368 * configure.in: Add arm-wince, mips-pe and sh-pe targets.
2369 * configure: Regenerate.
2371 * dlltool.c: Add support for sh-pe and mips-pe targets.
2372 * rescoff.c: Add support for sh-pe and mips-pe targets.
2374 2000-02-23 H.J. Lu <hjl@gnu.org>
2376 * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
2378 2000-02-22 Nick Clifton <nickc@cygnus.com>
2380 * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
2382 2000-02-22 Ian Lance Taylor <ian@zembu.com>
2384 From Brad Lucier <lucier@math.purdue.edu>:
2385 * readelf.c (process_version_sections): Add casts to make sure
2386 argument to %* is an int.
2387 (process_mips_specific): Add casts to make printf arguments match
2390 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
2392 * objdump.c (dump_section_header): Change `opb' to unsigned.
2393 (find_symbol_for_address): Same here.
2394 (disassemble_data): And here. Change `addr_offset',
2395 `stop_offset', `nextstop_offset' to unsigned long.
2396 (dump_data): Change opb to unsigned.
2398 2000-02-18 Frank Ch. Eigler <fche@redhat.com>
2400 * resrc.c: Remove unmatched #if for cygwin.
2402 2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com>
2404 * binutils.texi: Document the change of flavor name from atpcs-special
2405 to special-atpcs to prevent name conflict in gdb.
2407 2000-02-08 Timothy Wall <twall@redhat.com>
2409 * objdump.c (show_line): Fix bug preventing printing of the very
2410 first line (line zero) of a file when interlisting source and
2411 assembly. Added option to print entire context from start of file
2412 when the first line from that file is encountered.
2414 2000-02-03 Timothy Wall <twall@redhat.com>
2416 * objdump.c (dump_section_header, find_symbol_for_address,
2417 show_line, disassemble_bytes, disassemble_data, dump_data):
2418 distinguish between octets and bytes.
2420 2000-01-27 Thomas de Lellis <tdel@windriver.com>
2422 * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
2423 check to unresolved symbols.
2424 (print_symbol_info_sysv): Ditto.
2425 (print_symbol_info_posix): Ditto.
2427 * binutils.texi: Document new 'V' symclass flag for nm.
2429 2000-01-27 Nick Clifton <nickc@redhat.com>
2431 * binutils.texi (objdump): Document new ARM specific
2432 disassembler options.
2434 * objdump.c (usage): Call disassembler_usage().
2436 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
2438 * readelf.c (get_dynamic_flags): Return buff.
2439 (process_dynamic_segment): Don't pass error strings to printf
2441 (read_and_display_attr): Use lx and ld to print longs.
2442 (process_corefile_note_segment): Cast bfd_vma to unsigned long
2446 2000-01-17 Nick Clifton <nickc@cygnus.com>
2448 * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
2450 2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
2452 * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
2454 (debug_tag_type): Here too.
2455 * ieee.c (ieee_builtin_type): And here.
2456 * stabs.c (parse_stab_type, parse_stab_array_type): And here.
2458 2000-01-13 Nick Clifton <nickc@cygnus.com>
2460 * readelf.c (get_machine_name): Change EM_S370 to return "IBM
2463 2000-01-11 Nick Clifton <nickc@cygnus.com>
2465 * readelf.c (get_dynamic_type): Remove DT_ENCODING.
2467 2000-01-10 Nick Clifton <nickc@cygnus.com>
2469 * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
2471 2000-01-07 Mumit Khan <khan@xraylith.wisc.edu>
2473 * windres.c (long_options): Add --use-temp-file and
2474 --no-use-temp-file options.
2478 * windres.h: Update read_rc_file prototype.
2480 * resrc.c (cpp_temp_file): New static variable.
2481 (istream_type): New static variable.
2482 (close_pipe): Delete function.
2483 (run_cmd): New static function.
2484 (open_input_stream): New static function.
2485 (close_input_stream): New static function.
2486 (look_for_default): Handle DOS directory separator. Use
2487 open_input_stream instead of popen.
2488 (read_rc_file): Likewise.
2490 * binutils.texi: Document --use-temp-file, --no-use-temp-file
2493 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
2495 * dlltool.c (create_compat_implib): New variable.
2496 (gen_exp_file): Use.
2497 (make_one_lib_file): Use.
2498 (long_options): Add --compat-implib option.
2502 * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
2503 (main): Use. Don't look for "32" in cygwin and mingw target names.
2505 2000-01-03 Nick Clifton <nickc@cygnus.com>
2507 * binutils.texi: Document new, ARM specific disassembler
2508 command line switch "-M force-thumb".
2510 For older changes see ChangeLog-9899
2516 version-control: never