1 2002-04-09 Bernd Herd <info@herdsoft.com>
3 * rcparse.y: CLASS definitions in DIALOG resources
5 Fix typo in BEDIT warning.
6 Don't add default dialog style when explicit style specified.
7 Add WS_CAPTION dialog style if CAPTION is specified.
9 * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
10 (handle_quotes) "\a" escape (used for right justified key
11 definitions in menus) is encodes as binary 8.
13 * resrc.c (write_rc_dialog): Print style even if it is 0.
14 (write_rc_directory): Fix overlooked sublang shift bug.
15 (bin_to_res_dialog): Don't print empty dialog caption.
17 * resbin.c (bin_to_res_dialog): Use signature to identify
20 * windres.c (main): Set default LANGUAGE to english/us.
22 2002-04-09 Gunnar Degnbol <degnbol@danbbs.dk>
24 * resrc.c: print CLASS names in quotes
26 2002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
28 * MAINTAINERS: Update my email address.
30 2002-04-04 Alan Modra <amodra@bigpond.net.au>
32 * dep-in.sed: Cope with absolute paths.
33 * Makefile.am (dep.sed): Subst TOPDIR.
35 * Makefile.in: Regenerate.
37 2002-03-27 Peter Targett <peter.targett@arc.com>
39 * MAINTAINERS: Update my email address.
41 2002-03-21 Alan Modra <amodra@bigpond.net.au>
43 * Makefile.am: Run "make dep-am".
44 * Makefile.in: Regenerate.
45 * doc/Makefile.in: Regenerate.
46 * po/POTFILES.in: Regenerate.
47 * aclocal.m4: Regenerate.
48 * config.in: Regenerate.
49 * configure: Regenerate.
51 2002-03-20 Daniel Berlin <dan@dberlin.org>
53 * readelf.c: Add support for displaying dwarf2 location lists.
54 (do_debug_loc, debug_loc_section, debug_loc_size): New.
55 (parse_args): Use 'O' as shorthand for displaying location list
57 (process_section_headers): Handle debug_loc as well.
58 (load_debug_loc): New.
59 (free_debug_loc): New.
60 (fetch_location_list): New.
61 (display_debug_loc): New.
62 (display_debug_info): Call load_debug_loc and free_debug_loc.
63 (debug_displays): We can display .debug_loc now, too.
64 (usage): Update usage string.
65 (read_and_display_attr_value): Note location lists, but don't
68 2002-03-18 Tom Rix <trix@redhat.com>
70 * Makefile.am: Add binutils emulation support.
72 * configure.tgt: New file. Same.
73 * ar.c (main): Use ar_emul_parse_arg.
74 (usage): Use ar_emul_usage.
75 (replace_members): Use ar_emul_replace, ar_emul_append.
76 * binemul.c: New file. Define the binutils emulation
77 layer. Define default methods.
78 * binemul.h: New file. Binutils emulation layer header file.
79 * emul_aix.c: New file. AIX binutils emulation.
80 * emul_vanilla.c: New file. Default binutils emulation.
81 * Makefile.in: Regenerate.
84 2002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
86 * po/fr.po: Updated version.
88 2002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
90 * po/fr.po: Updated version.
92 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
94 * README: Update some version numbers.
96 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
98 * doc/binutils.texi (Target Selection): Fix LD crossreferences.
99 (Architecture Selection): Likewise.
101 2002-03-01 Dmitry Timoshkov <dmitry@baikal.ru>
103 * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
104 generating .exp file.
106 2002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
108 * readelf.c (dump_relocations): Fix typo.
110 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
112 * NEWS: Mark 2.12 branch.
114 2002-02-18 Timothy Daly <remote_bob@yahoo.com>
116 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
117 types for 64-bit MIPS. Narrow some fields for 80-char
119 (dump_relocations): Change spelling from 'unrecognised'
121 (decode_ARM_machine_flags): Likewise.
122 (parse_args): Likewise.
123 (read_and_display_attr_value): Likewise.
124 (display_debug_section): Likewise.
126 2002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
128 * NEWS: Mention support for MMIX.
130 2002-02-13 Matt Fredette <fredette@netbsd.org>
132 * readelf.c (get_machine_flags): Recognize EF_M68000.
134 2002-02-12 Alexandre Oliva <aoliva@redhat.com>
136 * MAINTAINERS: Added self as MN10300 co-maintainer.
138 2002-02-12 Alan Modra <amodra@bigpond.net.au>
140 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
143 2002-02-11 Daniel Jacobowitz <drow@mvista.com>
145 * MAINTAINERS: List myself as branch maintainer.
147 2002-02-11 Alan Modra <amodra@bigpond.net.au>
149 * configure: Regenerate.
150 * objcopy.c: Update copyright date.
151 * doc/Makefile.in: Regenerate.
153 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
155 * nlmconv.c: Back out localtime PARAMS change.
157 2002-02-11 Alan Modra <amodra@bigpond.net.au>
159 * objcopy.c (MKDIR): Define.
160 (copy_archive): Make name_list.name const. Use MKDIR.
161 Handle duplicate files in archives by making more temp dirs.
163 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
165 * coffdump.c: Include "getopt.h" after "bucomm.h"
166 so that macros are defined correctly.
167 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
168 prototype. Prototype main.
169 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
171 2002-02-06 Alexandre Oliva <aoliva@redhat.com>
173 * MAINTAINERS: Added self as SH co-maintainer.
175 2002-02-05 Nick Clifton <nickc@redhat.com>
177 * po/tr.po: Updated translation.
179 2002-02-01 Alan Modra <amodra@bigpond.net.au>
181 * Makefile.am: Run "make dep-am"
182 * Makefile.in: Regenerate.
184 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
186 * nm.c (print_value): Mark abfd unused.
188 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
190 * unwind-ia64.c (unw_decoder): Change second argument
191 to unsigned int, to match function prototypes.
193 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
195 * objdump.c: Include "getopt.h" after "bucomm.h" so that
196 __GNU_LIBRARY__ will be defined.
199 2002-01-27 Daniel Jacobowitz <drow@mvista.com>
201 * configure: Regenerated.
203 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
205 * doc/Makefile.am (install): Depend on install-info.
206 * doc/Makefile.in: Regenerate.
208 2002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
210 * objcopy.c (strip_usage): Document -d as an alias
213 * size.c (usage): Document [-t | --totals] options.
214 (long_options): Add --totals option.
215 (main): If the [-t | --totals] option is specified and
216 the output format is Berkeley-style, print the total
217 text, data, and bss sizes of all objects listed.
218 (print_berkeley_format): If the [-t | --totals] option
219 is specified, track the total text, data, and bss
221 * doc/binutils.texi (size): Document [-t | --totals] options.
222 (strip): Document -d as an alias for --strip-debug.
223 * NEWS: Mention new feature of size.
225 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
227 * po/fr.po: Updated version.
228 * po/es.po: Updated version.
230 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
232 * addr2line.c (usage): Update text to provide verbose
233 description of the command line options.
234 * ar.c (usage): Update text to provide verbose
235 description of the command line options.
236 (main): Accept -h and -H when running as ranlib.
237 * coffdump.c (show_usage): Update text to provide verbose
238 description of the command line options.
239 * dlltool.c (main): Accept -H as an alias for --help.
240 * nlmconv.c (show_usage): Update text to provide verbose
241 description of the command line options.
242 * nm.c (usage): Replace OPTIONS with option(s).
243 (main): Accept -H as an alias for --help.
244 * objcopy.c (strip_main): Accept -H as an alias for --help.
245 * objdump.c (main): Accept -v as an alias for --verbose.
246 * readelf.c (usage): Adjust format to match style used in
248 * size.c (usage): Update text to provide verbose description
249 of the command line options.
250 (main): Accept -v, -h and -H as command line options.
251 * srconv.c (show_usage): Update text to provide verbose
252 description of the command line options.
253 * strings.c (main): Accept -H and -v as command line options.
254 (usage): Update text to provide verbose description of the
255 command line options.
256 * sysdump.c (show_usage): Update text to provide verbose
257 description of the command line options.
258 * windres.c (usage): Adjust format to match style used in
261 * coffdump.c: Fix formatting.
262 * nlmconv.c: Fix formatting.
263 * srconv.c: Fix formatting.
264 * sysdump.c: Fix formatting.
266 2002-01-22 Alan Modra <amodra@bigpond.net.au>
268 * Makefile.am: Run "make dep-am".
269 * Makefile.in: Regenerate.
271 2002-01-18 Andreas Jaeger <aj@suse.de>
273 * version.c (print_version): Update year.
275 2002-01-17 Alan Modra <amodra@bigpond.net.au>
277 * readelf.c (get_machine_name): Handle EM_PPC64.
278 (guess_is_rela): Here too.
280 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
282 * po/binutils.pot: Regenerate.
283 * po/fr.po: Regenerate.
284 * po/tr.po: Regenerate.
286 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
288 * po/tr.po: Import new version.
290 2002-01-16 Alan Modra <amodra@bigpond.net.au>
292 * readelf.c (get_ppc64_dynamic_type): New.
293 (get_dynamic_type): Call it.
295 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
297 * objcopy.c (copy_usage): Use "options" instead of "switches".
298 (strip_usage): Use "options" instead of "switches".
299 * doc/binutils.texi (dlltool): Refer to "options" instead of
302 2002-01-14 Richard Earnshaw <rearnsha@arm.com>
304 * MAINTAINERS: Add self as co-maintainer for the ARM code.
306 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
308 * po/es.po: Import from translation project.
309 * configure.in (ALL_LINGUAS): Add es.
310 * configure: Regenerate.
312 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
314 * readelf.c (get_netbsd_elfcore_note_type): Use
315 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
317 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
319 * readelf.c: Update copyright years.
320 (get_note_type): Return a const char *.
321 (get_netbsd_elfcore_note_type): New function.
322 (process_note): Use get_netbsd_elfcore_note_type to get
323 the note type string for NetBSD ELF core files.
325 2002-01-06 Steve Ellcey <sje@cup.hp.com>
327 * readelf.c (get_ia64_segment_type): Add support for macros.
328 (get_segment_type): Add support for IA64 specific macros.
330 2001-12-20 Julian v. Bock <julian@wongr.net>
332 * readelf.c (print_symbol): New function: Print a formatted symbol
333 name. If --wide is specified do not truncate it.
334 (dump_relocations): Use print_symbol() to print symbol names.
335 (process_symbol_table): Likewise.
336 (process_syminfo): Likewise.
337 (process_mips_specific): Likewise.
338 (usage): Document new feature of --wide switch.
339 * doc/binutils.texi (objdump): Document additional behaviour of
342 2001-12-18 Michael Snyder <msnyder@redhat.com>
344 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
345 (copy_object): Don't set the start address or flags of a core file.
346 (copy_section): Don't relocate a core file. Don't copy contents
347 if the input section has the contents flag set, but the output
348 section does not (which happens with the fake 'note' pseudo-
349 sections that BFD creates for corefiles).
351 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
353 * readelf.c (get_machine_flags): Recognize header flags for ABI and
354 ASE extensions. More robust code for ISA checking. Ignore empty fields
355 in header flags for GNU extensions.
357 2001-12-18 Alan Modra <amodra@bigpond.net.au>
359 * objcopy.c (copy_archive): Set output bfd format outside the loop.
361 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
363 * po/ja.po: Import from translation project.
364 * configure.in (ALL_LINGUAS): Add ja.
365 * configure: Regenerate.
367 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
369 * addr2line.c (main): Protoype.
370 * ar.c (main): Protoype.
371 * nm.c (main): Protoype.
372 * objcopy.c (main): Protoype.
373 * objdump.c (main): Protoype.
374 * size.c (main): Protoype.
375 * strings.c (main): Protoype.
377 2001-12-17 Alan Modra <amodra@bigpond.net.au>
379 * readelf.c (symtab_shndx_hdr): New global.
380 (SECTION_HEADER_INDEX): Define.
381 (SECTION_HEADER_NUM): Define.
382 (SECTION_HEADER): Define.
383 (GET_ELF_SYMBOLS): Pass two params rather than three.
384 (get_32bit_elf_symbols): Take file and section args. Read and
385 use SHT_SYMTAB_SHNDX.
386 (get_64bit_elf_symbols): Likewise.
387 (dump_relocations): Use SECTION_HEADER to index "section_headers".
388 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
389 Remember symtab_shdx_hdr.
390 (process_program_headers): Scan from index 1 for segment map.
391 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
393 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
394 (process_unwind): Likewise.
395 (process_version_sections): Likewise.
396 (process_symbol_table): Likewise.
397 (display_debug_info): Likewise.
398 (process_dynamic_segment): Fake up a symtab section for changed
400 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
401 (process_program_headers): Kill signed/unsigned warning.
402 (load_debug_str): Likewise.
403 (display_debug_info): Likewise.
405 2001-12-13 Jakub Jelinek <jakub@redhat.com>
407 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
409 2001-12-11 Alan Modra <amodra@bigpond.net.au>
411 * readelf.c (process_file_header): Print extended e_shnum and
412 e_shdtrndx values. Set elf_header values for same.
413 (get_32bit_section_headers): Add "num" arg to read "num" headers.
414 (get_64bit_section_headers): Likewise.
415 (process_section_headers): Update calls.
416 (get_file_header): Call get_32bit_section_headers or 64bit variant.
418 2001-12-10 Jakub Jelinek <jakub@redhat.com>
420 * objcopy.c (setup_section): Copy entsize.
422 2001-12-07 Geoffrey Keating <geoffk@redhat.com>
424 * readelf.c (guess_is_rela): Add support for stormy16.
425 (dump_relocations): Likewise.
426 (get_machine_name): Likewise.
428 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
430 * dllwrap.c (main) Replace multiple strings describing a
431 single error with a single, newline escaped sentence to permit
432 better translation into foreign languages.
434 * readelf.c (get_elf_class): Remove internalionalisation of ELF
437 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
439 * strings.c (get_char): Initialize value.
441 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
443 * arlex.l: Silence compile warnings.
444 * arsup.h: Likewise. Fix formatting.
446 2001-12-04 Jakub Jelinek <jakub@redhat.com>
448 * strings.c: Include config.h before bfd.h.
449 (file_off): New type.
451 (print_strings): Use file_off instead of file_ptr. Print addresses
452 which don't fit into long correctly.
453 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
455 (strings_file): Use file_off instead of file_ptr. Use file_open.
456 * configure.in: Check for getc_unlocked.
457 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
459 * configure: Rebuilt.
460 * config.h.in: Rebuilt.
462 2001-11-29 H.J. Lu <hjl@gnu.org>
464 * bucomm.c (make_tempname): Revert the changes made on
465 2001-11-14 and 2001-11-12. They won't work with directories.
467 2001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
469 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
470 CFLAGS_FOR_TARGET to runtest in environment.
471 * Makefile.in: Rebuild.
472 * doc/Makefile.in: Rebuild.
474 2001-11-28 Mike Stump <mrs@wrs.com>
476 * objcopy.c (setup_section): Preserve SEC_RELOC when
477 --set-section-flags is used.
479 2001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
481 * readelf.c (do_debug_str): New variable.
482 (display_debug_str): New function: Display the contents of a
484 (load_debug_str): New function: Load in the contents of a
486 (free_debug_str): New function: Free the memory used by
488 (fetch_indirect_string): Retrieve a string from the .debug_str
491 (parse_args): Accept -ws.
492 (process_section_headers): Allow the display of the .debug_str
494 (read_and_display_attr_value): Use fetch_indirect_string. Show
495 offset into .debug_str section.
496 (display_debug_info): Use load_debug_str and free_debug_str.
497 (debug_displays): Add .debug_str.
498 * doc/binutils.texi: Document -ws.
500 2001-11-19 Andreas Jaeger <aj@suse.de>
502 * testsuite/binutils-all/objdump.exp: Add x86-64.
504 2001-11-15 Andreas Schwab <schwab@suse.de>
506 * readelf.c: Fix warnings without terminating newline.
508 2001-11-15 Alan Modra <amodra@bigpond.net.au>
510 * doc/binutils.texi (objdump): Document ppc -M options.
512 2001-11-14 Andreas Jaeger <aj@suse.de>
514 * doc/binutils.texi (objdump): Fix description to use x86-64.
516 2001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
518 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
519 not all systems provide mkstemp.
521 2001-11-14 Alan Modra <amodra@bigpond.net.au>
523 * doc/binutils.texi (objdump): Document x86 -M options.
525 2001-11-13 Keith Walker <keith.walker@arm.com>
527 * readelf.c (read_and_display_attr_value): New function to
528 handle DW_FORM_indirect.
529 (read_and_display_attr): Use it.
531 2001-11-13 Geoffrey Keating <geoffk@redhat.com>
533 * readelf.c (display_debug_lines): Deal with unknown standard
534 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
537 2001-11-13 Timothy Wall <twall@alum.mit.edu>
539 * MAINTAINERS: Add self as tic54x maintainer. This target
540 includes the IBM C54XDSP clone.
542 2001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
544 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
546 2001-11-09 Jeffrey A Law (law@cygnus.com)
548 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
549 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
550 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
551 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
552 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
553 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
554 (unw_decode_b2, unw_decode_b3_b4): Likewise.
556 * readelf.c (get_elf_class): Fix ISO portability glitch.
557 (get_data_encoding, get_osabi_name, request_dump): Likewise.
559 2001-11-07 Jakub Jelinek <jakub@redhat.com>
561 * readelf.c (debug_str, debug_str_size): New.
562 (display_debug_abbrev): If no abbrevs were read, skip the CU.
564 (read_and_display_addr): Handle DW_FORM_strp.
565 (display_debug_info): Read .debug_str section if present,
566 so that DW_FORM_strp can be handled.
567 Fix test for non-existant .debug_abbrev section.
569 2001-11-05 Jakub Jelinek <jakub@redhat.com>
571 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
573 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
575 2001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
577 * MAINTAINERS: Add self as s390/s390x maintainer.
579 2001-11-02 Tom Rix <trix@bluey.cygnus.com>
581 * MAINTAINERS: Add self as PPC XCOFF maintainer.
583 2001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
585 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
586 * configure: Regernate.
587 * po/fr.po: New file.
588 * po/tr.po: New file.
590 2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
592 * MAINTAINERS: Add self as MMIX port maintainer.
593 * readelf.c: Include elf/mmix.h.
594 (guess_is_rela): MMIX is RELA.
595 (dump_relocations): Handle MMIX relocations.
596 * Makefile.am: Regenerate dependencies.
597 * Makefile.in: Regenerate.
599 2001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
601 * readelf.c (parse_args): Handle multiple options to the -w
604 2001-10-12 Jakub Jelinek <jakub@redhat.com>
606 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
607 LOPROC, LOOS and LOUSER.
609 2001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
611 * MAINTAINERS: Update my email address.
613 2001-10-03 Alan Modra <amodra@bigpond.net.au>
615 * doc/Makefile.in: Regenerate.
616 * configure: Regenerate.
618 2001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
620 * readelf.c (display_debug_line, display_debug_pubnames,
621 display_debug_info, display_debug_frames): Detect and warn
622 about 64-bit format entries.
623 (display_debug_aranges): Reword 64-bit warning.
624 (debug_displays): Add .debug_pubtypes as a known, but not yet
625 supported, debug section.
627 2001-10-02 Alan Modra <amodra@bigpond.net.au>
629 * coffdump.c (PROGRAM_VERSION): Delete.
630 (main <'V'>): Call print_version.
631 * srconv.c: Likewise.
632 * sysdump.c: Likewise.
633 * version.c (program_version): Remove.
634 (print_version): Use BFD_VERSION_STRING. Just print the current
635 year in copyright message.
636 * addr2line.c (program_version): Remove unused declaration.
637 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
638 place of BFD_VERSION.
639 * Makefile.am (Makefile): Depend on bfd/configure.in.
640 (cplus-dem.o): Depend on Makefile.
642 * Makefile.in: Regenerate.
644 2001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
646 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
647 format .debug_arange sections.
648 (main): Add missing prototype.
650 2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
652 * Makefile.am: Update dependencies with "make dep-am".
653 * Makefile.in: Regenerate.
655 2001-09-28 Richard Henderson <rth@redhat.com>
657 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
659 2001-09-26 Alan Modra <amodra@bigpond.net.au>
661 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
663 (non_fatal): Likewise.
664 * objdump.c (objdump_sprintf): Likewise.
665 * readelf.c (error): Likewise.
668 2001-09-25 Jakub Jelinek <jakub@redhat.com>
670 * readelf.c (do_wide): New.
671 (options): Add --wide.
672 (usage, parse_args): Likewise.
673 (process_program_headers): Put each segment on a single line if
675 (process_section_headers): Put each section on a single line if
677 * doc/binutils.texi: Document it.
680 2001-09-25 Alan Modra <amodra@bigpond.net.au>
682 * readelf.c (print_vma): Print 8 digits of low hex value.
684 2001-09-24 Andreas Jaeger <aj@suse.de>
686 * nlmconv.c: Fix warnings about unused attributes and function
689 * strings.c: Add prototype for get_char.
691 2000-09-19 H.J. Lu <hjl@gnu.org>
693 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
694 $(srcdir)/cxxfilt.man.
695 * doc/Makefile.in: Rebuild.
697 2001-09-19 Alan Modra <amodra@bigpond.net.au>
699 * objcopy.c (copy_main): Correct rename-section string parsing.
700 Consolidate new_name parsing, and error messages.
702 2001-09-18 Bruno Haible <haible@clisp.cons.org>
704 * addr2line.c: Don't include <ctype.h>.
705 (main): For gettext, also set the LC_CTYPE locate facet.
706 * ar.c (main): Likewise.
707 * coffdump.c (main): Likewise.
708 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
709 (main): For gettext, also set the LC_CTYPE locate facet.
710 Use ISALNUM instead of isalpha/isdigit.
711 * dllwrap.c: Don't include <ctype.h>.
712 (main): For gettext, also set the LC_CTYPE locate facet.
713 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
714 (main): For gettext, also set the LC_CTYPE locate facet.
715 Use TOUPPER instead of islower/toupper.
716 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
717 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
718 Use TOUPPER instead of islower/toupper.
719 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
720 * objcopy.c (main): Likewise.
721 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
722 (disassemble_bytes): Use ISPRINT instead of isprint.
723 (dump_section_stabs): Use ISDIGIT instead of isdigit.
724 (dump_data): Use ISPRINT instead of isprint.
725 (main): For gettext, also set the LC_CTYPE locate facet.
726 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
727 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
728 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
729 Use TOUPPER instead of islower/toupper.
730 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
731 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
732 (write_rc_accelerators): Use ISPRINT instead of isprint.
733 (write_rc_rcdata): Likewise.
734 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
735 * srconv.c (main): Likewise.
736 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
737 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
738 isdigit/isupper/islower.
739 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
740 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
741 stab_demangle_prefix, stab_demangle_qualified,
742 stab_demangle_template, stab_demangle_type,
743 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
744 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
745 (isgraphic): Use ISPRINT instead of isascii/isprint.
746 (main): Remove HAVE_LC_MESSAGES dependency.
747 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
748 (pbarray): Use ISPRINT instead of isprint.
749 (main): For gettext, also set the LC_CTYPE locate facet.
750 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
751 (format_from_filename): Use ISPRINT instead of isprint.
752 (main): For gettext, also set the LC_CTYPE locate facet.
753 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
754 (unicode_print): Use ISPRINT instead of isprint.
755 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
756 (stab_variable): Use ISDIGIT instead of isdigit.
758 2001-09-18 Alan Modra <amodra@bigpond.net.au>
760 * ar.c (print_contents): Cast args of bfd_seek to the right types.
761 Replace bfd_read call with call to bfd_bread.
762 (extract_file): Likewise.
764 * objdump.c (dump_section_header): Cast section->filepos to
765 unsigned long to suit printf format string.
766 * readelf.c (process_section_headers): Similarly for sh_offset.
767 (process_unwind): Likewise.
769 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
771 * strings.c (encoding, encoding_bytes): New variables.
772 (long_options): Add --encoding.
773 (main): Accept -e and --encoding.
774 (get_char): New function. Read a, possibly wide, character from
776 (print_strings): Use get_char().
777 (usage): Document new command line option.
778 * doc/binutils.texi: Document new command line option.
779 * NEWS: Announce new command line option.
781 2001-09-12 Alexandre Oliva <aoliva@redhat.com>
783 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
784 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
785 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
786 Removed EM_CYGNUS_ARC.
788 2001-09-04 Jeffrey A Law (law@cygnus.com)
790 * readelf.c: Include elf/h8 for H8 series definitions.
791 (guess_is_rela): H8 series if RELA.
792 (dump_relocations): Handle H8 series relocations.
794 2001-08-31 Eric Christopher <echristo@redhat.com>
796 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
798 2001-08-29 Peter Targett <peter.targett@arccores.com>
800 * MAINTAINERS: Include ARC Maintainer.
802 2001-08-29 Ben Elliston <bje@redhat.com>
804 * stabs.c (stab_demangle_template): Initialise s4.
806 2001-08-27 Alan Modra <amodra@bigpond.net.au>
808 * readelf.c (dump_relocations): Recognise EM_PPC64.
810 2001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
812 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
814 2001-08-25 H.J. Lu <hjl@gnu.org>
816 * nm.c (print_width): New.
817 (display_rel_file): Set `print_width' according to
819 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
821 2001-08-24 Alexandre Oliva <aoliva@redhat.com>
823 * objcopy.c (use_alt_mach_code): New variable.
824 (OPTION_ALT_MACH_CODE): Define.
825 (copy_options): Added --alt-machine-code.
826 (copy_main): Handle it.
827 (copy_object): Switch to alternate machine code if requested.
828 * doc/binutils.texi: Document new option.
831 2001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
833 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
835 2001-08-21 H.J. Lu <hjl@gnu.org>
837 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
838 (display_debug_info): Cast for 64bit hosts.
839 (display_debug_frames): Likewise.
840 (process_mips_specific): Likewise.
842 2001-08-21 Andreas Jaeger <aj@suse.de>
844 * coffgrok.h: Add missing parameter for prototype of coff_grok.
846 * sysdump.c: Add missing prototypes.
847 * srconv.c: Likewise.
848 * unwind-ia64.c: Likewise.
849 * coffdump.c: Likewise.
851 * sysinfo.y: Print prototypes, include <ansidecl.h>.
853 * coffgrok.c: Add missing prototypes, include libiberty.h instead
854 of declaring xcalloc.
856 2001-08-10 H.J. Lu <hjl@gnu.org>
858 * nm.c (print_value): Add one arg, bfd *.
859 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
860 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
861 (print_symbol_info_sysv): Likewise.
862 (print_symbol_info_posix): Likewise.
864 * objdump.c (dump_section_header): Replace printf_vma with
866 (print_section_stabs): Likewise.
867 (dump_bfd_header): Likewise.
868 (objdump_print_value): Replace sprintf_vma with
870 (disassemble_bytes): Likewise.
871 (dump_reloc_set): Likewise.
873 2001-08-10 Andreas Jaeger <aj@suse.de>
875 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
877 * configure: Regenerate.
879 2001-08-09 Alan Modra <amodra@bigpond.net.au>
881 * readelf.c: Add missing prototypes.
882 * objdump.c: Likewise. Format existing prototypes.
884 2001-08-08 Alexandre Oliva <aoliva@redhat.com>
886 * readelf.c (display_debug_info): Add to abbrev_offset the addend
887 of any RELA relocation for the abbrev_offset memory location that
888 refers to the .debug_abbrev section symbol.
890 2001-08-07 H.J. Lu <hjl@gnu.org>
892 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
893 (main): Return process_file ().
895 2001-08-05 Philip Blundell <philb@gnu.org>
897 * doc/binutils.texi: Use "Thumb" not "THUMB".
899 2001-08-03 John Healy <jhealy@redhat.com>
901 Patch suggested by Frank Eigler <fche@redhat.com>.
902 * objdump.c (disassemble_data): Fill in section member of the
903 disasm_info structure.
905 2001-08-03 Tom Walsh <tom@cyberiansoftware.com>
907 * configure.in: Added --with-windres option.
908 * configure: Regenerated.
910 2001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
912 * doc/binutils.texi: Use @command{name} for commands;
913 use @option{-opt} for options; use @table @env for list of options;
914 remove spaces arround [ | ] in synopsis.
916 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
919 2001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
921 * objcopy.c: Fix formatting.
922 (section_rename): New structure.
923 (OPTION_RENAME_SECTION): New switch.
924 (copy_usage): Document new switch.
925 (add_section_rename): New function: Add a node to the section
927 (find_section_rename): New function: Find the new name and
929 (setup_section): Call find_section_name to determine the name
930 of the output section.
931 (copy_main): Handle OPTION_RENAME_SECTION.
932 * binutils.texi: Document new switch.
933 * NEWS: Mention new switch.
935 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
937 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
938 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
939 bug-binutils@gcc.org.
941 2001-07-28 Matthias Kramm <kramm@quiss.org>
943 * bucomm.c (list_supported_architectures): New function.
944 * bucomm.h (list_supported_architectures): Declare.
945 * objdump.c (usage): Call the above.
947 2001-07-25 Dave Brolley <brolley@redhat.com>
949 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
950 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
952 2001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
954 * README: Update for 2.11. Change bug reporting email address.
955 * MAINTAINERS: Tidy up. Change bug reporting email address.
957 2001-07-16 DJ Delorie <dj@redhat.com>
959 * resres.c (write_res_header): Align header size.
960 (res_align_file): Calculate alignment correctly.
962 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
964 * resrc.c (write_rc_resource): Likewise.
965 * windres.h (SUBLANG_SHIFT): Define - as 10.
967 2001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
969 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
971 2001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
973 * MAINTAINERS: Add notes about branch checkins.
975 2001-07-05 Daniel Berlin <dan@cgsoftware.com>
977 * readelf.c (display_debug_macinfo): New function, display
978 .debug_macinfo section.
979 (do_debug_macinfo): New variable.
980 (parse_args): Handle "-w[mM]" to mean display macro info.
981 (process_section_headers): Handle debug_macinfo.
982 (debug_displays): Replace unsupported function with macinfo
983 function for .debug_macinfo display.
984 * doc/binutils.texi: Document new command line switch.
985 * NEWS: Document new feature of readelf.
987 2001-07-05 H.J. Lu <hjl@gnu.org>
989 * objcopy.c (filter_symbols): Don't turn undefined symbols
992 2001-07-03 H.J. Lu <hjl@gnu.org>
994 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
997 (dlltool.1): Likewise.
998 (nlmconv.1): Likewise.
1000 (objcopy.1): Likewise.
1001 (objdump.1): Likewise.
1002 (ranlib.1): Likewise.
1003 (readelf.1): Likewise.
1005 (strings.1): Likewise.
1006 (strip.1): Likewise.
1007 (windres.1): Likewise.
1008 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
1009 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
1012 * doc/Makefile.in: Regenerated.
1014 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
1016 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
1018 2001-07-01 Daniel Berlin <dan@cgsoftware.com>
1020 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
1022 2001-06-29 James Cownie <jcownie@etnus.com>
1024 * readelf.c: Support DWARF 2.1 attributes.
1026 2001-06-28 Alan Modra <amodra@bigpond.net.au>
1028 * readelf.c (GET_DATA_ALLOC): Remove.
1030 (get_data): New function combining above macros, with an extra
1032 (slurp_rela_relocs): Use get_data, and catch error return.
1033 (slurp_rel_relocs): Likewise.
1034 (get_32bit_program_headers): Likewise.
1035 (get_64bit_program_headers): Likewise.
1036 (get_32bit_section_headers): Likewise.
1037 (get_64bit_section_headers): Likewise.
1038 (get_32bit_elf_symbols): Likewise.
1039 (get_64bit_elf_symbols): Likewise.
1040 (process_section_headers): Likewise.
1041 (process_relocs): Likewise.
1042 (slurp_ia64_unwind_table): Likewise.
1043 (process_unwind): Likewise.
1044 (get_32bit_dynamic_segment): Likewise.
1045 (get_64bit_dynamic_segment): Likewise.
1046 (process_dynamic_segment): Likewise.
1047 (process_version_sections): Likewise.
1048 (process_symbol_table): Likewise.
1049 (dump_section): Likewise.
1050 (display_debug_info): Likewise.
1051 (display_debug_section): Likewise.
1052 (process_section_contents): Likewise.
1053 (process_corefile_note_segment): Likewise.
1054 (process_mips_specific): Likewise. Also free econf32, econf64.
1056 2001-06-25 Alan Modra <amodra@bigpond.net.au>
1058 * readelf.c (dump_relocations): Print "bad symbol index" if
1059 symtab == NULL with non-zero symtab_index.
1060 (process_relocs): Don't bomb if reloc section has no symsec.
1062 2001-06-24 H.J. Lu <hjl@gnu.org>
1064 * objcopy.c (strip_main): Revert the change made on 2001-05-30
1066 (copy_main): Apply the the change made to strip_main on
1067 2001-05-30 by accident.
1069 2001-06-23 Andreas Jaeger <aj@suse.de>
1071 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
1073 (unw_decode_x2): Likewise.
1074 (unw_decode_x3): Likewise.
1075 (unw_decode_x4): Likewise.
1077 2001-06-23 Ben Elliston <bje@redhat.com>
1079 * MAINTAINERS: Add myself as M88k maintainer.
1081 2001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
1083 * objcopy.c (strip_main): Support -o or --output-file command lien
1086 2001-06-19 H.J. Lu <hjl@gnu.org>
1088 * doc/Makefile.in: Regenerated.
1090 2001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
1092 * readelf.c: Restore formatting.
1094 2001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
1096 * Makefile.am: Move documentation into doc subdirectory.
1097 * Makefile.in: Regenerated.
1098 * binutils.texi: Move into doc subdirectory.
1099 * addr2line.1: Removed.
1101 * dlltool.1: Likewise.
1102 * nlmconv.1: Likewise.
1104 * objcopy.1: Likewise.
1105 * objdump.1: Likewise.
1106 * ranlib.1: Likewise.
1107 * readelf.1: Likewise.
1109 * strings.1: Likewise.
1110 * strip.1: Likewise.
1111 * windres.1: Likewise.
1112 * cxxfilt.man: Likewise.
1113 * doc: New Directory.
1114 * doc/Makefile.am: New file.
1115 * doc/Makefile.in: Generate.
1117 2001-06-09 Alan Modra <amodra@bigpond.net.au>
1119 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
1121 2001-06-01 Alan Modra <amodra@bigpond.net.au>
1123 * MAINTAINERS: Update my email address.
1125 2001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
1127 * objcopy.c: Add new switches: --keep-global-symbol,
1128 --keep-symbols, --localize-symbols, --keep-global-symbols and
1130 * binutils.texi: Document new switches.
1131 * objcopy.1: Regenerate.
1132 * NEWS: Announce new feature.
1134 2001-05-28 Andreas Jaeger <aj@suse.de>
1136 * readelf.c (display_debug_frames): Fix warnings: Remove unused
1137 variables, fix format strings.
1139 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
1141 * objdump.c (disassemble_bytes): Remove section VMA adjustment
1142 when computing the address of the line to show.
1144 2001-05-16 Richard Henderson <rth@redhat.com>
1146 * readelf.c (do_debug_frames_interp): New.
1147 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
1148 (byte_get_big_endian): Likewise.
1149 (parse_args) ['F']: Set do_debug_frames_interp.
1150 (Frame_Chunk): Make data_factor signed, add fde_encoding.
1151 (frame_display_row): Don't trunc pc_begin to int.
1152 (size_of_encoded_value): New.
1153 (display_debug_frames): Handle 64-bit targets. Print raw data
1154 unless do_debug_frames_interp.
1155 (debug_displays): Remove duplicate .debug_frame.
1157 2001-05-15 Ralf Baechle <ralf@gnu.org>
1159 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
1160 The former constant was never in active use and is used otherwise
1163 2001-05-11 Jakub Jelinek <jakub@redhat.com>
1165 * readelf.c (process_unwind): Print all unwind sections, not just
1168 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1170 * readelf.c (process_unwind): Remove const specifier.
1172 2001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
1174 * strings.c (isgraphic): Do not use isascii() unless it is needed
1175 for isprint() to work.
1176 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
1178 2001-04-27 Johan Rydberg <jrydberg@opencores.org>
1180 * NEWS: Announce support for OpenRISC.
1182 2001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
1184 * dlltool.c (do_default_excludes): Initialise to true.
1186 2001-04-10 Alan Modra <amodra@one.net.au>
1188 * MAINTAINERS: Update my email address
1189 * nm.c (print_symbol_info_bsd): Use a simple printf string.
1191 2001-04-05 Hans-Peter Nilsson <hp@axis.com>
1193 * readelf.c (display_debug_lines): Fix typo for "Prologue".
1195 2001-03-30 H.J. Lu <hjl@gnu.org>
1197 * readelf.c (process_unwind): Just return if do_unwind is 0.
1199 2001-03-28 Roger Sayle <roger@metaphorics.com>
1201 * dlltool.c (make_one_lib_file): Fix section flags for
1202 .text, .data and .bss in stub ds*.o files to match those
1205 2001-03-29 H.J. Lu <hjl@gnu.org>
1207 * readelf.c (process_unwind): Only do unwind sections for
1210 2001-03-28 H.J. Lu <hjl@gnu.org>
1212 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
1213 * Makefile.in: Regenerate.
1215 2001-03-26 Andreas Jaeger <aj@suse.de>
1217 * binutils.texi (nm): Fix texi syntax.
1219 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1221 * binutils.texi: Put @c man begin and @c man end indications
1222 to generate man pages using texi2pod and pod2man. Put @c man title
1223 to identify each man. Add SEEALSO entries.
1224 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
1225 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
1227 (*.1): Build the man pages from binutils.texi.
1228 * Makefile.in: Regenerate.
1230 2001-03-13 Eric Kohl <ekohl@rz-online.de>
1232 * defparse.y (opt_equal_name): allow "." in name.
1233 * dlltool.c (def_exports): Added ability to generate forwarded exports.
1234 (gen_exp_file): Likewise.
1236 2001-03-12 Stefan Geuken <mail@stefan-geuken.de>
1238 * NEWS: Document addition of -B switch to objcopy.
1239 * binutils.texi: Document addition of -B switch to objcopy.
1240 * objcopy.c: (copy_options): Add --binary-architecture.
1241 (copy_usage): Document -B/--binary-architecture.
1242 (copy_main): Support -B/--binary-architecture. Set
1243 bfd_external_binary_architecture.
1245 2001-03-11 Andreas Jaeger <aj@suse.de>
1247 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
1248 (dump_relocations): Likewise.
1249 (get_machine_name): Likewise.
1251 2001-02-28 Nick Clifton <nickc@redhat.com>
1253 * readelf.c: (struct unw_aux_info): Remove const modifier for
1255 (process_unwind): Remove non-K&R compliant LHS type cast in call
1256 to GET_DATA_ALLOC macro.
1258 2001-02-28 Philip Blundell <pb@futuretv.com>
1260 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
1261 ABI is in use; remove ambiguity between the "unknown" EABI and
1262 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
1263 renamed EF_xx constants.
1265 2001-02-27 Alan Modra <alan@linuxcare.com.au>
1267 * configure.in (BFD_VERSION): New.
1268 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
1269 * configure: Regenerate.
1270 * Makefile.am: Run "make dep-am"
1271 * Makefile.in: Regenerate.
1273 2001-02-14 Nick Clifton <nickc@redhat.com>
1275 * MAINTAINERS: Add "Obvious Fix" rule.
1277 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1279 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
1280 literal concatenation.
1282 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1284 * readelf.c (struct unw_aux_info): Remove const from the info member.
1285 (process_unwind): Don't type-cast the third argument to the
1286 GET_DATA_ALLOC macro.
1288 2001-02-11 Nick Clifton <nickc@redhat.com>
1290 * readelf.c (dump_relocations): Free corrected allocated
1292 (process_unwind): Fix compile time warning.
1294 2001-02-10 Nick Clifton <nickc@redhat.com>
1296 * binutils.texi: Document new --unwind option to readelf.
1298 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
1300 * readelf.c: Add linux target for S/390.
1302 2001-02-10 Alan Modra <alan@linuxcare.com.au>
1304 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
1307 2001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
1309 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
1310 * aclocal.m4: Regenerate.
1311 * configure: Regenerate.
1313 2001-02-07 Todd Vierling <tv@wasabisystems.com>
1315 * bucomm.c (bfd_target_vector): Change extern array to pointer.
1316 * objdump.c (bfd_target_vector): Likewise.
1318 2001-02-07 David Mosberger <davidm@hpl.hp.com>
1320 * readelf.c (process_unwind): New function.
1321 (slurp_ia64_unwind_table): Ditto.
1322 (dump_ia64_unwind): Ditto.
1323 (find_symbol_for_address): Ditto.
1324 (slurp_rela_relocs): New function (split off from dump_relocations()).
1325 (slurp_rel_relocs): Ditto.
1326 (parse_args): Handle '-u' option.
1328 * unwind-ia64.c: New file.
1329 * unwind-ia64.h: New file.
1330 * Makefile.am: Include unwind-ia64.c in readelf build.
1331 * Makefile.in: Regenerate.
1332 * po/binutils.pot: Regenerate.
1334 2001-02-04 Philip Blundell <philb@gnu.org>
1336 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
1337 * configure: Regenerate.
1339 2001-01-31 Steve deRosier <sderosier@vari-lite.com>
1341 * ieee.c (ieee_add_bb11): Don't check for backslashes
1342 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1344 2001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
1346 * ieee.c: Update copyright.
1347 (ieee_start_compilation_unit): Don't check for backslashes
1348 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1350 * stabs.c: Update copyright. Include "filenames.h".
1351 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
1353 2001-01-23 Jakub Jelinek <jakub@redhat.com>
1355 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
1356 sections are present before using them. Remove code duplication.
1357 (process_symbol_table): Check if VERDEF or VERNEED sections are
1358 present before using them.
1360 2001-01-17 Nick Clifton <nickc@redhat.com>
1362 * objcopy.c (copy_object): Fail if attempting to convert the
1363 endianness of the input object file.
1365 * binutils.texi: Explain that objcopy cannot convert endianness.
1367 2001-01-16 Nick Clifton <nickc@redhat.com>
1369 * readelf.c (string_table_length): New variable.
1370 (SECTION_NAME): Catch out of range indices and missing section
1372 (process_section_headers): Delete useless local variable
1373 string_table_offset. Set the value of string_table_length
1374 after loading the string table.
1375 (process_mips_specific): Use SECTION_NAME macro.
1376 (process_file): Set string_table_length to 0 when it is freed.
1378 2001-01-12 Nick Clifton <nickc@redhat.com>
1380 * version.c (print_version): Update copyright date.
1382 2001-01-11 Peter Targett <peter.targett@arccores.com>
1384 * readelf.c (dump_relocations): Include selection with EM_ARC.
1385 (get_machine_name) Update name to "ARC".
1387 2001-01-09 Nick Clifton <nickc@redhat.com>
1389 * Makefile.am: Add rule to build objdump.o from objdump.c and
1391 * Makefile.in: Regenerate.
1393 * configure.in: Define OBJDUMP_DEFS. Default to empty.
1394 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
1395 -DDISASSEMBLER_NEEDS_RELOCS.
1396 * configure: Regenerate.
1398 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
1399 is defined read in the relocs even if dump_reloc_info is
1402 2001-01-07 Philip Blundell <philb@gnu.org>
1404 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
1408 2000-12-19 Nick Clifton <nickc@redhat.com>
1410 * dlltool.c: Add missing support for arm-epoc-pe.
1411 * configure.in: Add missing support for arm-epoc-pe.
1412 * configure: Regenerate.
1414 2000-12-15 Nick Clifton <nickc@redhat.com>
1416 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
1417 Mode parts of the x86 port.
1419 2000-12-04 Andreas Jaeger <aj@suse.de>
1421 * readelf.c (guess_is_rela): Add EM_X86_64.
1422 (dump_relocations): Add EM_X86_64.
1423 (get_machine_name): Add EM_X86_64.
1424 Include "elf/x86-64.h".
1426 2000-12-12 Nick Clifton <nickc@redhat.com>
1428 * readelf.c: Fix formatting.
1430 2000-12-11 Jan Hubicka <jh@suse.cz>
1432 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
1434 2000-12-07 Andrew Haley <aph@redhat.com>
1436 * readelf.c (display_debug_frames): Only display columns that are
1437 referenced by the frame debug info.
1439 2000-12-05 Nick Clifton <nickc@redhat.com>
1441 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
1443 2000-12-04 Jason Merrill <jason@redhat.com>
1445 * readelf.c (process_section_headers): Handle linkonce.wi sections.
1446 (display_debug_section): Likewise.
1447 (display_debug_info): Display CU header before bailing.
1449 2000-12-01 Chris Demetriou <cgd@sibyte.com>
1451 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
1452 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
1453 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
1455 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
1458 * readelf.c (get_machine_flags): Add case for
1461 2000-11-30 Richard Earnshaw <rearnsha@arm.com>
1463 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
1465 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
1467 * MAINTAINERS: Add J
\81örn Rennecke and self as SH maintainers.
1468 Change sourceware.cygnus.com to sources.redhat.com.
1469 Fix typo for "amongst".
1471 2000-11-28 Nick Clifton <nickc@redhat.com>
1473 * strip.1 (COPYING): Mention that the GNU Free Documentation
1474 License is present in the sources, but not the output, and
1475 also available from the GNU website.
1476 (GNU Free Documentation License): Comment out this section.
1485 * addr2line.1: Ditto.
1487 2000-11-27 DJ Delorie <dj@redhat.com>
1489 * readelf.c (usage): Add -wf (--debug-dump=frames) option.
1490 (parse_args): Support -wf option.
1491 (process_section_headers): Ditto.
1492 (debug_displays): Ditto.
1493 (display_debug_frames): New, dump *_frame sections.
1494 (frame_need_space): Support for above.
1495 (frame_display_row): Ditto.
1496 * binutils.texi: Document it.
1498 2000-11-24 Nick Clifton <nickc@redhat.com>
1500 * NEWS: Announce support for v5t, v5te and XScale.
1502 2000-11-22 Nick Clifton <nickc@redhat.com>
1504 * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
1505 EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
1506 (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
1507 (get_elf_section_flags: Add SHF_GROUP.
1508 (process_section_headers): Adjust output for 32-bit binaries
1509 to look nice on an 80 column terminal.
1511 2000-11-20 H.J. Lu <hjl@gnu.org>
1513 * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
1516 2000-11-17 Richard Henderson <rth@redhat.com>
1518 * readelf.c (display_debug_lines): Adjust last change to
1519 use sizeof (external->li_length).
1521 2000-11-17 Richard Henderson <rth@redhat.com>
1523 * readelf.c (display_debug_lines): Fix section length check
1524 and end_of_sequence computation.
1526 2000-11-06 Nick Clifton <nickc@redhat.com>
1528 * binutils.texi: Add GNU Free Documentation License.
1529 * objcopy.1: Add GNU Free Documentation License.
1530 * objdump.1: Add GNU Free Documentation License.
1531 * addr2line.1: Add GNU Free Documentation License.
1532 * ar.1: Add GNU Free Documentation License.
1533 * nlmconv.1: Add GNU Free Documentation License.
1534 * nm.1: Add GNU Free Documentation License.
1535 * ranlib.1: Add GNU Free Documentation License.
1536 * size.1: Add GNU Free Documentation License.
1537 * strings.1: Add GNU Free Documentation License.
1538 * strip.1: Add GNU Free Documentation License.
1540 2000-10-06 Luciano Gemme <ishitawa@yahoo.com>
1542 * objcopy.c (--srec-len=nn): New parameter to set the
1543 maximum length of generated Srecords.
1544 (--srec-forceS3): New parameter that restricts the generation of
1545 Srecords to type S3 only.
1546 * binutils.texi: Document new command line switches.
1547 * objcopy.1: Docuemnt the new command line switches.
1548 * NEWS: Announce the existence of the new command line switches.
1550 2000-10-31 Nick Clifton <nickc@redhat.com>
1552 * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
1553 code. Add Eric Chrisopher as maintainer of MN10300 port.
1555 2000-10-12 Roger Sayle <roger@metaphorics.com>
1557 * Make comma after string after icon/control optional.
1559 2000-09-13 Anders Norlander <anorland@acc.umu.se>
1561 * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
1563 * NEWS: Mention support for MIPS32.
1565 2000-09-08 Nick Clifton <nickc@redhat.com>
1567 * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
1569 2000-09-07 H.J. Lu <hjl@gnu.org>
1571 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
1572 * configure: Rebuild.
1574 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
1576 * configure: Rebuilt with new libtool.m4.
1578 2000-09-05 Nick Clifton <nickc@redhat.com>
1580 * aclocal.m4: Regenerate.
1581 * config.in: Regenerate.
1582 * configure: Regenerate.
1584 2000-09-04 Todd Vierling <tv@wasabisystems.com>
1586 * strip.1: Fix stray '\' in -o formatting.
1588 2000-09-02 Nick Clifton <nickc@redhat.com>
1590 * configure.in: Increase version number to 2.10.91.
1591 * configure: Regenerate.
1592 * aclocal.m4: Regenerate.
1593 * config.in: Regenerate.
1594 * po/binutils.pot: Regenerate.
1596 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
1598 * acinclude.m4: Include libtool and gettext macros from the
1600 * aclocal.m4, configure: Rebuilt.
1602 2000-08-30 Jamie Guinan <guinan@bluebutton.com>
1604 * resrc.c (close_input_stream): Delete extraneous logic
1606 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
1608 * NEWS: Mention support for CRIS.
1610 2000-08-21 Nick Clifton <nickc@redhat.com>
1612 * addr2line.c: Changed email address for Ulrich Lauther.
1614 2000-08-17 Christopher C. Chimelis <chris@debian.org>
1616 * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
1618 2000-08-17 Nick Clifton <nickc@redhat.com>
1620 * readelf.c (display_debug_pubnames): Only issue warning
1621 message once. Terminate message with a new line.
1622 (display_debug_aranges): Only display version 2 debug info.
1624 2000-08-14 Todd Vierling <tv@wasabisystems.com>
1626 * objcopy.c (strip_main): Silently accept -d as an alias for -g
1627 for compatability with old BSD systems.
1629 2000-08-14 Jason Eckhardt <jle@cygnus.com>
1631 * NEWS: Mention i860 support.
1633 2000-08-11 Carlo Wood <carlo@alinoe.com>
1635 * addr2line.c (main): Add const to char *.
1637 2000-08-11 Geoff Keating <geoffk@cygnus.com>
1639 * ar.c (main): Don't crash if called with no arguments
1640 or only '-X32_64' as an argument.
1642 2000-08-08 DJ Delorie <dj@redhat.com>
1644 * resrc.c: use "gcc -xc" instead of -xc-header
1646 2000-08-05 Jason Eckhardt <jle@cygnus.com>
1648 * readelf.c (elf/i860.h): Include.
1649 (dump_relocations): Add recognition of i860 architecture.
1650 (guess_is_rela): Add recognition of i860 architecture.
1652 2000-08-03 Nick Clifton <nickc@cygnus.com>
1654 * MAINTAINERS: Add information about CGEN maintainers.
1656 2000-07-26 Geoff Keating <geoffk@cygnus.com>
1658 * nm.c (main): Ignore '-X32_64' as an option.
1659 * ar.c (main): Likewise.
1660 * binutils.texi (nm): Document new option.
1663 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1665 * rdcoff.c (external_coff_symbol_p): K&R-ise.
1667 2000-07-20 H.J. Lu <hjl@gnu.org>
1669 * binutils.texi: Put back "@end table" deleted by
1672 2000-07-05 Kenneth Block <krblock@computer.org>
1674 * nm.c: Add optional style to demangle switch.
1675 * objdump.c: Add optional style to demangle switch.
1676 * addr2line.c: Add optional style to demangle switch.
1677 * binutils.texi: Document optional style to demangle
1680 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
1682 * MAINTAINERS: Add self as CRIS port maintainer.
1683 * readelf.c: Include elf/cris.h.
1684 (guess_is_rela): Handle EM_CRIS.
1685 (dump_relocations): Ditto.
1686 (get_machine_name): Ditto.
1687 * Makefile.am: Rebuild dependencies.
1688 * Makefile.in: Regenerate.
1689 * po/binutils.pot: Regenerate.
1691 2000-07-19 H.J. Lu <hjl@gnu.org>
1693 * readelf.c (get_dynamic_type): Change "AUXILARY" to
1695 (process_dynamic_segment): Print out strings for DT_CONFIG,
1696 DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
1698 2000-07-19 Mark Kettenis <kettenis@gnu.org>
1700 * nm.c (usage): Change output of `nm --help' to include a
1701 description of the purpose of the program and a detailed
1702 description of the accepted options.
1704 2000-07-19 H.J. Lu <hjl@gnu.org>
1706 * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
1709 2000-07-19 H.J. Lu <hjl@gnu.org>
1711 * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
1713 2000-07-19 H.J. Lu <hjl@gnu.org>
1715 * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
1717 (process_dynamic_segment): Likewise.
1719 * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
1720 DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
1721 (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
1722 DF_1_NODUMP and DF_1_CONLFAT.
1724 2000-07-18 Nick Clifton <nickc@cygnus.com>
1726 * binutils.texi (readelf): Fix spelling typo.
1728 2000-07-11 Mark Kettenis <kettenis@gnu.org>
1730 * objdump.c (usage): Make output of `objdump --help' more
1731 consistent with the rest of the GNU world. Add a line describing
1732 the purpose of the program.
1734 2000-07-10 David Huggins-Daines <dhd@linuxcare.com>
1736 * stabs.c (parse_stab_range_type): Cast to proper type to fix
1739 2000-07-10 Ryan Bradetich <rbradetich@uswest.net>
1741 * readelf.c (get_dynamic_data): Add casts and use unsigned chars
1743 (process_symbol_table): Ditto.
1744 (procesS_extended_line_op): Ditto.
1745 (display_debug_lines): Ditto.
1746 (display_debug_pubnames): Ditto.
1747 (read_and_display_attr): Ditto.
1749 2000-07-09 Nick Clifton <nickc@cygnus.com>
1751 * MAINTAINERS: Add several more port specific maintainers.
1753 2000-07-05 Nick Clifton <nickc@cygnus.com>
1755 * MAINTAINERS: Add blanket write privs for Michael Meissner.
1757 2000-06-05 DJ Delorie <dj@redhat.com>
1761 2000-07-01 Eric Fifer <EFifer@sanwaint.com>
1763 * dllwrap.c: Changed mistaken dyn_string_append() calls
1764 to dyn_string_append_cstr().
1766 2000-07-01 Alexander Aganichev <AAganichev@hypercom.com>
1768 * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
1769 struct debug_type stores size in bytes.
1771 2000-07-01 Alan Modra <alan@linuxcare.com.au>
1773 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
1774 (CLEANFILES): Add DEPA.
1775 * Makefile.in: Regenerate.
1777 2000-06-27 Alan Modra <alan@linuxcare.com.au>
1779 * ar.c: Revert incorrect 2000-06-25 patch.
1780 * bucomm.c: Likewise.
1782 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
1784 * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
1785 (external_coff_symbol_p): New function.
1786 (parse_coff): Use it.
1788 2000-06-25 Alexander Aganichev <AAganichev@hypercom.com>
1790 * ar.c (normalize): Advance past both characters in a DOS based
1791 <letter>: filepath prefix.
1793 * bucomm.c (make_tempname): Likewise.
1795 2000-06-24 Nick Clifton <nickc@cygnus.com>
1797 * objdump.c (usage): Fix description of --stabs switch.
1799 2000-06-22 Alan Modra <alan@linuxcare.com.au>
1801 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
1803 * Makefile.in: Regenerate.
1805 2000-06-20 Alexander Aganichev <AAganichev@hypercom.com>
1807 * ar.c (normalize): Correct pointer comparison when checking for
1810 * bucomm.c (make_tempname): Likewise.
1812 * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
1813 and search for backslashes in the original pathname.
1814 (ieee_add_bb11): Likewise.
1816 2000-06-18 Nick Clifton <nickc@redhat.com>
1818 * ar.c (print_contents): Improve verbose message.
1820 2000-06-15 H.J. Lu <hjl@gnu.org>
1822 * dyn-string.c: Removed. Not needed with dyn-string.c in
1824 * dyn-string.h: Likewise.
1826 * Makefile.am: Remove references to dyn-string.c and
1827 dyn-string.h. Rebuild dependency.
1828 * Makefile.in: Rebuild.
1830 2000-06-15 H.J. Lu <hjl@gnu.org>
1832 * binutils.texi: Put a warning on copying relocatable object
1833 files between two different formats.
1835 2000-06-13 DJ Delorie <dj@cygnus.com>
1837 * rcparse.y (control): ICON controls take an id as the first
1838 parameter, not an optional string. Also, call new convenience
1839 function that takes res_id's.
1840 * resrc.c (define_control): missing text means zero-length string,
1842 (define_icon_control): New.
1843 * windres.h: declare define_icon_control.
1845 2000-06-13 H.J. Lu <hjl@gnu.org>
1847 * configure: Regenerate.
1849 2000-06-08 David O'Brien <obrien@FreeBSD.org>
1851 * configure.in (VERSION): Update to show this is the CVS mainline.
1853 2000-06-02 David O'Brien <obrien@FreeBSD.org>
1855 * strings.c (isgraphic): Interpret <TAB> as a printable character,
1856 analogous to <SPACE>.
1858 2000-05-30 Alan Modra <alan@linuxcare.com.au>
1860 * objdump.c (display_target_list): Use bfd_close_all_done, not
1861 bfd_close to fix crash caused by 2000-05-24 change.
1863 2000-05-25 DJ Delorie <dj@cygnus.com>
1865 * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
1867 2000-05-26 Alan Modra <alan@linuxcare.com.au>
1869 * Makefile.am: Update dependencies with "make dep-am"
1870 * Makefile.in: Regenerate.
1872 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
1874 * ar.c: Include filenames.h.
1875 (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
1876 and drive letters in file names.
1877 (main): Support backslashes and drive letters in argv[0]. Drop
1878 the .exe suffix, if any, in argv[0] if is_ranlib is negative. Use
1879 FILENAME_CMP instead of strcmp to compare file names.
1880 (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
1882 (do_quick_append) [__GO32__]: Ditto.
1883 (get_pos_bfd, delete_members, move_members, replace_members):
1884 Compare file names with FILENAME_CMP.
1886 * bucomm.c: Include filenames.h.
1887 (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
1888 forward/backward slashes and drive letters in file names.
1890 * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
1891 mixed forward/backward slashes and drive letters in file names.
1893 * strings.c (O_BINARY, setmode, SET_BINARY): Define.
1894 (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
1897 * objcopy.c: Include filenames.h.
1898 (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
1899 before comparing to "strip".
1900 Use FILENAME_CMP to compare file names.
1902 * arsup.c: Include filenames.h.
1903 (map_over_list, ar_delete, ar_replace, ar_extract): Use
1904 FILENAME_CMP to compare file names.
1905 (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
1906 the temporary file name.
1908 * configure.in: Check for setmode.
1909 * configure: Regenerate.
1911 2000-05-24 Alan Modra <alan@linuxcare.com.au>
1913 * objdump.c (display_target_list): Close the bfd.
1914 (display_info_table): Likewise.
1916 2000-05-14 H.J. Lu (hjl@gnu.org)
1918 * objcopy.c (filter_symbols): Don't strip global symbols in
1919 relocatable object files.
1921 2000-05-14 Alan Modra <alan@linuxcare.com.au>
1923 * size.c (usage): Associate short options with corresponding long
1924 option to give a clue as to their function.
1926 2000-05-14 Philippe De Muyter <phdm@macqel.be>
1928 * size.c (main): Accept and ignore `-f' option.
1930 2000-05-13 Alan Modra <alan@linuxcare.com.au>
1932 * bucomm.h (gettext, dgettext, dcgettext, textdomain,
1933 bindtextdomain): Replace defines with those from intl/libgettext.h
1934 to quieten gcc warnings.
1936 2000-05-12 H.J. Lu <hjl@gnu.org>
1938 * nlmconv.c (temp_filename): Removed.
1940 * nlmconv.c (link_inputs): Use make_temp_file () instead of
1941 choose_temp_base ().
1942 * objdump.c (display_target_list): Likewise.
1943 (display_info_table): Likewise.
1945 2000-05-08 Alan Modra <alan@linuxcare.com.au>
1947 * objcopy.c (setup_section): Add const and gettext calls for err.
1949 2000-05-02 H.J. Lu <hjl@gnu.org>
1951 * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
1952 ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
1953 ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
1954 ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
1955 and ELFOSABI_OPENBSD.
1957 2000-05-02 Kazu Hirata <kazu@hxi.com>
1959 * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
1960 * srconv.c: Likewise.
1961 * sysdump.c: Likewise.
1963 2000-04-23 Denis Chertykov <denisc@overta.ru>
1965 * readelf.c (guess_is_rela): AVR uses RELA relocations.
1966 (get_machine_name): machine name for EM_AVR added.
1968 2000-04-21 Richard Henderson <rth@cygnus.com>
1969 David Mosberger <davidm@hpl.hp.com>
1971 * Makefile.am (readelf.o): Add elf/ia64.h.
1972 * Makefile.in: Rebuild.
1973 * readelf.c: Include elf/ia64.h.
1974 (guess_is_rela, dump_relocations): Handle EM_IA_64.
1976 2000-04-17 Timothy Wall <twall@cygnus.com>
1978 * objdump.c (disassemble_data): Set octets per byte *after*
1979 resolving arch/mach for binary files.
1981 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1983 * arlex.l: Add directives to increase lex buffer size.
1985 * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
1986 already included by bucomm.h.
1988 2000-04-10 Philippe De Muyter <phdm@macqel.be>
1990 * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
1991 `strftime' since strftime is not available on all systems.
1992 (process_mips_specific): Ditto.
1994 2000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
1996 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
1997 --enable-build-warnings option.
1998 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
1999 * Makefile.in, configure: Re-generate.
2001 2000-04-06 Alan Modra <alan@linuxcare.com.au>
2003 * addr2line.c: Update copyright.
2004 * objcopy.1: Likewise, and title.
2005 * strings.1: Likewise.
2007 * version.c (print_version): Add 2000.
2009 * rddbg.c (read_section_stabs_debugging_info): Don't use
2010 bfd_size_type for strx to avoid printf problems if BFD64.
2012 * bucomm.c: (report): Remove `static'.
2013 Move inclusion of stdarg.h/vararg.h from here.
2014 * bucomm.h: To here.
2015 (CONST): Change all occurences to const.
2016 (report): Declare it.
2017 (bfd_fatal): Add ATTRIBUTE_NORETURN.
2018 (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
2019 (non_fatal): Add ATTRIBUTE_PRINTF_1.
2021 * ar.c (main): Use fatal or non_fatal instead of fprintf.
2022 Correct a typo in an error message.
2023 (do_quick_append): Use non_fatal instead of fprintf.
2024 (move_members): Use fatal instead of fprintf, exit.
2025 * coffdump.c (main): Same here.
2027 * dlltool.c (display): Delete.
2029 (inform): Use `report' instead of `display'.
2030 (rvaafter): Remove trailing \n from fatal error msg.
2032 (asm_prefix): Ditto.
2033 (yyerror): Replace `warn' with `non_fatal', and remove \n.
2034 (def_name): Likewise.
2036 (scan_all_symbols): Likewise.
2037 (gen_lib_file): Likewise.
2038 (def_library): Likewise. Remove extra program_name too.
2039 (run): Remove \n from inform strings.
2040 (scan_drectve_symbols): Likewise.
2041 (add_excludes): Likewise.
2042 (scan_open_obj_file): Likewise.
2043 (gen_exp_file): Likewise.
2044 (gen_lib_file): Likewise.
2045 (process_duplicates): Likewise.
2047 * Makefile.am (dllwrap_SOURCES): Add version.c.
2048 * dllwrap.c (program_version): Delete.
2049 (print_version): Delete.
2050 (display): Always print trailing \n.
2052 (delete_temp_files): Use warn instead of fprintf. Use gettext.
2055 (usage): gettext'ify.
2056 (long_options): Add missing initialisers.
2058 * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
2059 (select_output_format): Likewise.
2060 (powerpc_mangle_relocs): Likewise.
2061 (link_inputs): Likewise.
2063 * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
2064 (set_output_format): Likewise.
2065 (main): Use non_fatal instead of fprintf.
2066 (display_rel_file): Likewise.
2068 * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
2069 (slurp_dynamic_symtab): Same here.
2070 (disassemble_data): And here.
2071 (read_section_stabs): And here.
2072 (read_section_stabs): And here.
2073 (dump_bfd): And here.
2075 (objdump_sprintf): Use fatal instead of fprintf, exit.
2076 (disassemble_data): Same here.
2078 * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
2079 (parse_coff_struct_type): Same here.
2080 (parse_coff_enum_type): And here.
2081 (parse_coff): And here.
2082 * rddbg.c (read_debugging_info): And here.
2083 * size.c (main): And here.
2084 * windres.c (format_from_name): And here.
2085 * wrstabs.c (stab_write_symbol): Here too.
2086 (write_stabs_in_sections_debugging_info): And here.
2087 (stab_int_type): And here.
2088 (stab_struct_field): And here.
2089 (stab_typdef): And here.
2091 * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
2092 * srconv.c (main): Same here.
2093 * strings.c (main): And here.
2094 (integer_arg): And here.
2095 * sysdump.c (main): And here.
2097 2000-04-06 Timothy Wall <twall@cygnus.com>
2099 * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
2101 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
2103 * readelf.c (decode_location_expression): Loop through multiple
2105 (read_and_display_attr): Pass in length.
2107 * readelf.c (read_and_display_attr): Add CU offset to references.
2108 (display_debug_info): Pass it in.
2110 2000-04-06 Nick Clifton <nickc@cygnus.com>
2112 * readelf.c (decode_ARM_machine_flags): New function.
2113 (get_machine_flags): Call decode_ARM_machine_flags for ARM
2116 (get_machine_name): Catch EM_AVR
2118 2000-04-05 Alan Modra <alan@linuxcare.com.au>
2120 * binutils.texi: Remove optional `=' from long options that have
2121 an `=' in the argument.
2122 * objcopy.1: Here too. Remove extra space on discard-all.
2124 * binutils.texi (objcopy): Mention --redefine-sym.
2125 * objcopy.1: Here too.
2128 * objcopy.c (parse_flags): Split off flag names from error message
2129 gettext as they are not translated.
2130 (copy_main): Similarly split off option name for --add-section,
2131 --set-section-flags, --change-section-vma, --change-section-lma
2133 Some white space changes.
2135 from Matthew Benjamin <matt@linuxbox.nu>
2136 * objcopy.c (struct redefine_node): New.
2137 (redefine_sym_list): New.
2138 (redefine_list_append): New.
2139 (lookup_sym_redefinition): New.
2140 (OPTION_REDEFINE_SYM): New.
2141 (copy_options): Add --redefine-sym option.
2142 (copy_usage): Mention it.
2143 (filter_symbols): Rename symbols on redefine_sym_list.
2144 (copy_object): Call filter_symbols if redefine_sym_list != NULL.
2145 (copy_main): Handle OPTION_REDEFINE_SYM.
2147 2000-04-04 H.J. Lu <hjl@gnu.org>
2149 * readelf.c (process_symbol_table): Correctly read in symbol
2150 versioning information.
2152 2000-04-04 Alan Modra <alan@linuxcare.com.au>
2154 * po/binutils.pot: Regenerate.
2156 * addr2line.c (usage): Restore translated part of bug string.
2157 * ar.c (usage): Likewise.
2158 * nlmconv.c (show_usage): Likewise.
2159 * nm.c (usage): Likewise.
2160 * objcopy.c (copy_usage): Likewise.
2161 (strip_usage): Likewise.
2162 * objdump.c (usage): Likewise.
2163 * readelf.c (usage): Likewise.
2164 * size.c (usage): Likewise.
2165 * strings.c (usage): Likewise.
2166 * windres.c (usage): Likewise.
2168 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
2169 (DEP): Quote when passing vars to sub-make. Add warning
2171 (DEP1): Rewrite for "gcc -MM".
2172 (CLEANFILES): Add DEP2.
2173 Update dependencies.
2174 * Makefile.in: Regenerate.
2176 2000-04-04 H.J. Lu <hjl@gnu.org>
2178 * Makefile.am (GENERATED_HFILES): Add rcparse.h
2179 (arparse.h): Depend on arparse.c
2180 (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
2182 2000-04-03 H.J. Lu (hjl@gnu.org)
2184 * size.c (usage): Use REPORT_BUGS_TO.
2186 2000-04-03 Alan Modra <alan@linuxcare.com.au>
2188 * bucomm.h: #include "bin-bugs.h"
2189 * addr2line.c (usage): Use REPORT_BUGS_TO.
2190 * ar.c (usage): Likewise.
2191 * nlmconv.c (show_usage): Likewise.
2192 * nm.c (usage): Likewise.
2193 (OPTION_TARGET): Define.
2194 (long_options): Use OPTION_TARGET rather than 200.
2197 * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
2198 (strip_usage): Likewise.
2199 * objdump.c (usage): Likewise.
2200 * readelf.c (usage): Likewise.
2201 * strings.c (usage): Likewise.
2202 * windres.c (usage): Likewise.
2204 2000-03-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
2206 * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
2208 2000-03-27 Nick Clifton <nickc@cygnus.com>
2210 * rddbg.c (read_section_stabs_debugging_info): Catch out of range
2211 string offsets in corrupt stabs entries.
2213 2000-03-27 Alan Modra <alan@linuxcare.com.au>
2215 * readelf.c: Include elf/avr.h
2216 (dump_relocations): Add EM_AVR case.
2218 2000-03-09 Tim Waugh <twaugh@redhat.com>
2220 * strings.1: Correct '-bytes' to '--bytes'.
2222 2000-03-08 H.J. Lu <hjl@gnu.org>
2224 * Makefile.am (install-exec-local): Depend on
2225 install-binPROGRAMS for parallel make.
2226 * Makefile.in: Regenerated.
2228 2000-02-27 Ian Lance Taylor <ian@zembu.com>
2230 From Brad Lucier <lucier@math.purdue.edu>:
2231 * readelf.c (process_dynamic_segment): Add cast to make sure
2232 argument to %* is int.
2234 2000-02-25 H.J. Lu <hjl@gnu.org>
2236 * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
2238 2000-02-24 Nick Clifton <nickc@cygnus.com>
2240 * configure.in: Add arm-wince, mips-pe and sh-pe targets.
2241 * configure: Regenerate.
2243 * dlltool.c: Add support for sh-pe and mips-pe targets.
2244 * rescoff.c: Add support for sh-pe and mips-pe targets.
2246 2000-02-23 H.J. Lu <hjl@gnu.org>
2248 * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
2250 2000-02-22 Nick Clifton <nickc@cygnus.com>
2252 * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
2254 2000-02-22 Ian Lance Taylor <ian@zembu.com>
2256 From Brad Lucier <lucier@math.purdue.edu>:
2257 * readelf.c (process_version_sections): Add casts to make sure
2258 argument to %* is an int.
2259 (process_mips_specific): Add casts to make printf arguments match
2262 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
2264 * objdump.c (dump_section_header): Change `opb' to unsigned.
2265 (find_symbol_for_address): Same here.
2266 (disassemble_data): And here. Change `addr_offset',
2267 `stop_offset', `nextstop_offset' to unsigned long.
2268 (dump_data): Change opb to unsigned.
2270 2000-02-18 Frank Ch. Eigler <fche@redhat.com>
2272 * resrc.c: Remove unmatched #if for cygwin.
2274 2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com>
2276 * binutils.texi: Document the change of flavor name from atpcs-special
2277 to special-atpcs to prevent name conflict in gdb.
2279 2000-02-08 Timothy Wall <twall@redhat.com>
2281 * objdump.c (show_line): Fix bug preventing printing of the very
2282 first line (line zero) of a file when interlisting source and
2283 assembly. Added option to print entire context from start of file
2284 when the first line from that file is encountered.
2286 2000-02-03 Timothy Wall <twall@redhat.com>
2288 * objdump.c (dump_section_header, find_symbol_for_address,
2289 show_line, disassemble_bytes, disassemble_data, dump_data):
2290 distinguish between octets and bytes.
2292 2000-01-27 Thomas de Lellis <tdel@windriver.com>
2294 * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
2295 check to unresolved symbols.
2296 (print_symbol_info_sysv): Ditto.
2297 (print_symbol_info_posix): Ditto.
2299 * binutils.texi: Document new 'V' symclass flag for nm.
2301 2000-01-27 Nick Clifton <nickc@redhat.com>
2303 * binutils.texi (objdump): Document new ARM specific
2304 disassembler options.
2306 * objdump.c (usage): Call disassembler_usage().
2308 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
2310 * readelf.c (get_dynamic_flags): Return buff.
2311 (process_dynamic_segment): Don't pass error strings to printf
2313 (read_and_display_attr): Use lx and ld to print longs.
2314 (process_corefile_note_segment): Cast bfd_vma to unsigned long
2318 2000-01-17 Nick Clifton <nickc@cygnus.com>
2320 * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
2322 2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
2324 * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
2326 (debug_tag_type): Here too.
2327 * ieee.c (ieee_builtin_type): And here.
2328 * stabs.c (parse_stab_type, parse_stab_array_type): And here.
2330 2000-01-13 Nick Clifton <nickc@cygnus.com>
2332 * readelf.c (get_machine_name): Change EM_S370 to return "IBM
2335 2000-01-11 Nick Clifton <nickc@cygnus.com>
2337 * readelf.c (get_dynamic_type): Remove DT_ENCODING.
2339 2000-01-10 Nick Clifton <nickc@cygnus.com>
2341 * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
2343 2000-01-07 Mumit Khan <khan@xraylith.wisc.edu>
2345 * windres.c (long_options): Add --use-temp-file and
2346 --no-use-temp-file options.
2350 * windres.h: Update read_rc_file prototype.
2352 * resrc.c (cpp_temp_file): New static variable.
2353 (istream_type): New static variable.
2354 (close_pipe): Delete function.
2355 (run_cmd): New static function.
2356 (open_input_stream): New static function.
2357 (close_input_stream): New static function.
2358 (look_for_default): Handle DOS directory separator. Use
2359 open_input_stream instead of popen.
2360 (read_rc_file): Likewise.
2362 * binutils.texi: Document --use-temp-file, --no-use-temp-file
2365 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
2367 * dlltool.c (create_compat_implib): New variable.
2368 (gen_exp_file): Use.
2369 (make_one_lib_file): Use.
2370 (long_options): Add --compat-implib option.
2374 * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
2375 (main): Use. Don't look for "32" in cygwin and mingw target names.
2377 2000-01-03 Nick Clifton <nickc@cygnus.com>
2379 * binutils.texi: Document new, ARM specific disassembler
2380 command line switch "-M force-thumb".
2382 For older changes see ChangeLog-9899
2388 version-control: never