1 2002-03-21 Alan Modra <amodra@bigpond.net.au>
3 * Makefile.am: Run "make dep-am".
4 * Makefile.in: Regenerate.
5 * doc/Makefile.in: Regenerate.
6 * po/POTFILES.in: Regenerate.
7 * aclocal.m4: Regenerate.
8 * config.in: Regenerate.
9 * configure: Regenerate.
11 2002-03-20 Daniel Berlin <dan@dberlin.org>
13 * readelf.c: Add support for displaying dwarf2 location lists.
14 (do_debug_loc, debug_loc_section, debug_loc_size): New.
15 (parse_args): Use 'O' as shorthand for displaying location list
17 (process_section_headers): Handle debug_loc as well.
18 (load_debug_loc): New.
19 (free_debug_loc): New.
20 (fetch_location_list): New.
21 (display_debug_loc): New.
22 (display_debug_info): Call load_debug_loc and free_debug_loc.
23 (debug_displays): We can display .debug_loc now, too.
24 (usage): Update usage string.
25 (read_and_display_attr_value): Note location lists, but don't
28 2002-03-18 Tom Rix <trix@redhat.com>
30 * Makefile.am: Add binutils emulation support.
32 * configure.tgt: New file. Same.
33 * ar.c (main): Use ar_emul_parse_arg.
34 (usage): Use ar_emul_usage.
35 (replace_members): Use ar_emul_replace, ar_emul_append.
36 * binemul.c: New file. Define the binutils emulation
37 layer. Define default methods.
38 * binemul.h: New file. Binutils emulation layer header file.
39 * emul_aix.c: New file. AIX binutils emulation.
40 * emul_vanilla.c: New file. Default binutils emulation.
41 * Makefile.in: Regenerate.
44 2002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
46 * po/fr.po: Updated version.
48 2002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
50 * po/fr.po: Updated version.
52 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
54 * README: Update some version numbers.
56 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
58 * doc/binutils.texi (Target Selection): Fix LD crossreferences.
59 (Architecture Selection): Likewise.
61 2002-03-01 Dmitry Timoshkov <dmitry@baikal.ru>
63 * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
66 2002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
68 * readelf.c (dump_relocations): Fix typo.
70 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
72 * NEWS: Mark 2.12 branch.
74 2002-02-18 Timothy Daly <remote_bob@yahoo.com>
76 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
77 types for 64-bit MIPS. Narrow some fields for 80-char
79 (dump_relocations): Change spelling from 'unrecognised'
81 (decode_ARM_machine_flags): Likewise.
82 (parse_args): Likewise.
83 (read_and_display_attr_value): Likewise.
84 (display_debug_section): Likewise.
86 2002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
88 * NEWS: Mention support for MMIX.
90 2002-02-13 Matt Fredette <fredette@netbsd.org>
92 * readelf.c (get_machine_flags): Recognize EF_M68000.
94 2002-02-12 Alexandre Oliva <aoliva@redhat.com>
96 * MAINTAINERS: Added self as MN10300 co-maintainer.
98 2002-02-12 Alan Modra <amodra@bigpond.net.au>
100 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
103 2002-02-11 Daniel Jacobowitz <drow@mvista.com>
105 * MAINTAINERS: List myself as branch maintainer.
107 2002-02-11 Alan Modra <amodra@bigpond.net.au>
109 * configure: Regenerate.
110 * objcopy.c: Update copyright date.
111 * doc/Makefile.in: Regenerate.
113 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
115 * nlmconv.c: Back out localtime PARAMS change.
117 2002-02-11 Alan Modra <amodra@bigpond.net.au>
119 * objcopy.c (MKDIR): Define.
120 (copy_archive): Make name_list.name const. Use MKDIR.
121 Handle duplicate files in archives by making more temp dirs.
123 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
125 * coffdump.c: Include "getopt.h" after "bucomm.h"
126 so that macros are defined correctly.
127 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
128 prototype. Prototype main.
129 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
131 2002-02-06 Alexandre Oliva <aoliva@redhat.com>
133 * MAINTAINERS: Added self as SH co-maintainer.
135 2002-02-05 Nick Clifton <nickc@redhat.com>
137 * po/tr.po: Updated translation.
139 2002-02-01 Alan Modra <amodra@bigpond.net.au>
141 * Makefile.am: Run "make dep-am"
142 * Makefile.in: Regenerate.
144 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
146 * nm.c (print_value): Mark abfd unused.
148 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
150 * unwind-ia64.c (unw_decoder): Change second argument
151 to unsigned int, to match function prototypes.
153 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
155 * objdump.c: Include "getopt.h" after "bucomm.h" so that
156 __GNU_LIBRARY__ will be defined.
159 2002-01-27 Daniel Jacobowitz <drow@mvista.com>
161 * configure: Regenerated.
163 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
165 * doc/Makefile.am (install): Depend on install-info.
166 * doc/Makefile.in: Regenerate.
168 2002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
170 * objcopy.c (strip_usage): Document -d as an alias
173 * size.c (usage): Document [-t | --totals] options.
174 (long_options): Add --totals option.
175 (main): If the [-t | --totals] option is specified and
176 the output format is Berkeley-style, print the total
177 text, data, and bss sizes of all objects listed.
178 (print_berkeley_format): If the [-t | --totals] option
179 is specified, track the total text, data, and bss
181 * doc/binutils.texi (size): Document [-t | --totals] options.
182 (strip): Document -d as an alias for --strip-debug.
183 * NEWS: Mention new feature of size.
185 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
187 * po/fr.po: Updated version.
188 * po/es.po: Updated version.
190 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
192 * addr2line.c (usage): Update text to provide verbose
193 description of the command line options.
194 * ar.c (usage): Update text to provide verbose
195 description of the command line options.
196 (main): Accept -h and -H when running as ranlib.
197 * coffdump.c (show_usage): Update text to provide verbose
198 description of the command line options.
199 * dlltool.c (main): Accept -H as an alias for --help.
200 * nlmconv.c (show_usage): Update text to provide verbose
201 description of the command line options.
202 * nm.c (usage): Replace OPTIONS with option(s).
203 (main): Accept -H as an alias for --help.
204 * objcopy.c (strip_main): Accept -H as an alias for --help.
205 * objdump.c (main): Accept -v as an alias for --verbose.
206 * readelf.c (usage): Adjust format to match style used in
208 * size.c (usage): Update text to provide verbose description
209 of the command line options.
210 (main): Accept -v, -h and -H as command line options.
211 * srconv.c (show_usage): Update text to provide verbose
212 description of the command line options.
213 * strings.c (main): Accept -H and -v as command line options.
214 (usage): Update text to provide verbose description of the
215 command line options.
216 * sysdump.c (show_usage): Update text to provide verbose
217 description of the command line options.
218 * windres.c (usage): Adjust format to match style used in
221 * coffdump.c: Fix formatting.
222 * nlmconv.c: Fix formatting.
223 * srconv.c: Fix formatting.
224 * sysdump.c: Fix formatting.
226 2002-01-22 Alan Modra <amodra@bigpond.net.au>
228 * Makefile.am: Run "make dep-am".
229 * Makefile.in: Regenerate.
231 2002-01-18 Andreas Jaeger <aj@suse.de>
233 * version.c (print_version): Update year.
235 2002-01-17 Alan Modra <amodra@bigpond.net.au>
237 * readelf.c (get_machine_name): Handle EM_PPC64.
238 (guess_is_rela): Here too.
240 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
242 * po/binutils.pot: Regenerate.
243 * po/fr.po: Regenerate.
244 * po/tr.po: Regenerate.
246 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
248 * po/tr.po: Import new version.
250 2002-01-16 Alan Modra <amodra@bigpond.net.au>
252 * readelf.c (get_ppc64_dynamic_type): New.
253 (get_dynamic_type): Call it.
255 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
257 * objcopy.c (copy_usage): Use "options" instead of "switches".
258 (strip_usage): Use "options" instead of "switches".
259 * doc/binutils.texi (dlltool): Refer to "options" instead of
262 2002-01-14 Richard Earnshaw <rearnsha@arm.com>
264 * MAINTAINERS: Add self as co-maintainer for the ARM code.
266 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
268 * po/es.po: Import from translation project.
269 * configure.in (ALL_LINGUAS): Add es.
270 * configure: Regenerate.
272 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
274 * readelf.c (get_netbsd_elfcore_note_type): Use
275 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
277 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
279 * readelf.c: Update copyright years.
280 (get_note_type): Return a const char *.
281 (get_netbsd_elfcore_note_type): New function.
282 (process_note): Use get_netbsd_elfcore_note_type to get
283 the note type string for NetBSD ELF core files.
285 2002-01-06 Steve Ellcey <sje@cup.hp.com>
287 * readelf.c (get_ia64_segment_type): Add support for macros.
288 (get_segment_type): Add support for IA64 specific macros.
290 2001-12-20 Julian v. Bock <julian@wongr.net>
292 * readelf.c (print_symbol): New function: Print a formatted symbol
293 name. If --wide is specified do not truncate it.
294 (dump_relocations): Use print_symbol() to print symbol names.
295 (process_symbol_table): Likewise.
296 (process_syminfo): Likewise.
297 (process_mips_specific): Likewise.
298 (usage): Document new feature of --wide switch.
299 * doc/binutils.texi (objdump): Document additional behaviour of
302 2001-12-18 Michael Snyder <msnyder@redhat.com>
304 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
305 (copy_object): Don't set the start address or flags of a core file.
306 (copy_section): Don't relocate a core file. Don't copy contents
307 if the input section has the contents flag set, but the output
308 section does not (which happens with the fake 'note' pseudo-
309 sections that BFD creates for corefiles).
311 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
313 * readelf.c (get_machine_flags): Recognize header flags for ABI and
314 ASE extensions. More robust code for ISA checking. Ignore empty fields
315 in header flags for GNU extensions.
317 2001-12-18 Alan Modra <amodra@bigpond.net.au>
319 * objcopy.c (copy_archive): Set output bfd format outside the loop.
321 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
323 * po/ja.po: Import from translation project.
324 * configure.in (ALL_LINGUAS): Add ja.
325 * configure: Regenerate.
327 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
329 * addr2line.c (main): Protoype.
330 * ar.c (main): Protoype.
331 * nm.c (main): Protoype.
332 * objcopy.c (main): Protoype.
333 * objdump.c (main): Protoype.
334 * size.c (main): Protoype.
335 * strings.c (main): Protoype.
337 2001-12-17 Alan Modra <amodra@bigpond.net.au>
339 * readelf.c (symtab_shndx_hdr): New global.
340 (SECTION_HEADER_INDEX): Define.
341 (SECTION_HEADER_NUM): Define.
342 (SECTION_HEADER): Define.
343 (GET_ELF_SYMBOLS): Pass two params rather than three.
344 (get_32bit_elf_symbols): Take file and section args. Read and
345 use SHT_SYMTAB_SHNDX.
346 (get_64bit_elf_symbols): Likewise.
347 (dump_relocations): Use SECTION_HEADER to index "section_headers".
348 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
349 Remember symtab_shdx_hdr.
350 (process_program_headers): Scan from index 1 for segment map.
351 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
353 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
354 (process_unwind): Likewise.
355 (process_version_sections): Likewise.
356 (process_symbol_table): Likewise.
357 (display_debug_info): Likewise.
358 (process_dynamic_segment): Fake up a symtab section for changed
360 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
361 (process_program_headers): Kill signed/unsigned warning.
362 (load_debug_str): Likewise.
363 (display_debug_info): Likewise.
365 2001-12-13 Jakub Jelinek <jakub@redhat.com>
367 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
369 2001-12-11 Alan Modra <amodra@bigpond.net.au>
371 * readelf.c (process_file_header): Print extended e_shnum and
372 e_shdtrndx values. Set elf_header values for same.
373 (get_32bit_section_headers): Add "num" arg to read "num" headers.
374 (get_64bit_section_headers): Likewise.
375 (process_section_headers): Update calls.
376 (get_file_header): Call get_32bit_section_headers or 64bit variant.
378 2001-12-10 Jakub Jelinek <jakub@redhat.com>
380 * objcopy.c (setup_section): Copy entsize.
382 2001-12-07 Geoffrey Keating <geoffk@redhat.com>
384 * readelf.c (guess_is_rela): Add support for stormy16.
385 (dump_relocations): Likewise.
386 (get_machine_name): Likewise.
388 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
390 * dllwrap.c (main) Replace multiple strings describing a
391 single error with a single, newline escaped sentence to permit
392 better translation into foreign languages.
394 * readelf.c (get_elf_class): Remove internalionalisation of ELF
397 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
399 * strings.c (get_char): Initialize value.
401 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
403 * arlex.l: Silence compile warnings.
404 * arsup.h: Likewise. Fix formatting.
406 2001-12-04 Jakub Jelinek <jakub@redhat.com>
408 * strings.c: Include config.h before bfd.h.
409 (file_off): New type.
411 (print_strings): Use file_off instead of file_ptr. Print addresses
412 which don't fit into long correctly.
413 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
415 (strings_file): Use file_off instead of file_ptr. Use file_open.
416 * configure.in: Check for getc_unlocked.
417 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
419 * configure: Rebuilt.
420 * config.h.in: Rebuilt.
422 2001-11-29 H.J. Lu <hjl@gnu.org>
424 * bucomm.c (make_tempname): Revert the changes made on
425 2001-11-14 and 2001-11-12. They won't work with directories.
427 2001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
429 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
430 CFLAGS_FOR_TARGET to runtest in environment.
431 * Makefile.in: Rebuild.
432 * doc/Makefile.in: Rebuild.
434 2001-11-28 Mike Stump <mrs@wrs.com>
436 * objcopy.c (setup_section): Preserve SEC_RELOC when
437 --set-section-flags is used.
439 2001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
441 * readelf.c (do_debug_str): New variable.
442 (display_debug_str): New function: Display the contents of a
444 (load_debug_str): New function: Load in the contents of a
446 (free_debug_str): New function: Free the memory used by
448 (fetch_indirect_string): Retrieve a string from the .debug_str
451 (parse_args): Accept -ws.
452 (process_section_headers): Allow the display of the .debug_str
454 (read_and_display_attr_value): Use fetch_indirect_string. Show
455 offset into .debug_str section.
456 (display_debug_info): Use load_debug_str and free_debug_str.
457 (debug_displays): Add .debug_str.
458 * doc/binutils.texi: Document -ws.
460 2001-11-19 Andreas Jaeger <aj@suse.de>
462 * testsuite/binutils-all/objdump.exp: Add x86-64.
464 2001-11-15 Andreas Schwab <schwab@suse.de>
466 * readelf.c: Fix warnings without terminating newline.
468 2001-11-15 Alan Modra <amodra@bigpond.net.au>
470 * doc/binutils.texi (objdump): Document ppc -M options.
472 2001-11-14 Andreas Jaeger <aj@suse.de>
474 * doc/binutils.texi (objdump): Fix description to use x86-64.
476 2001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
478 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
479 not all systems provide mkstemp.
481 2001-11-14 Alan Modra <amodra@bigpond.net.au>
483 * doc/binutils.texi (objdump): Document x86 -M options.
485 2001-11-13 Keith Walker <keith.walker@arm.com>
487 * readelf.c (read_and_display_attr_value): New function to
488 handle DW_FORM_indirect.
489 (read_and_display_attr): Use it.
491 2001-11-13 Geoffrey Keating <geoffk@redhat.com>
493 * readelf.c (display_debug_lines): Deal with unknown standard
494 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
497 2001-11-13 Timothy Wall <twall@alum.mit.edu>
499 * MAINTAINERS: Add self as tic54x maintainer. This target
500 includes the IBM C54XDSP clone.
502 2001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
504 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
506 2001-11-09 Jeffrey A Law (law@cygnus.com)
508 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
509 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
510 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
511 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
512 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
513 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
514 (unw_decode_b2, unw_decode_b3_b4): Likewise.
516 * readelf.c (get_elf_class): Fix ISO portability glitch.
517 (get_data_encoding, get_osabi_name, request_dump): Likewise.
519 2001-11-07 Jakub Jelinek <jakub@redhat.com>
521 * readelf.c (debug_str, debug_str_size): New.
522 (display_debug_abbrev): If no abbrevs were read, skip the CU.
524 (read_and_display_addr): Handle DW_FORM_strp.
525 (display_debug_info): Read .debug_str section if present,
526 so that DW_FORM_strp can be handled.
527 Fix test for non-existant .debug_abbrev section.
529 2001-11-05 Jakub Jelinek <jakub@redhat.com>
531 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
533 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
535 2001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
537 * MAINTAINERS: Add self as s390/s390x maintainer.
539 2001-11-02 Tom Rix <trix@bluey.cygnus.com>
541 * MAINTAINERS: Add self as PPC XCOFF maintainer.
543 2001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
545 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
546 * configure: Regernate.
547 * po/fr.po: New file.
548 * po/tr.po: New file.
550 2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
552 * MAINTAINERS: Add self as MMIX port maintainer.
553 * readelf.c: Include elf/mmix.h.
554 (guess_is_rela): MMIX is RELA.
555 (dump_relocations): Handle MMIX relocations.
556 * Makefile.am: Regenerate dependencies.
557 * Makefile.in: Regenerate.
559 2001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
561 * readelf.c (parse_args): Handle multiple options to the -w
564 2001-10-12 Jakub Jelinek <jakub@redhat.com>
566 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
567 LOPROC, LOOS and LOUSER.
569 2001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
571 * MAINTAINERS: Update my email address.
573 2001-10-03 Alan Modra <amodra@bigpond.net.au>
575 * doc/Makefile.in: Regenerate.
576 * configure: Regenerate.
578 2001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
580 * readelf.c (display_debug_line, display_debug_pubnames,
581 display_debug_info, display_debug_frames): Detect and warn
582 about 64-bit format entries.
583 (display_debug_aranges): Reword 64-bit warning.
584 (debug_displays): Add .debug_pubtypes as a known, but not yet
585 supported, debug section.
587 2001-10-02 Alan Modra <amodra@bigpond.net.au>
589 * coffdump.c (PROGRAM_VERSION): Delete.
590 (main <'V'>): Call print_version.
591 * srconv.c: Likewise.
592 * sysdump.c: Likewise.
593 * version.c (program_version): Remove.
594 (print_version): Use BFD_VERSION_STRING. Just print the current
595 year in copyright message.
596 * addr2line.c (program_version): Remove unused declaration.
597 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
598 place of BFD_VERSION.
599 * Makefile.am (Makefile): Depend on bfd/configure.in.
600 (cplus-dem.o): Depend on Makefile.
602 * Makefile.in: Regenerate.
604 2001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
606 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
607 format .debug_arange sections.
608 (main): Add missing prototype.
610 2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
612 * Makefile.am: Update dependencies with "make dep-am".
613 * Makefile.in: Regenerate.
615 2001-09-28 Richard Henderson <rth@redhat.com>
617 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
619 2001-09-26 Alan Modra <amodra@bigpond.net.au>
621 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
623 (non_fatal): Likewise.
624 * objdump.c (objdump_sprintf): Likewise.
625 * readelf.c (error): Likewise.
628 2001-09-25 Jakub Jelinek <jakub@redhat.com>
630 * readelf.c (do_wide): New.
631 (options): Add --wide.
632 (usage, parse_args): Likewise.
633 (process_program_headers): Put each segment on a single line if
635 (process_section_headers): Put each section on a single line if
637 * doc/binutils.texi: Document it.
640 2001-09-25 Alan Modra <amodra@bigpond.net.au>
642 * readelf.c (print_vma): Print 8 digits of low hex value.
644 2001-09-24 Andreas Jaeger <aj@suse.de>
646 * nlmconv.c: Fix warnings about unused attributes and function
649 * strings.c: Add prototype for get_char.
651 2000-09-19 H.J. Lu <hjl@gnu.org>
653 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
654 $(srcdir)/cxxfilt.man.
655 * doc/Makefile.in: Rebuild.
657 2001-09-19 Alan Modra <amodra@bigpond.net.au>
659 * objcopy.c (copy_main): Correct rename-section string parsing.
660 Consolidate new_name parsing, and error messages.
662 2001-09-18 Bruno Haible <haible@clisp.cons.org>
664 * addr2line.c: Don't include <ctype.h>.
665 (main): For gettext, also set the LC_CTYPE locate facet.
666 * ar.c (main): Likewise.
667 * coffdump.c (main): Likewise.
668 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
669 (main): For gettext, also set the LC_CTYPE locate facet.
670 Use ISALNUM instead of isalpha/isdigit.
671 * dllwrap.c: Don't include <ctype.h>.
672 (main): For gettext, also set the LC_CTYPE locate facet.
673 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
674 (main): For gettext, also set the LC_CTYPE locate facet.
675 Use TOUPPER instead of islower/toupper.
676 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
677 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
678 Use TOUPPER instead of islower/toupper.
679 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
680 * objcopy.c (main): Likewise.
681 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
682 (disassemble_bytes): Use ISPRINT instead of isprint.
683 (dump_section_stabs): Use ISDIGIT instead of isdigit.
684 (dump_data): Use ISPRINT instead of isprint.
685 (main): For gettext, also set the LC_CTYPE locate facet.
686 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
687 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
688 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
689 Use TOUPPER instead of islower/toupper.
690 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
691 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
692 (write_rc_accelerators): Use ISPRINT instead of isprint.
693 (write_rc_rcdata): Likewise.
694 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
695 * srconv.c (main): Likewise.
696 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
697 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
698 isdigit/isupper/islower.
699 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
700 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
701 stab_demangle_prefix, stab_demangle_qualified,
702 stab_demangle_template, stab_demangle_type,
703 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
704 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
705 (isgraphic): Use ISPRINT instead of isascii/isprint.
706 (main): Remove HAVE_LC_MESSAGES dependency.
707 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
708 (pbarray): Use ISPRINT instead of isprint.
709 (main): For gettext, also set the LC_CTYPE locate facet.
710 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
711 (format_from_filename): Use ISPRINT instead of isprint.
712 (main): For gettext, also set the LC_CTYPE locate facet.
713 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
714 (unicode_print): Use ISPRINT instead of isprint.
715 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
716 (stab_variable): Use ISDIGIT instead of isdigit.
718 2001-09-18 Alan Modra <amodra@bigpond.net.au>
720 * ar.c (print_contents): Cast args of bfd_seek to the right types.
721 Replace bfd_read call with call to bfd_bread.
722 (extract_file): Likewise.
724 * objdump.c (dump_section_header): Cast section->filepos to
725 unsigned long to suit printf format string.
726 * readelf.c (process_section_headers): Similarly for sh_offset.
727 (process_unwind): Likewise.
729 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
731 * strings.c (encoding, encoding_bytes): New variables.
732 (long_options): Add --encoding.
733 (main): Accept -e and --encoding.
734 (get_char): New function. Read a, possibly wide, character from
736 (print_strings): Use get_char().
737 (usage): Document new command line option.
738 * doc/binutils.texi: Document new command line option.
739 * NEWS: Announce new command line option.
741 2001-09-12 Alexandre Oliva <aoliva@redhat.com>
743 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
744 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
745 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
746 Removed EM_CYGNUS_ARC.
748 2001-09-04 Jeffrey A Law (law@cygnus.com)
750 * readelf.c: Include elf/h8 for H8 series definitions.
751 (guess_is_rela): H8 series if RELA.
752 (dump_relocations): Handle H8 series relocations.
754 2001-08-31 Eric Christopher <echristo@redhat.com>
756 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
758 2001-08-29 Peter Targett <peter.targett@arccores.com>
760 * MAINTAINERS: Include ARC Maintainer.
762 2001-08-29 Ben Elliston <bje@redhat.com>
764 * stabs.c (stab_demangle_template): Initialise s4.
766 2001-08-27 Alan Modra <amodra@bigpond.net.au>
768 * readelf.c (dump_relocations): Recognise EM_PPC64.
770 2001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
772 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
774 2001-08-25 H.J. Lu <hjl@gnu.org>
776 * nm.c (print_width): New.
777 (display_rel_file): Set `print_width' according to
779 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
781 2001-08-24 Alexandre Oliva <aoliva@redhat.com>
783 * objcopy.c (use_alt_mach_code): New variable.
784 (OPTION_ALT_MACH_CODE): Define.
785 (copy_options): Added --alt-machine-code.
786 (copy_main): Handle it.
787 (copy_object): Switch to alternate machine code if requested.
788 * doc/binutils.texi: Document new option.
791 2001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
793 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
795 2001-08-21 H.J. Lu <hjl@gnu.org>
797 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
798 (display_debug_info): Cast for 64bit hosts.
799 (display_debug_frames): Likewise.
800 (process_mips_specific): Likewise.
802 2001-08-21 Andreas Jaeger <aj@suse.de>
804 * coffgrok.h: Add missing parameter for prototype of coff_grok.
806 * sysdump.c: Add missing prototypes.
807 * srconv.c: Likewise.
808 * unwind-ia64.c: Likewise.
809 * coffdump.c: Likewise.
811 * sysinfo.y: Print prototypes, include <ansidecl.h>.
813 * coffgrok.c: Add missing prototypes, include libiberty.h instead
814 of declaring xcalloc.
816 2001-08-10 H.J. Lu <hjl@gnu.org>
818 * nm.c (print_value): Add one arg, bfd *.
819 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
820 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
821 (print_symbol_info_sysv): Likewise.
822 (print_symbol_info_posix): Likewise.
824 * objdump.c (dump_section_header): Replace printf_vma with
826 (print_section_stabs): Likewise.
827 (dump_bfd_header): Likewise.
828 (objdump_print_value): Replace sprintf_vma with
830 (disassemble_bytes): Likewise.
831 (dump_reloc_set): Likewise.
833 2001-08-10 Andreas Jaeger <aj@suse.de>
835 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
837 * configure: Regenerate.
839 2001-08-09 Alan Modra <amodra@bigpond.net.au>
841 * readelf.c: Add missing prototypes.
842 * objdump.c: Likewise. Format existing prototypes.
844 2001-08-08 Alexandre Oliva <aoliva@redhat.com>
846 * readelf.c (display_debug_info): Add to abbrev_offset the addend
847 of any RELA relocation for the abbrev_offset memory location that
848 refers to the .debug_abbrev section symbol.
850 2001-08-07 H.J. Lu <hjl@gnu.org>
852 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
853 (main): Return process_file ().
855 2001-08-05 Philip Blundell <philb@gnu.org>
857 * doc/binutils.texi: Use "Thumb" not "THUMB".
859 2001-08-03 John Healy <jhealy@redhat.com>
861 Patch suggested by Frank Eigler <fche@redhat.com>.
862 * objdump.c (disassemble_data): Fill in section member of the
863 disasm_info structure.
865 2001-08-03 Tom Walsh <tom@cyberiansoftware.com>
867 * configure.in: Added --with-windres option.
868 * configure: Regenerated.
870 2001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
872 * doc/binutils.texi: Use @command{name} for commands;
873 use @option{-opt} for options; use @table @env for list of options;
874 remove spaces arround [ | ] in synopsis.
876 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
879 2001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
881 * objcopy.c: Fix formatting.
882 (section_rename): New structure.
883 (OPTION_RENAME_SECTION): New switch.
884 (copy_usage): Document new switch.
885 (add_section_rename): New function: Add a node to the section
887 (find_section_rename): New function: Find the new name and
889 (setup_section): Call find_section_name to determine the name
890 of the output section.
891 (copy_main): Handle OPTION_RENAME_SECTION.
892 * binutils.texi: Document new switch.
893 * NEWS: Mention new switch.
895 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
897 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
898 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
899 bug-binutils@gcc.org.
901 2001-07-28 Matthias Kramm <kramm@quiss.org>
903 * bucomm.c (list_supported_architectures): New function.
904 * bucomm.h (list_supported_architectures): Declare.
905 * objdump.c (usage): Call the above.
907 2001-07-25 Dave Brolley <brolley@redhat.com>
909 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
910 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
912 2001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
914 * README: Update for 2.11. Change bug reporting email address.
915 * MAINTAINERS: Tidy up. Change bug reporting email address.
917 2001-07-16 DJ Delorie <dj@redhat.com>
919 * resres.c (write_res_header): Align header size.
920 (res_align_file): Calculate alignment correctly.
922 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
924 * resrc.c (write_rc_resource): Likewise.
925 * windres.h (SUBLANG_SHIFT): Define - as 10.
927 2001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
929 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
931 2001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
933 * MAINTAINERS: Add notes about branch checkins.
935 2001-07-05 Daniel Berlin <dan@cgsoftware.com>
937 * readelf.c (display_debug_macinfo): New function, display
938 .debug_macinfo section.
939 (do_debug_macinfo): New variable.
940 (parse_args): Handle "-w[mM]" to mean display macro info.
941 (process_section_headers): Handle debug_macinfo.
942 (debug_displays): Replace unsupported function with macinfo
943 function for .debug_macinfo display.
944 * doc/binutils.texi: Document new command line switch.
945 * NEWS: Document new feature of readelf.
947 2001-07-05 H.J. Lu <hjl@gnu.org>
949 * objcopy.c (filter_symbols): Don't turn undefined symbols
952 2001-07-03 H.J. Lu <hjl@gnu.org>
954 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
957 (dlltool.1): Likewise.
958 (nlmconv.1): Likewise.
960 (objcopy.1): Likewise.
961 (objdump.1): Likewise.
962 (ranlib.1): Likewise.
963 (readelf.1): Likewise.
965 (strings.1): Likewise.
967 (windres.1): Likewise.
968 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
969 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
972 * doc/Makefile.in: Regenerated.
974 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
976 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
978 2001-07-01 Daniel Berlin <dan@cgsoftware.com>
980 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
982 2001-06-29 James Cownie <jcownie@etnus.com>
984 * readelf.c: Support DWARF 2.1 attributes.
986 2001-06-28 Alan Modra <amodra@bigpond.net.au>
988 * readelf.c (GET_DATA_ALLOC): Remove.
990 (get_data): New function combining above macros, with an extra
992 (slurp_rela_relocs): Use get_data, and catch error return.
993 (slurp_rel_relocs): Likewise.
994 (get_32bit_program_headers): Likewise.
995 (get_64bit_program_headers): Likewise.
996 (get_32bit_section_headers): Likewise.
997 (get_64bit_section_headers): Likewise.
998 (get_32bit_elf_symbols): Likewise.
999 (get_64bit_elf_symbols): Likewise.
1000 (process_section_headers): Likewise.
1001 (process_relocs): Likewise.
1002 (slurp_ia64_unwind_table): Likewise.
1003 (process_unwind): Likewise.
1004 (get_32bit_dynamic_segment): Likewise.
1005 (get_64bit_dynamic_segment): Likewise.
1006 (process_dynamic_segment): Likewise.
1007 (process_version_sections): Likewise.
1008 (process_symbol_table): Likewise.
1009 (dump_section): Likewise.
1010 (display_debug_info): Likewise.
1011 (display_debug_section): Likewise.
1012 (process_section_contents): Likewise.
1013 (process_corefile_note_segment): Likewise.
1014 (process_mips_specific): Likewise. Also free econf32, econf64.
1016 2001-06-25 Alan Modra <amodra@bigpond.net.au>
1018 * readelf.c (dump_relocations): Print "bad symbol index" if
1019 symtab == NULL with non-zero symtab_index.
1020 (process_relocs): Don't bomb if reloc section has no symsec.
1022 2001-06-24 H.J. Lu <hjl@gnu.org>
1024 * objcopy.c (strip_main): Revert the change made on 2001-05-30
1026 (copy_main): Apply the the change made to strip_main on
1027 2001-05-30 by accident.
1029 2001-06-23 Andreas Jaeger <aj@suse.de>
1031 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
1033 (unw_decode_x2): Likewise.
1034 (unw_decode_x3): Likewise.
1035 (unw_decode_x4): Likewise.
1037 2001-06-23 Ben Elliston <bje@redhat.com>
1039 * MAINTAINERS: Add myself as M88k maintainer.
1041 2001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
1043 * objcopy.c (strip_main): Support -o or --output-file command lien
1046 2001-06-19 H.J. Lu <hjl@gnu.org>
1048 * doc/Makefile.in: Regenerated.
1050 2001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
1052 * readelf.c: Restore formatting.
1054 2001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
1056 * Makefile.am: Move documentation into doc subdirectory.
1057 * Makefile.in: Regenerated.
1058 * binutils.texi: Move into doc subdirectory.
1059 * addr2line.1: Removed.
1061 * dlltool.1: Likewise.
1062 * nlmconv.1: Likewise.
1064 * objcopy.1: Likewise.
1065 * objdump.1: Likewise.
1066 * ranlib.1: Likewise.
1067 * readelf.1: Likewise.
1069 * strings.1: Likewise.
1070 * strip.1: Likewise.
1071 * windres.1: Likewise.
1072 * cxxfilt.man: Likewise.
1073 * doc: New Directory.
1074 * doc/Makefile.am: New file.
1075 * doc/Makefile.in: Generate.
1077 2001-06-09 Alan Modra <amodra@bigpond.net.au>
1079 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
1081 2001-06-01 Alan Modra <amodra@bigpond.net.au>
1083 * MAINTAINERS: Update my email address.
1085 2001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
1087 * objcopy.c: Add new switches: --keep-global-symbol,
1088 --keep-symbols, --localize-symbols, --keep-global-symbols and
1090 * binutils.texi: Document new switches.
1091 * objcopy.1: Regenerate.
1092 * NEWS: Announce new feature.
1094 2001-05-28 Andreas Jaeger <aj@suse.de>
1096 * readelf.c (display_debug_frames): Fix warnings: Remove unused
1097 variables, fix format strings.
1099 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
1101 * objdump.c (disassemble_bytes): Remove section VMA adjustment
1102 when computing the address of the line to show.
1104 2001-05-16 Richard Henderson <rth@redhat.com>
1106 * readelf.c (do_debug_frames_interp): New.
1107 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
1108 (byte_get_big_endian): Likewise.
1109 (parse_args) ['F']: Set do_debug_frames_interp.
1110 (Frame_Chunk): Make data_factor signed, add fde_encoding.
1111 (frame_display_row): Don't trunc pc_begin to int.
1112 (size_of_encoded_value): New.
1113 (display_debug_frames): Handle 64-bit targets. Print raw data
1114 unless do_debug_frames_interp.
1115 (debug_displays): Remove duplicate .debug_frame.
1117 2001-05-15 Ralf Baechle <ralf@gnu.org>
1119 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
1120 The former constant was never in active use and is used otherwise
1123 2001-05-11 Jakub Jelinek <jakub@redhat.com>
1125 * readelf.c (process_unwind): Print all unwind sections, not just
1128 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1130 * readelf.c (process_unwind): Remove const specifier.
1132 2001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
1134 * strings.c (isgraphic): Do not use isascii() unless it is needed
1135 for isprint() to work.
1136 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
1138 2001-04-27 Johan Rydberg <jrydberg@opencores.org>
1140 * NEWS: Announce support for OpenRISC.
1142 2001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
1144 * dlltool.c (do_default_excludes): Initialise to true.
1146 2001-04-10 Alan Modra <amodra@one.net.au>
1148 * MAINTAINERS: Update my email address
1149 * nm.c (print_symbol_info_bsd): Use a simple printf string.
1151 2001-04-05 Hans-Peter Nilsson <hp@axis.com>
1153 * readelf.c (display_debug_lines): Fix typo for "Prologue".
1155 2001-03-30 H.J. Lu <hjl@gnu.org>
1157 * readelf.c (process_unwind): Just return if do_unwind is 0.
1159 2001-03-28 Roger Sayle <roger@metaphorics.com>
1161 * dlltool.c (make_one_lib_file): Fix section flags for
1162 .text, .data and .bss in stub ds*.o files to match those
1165 2001-03-29 H.J. Lu <hjl@gnu.org>
1167 * readelf.c (process_unwind): Only do unwind sections for
1170 2001-03-28 H.J. Lu <hjl@gnu.org>
1172 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
1173 * Makefile.in: Regenerate.
1175 2001-03-26 Andreas Jaeger <aj@suse.de>
1177 * binutils.texi (nm): Fix texi syntax.
1179 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1181 * binutils.texi: Put @c man begin and @c man end indications
1182 to generate man pages using texi2pod and pod2man. Put @c man title
1183 to identify each man. Add SEEALSO entries.
1184 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
1185 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
1187 (*.1): Build the man pages from binutils.texi.
1188 * Makefile.in: Regenerate.
1190 2001-03-13 Eric Kohl <ekohl@rz-online.de>
1192 * defparse.y (opt_equal_name): allow "." in name.
1193 * dlltool.c (def_exports): Added ability to generate forwarded exports.
1194 (gen_exp_file): Likewise.
1196 2001-03-12 Stefan Geuken <mail@stefan-geuken.de>
1198 * NEWS: Document addition of -B switch to objcopy.
1199 * binutils.texi: Document addition of -B switch to objcopy.
1200 * objcopy.c: (copy_options): Add --binary-architecture.
1201 (copy_usage): Document -B/--binary-architecture.
1202 (copy_main): Support -B/--binary-architecture. Set
1203 bfd_external_binary_architecture.
1205 2001-03-11 Andreas Jaeger <aj@suse.de>
1207 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
1208 (dump_relocations): Likewise.
1209 (get_machine_name): Likewise.
1211 2001-02-28 Nick Clifton <nickc@redhat.com>
1213 * readelf.c: (struct unw_aux_info): Remove const modifier for
1215 (process_unwind): Remove non-K&R compliant LHS type cast in call
1216 to GET_DATA_ALLOC macro.
1218 2001-02-28 Philip Blundell <pb@futuretv.com>
1220 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
1221 ABI is in use; remove ambiguity between the "unknown" EABI and
1222 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
1223 renamed EF_xx constants.
1225 2001-02-27 Alan Modra <alan@linuxcare.com.au>
1227 * configure.in (BFD_VERSION): New.
1228 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
1229 * configure: Regenerate.
1230 * Makefile.am: Run "make dep-am"
1231 * Makefile.in: Regenerate.
1233 2001-02-14 Nick Clifton <nickc@redhat.com>
1235 * MAINTAINERS: Add "Obvious Fix" rule.
1237 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1239 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
1240 literal concatenation.
1242 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1244 * readelf.c (struct unw_aux_info): Remove const from the info member.
1245 (process_unwind): Don't type-cast the third argument to the
1246 GET_DATA_ALLOC macro.
1248 2001-02-11 Nick Clifton <nickc@redhat.com>
1250 * readelf.c (dump_relocations): Free corrected allocated
1252 (process_unwind): Fix compile time warning.
1254 2001-02-10 Nick Clifton <nickc@redhat.com>
1256 * binutils.texi: Document new --unwind option to readelf.
1258 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
1260 * readelf.c: Add linux target for S/390.
1262 2001-02-10 Alan Modra <alan@linuxcare.com.au>
1264 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
1267 2001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
1269 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
1270 * aclocal.m4: Regenerate.
1271 * configure: Regenerate.
1273 2001-02-07 Todd Vierling <tv@wasabisystems.com>
1275 * bucomm.c (bfd_target_vector): Change extern array to pointer.
1276 * objdump.c (bfd_target_vector): Likewise.
1278 2001-02-07 David Mosberger <davidm@hpl.hp.com>
1280 * readelf.c (process_unwind): New function.
1281 (slurp_ia64_unwind_table): Ditto.
1282 (dump_ia64_unwind): Ditto.
1283 (find_symbol_for_address): Ditto.
1284 (slurp_rela_relocs): New function (split off from dump_relocations()).
1285 (slurp_rel_relocs): Ditto.
1286 (parse_args): Handle '-u' option.
1288 * unwind-ia64.c: New file.
1289 * unwind-ia64.h: New file.
1290 * Makefile.am: Include unwind-ia64.c in readelf build.
1291 * Makefile.in: Regenerate.
1292 * po/binutils.pot: Regenerate.
1294 2001-02-04 Philip Blundell <philb@gnu.org>
1296 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
1297 * configure: Regenerate.
1299 2001-01-31 Steve deRosier <sderosier@vari-lite.com>
1301 * ieee.c (ieee_add_bb11): Don't check for backslashes
1302 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1304 2001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
1306 * ieee.c: Update copyright.
1307 (ieee_start_compilation_unit): Don't check for backslashes
1308 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1310 * stabs.c: Update copyright. Include "filenames.h".
1311 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
1313 2001-01-23 Jakub Jelinek <jakub@redhat.com>
1315 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
1316 sections are present before using them. Remove code duplication.
1317 (process_symbol_table): Check if VERDEF or VERNEED sections are
1318 present before using them.
1320 2001-01-17 Nick Clifton <nickc@redhat.com>
1322 * objcopy.c (copy_object): Fail if attempting to convert the
1323 endianness of the input object file.
1325 * binutils.texi: Explain that objcopy cannot convert endianness.
1327 2001-01-16 Nick Clifton <nickc@redhat.com>
1329 * readelf.c (string_table_length): New variable.
1330 (SECTION_NAME): Catch out of range indices and missing section
1332 (process_section_headers): Delete useless local variable
1333 string_table_offset. Set the value of string_table_length
1334 after loading the string table.
1335 (process_mips_specific): Use SECTION_NAME macro.
1336 (process_file): Set string_table_length to 0 when it is freed.
1338 2001-01-12 Nick Clifton <nickc@redhat.com>
1340 * version.c (print_version): Update copyright date.
1342 2001-01-11 Peter Targett <peter.targett@arccores.com>
1344 * readelf.c (dump_relocations): Include selection with EM_ARC.
1345 (get_machine_name) Update name to "ARC".
1347 2001-01-09 Nick Clifton <nickc@redhat.com>
1349 * Makefile.am: Add rule to build objdump.o from objdump.c and
1351 * Makefile.in: Regenerate.
1353 * configure.in: Define OBJDUMP_DEFS. Default to empty.
1354 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
1355 -DDISASSEMBLER_NEEDS_RELOCS.
1356 * configure: Regenerate.
1358 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
1359 is defined read in the relocs even if dump_reloc_info is
1362 2001-01-07 Philip Blundell <philb@gnu.org>
1364 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
1368 2000-12-19 Nick Clifton <nickc@redhat.com>
1370 * dlltool.c: Add missing support for arm-epoc-pe.
1371 * configure.in: Add missing support for arm-epoc-pe.
1372 * configure: Regenerate.
1374 2000-12-15 Nick Clifton <nickc@redhat.com>
1376 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
1377 Mode parts of the x86 port.
1379 2000-12-04 Andreas Jaeger <aj@suse.de>
1381 * readelf.c (guess_is_rela): Add EM_X86_64.
1382 (dump_relocations): Add EM_X86_64.
1383 (get_machine_name): Add EM_X86_64.
1384 Include "elf/x86-64.h".
1386 2000-12-12 Nick Clifton <nickc@redhat.com>
1388 * readelf.c: Fix formatting.
1390 2000-12-11 Jan Hubicka <jh@suse.cz>
1392 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
1394 2000-12-07 Andrew Haley <aph@redhat.com>
1396 * readelf.c (display_debug_frames): Only display columns that are
1397 referenced by the frame debug info.
1399 2000-12-05 Nick Clifton <nickc@redhat.com>
1401 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
1403 2000-12-04 Jason Merrill <jason@redhat.com>
1405 * readelf.c (process_section_headers): Handle linkonce.wi sections.
1406 (display_debug_section): Likewise.
1407 (display_debug_info): Display CU header before bailing.
1409 2000-12-01 Chris Demetriou <cgd@sibyte.com>
1411 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
1412 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
1413 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
1415 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
1418 * readelf.c (get_machine_flags): Add case for
1421 2000-11-30 Richard Earnshaw <rearnsha@arm.com>
1423 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
1425 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
1427 * MAINTAINERS: Add J
\81örn Rennecke and self as SH maintainers.
1428 Change sourceware.cygnus.com to sources.redhat.com.
1429 Fix typo for "amongst".
1431 2000-11-28 Nick Clifton <nickc@redhat.com>
1433 * strip.1 (COPYING): Mention that the GNU Free Documentation
1434 License is present in the sources, but not the output, and
1435 also available from the GNU website.
1436 (GNU Free Documentation License): Comment out this section.
1445 * addr2line.1: Ditto.
1447 2000-11-27 DJ Delorie <dj@redhat.com>
1449 * readelf.c (usage): Add -wf (--debug-dump=frames) option.
1450 (parse_args): Support -wf option.
1451 (process_section_headers): Ditto.
1452 (debug_displays): Ditto.
1453 (display_debug_frames): New, dump *_frame sections.
1454 (frame_need_space): Support for above.
1455 (frame_display_row): Ditto.
1456 * binutils.texi: Document it.
1458 2000-11-24 Nick Clifton <nickc@redhat.com>
1460 * NEWS: Announce support for v5t, v5te and XScale.
1462 2000-11-22 Nick Clifton <nickc@redhat.com>
1464 * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
1465 EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
1466 (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
1467 (get_elf_section_flags: Add SHF_GROUP.
1468 (process_section_headers): Adjust output for 32-bit binaries
1469 to look nice on an 80 column terminal.
1471 2000-11-20 H.J. Lu <hjl@gnu.org>
1473 * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
1476 2000-11-17 Richard Henderson <rth@redhat.com>
1478 * readelf.c (display_debug_lines): Adjust last change to
1479 use sizeof (external->li_length).
1481 2000-11-17 Richard Henderson <rth@redhat.com>
1483 * readelf.c (display_debug_lines): Fix section length check
1484 and end_of_sequence computation.
1486 2000-11-06 Nick Clifton <nickc@redhat.com>
1488 * binutils.texi: Add GNU Free Documentation License.
1489 * objcopy.1: Add GNU Free Documentation License.
1490 * objdump.1: Add GNU Free Documentation License.
1491 * addr2line.1: Add GNU Free Documentation License.
1492 * ar.1: Add GNU Free Documentation License.
1493 * nlmconv.1: Add GNU Free Documentation License.
1494 * nm.1: Add GNU Free Documentation License.
1495 * ranlib.1: Add GNU Free Documentation License.
1496 * size.1: Add GNU Free Documentation License.
1497 * strings.1: Add GNU Free Documentation License.
1498 * strip.1: Add GNU Free Documentation License.
1500 2000-10-06 Luciano Gemme <ishitawa@yahoo.com>
1502 * objcopy.c (--srec-len=nn): New parameter to set the
1503 maximum length of generated Srecords.
1504 (--srec-forceS3): New parameter that restricts the generation of
1505 Srecords to type S3 only.
1506 * binutils.texi: Document new command line switches.
1507 * objcopy.1: Docuemnt the new command line switches.
1508 * NEWS: Announce the existence of the new command line switches.
1510 2000-10-31 Nick Clifton <nickc@redhat.com>
1512 * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
1513 code. Add Eric Chrisopher as maintainer of MN10300 port.
1515 2000-10-12 Roger Sayle <roger@metaphorics.com>
1517 * Make comma after string after icon/control optional.
1519 2000-09-13 Anders Norlander <anorland@acc.umu.se>
1521 * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
1523 * NEWS: Mention support for MIPS32.
1525 2000-09-08 Nick Clifton <nickc@redhat.com>
1527 * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
1529 2000-09-07 H.J. Lu <hjl@gnu.org>
1531 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
1532 * configure: Rebuild.
1534 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
1536 * configure: Rebuilt with new libtool.m4.
1538 2000-09-05 Nick Clifton <nickc@redhat.com>
1540 * aclocal.m4: Regenerate.
1541 * config.in: Regenerate.
1542 * configure: Regenerate.
1544 2000-09-04 Todd Vierling <tv@wasabisystems.com>
1546 * strip.1: Fix stray '\' in -o formatting.
1548 2000-09-02 Nick Clifton <nickc@redhat.com>
1550 * configure.in: Increase version number to 2.10.91.
1551 * configure: Regenerate.
1552 * aclocal.m4: Regenerate.
1553 * config.in: Regenerate.
1554 * po/binutils.pot: Regenerate.
1556 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
1558 * acinclude.m4: Include libtool and gettext macros from the
1560 * aclocal.m4, configure: Rebuilt.
1562 2000-08-30 Jamie Guinan <guinan@bluebutton.com>
1564 * resrc.c (close_input_stream): Delete extraneous logic
1566 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
1568 * NEWS: Mention support for CRIS.
1570 2000-08-21 Nick Clifton <nickc@redhat.com>
1572 * addr2line.c: Changed email address for Ulrich Lauther.
1574 2000-08-17 Christopher C. Chimelis <chris@debian.org>
1576 * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
1578 2000-08-17 Nick Clifton <nickc@redhat.com>
1580 * readelf.c (display_debug_pubnames): Only issue warning
1581 message once. Terminate message with a new line.
1582 (display_debug_aranges): Only display version 2 debug info.
1584 2000-08-14 Todd Vierling <tv@wasabisystems.com>
1586 * objcopy.c (strip_main): Silently accept -d as an alias for -g
1587 for compatability with old BSD systems.
1589 2000-08-14 Jason Eckhardt <jle@cygnus.com>
1591 * NEWS: Mention i860 support.
1593 2000-08-11 Carlo Wood <carlo@alinoe.com>
1595 * addr2line.c (main): Add const to char *.
1597 2000-08-11 Geoff Keating <geoffk@cygnus.com>
1599 * ar.c (main): Don't crash if called with no arguments
1600 or only '-X32_64' as an argument.
1602 2000-08-08 DJ Delorie <dj@redhat.com>
1604 * resrc.c: use "gcc -xc" instead of -xc-header
1606 2000-08-05 Jason Eckhardt <jle@cygnus.com>
1608 * readelf.c (elf/i860.h): Include.
1609 (dump_relocations): Add recognition of i860 architecture.
1610 (guess_is_rela): Add recognition of i860 architecture.
1612 2000-08-03 Nick Clifton <nickc@cygnus.com>
1614 * MAINTAINERS: Add information about CGEN maintainers.
1616 2000-07-26 Geoff Keating <geoffk@cygnus.com>
1618 * nm.c (main): Ignore '-X32_64' as an option.
1619 * ar.c (main): Likewise.
1620 * binutils.texi (nm): Document new option.
1623 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1625 * rdcoff.c (external_coff_symbol_p): K&R-ise.
1627 2000-07-20 H.J. Lu <hjl@gnu.org>
1629 * binutils.texi: Put back "@end table" deleted by
1632 2000-07-05 Kenneth Block <krblock@computer.org>
1634 * nm.c: Add optional style to demangle switch.
1635 * objdump.c: Add optional style to demangle switch.
1636 * addr2line.c: Add optional style to demangle switch.
1637 * binutils.texi: Document optional style to demangle
1640 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
1642 * MAINTAINERS: Add self as CRIS port maintainer.
1643 * readelf.c: Include elf/cris.h.
1644 (guess_is_rela): Handle EM_CRIS.
1645 (dump_relocations): Ditto.
1646 (get_machine_name): Ditto.
1647 * Makefile.am: Rebuild dependencies.
1648 * Makefile.in: Regenerate.
1649 * po/binutils.pot: Regenerate.
1651 2000-07-19 H.J. Lu <hjl@gnu.org>
1653 * readelf.c (get_dynamic_type): Change "AUXILARY" to
1655 (process_dynamic_segment): Print out strings for DT_CONFIG,
1656 DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
1658 2000-07-19 Mark Kettenis <kettenis@gnu.org>
1660 * nm.c (usage): Change output of `nm --help' to include a
1661 description of the purpose of the program and a detailed
1662 description of the accepted options.
1664 2000-07-19 H.J. Lu <hjl@gnu.org>
1666 * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
1669 2000-07-19 H.J. Lu <hjl@gnu.org>
1671 * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
1673 2000-07-19 H.J. Lu <hjl@gnu.org>
1675 * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
1677 (process_dynamic_segment): Likewise.
1679 * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
1680 DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
1681 (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
1682 DF_1_NODUMP and DF_1_CONLFAT.
1684 2000-07-18 Nick Clifton <nickc@cygnus.com>
1686 * binutils.texi (readelf): Fix spelling typo.
1688 2000-07-11 Mark Kettenis <kettenis@gnu.org>
1690 * objdump.c (usage): Make output of `objdump --help' more
1691 consistent with the rest of the GNU world. Add a line describing
1692 the purpose of the program.
1694 2000-07-10 David Huggins-Daines <dhd@linuxcare.com>
1696 * stabs.c (parse_stab_range_type): Cast to proper type to fix
1699 2000-07-10 Ryan Bradetich <rbradetich@uswest.net>
1701 * readelf.c (get_dynamic_data): Add casts and use unsigned chars
1703 (process_symbol_table): Ditto.
1704 (procesS_extended_line_op): Ditto.
1705 (display_debug_lines): Ditto.
1706 (display_debug_pubnames): Ditto.
1707 (read_and_display_attr): Ditto.
1709 2000-07-09 Nick Clifton <nickc@cygnus.com>
1711 * MAINTAINERS: Add several more port specific maintainers.
1713 2000-07-05 Nick Clifton <nickc@cygnus.com>
1715 * MAINTAINERS: Add blanket write privs for Michael Meissner.
1717 2000-06-05 DJ Delorie <dj@redhat.com>
1721 2000-07-01 Eric Fifer <EFifer@sanwaint.com>
1723 * dllwrap.c: Changed mistaken dyn_string_append() calls
1724 to dyn_string_append_cstr().
1726 2000-07-01 Alexander Aganichev <AAganichev@hypercom.com>
1728 * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
1729 struct debug_type stores size in bytes.
1731 2000-07-01 Alan Modra <alan@linuxcare.com.au>
1733 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
1734 (CLEANFILES): Add DEPA.
1735 * Makefile.in: Regenerate.
1737 2000-06-27 Alan Modra <alan@linuxcare.com.au>
1739 * ar.c: Revert incorrect 2000-06-25 patch.
1740 * bucomm.c: Likewise.
1742 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
1744 * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
1745 (external_coff_symbol_p): New function.
1746 (parse_coff): Use it.
1748 2000-06-25 Alexander Aganichev <AAganichev@hypercom.com>
1750 * ar.c (normalize): Advance past both characters in a DOS based
1751 <letter>: filepath prefix.
1753 * bucomm.c (make_tempname): Likewise.
1755 2000-06-24 Nick Clifton <nickc@cygnus.com>
1757 * objdump.c (usage): Fix description of --stabs switch.
1759 2000-06-22 Alan Modra <alan@linuxcare.com.au>
1761 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
1763 * Makefile.in: Regenerate.
1765 2000-06-20 Alexander Aganichev <AAganichev@hypercom.com>
1767 * ar.c (normalize): Correct pointer comparison when checking for
1770 * bucomm.c (make_tempname): Likewise.
1772 * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
1773 and search for backslashes in the original pathname.
1774 (ieee_add_bb11): Likewise.
1776 2000-06-18 Nick Clifton <nickc@redhat.com>
1778 * ar.c (print_contents): Improve verbose message.
1780 2000-06-15 H.J. Lu <hjl@gnu.org>
1782 * dyn-string.c: Removed. Not needed with dyn-string.c in
1784 * dyn-string.h: Likewise.
1786 * Makefile.am: Remove references to dyn-string.c and
1787 dyn-string.h. Rebuild dependency.
1788 * Makefile.in: Rebuild.
1790 2000-06-15 H.J. Lu <hjl@gnu.org>
1792 * binutils.texi: Put a warning on copying relocatable object
1793 files between two different formats.
1795 2000-06-13 DJ Delorie <dj@cygnus.com>
1797 * rcparse.y (control): ICON controls take an id as the first
1798 parameter, not an optional string. Also, call new convenience
1799 function that takes res_id's.
1800 * resrc.c (define_control): missing text means zero-length string,
1802 (define_icon_control): New.
1803 * windres.h: declare define_icon_control.
1805 2000-06-13 H.J. Lu <hjl@gnu.org>
1807 * configure: Regenerate.
1809 2000-06-08 David O'Brien <obrien@FreeBSD.org>
1811 * configure.in (VERSION): Update to show this is the CVS mainline.
1813 2000-06-02 David O'Brien <obrien@FreeBSD.org>
1815 * strings.c (isgraphic): Interpret <TAB> as a printable character,
1816 analogous to <SPACE>.
1818 2000-05-30 Alan Modra <alan@linuxcare.com.au>
1820 * objdump.c (display_target_list): Use bfd_close_all_done, not
1821 bfd_close to fix crash caused by 2000-05-24 change.
1823 2000-05-25 DJ Delorie <dj@cygnus.com>
1825 * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
1827 2000-05-26 Alan Modra <alan@linuxcare.com.au>
1829 * Makefile.am: Update dependencies with "make dep-am"
1830 * Makefile.in: Regenerate.
1832 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
1834 * ar.c: Include filenames.h.
1835 (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
1836 and drive letters in file names.
1837 (main): Support backslashes and drive letters in argv[0]. Drop
1838 the .exe suffix, if any, in argv[0] if is_ranlib is negative. Use
1839 FILENAME_CMP instead of strcmp to compare file names.
1840 (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
1842 (do_quick_append) [__GO32__]: Ditto.
1843 (get_pos_bfd, delete_members, move_members, replace_members):
1844 Compare file names with FILENAME_CMP.
1846 * bucomm.c: Include filenames.h.
1847 (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
1848 forward/backward slashes and drive letters in file names.
1850 * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
1851 mixed forward/backward slashes and drive letters in file names.
1853 * strings.c (O_BINARY, setmode, SET_BINARY): Define.
1854 (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
1857 * objcopy.c: Include filenames.h.
1858 (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
1859 before comparing to "strip".
1860 Use FILENAME_CMP to compare file names.
1862 * arsup.c: Include filenames.h.
1863 (map_over_list, ar_delete, ar_replace, ar_extract): Use
1864 FILENAME_CMP to compare file names.
1865 (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
1866 the temporary file name.
1868 * configure.in: Check for setmode.
1869 * configure: Regenerate.
1871 2000-05-24 Alan Modra <alan@linuxcare.com.au>
1873 * objdump.c (display_target_list): Close the bfd.
1874 (display_info_table): Likewise.
1876 2000-05-14 H.J. Lu (hjl@gnu.org)
1878 * objcopy.c (filter_symbols): Don't strip global symbols in
1879 relocatable object files.
1881 2000-05-14 Alan Modra <alan@linuxcare.com.au>
1883 * size.c (usage): Associate short options with corresponding long
1884 option to give a clue as to their function.
1886 2000-05-14 Philippe De Muyter <phdm@macqel.be>
1888 * size.c (main): Accept and ignore `-f' option.
1890 2000-05-13 Alan Modra <alan@linuxcare.com.au>
1892 * bucomm.h (gettext, dgettext, dcgettext, textdomain,
1893 bindtextdomain): Replace defines with those from intl/libgettext.h
1894 to quieten gcc warnings.
1896 2000-05-12 H.J. Lu <hjl@gnu.org>
1898 * nlmconv.c (temp_filename): Removed.
1900 * nlmconv.c (link_inputs): Use make_temp_file () instead of
1901 choose_temp_base ().
1902 * objdump.c (display_target_list): Likewise.
1903 (display_info_table): Likewise.
1905 2000-05-08 Alan Modra <alan@linuxcare.com.au>
1907 * objcopy.c (setup_section): Add const and gettext calls for err.
1909 2000-05-02 H.J. Lu <hjl@gnu.org>
1911 * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
1912 ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
1913 ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
1914 ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
1915 and ELFOSABI_OPENBSD.
1917 2000-05-02 Kazu Hirata <kazu@hxi.com>
1919 * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
1920 * srconv.c: Likewise.
1921 * sysdump.c: Likewise.
1923 2000-04-23 Denis Chertykov <denisc@overta.ru>
1925 * readelf.c (guess_is_rela): AVR uses RELA relocations.
1926 (get_machine_name): machine name for EM_AVR added.
1928 2000-04-21 Richard Henderson <rth@cygnus.com>
1929 David Mosberger <davidm@hpl.hp.com>
1931 * Makefile.am (readelf.o): Add elf/ia64.h.
1932 * Makefile.in: Rebuild.
1933 * readelf.c: Include elf/ia64.h.
1934 (guess_is_rela, dump_relocations): Handle EM_IA_64.
1936 2000-04-17 Timothy Wall <twall@cygnus.com>
1938 * objdump.c (disassemble_data): Set octets per byte *after*
1939 resolving arch/mach for binary files.
1941 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1943 * arlex.l: Add directives to increase lex buffer size.
1945 * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
1946 already included by bucomm.h.
1948 2000-04-10 Philippe De Muyter <phdm@macqel.be>
1950 * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
1951 `strftime' since strftime is not available on all systems.
1952 (process_mips_specific): Ditto.
1954 2000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
1956 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
1957 --enable-build-warnings option.
1958 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
1959 * Makefile.in, configure: Re-generate.
1961 2000-04-06 Alan Modra <alan@linuxcare.com.au>
1963 * addr2line.c: Update copyright.
1964 * objcopy.1: Likewise, and title.
1965 * strings.1: Likewise.
1967 * version.c (print_version): Add 2000.
1969 * rddbg.c (read_section_stabs_debugging_info): Don't use
1970 bfd_size_type for strx to avoid printf problems if BFD64.
1972 * bucomm.c: (report): Remove `static'.
1973 Move inclusion of stdarg.h/vararg.h from here.
1974 * bucomm.h: To here.
1975 (CONST): Change all occurences to const.
1976 (report): Declare it.
1977 (bfd_fatal): Add ATTRIBUTE_NORETURN.
1978 (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
1979 (non_fatal): Add ATTRIBUTE_PRINTF_1.
1981 * ar.c (main): Use fatal or non_fatal instead of fprintf.
1982 Correct a typo in an error message.
1983 (do_quick_append): Use non_fatal instead of fprintf.
1984 (move_members): Use fatal instead of fprintf, exit.
1985 * coffdump.c (main): Same here.
1987 * dlltool.c (display): Delete.
1989 (inform): Use `report' instead of `display'.
1990 (rvaafter): Remove trailing \n from fatal error msg.
1992 (asm_prefix): Ditto.
1993 (yyerror): Replace `warn' with `non_fatal', and remove \n.
1994 (def_name): Likewise.
1996 (scan_all_symbols): Likewise.
1997 (gen_lib_file): Likewise.
1998 (def_library): Likewise. Remove extra program_name too.
1999 (run): Remove \n from inform strings.
2000 (scan_drectve_symbols): Likewise.
2001 (add_excludes): Likewise.
2002 (scan_open_obj_file): Likewise.
2003 (gen_exp_file): Likewise.
2004 (gen_lib_file): Likewise.
2005 (process_duplicates): Likewise.
2007 * Makefile.am (dllwrap_SOURCES): Add version.c.
2008 * dllwrap.c (program_version): Delete.
2009 (print_version): Delete.
2010 (display): Always print trailing \n.
2012 (delete_temp_files): Use warn instead of fprintf. Use gettext.
2015 (usage): gettext'ify.
2016 (long_options): Add missing initialisers.
2018 * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
2019 (select_output_format): Likewise.
2020 (powerpc_mangle_relocs): Likewise.
2021 (link_inputs): Likewise.
2023 * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
2024 (set_output_format): Likewise.
2025 (main): Use non_fatal instead of fprintf.
2026 (display_rel_file): Likewise.
2028 * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
2029 (slurp_dynamic_symtab): Same here.
2030 (disassemble_data): And here.
2031 (read_section_stabs): And here.
2032 (read_section_stabs): And here.
2033 (dump_bfd): And here.
2035 (objdump_sprintf): Use fatal instead of fprintf, exit.
2036 (disassemble_data): Same here.
2038 * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
2039 (parse_coff_struct_type): Same here.
2040 (parse_coff_enum_type): And here.
2041 (parse_coff): And here.
2042 * rddbg.c (read_debugging_info): And here.
2043 * size.c (main): And here.
2044 * windres.c (format_from_name): And here.
2045 * wrstabs.c (stab_write_symbol): Here too.
2046 (write_stabs_in_sections_debugging_info): And here.
2047 (stab_int_type): And here.
2048 (stab_struct_field): And here.
2049 (stab_typdef): And here.
2051 * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
2052 * srconv.c (main): Same here.
2053 * strings.c (main): And here.
2054 (integer_arg): And here.
2055 * sysdump.c (main): And here.
2057 2000-04-06 Timothy Wall <twall@cygnus.com>
2059 * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
2061 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
2063 * readelf.c (decode_location_expression): Loop through multiple
2065 (read_and_display_attr): Pass in length.
2067 * readelf.c (read_and_display_attr): Add CU offset to references.
2068 (display_debug_info): Pass it in.
2070 2000-04-06 Nick Clifton <nickc@cygnus.com>
2072 * readelf.c (decode_ARM_machine_flags): New function.
2073 (get_machine_flags): Call decode_ARM_machine_flags for ARM
2076 (get_machine_name): Catch EM_AVR
2078 2000-04-05 Alan Modra <alan@linuxcare.com.au>
2080 * binutils.texi: Remove optional `=' from long options that have
2081 an `=' in the argument.
2082 * objcopy.1: Here too. Remove extra space on discard-all.
2084 * binutils.texi (objcopy): Mention --redefine-sym.
2085 * objcopy.1: Here too.
2088 * objcopy.c (parse_flags): Split off flag names from error message
2089 gettext as they are not translated.
2090 (copy_main): Similarly split off option name for --add-section,
2091 --set-section-flags, --change-section-vma, --change-section-lma
2093 Some white space changes.
2095 from Matthew Benjamin <matt@linuxbox.nu>
2096 * objcopy.c (struct redefine_node): New.
2097 (redefine_sym_list): New.
2098 (redefine_list_append): New.
2099 (lookup_sym_redefinition): New.
2100 (OPTION_REDEFINE_SYM): New.
2101 (copy_options): Add --redefine-sym option.
2102 (copy_usage): Mention it.
2103 (filter_symbols): Rename symbols on redefine_sym_list.
2104 (copy_object): Call filter_symbols if redefine_sym_list != NULL.
2105 (copy_main): Handle OPTION_REDEFINE_SYM.
2107 2000-04-04 H.J. Lu <hjl@gnu.org>
2109 * readelf.c (process_symbol_table): Correctly read in symbol
2110 versioning information.
2112 2000-04-04 Alan Modra <alan@linuxcare.com.au>
2114 * po/binutils.pot: Regenerate.
2116 * addr2line.c (usage): Restore translated part of bug string.
2117 * ar.c (usage): Likewise.
2118 * nlmconv.c (show_usage): Likewise.
2119 * nm.c (usage): Likewise.
2120 * objcopy.c (copy_usage): Likewise.
2121 (strip_usage): Likewise.
2122 * objdump.c (usage): Likewise.
2123 * readelf.c (usage): Likewise.
2124 * size.c (usage): Likewise.
2125 * strings.c (usage): Likewise.
2126 * windres.c (usage): Likewise.
2128 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
2129 (DEP): Quote when passing vars to sub-make. Add warning
2131 (DEP1): Rewrite for "gcc -MM".
2132 (CLEANFILES): Add DEP2.
2133 Update dependencies.
2134 * Makefile.in: Regenerate.
2136 2000-04-04 H.J. Lu <hjl@gnu.org>
2138 * Makefile.am (GENERATED_HFILES): Add rcparse.h
2139 (arparse.h): Depend on arparse.c
2140 (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
2142 2000-04-03 H.J. Lu (hjl@gnu.org)
2144 * size.c (usage): Use REPORT_BUGS_TO.
2146 2000-04-03 Alan Modra <alan@linuxcare.com.au>
2148 * bucomm.h: #include "bin-bugs.h"
2149 * addr2line.c (usage): Use REPORT_BUGS_TO.
2150 * ar.c (usage): Likewise.
2151 * nlmconv.c (show_usage): Likewise.
2152 * nm.c (usage): Likewise.
2153 (OPTION_TARGET): Define.
2154 (long_options): Use OPTION_TARGET rather than 200.
2157 * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
2158 (strip_usage): Likewise.
2159 * objdump.c (usage): Likewise.
2160 * readelf.c (usage): Likewise.
2161 * strings.c (usage): Likewise.
2162 * windres.c (usage): Likewise.
2164 2000-03-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
2166 * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
2168 2000-03-27 Nick Clifton <nickc@cygnus.com>
2170 * rddbg.c (read_section_stabs_debugging_info): Catch out of range
2171 string offsets in corrupt stabs entries.
2173 2000-03-27 Alan Modra <alan@linuxcare.com.au>
2175 * readelf.c: Include elf/avr.h
2176 (dump_relocations): Add EM_AVR case.
2178 2000-03-09 Tim Waugh <twaugh@redhat.com>
2180 * strings.1: Correct '-bytes' to '--bytes'.
2182 2000-03-08 H.J. Lu <hjl@gnu.org>
2184 * Makefile.am (install-exec-local): Depend on
2185 install-binPROGRAMS for parallel make.
2186 * Makefile.in: Regenerated.
2188 2000-02-27 Ian Lance Taylor <ian@zembu.com>
2190 From Brad Lucier <lucier@math.purdue.edu>:
2191 * readelf.c (process_dynamic_segment): Add cast to make sure
2192 argument to %* is int.
2194 2000-02-25 H.J. Lu <hjl@gnu.org>
2196 * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
2198 2000-02-24 Nick Clifton <nickc@cygnus.com>
2200 * configure.in: Add arm-wince, mips-pe and sh-pe targets.
2201 * configure: Regenerate.
2203 * dlltool.c: Add support for sh-pe and mips-pe targets.
2204 * rescoff.c: Add support for sh-pe and mips-pe targets.
2206 2000-02-23 H.J. Lu <hjl@gnu.org>
2208 * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
2210 2000-02-22 Nick Clifton <nickc@cygnus.com>
2212 * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
2214 2000-02-22 Ian Lance Taylor <ian@zembu.com>
2216 From Brad Lucier <lucier@math.purdue.edu>:
2217 * readelf.c (process_version_sections): Add casts to make sure
2218 argument to %* is an int.
2219 (process_mips_specific): Add casts to make printf arguments match
2222 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
2224 * objdump.c (dump_section_header): Change `opb' to unsigned.
2225 (find_symbol_for_address): Same here.
2226 (disassemble_data): And here. Change `addr_offset',
2227 `stop_offset', `nextstop_offset' to unsigned long.
2228 (dump_data): Change opb to unsigned.
2230 2000-02-18 Frank Ch. Eigler <fche@redhat.com>
2232 * resrc.c: Remove unmatched #if for cygwin.
2234 2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com>
2236 * binutils.texi: Document the change of flavor name from atpcs-special
2237 to special-atpcs to prevent name conflict in gdb.
2239 2000-02-08 Timothy Wall <twall@redhat.com>
2241 * objdump.c (show_line): Fix bug preventing printing of the very
2242 first line (line zero) of a file when interlisting source and
2243 assembly. Added option to print entire context from start of file
2244 when the first line from that file is encountered.
2246 2000-02-03 Timothy Wall <twall@redhat.com>
2248 * objdump.c (dump_section_header, find_symbol_for_address,
2249 show_line, disassemble_bytes, disassemble_data, dump_data):
2250 distinguish between octets and bytes.
2252 2000-01-27 Thomas de Lellis <tdel@windriver.com>
2254 * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
2255 check to unresolved symbols.
2256 (print_symbol_info_sysv): Ditto.
2257 (print_symbol_info_posix): Ditto.
2259 * binutils.texi: Document new 'V' symclass flag for nm.
2261 2000-01-27 Nick Clifton <nickc@redhat.com>
2263 * binutils.texi (objdump): Document new ARM specific
2264 disassembler options.
2266 * objdump.c (usage): Call disassembler_usage().
2268 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
2270 * readelf.c (get_dynamic_flags): Return buff.
2271 (process_dynamic_segment): Don't pass error strings to printf
2273 (read_and_display_attr): Use lx and ld to print longs.
2274 (process_corefile_note_segment): Cast bfd_vma to unsigned long
2278 2000-01-17 Nick Clifton <nickc@cygnus.com>
2280 * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
2282 2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
2284 * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
2286 (debug_tag_type): Here too.
2287 * ieee.c (ieee_builtin_type): And here.
2288 * stabs.c (parse_stab_type, parse_stab_array_type): And here.
2290 2000-01-13 Nick Clifton <nickc@cygnus.com>
2292 * readelf.c (get_machine_name): Change EM_S370 to return "IBM
2295 2000-01-11 Nick Clifton <nickc@cygnus.com>
2297 * readelf.c (get_dynamic_type): Remove DT_ENCODING.
2299 2000-01-10 Nick Clifton <nickc@cygnus.com>
2301 * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
2303 2000-01-07 Mumit Khan <khan@xraylith.wisc.edu>
2305 * windres.c (long_options): Add --use-temp-file and
2306 --no-use-temp-file options.
2310 * windres.h: Update read_rc_file prototype.
2312 * resrc.c (cpp_temp_file): New static variable.
2313 (istream_type): New static variable.
2314 (close_pipe): Delete function.
2315 (run_cmd): New static function.
2316 (open_input_stream): New static function.
2317 (close_input_stream): New static function.
2318 (look_for_default): Handle DOS directory separator. Use
2319 open_input_stream instead of popen.
2320 (read_rc_file): Likewise.
2322 * binutils.texi: Document --use-temp-file, --no-use-temp-file
2325 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
2327 * dlltool.c (create_compat_implib): New variable.
2328 (gen_exp_file): Use.
2329 (make_one_lib_file): Use.
2330 (long_options): Add --compat-implib option.
2334 * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
2335 (main): Use. Don't look for "32" in cygwin and mingw target names.
2337 2000-01-03 Nick Clifton <nickc@cygnus.com>
2339 * binutils.texi: Document new, ARM specific disassembler
2340 command line switch "-M force-thumb".
2342 For older changes see ChangeLog-9899
2348 version-control: never