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.
8 * rclex.l: "\xhex" encoding in strings corrected.
9 "\a" escape (used for right justified key definitions in menus) is
12 * resrc.c: Print style even if it is 0.
14 * resbin.c: Use signature to identify DIALOGEX.
16 2002-04-09 Gunnar Degnbol <degnbol@danbbs.dk>
18 * resrc.c: print CLASS names in quotes
20 2002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
22 * MAINTAINERS: Update my email address.
24 2002-04-04 Alan Modra <amodra@bigpond.net.au>
26 * dep-in.sed: Cope with absolute paths.
27 * Makefile.am (dep.sed): Subst TOPDIR.
29 * Makefile.in: Regenerate.
31 2002-03-27 Peter Targett <peter.targett@arc.com>
33 * MAINTAINERS: Update my email address.
35 2002-03-21 Alan Modra <amodra@bigpond.net.au>
37 * Makefile.am: Run "make dep-am".
38 * Makefile.in: Regenerate.
39 * doc/Makefile.in: Regenerate.
40 * po/POTFILES.in: Regenerate.
41 * aclocal.m4: Regenerate.
42 * config.in: Regenerate.
43 * configure: Regenerate.
45 2002-03-20 Daniel Berlin <dan@dberlin.org>
47 * readelf.c: Add support for displaying dwarf2 location lists.
48 (do_debug_loc, debug_loc_section, debug_loc_size): New.
49 (parse_args): Use 'O' as shorthand for displaying location list
51 (process_section_headers): Handle debug_loc as well.
52 (load_debug_loc): New.
53 (free_debug_loc): New.
54 (fetch_location_list): New.
55 (display_debug_loc): New.
56 (display_debug_info): Call load_debug_loc and free_debug_loc.
57 (debug_displays): We can display .debug_loc now, too.
58 (usage): Update usage string.
59 (read_and_display_attr_value): Note location lists, but don't
62 2002-03-18 Tom Rix <trix@redhat.com>
64 * Makefile.am: Add binutils emulation support.
66 * configure.tgt: New file. Same.
67 * ar.c (main): Use ar_emul_parse_arg.
68 (usage): Use ar_emul_usage.
69 (replace_members): Use ar_emul_replace, ar_emul_append.
70 * binemul.c: New file. Define the binutils emulation
71 layer. Define default methods.
72 * binemul.h: New file. Binutils emulation layer header file.
73 * emul_aix.c: New file. AIX binutils emulation.
74 * emul_vanilla.c: New file. Default binutils emulation.
75 * Makefile.in: Regenerate.
78 2002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
80 * po/fr.po: Updated version.
82 2002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
84 * po/fr.po: Updated version.
86 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
88 * README: Update some version numbers.
90 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
92 * doc/binutils.texi (Target Selection): Fix LD crossreferences.
93 (Architecture Selection): Likewise.
95 2002-03-01 Dmitry Timoshkov <dmitry@baikal.ru>
97 * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
100 2002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
102 * readelf.c (dump_relocations): Fix typo.
104 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
106 * NEWS: Mark 2.12 branch.
108 2002-02-18 Timothy Daly <remote_bob@yahoo.com>
110 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
111 types for 64-bit MIPS. Narrow some fields for 80-char
113 (dump_relocations): Change spelling from 'unrecognised'
115 (decode_ARM_machine_flags): Likewise.
116 (parse_args): Likewise.
117 (read_and_display_attr_value): Likewise.
118 (display_debug_section): Likewise.
120 2002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
122 * NEWS: Mention support for MMIX.
124 2002-02-13 Matt Fredette <fredette@netbsd.org>
126 * readelf.c (get_machine_flags): Recognize EF_M68000.
128 2002-02-12 Alexandre Oliva <aoliva@redhat.com>
130 * MAINTAINERS: Added self as MN10300 co-maintainer.
132 2002-02-12 Alan Modra <amodra@bigpond.net.au>
134 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
137 2002-02-11 Daniel Jacobowitz <drow@mvista.com>
139 * MAINTAINERS: List myself as branch maintainer.
141 2002-02-11 Alan Modra <amodra@bigpond.net.au>
143 * configure: Regenerate.
144 * objcopy.c: Update copyright date.
145 * doc/Makefile.in: Regenerate.
147 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
149 * nlmconv.c: Back out localtime PARAMS change.
151 2002-02-11 Alan Modra <amodra@bigpond.net.au>
153 * objcopy.c (MKDIR): Define.
154 (copy_archive): Make name_list.name const. Use MKDIR.
155 Handle duplicate files in archives by making more temp dirs.
157 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
159 * coffdump.c: Include "getopt.h" after "bucomm.h"
160 so that macros are defined correctly.
161 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
162 prototype. Prototype main.
163 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
165 2002-02-06 Alexandre Oliva <aoliva@redhat.com>
167 * MAINTAINERS: Added self as SH co-maintainer.
169 2002-02-05 Nick Clifton <nickc@redhat.com>
171 * po/tr.po: Updated translation.
173 2002-02-01 Alan Modra <amodra@bigpond.net.au>
175 * Makefile.am: Run "make dep-am"
176 * Makefile.in: Regenerate.
178 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
180 * nm.c (print_value): Mark abfd unused.
182 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
184 * unwind-ia64.c (unw_decoder): Change second argument
185 to unsigned int, to match function prototypes.
187 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
189 * objdump.c: Include "getopt.h" after "bucomm.h" so that
190 __GNU_LIBRARY__ will be defined.
193 2002-01-27 Daniel Jacobowitz <drow@mvista.com>
195 * configure: Regenerated.
197 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
199 * doc/Makefile.am (install): Depend on install-info.
200 * doc/Makefile.in: Regenerate.
202 2002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
204 * objcopy.c (strip_usage): Document -d as an alias
207 * size.c (usage): Document [-t | --totals] options.
208 (long_options): Add --totals option.
209 (main): If the [-t | --totals] option is specified and
210 the output format is Berkeley-style, print the total
211 text, data, and bss sizes of all objects listed.
212 (print_berkeley_format): If the [-t | --totals] option
213 is specified, track the total text, data, and bss
215 * doc/binutils.texi (size): Document [-t | --totals] options.
216 (strip): Document -d as an alias for --strip-debug.
217 * NEWS: Mention new feature of size.
219 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
221 * po/fr.po: Updated version.
222 * po/es.po: Updated version.
224 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
226 * addr2line.c (usage): Update text to provide verbose
227 description of the command line options.
228 * ar.c (usage): Update text to provide verbose
229 description of the command line options.
230 (main): Accept -h and -H when running as ranlib.
231 * coffdump.c (show_usage): Update text to provide verbose
232 description of the command line options.
233 * dlltool.c (main): Accept -H as an alias for --help.
234 * nlmconv.c (show_usage): Update text to provide verbose
235 description of the command line options.
236 * nm.c (usage): Replace OPTIONS with option(s).
237 (main): Accept -H as an alias for --help.
238 * objcopy.c (strip_main): Accept -H as an alias for --help.
239 * objdump.c (main): Accept -v as an alias for --verbose.
240 * readelf.c (usage): Adjust format to match style used in
242 * size.c (usage): Update text to provide verbose description
243 of the command line options.
244 (main): Accept -v, -h and -H as command line options.
245 * srconv.c (show_usage): Update text to provide verbose
246 description of the command line options.
247 * strings.c (main): Accept -H and -v as command line options.
248 (usage): Update text to provide verbose description of the
249 command line options.
250 * sysdump.c (show_usage): Update text to provide verbose
251 description of the command line options.
252 * windres.c (usage): Adjust format to match style used in
255 * coffdump.c: Fix formatting.
256 * nlmconv.c: Fix formatting.
257 * srconv.c: Fix formatting.
258 * sysdump.c: Fix formatting.
260 2002-01-22 Alan Modra <amodra@bigpond.net.au>
262 * Makefile.am: Run "make dep-am".
263 * Makefile.in: Regenerate.
265 2002-01-18 Andreas Jaeger <aj@suse.de>
267 * version.c (print_version): Update year.
269 2002-01-17 Alan Modra <amodra@bigpond.net.au>
271 * readelf.c (get_machine_name): Handle EM_PPC64.
272 (guess_is_rela): Here too.
274 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
276 * po/binutils.pot: Regenerate.
277 * po/fr.po: Regenerate.
278 * po/tr.po: Regenerate.
280 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
282 * po/tr.po: Import new version.
284 2002-01-16 Alan Modra <amodra@bigpond.net.au>
286 * readelf.c (get_ppc64_dynamic_type): New.
287 (get_dynamic_type): Call it.
289 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
291 * objcopy.c (copy_usage): Use "options" instead of "switches".
292 (strip_usage): Use "options" instead of "switches".
293 * doc/binutils.texi (dlltool): Refer to "options" instead of
296 2002-01-14 Richard Earnshaw <rearnsha@arm.com>
298 * MAINTAINERS: Add self as co-maintainer for the ARM code.
300 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
302 * po/es.po: Import from translation project.
303 * configure.in (ALL_LINGUAS): Add es.
304 * configure: Regenerate.
306 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
308 * readelf.c (get_netbsd_elfcore_note_type): Use
309 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
311 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
313 * readelf.c: Update copyright years.
314 (get_note_type): Return a const char *.
315 (get_netbsd_elfcore_note_type): New function.
316 (process_note): Use get_netbsd_elfcore_note_type to get
317 the note type string for NetBSD ELF core files.
319 2002-01-06 Steve Ellcey <sje@cup.hp.com>
321 * readelf.c (get_ia64_segment_type): Add support for macros.
322 (get_segment_type): Add support for IA64 specific macros.
324 2001-12-20 Julian v. Bock <julian@wongr.net>
326 * readelf.c (print_symbol): New function: Print a formatted symbol
327 name. If --wide is specified do not truncate it.
328 (dump_relocations): Use print_symbol() to print symbol names.
329 (process_symbol_table): Likewise.
330 (process_syminfo): Likewise.
331 (process_mips_specific): Likewise.
332 (usage): Document new feature of --wide switch.
333 * doc/binutils.texi (objdump): Document additional behaviour of
336 2001-12-18 Michael Snyder <msnyder@redhat.com>
338 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
339 (copy_object): Don't set the start address or flags of a core file.
340 (copy_section): Don't relocate a core file. Don't copy contents
341 if the input section has the contents flag set, but the output
342 section does not (which happens with the fake 'note' pseudo-
343 sections that BFD creates for corefiles).
345 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
347 * readelf.c (get_machine_flags): Recognize header flags for ABI and
348 ASE extensions. More robust code for ISA checking. Ignore empty fields
349 in header flags for GNU extensions.
351 2001-12-18 Alan Modra <amodra@bigpond.net.au>
353 * objcopy.c (copy_archive): Set output bfd format outside the loop.
355 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
357 * po/ja.po: Import from translation project.
358 * configure.in (ALL_LINGUAS): Add ja.
359 * configure: Regenerate.
361 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
363 * addr2line.c (main): Protoype.
364 * ar.c (main): Protoype.
365 * nm.c (main): Protoype.
366 * objcopy.c (main): Protoype.
367 * objdump.c (main): Protoype.
368 * size.c (main): Protoype.
369 * strings.c (main): Protoype.
371 2001-12-17 Alan Modra <amodra@bigpond.net.au>
373 * readelf.c (symtab_shndx_hdr): New global.
374 (SECTION_HEADER_INDEX): Define.
375 (SECTION_HEADER_NUM): Define.
376 (SECTION_HEADER): Define.
377 (GET_ELF_SYMBOLS): Pass two params rather than three.
378 (get_32bit_elf_symbols): Take file and section args. Read and
379 use SHT_SYMTAB_SHNDX.
380 (get_64bit_elf_symbols): Likewise.
381 (dump_relocations): Use SECTION_HEADER to index "section_headers".
382 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
383 Remember symtab_shdx_hdr.
384 (process_program_headers): Scan from index 1 for segment map.
385 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
387 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
388 (process_unwind): Likewise.
389 (process_version_sections): Likewise.
390 (process_symbol_table): Likewise.
391 (display_debug_info): Likewise.
392 (process_dynamic_segment): Fake up a symtab section for changed
394 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
395 (process_program_headers): Kill signed/unsigned warning.
396 (load_debug_str): Likewise.
397 (display_debug_info): Likewise.
399 2001-12-13 Jakub Jelinek <jakub@redhat.com>
401 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
403 2001-12-11 Alan Modra <amodra@bigpond.net.au>
405 * readelf.c (process_file_header): Print extended e_shnum and
406 e_shdtrndx values. Set elf_header values for same.
407 (get_32bit_section_headers): Add "num" arg to read "num" headers.
408 (get_64bit_section_headers): Likewise.
409 (process_section_headers): Update calls.
410 (get_file_header): Call get_32bit_section_headers or 64bit variant.
412 2001-12-10 Jakub Jelinek <jakub@redhat.com>
414 * objcopy.c (setup_section): Copy entsize.
416 2001-12-07 Geoffrey Keating <geoffk@redhat.com>
418 * readelf.c (guess_is_rela): Add support for stormy16.
419 (dump_relocations): Likewise.
420 (get_machine_name): Likewise.
422 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
424 * dllwrap.c (main) Replace multiple strings describing a
425 single error with a single, newline escaped sentence to permit
426 better translation into foreign languages.
428 * readelf.c (get_elf_class): Remove internalionalisation of ELF
431 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
433 * strings.c (get_char): Initialize value.
435 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
437 * arlex.l: Silence compile warnings.
438 * arsup.h: Likewise. Fix formatting.
440 2001-12-04 Jakub Jelinek <jakub@redhat.com>
442 * strings.c: Include config.h before bfd.h.
443 (file_off): New type.
445 (print_strings): Use file_off instead of file_ptr. Print addresses
446 which don't fit into long correctly.
447 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
449 (strings_file): Use file_off instead of file_ptr. Use file_open.
450 * configure.in: Check for getc_unlocked.
451 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
453 * configure: Rebuilt.
454 * config.h.in: Rebuilt.
456 2001-11-29 H.J. Lu <hjl@gnu.org>
458 * bucomm.c (make_tempname): Revert the changes made on
459 2001-11-14 and 2001-11-12. They won't work with directories.
461 2001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
463 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
464 CFLAGS_FOR_TARGET to runtest in environment.
465 * Makefile.in: Rebuild.
466 * doc/Makefile.in: Rebuild.
468 2001-11-28 Mike Stump <mrs@wrs.com>
470 * objcopy.c (setup_section): Preserve SEC_RELOC when
471 --set-section-flags is used.
473 2001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
475 * readelf.c (do_debug_str): New variable.
476 (display_debug_str): New function: Display the contents of a
478 (load_debug_str): New function: Load in the contents of a
480 (free_debug_str): New function: Free the memory used by
482 (fetch_indirect_string): Retrieve a string from the .debug_str
485 (parse_args): Accept -ws.
486 (process_section_headers): Allow the display of the .debug_str
488 (read_and_display_attr_value): Use fetch_indirect_string. Show
489 offset into .debug_str section.
490 (display_debug_info): Use load_debug_str and free_debug_str.
491 (debug_displays): Add .debug_str.
492 * doc/binutils.texi: Document -ws.
494 2001-11-19 Andreas Jaeger <aj@suse.de>
496 * testsuite/binutils-all/objdump.exp: Add x86-64.
498 2001-11-15 Andreas Schwab <schwab@suse.de>
500 * readelf.c: Fix warnings without terminating newline.
502 2001-11-15 Alan Modra <amodra@bigpond.net.au>
504 * doc/binutils.texi (objdump): Document ppc -M options.
506 2001-11-14 Andreas Jaeger <aj@suse.de>
508 * doc/binutils.texi (objdump): Fix description to use x86-64.
510 2001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
512 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
513 not all systems provide mkstemp.
515 2001-11-14 Alan Modra <amodra@bigpond.net.au>
517 * doc/binutils.texi (objdump): Document x86 -M options.
519 2001-11-13 Keith Walker <keith.walker@arm.com>
521 * readelf.c (read_and_display_attr_value): New function to
522 handle DW_FORM_indirect.
523 (read_and_display_attr): Use it.
525 2001-11-13 Geoffrey Keating <geoffk@redhat.com>
527 * readelf.c (display_debug_lines): Deal with unknown standard
528 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
531 2001-11-13 Timothy Wall <twall@alum.mit.edu>
533 * MAINTAINERS: Add self as tic54x maintainer. This target
534 includes the IBM C54XDSP clone.
536 2001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
538 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
540 2001-11-09 Jeffrey A Law (law@cygnus.com)
542 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
543 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
544 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
545 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
546 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
547 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
548 (unw_decode_b2, unw_decode_b3_b4): Likewise.
550 * readelf.c (get_elf_class): Fix ISO portability glitch.
551 (get_data_encoding, get_osabi_name, request_dump): Likewise.
553 2001-11-07 Jakub Jelinek <jakub@redhat.com>
555 * readelf.c (debug_str, debug_str_size): New.
556 (display_debug_abbrev): If no abbrevs were read, skip the CU.
558 (read_and_display_addr): Handle DW_FORM_strp.
559 (display_debug_info): Read .debug_str section if present,
560 so that DW_FORM_strp can be handled.
561 Fix test for non-existant .debug_abbrev section.
563 2001-11-05 Jakub Jelinek <jakub@redhat.com>
565 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
567 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
569 2001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
571 * MAINTAINERS: Add self as s390/s390x maintainer.
573 2001-11-02 Tom Rix <trix@bluey.cygnus.com>
575 * MAINTAINERS: Add self as PPC XCOFF maintainer.
577 2001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
579 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
580 * configure: Regernate.
581 * po/fr.po: New file.
582 * po/tr.po: New file.
584 2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
586 * MAINTAINERS: Add self as MMIX port maintainer.
587 * readelf.c: Include elf/mmix.h.
588 (guess_is_rela): MMIX is RELA.
589 (dump_relocations): Handle MMIX relocations.
590 * Makefile.am: Regenerate dependencies.
591 * Makefile.in: Regenerate.
593 2001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
595 * readelf.c (parse_args): Handle multiple options to the -w
598 2001-10-12 Jakub Jelinek <jakub@redhat.com>
600 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
601 LOPROC, LOOS and LOUSER.
603 2001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
605 * MAINTAINERS: Update my email address.
607 2001-10-03 Alan Modra <amodra@bigpond.net.au>
609 * doc/Makefile.in: Regenerate.
610 * configure: Regenerate.
612 2001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
614 * readelf.c (display_debug_line, display_debug_pubnames,
615 display_debug_info, display_debug_frames): Detect and warn
616 about 64-bit format entries.
617 (display_debug_aranges): Reword 64-bit warning.
618 (debug_displays): Add .debug_pubtypes as a known, but not yet
619 supported, debug section.
621 2001-10-02 Alan Modra <amodra@bigpond.net.au>
623 * coffdump.c (PROGRAM_VERSION): Delete.
624 (main <'V'>): Call print_version.
625 * srconv.c: Likewise.
626 * sysdump.c: Likewise.
627 * version.c (program_version): Remove.
628 (print_version): Use BFD_VERSION_STRING. Just print the current
629 year in copyright message.
630 * addr2line.c (program_version): Remove unused declaration.
631 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
632 place of BFD_VERSION.
633 * Makefile.am (Makefile): Depend on bfd/configure.in.
634 (cplus-dem.o): Depend on Makefile.
636 * Makefile.in: Regenerate.
638 2001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
640 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
641 format .debug_arange sections.
642 (main): Add missing prototype.
644 2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
646 * Makefile.am: Update dependencies with "make dep-am".
647 * Makefile.in: Regenerate.
649 2001-09-28 Richard Henderson <rth@redhat.com>
651 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
653 2001-09-26 Alan Modra <amodra@bigpond.net.au>
655 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
657 (non_fatal): Likewise.
658 * objdump.c (objdump_sprintf): Likewise.
659 * readelf.c (error): Likewise.
662 2001-09-25 Jakub Jelinek <jakub@redhat.com>
664 * readelf.c (do_wide): New.
665 (options): Add --wide.
666 (usage, parse_args): Likewise.
667 (process_program_headers): Put each segment on a single line if
669 (process_section_headers): Put each section on a single line if
671 * doc/binutils.texi: Document it.
674 2001-09-25 Alan Modra <amodra@bigpond.net.au>
676 * readelf.c (print_vma): Print 8 digits of low hex value.
678 2001-09-24 Andreas Jaeger <aj@suse.de>
680 * nlmconv.c: Fix warnings about unused attributes and function
683 * strings.c: Add prototype for get_char.
685 2000-09-19 H.J. Lu <hjl@gnu.org>
687 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
688 $(srcdir)/cxxfilt.man.
689 * doc/Makefile.in: Rebuild.
691 2001-09-19 Alan Modra <amodra@bigpond.net.au>
693 * objcopy.c (copy_main): Correct rename-section string parsing.
694 Consolidate new_name parsing, and error messages.
696 2001-09-18 Bruno Haible <haible@clisp.cons.org>
698 * addr2line.c: Don't include <ctype.h>.
699 (main): For gettext, also set the LC_CTYPE locate facet.
700 * ar.c (main): Likewise.
701 * coffdump.c (main): Likewise.
702 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
703 (main): For gettext, also set the LC_CTYPE locate facet.
704 Use ISALNUM instead of isalpha/isdigit.
705 * dllwrap.c: Don't include <ctype.h>.
706 (main): For gettext, also set the LC_CTYPE locate facet.
707 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
708 (main): For gettext, also set the LC_CTYPE locate facet.
709 Use TOUPPER instead of islower/toupper.
710 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
711 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
712 Use TOUPPER instead of islower/toupper.
713 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
714 * objcopy.c (main): Likewise.
715 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
716 (disassemble_bytes): Use ISPRINT instead of isprint.
717 (dump_section_stabs): Use ISDIGIT instead of isdigit.
718 (dump_data): Use ISPRINT instead of isprint.
719 (main): For gettext, also set the LC_CTYPE locate facet.
720 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
721 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
722 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
723 Use TOUPPER instead of islower/toupper.
724 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
725 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
726 (write_rc_accelerators): Use ISPRINT instead of isprint.
727 (write_rc_rcdata): Likewise.
728 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
729 * srconv.c (main): Likewise.
730 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
731 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
732 isdigit/isupper/islower.
733 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
734 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
735 stab_demangle_prefix, stab_demangle_qualified,
736 stab_demangle_template, stab_demangle_type,
737 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
738 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
739 (isgraphic): Use ISPRINT instead of isascii/isprint.
740 (main): Remove HAVE_LC_MESSAGES dependency.
741 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
742 (pbarray): Use ISPRINT instead of isprint.
743 (main): For gettext, also set the LC_CTYPE locate facet.
744 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
745 (format_from_filename): Use ISPRINT instead of isprint.
746 (main): For gettext, also set the LC_CTYPE locate facet.
747 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
748 (unicode_print): Use ISPRINT instead of isprint.
749 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
750 (stab_variable): Use ISDIGIT instead of isdigit.
752 2001-09-18 Alan Modra <amodra@bigpond.net.au>
754 * ar.c (print_contents): Cast args of bfd_seek to the right types.
755 Replace bfd_read call with call to bfd_bread.
756 (extract_file): Likewise.
758 * objdump.c (dump_section_header): Cast section->filepos to
759 unsigned long to suit printf format string.
760 * readelf.c (process_section_headers): Similarly for sh_offset.
761 (process_unwind): Likewise.
763 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
765 * strings.c (encoding, encoding_bytes): New variables.
766 (long_options): Add --encoding.
767 (main): Accept -e and --encoding.
768 (get_char): New function. Read a, possibly wide, character from
770 (print_strings): Use get_char().
771 (usage): Document new command line option.
772 * doc/binutils.texi: Document new command line option.
773 * NEWS: Announce new command line option.
775 2001-09-12 Alexandre Oliva <aoliva@redhat.com>
777 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
778 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
779 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
780 Removed EM_CYGNUS_ARC.
782 2001-09-04 Jeffrey A Law (law@cygnus.com)
784 * readelf.c: Include elf/h8 for H8 series definitions.
785 (guess_is_rela): H8 series if RELA.
786 (dump_relocations): Handle H8 series relocations.
788 2001-08-31 Eric Christopher <echristo@redhat.com>
790 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
792 2001-08-29 Peter Targett <peter.targett@arccores.com>
794 * MAINTAINERS: Include ARC Maintainer.
796 2001-08-29 Ben Elliston <bje@redhat.com>
798 * stabs.c (stab_demangle_template): Initialise s4.
800 2001-08-27 Alan Modra <amodra@bigpond.net.au>
802 * readelf.c (dump_relocations): Recognise EM_PPC64.
804 2001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
806 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
808 2001-08-25 H.J. Lu <hjl@gnu.org>
810 * nm.c (print_width): New.
811 (display_rel_file): Set `print_width' according to
813 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
815 2001-08-24 Alexandre Oliva <aoliva@redhat.com>
817 * objcopy.c (use_alt_mach_code): New variable.
818 (OPTION_ALT_MACH_CODE): Define.
819 (copy_options): Added --alt-machine-code.
820 (copy_main): Handle it.
821 (copy_object): Switch to alternate machine code if requested.
822 * doc/binutils.texi: Document new option.
825 2001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
827 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
829 2001-08-21 H.J. Lu <hjl@gnu.org>
831 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
832 (display_debug_info): Cast for 64bit hosts.
833 (display_debug_frames): Likewise.
834 (process_mips_specific): Likewise.
836 2001-08-21 Andreas Jaeger <aj@suse.de>
838 * coffgrok.h: Add missing parameter for prototype of coff_grok.
840 * sysdump.c: Add missing prototypes.
841 * srconv.c: Likewise.
842 * unwind-ia64.c: Likewise.
843 * coffdump.c: Likewise.
845 * sysinfo.y: Print prototypes, include <ansidecl.h>.
847 * coffgrok.c: Add missing prototypes, include libiberty.h instead
848 of declaring xcalloc.
850 2001-08-10 H.J. Lu <hjl@gnu.org>
852 * nm.c (print_value): Add one arg, bfd *.
853 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
854 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
855 (print_symbol_info_sysv): Likewise.
856 (print_symbol_info_posix): Likewise.
858 * objdump.c (dump_section_header): Replace printf_vma with
860 (print_section_stabs): Likewise.
861 (dump_bfd_header): Likewise.
862 (objdump_print_value): Replace sprintf_vma with
864 (disassemble_bytes): Likewise.
865 (dump_reloc_set): Likewise.
867 2001-08-10 Andreas Jaeger <aj@suse.de>
869 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
871 * configure: Regenerate.
873 2001-08-09 Alan Modra <amodra@bigpond.net.au>
875 * readelf.c: Add missing prototypes.
876 * objdump.c: Likewise. Format existing prototypes.
878 2001-08-08 Alexandre Oliva <aoliva@redhat.com>
880 * readelf.c (display_debug_info): Add to abbrev_offset the addend
881 of any RELA relocation for the abbrev_offset memory location that
882 refers to the .debug_abbrev section symbol.
884 2001-08-07 H.J. Lu <hjl@gnu.org>
886 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
887 (main): Return process_file ().
889 2001-08-05 Philip Blundell <philb@gnu.org>
891 * doc/binutils.texi: Use "Thumb" not "THUMB".
893 2001-08-03 John Healy <jhealy@redhat.com>
895 Patch suggested by Frank Eigler <fche@redhat.com>.
896 * objdump.c (disassemble_data): Fill in section member of the
897 disasm_info structure.
899 2001-08-03 Tom Walsh <tom@cyberiansoftware.com>
901 * configure.in: Added --with-windres option.
902 * configure: Regenerated.
904 2001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
906 * doc/binutils.texi: Use @command{name} for commands;
907 use @option{-opt} for options; use @table @env for list of options;
908 remove spaces arround [ | ] in synopsis.
910 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
913 2001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
915 * objcopy.c: Fix formatting.
916 (section_rename): New structure.
917 (OPTION_RENAME_SECTION): New switch.
918 (copy_usage): Document new switch.
919 (add_section_rename): New function: Add a node to the section
921 (find_section_rename): New function: Find the new name and
923 (setup_section): Call find_section_name to determine the name
924 of the output section.
925 (copy_main): Handle OPTION_RENAME_SECTION.
926 * binutils.texi: Document new switch.
927 * NEWS: Mention new switch.
929 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
931 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
932 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
933 bug-binutils@gcc.org.
935 2001-07-28 Matthias Kramm <kramm@quiss.org>
937 * bucomm.c (list_supported_architectures): New function.
938 * bucomm.h (list_supported_architectures): Declare.
939 * objdump.c (usage): Call the above.
941 2001-07-25 Dave Brolley <brolley@redhat.com>
943 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
944 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
946 2001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
948 * README: Update for 2.11. Change bug reporting email address.
949 * MAINTAINERS: Tidy up. Change bug reporting email address.
951 2001-07-16 DJ Delorie <dj@redhat.com>
953 * resres.c (write_res_header): Align header size.
954 (res_align_file): Calculate alignment correctly.
956 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
958 * resrc.c (write_rc_resource): Likewise.
959 * windres.h (SUBLANG_SHIFT): Define - as 10.
961 2001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
963 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
965 2001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
967 * MAINTAINERS: Add notes about branch checkins.
969 2001-07-05 Daniel Berlin <dan@cgsoftware.com>
971 * readelf.c (display_debug_macinfo): New function, display
972 .debug_macinfo section.
973 (do_debug_macinfo): New variable.
974 (parse_args): Handle "-w[mM]" to mean display macro info.
975 (process_section_headers): Handle debug_macinfo.
976 (debug_displays): Replace unsupported function with macinfo
977 function for .debug_macinfo display.
978 * doc/binutils.texi: Document new command line switch.
979 * NEWS: Document new feature of readelf.
981 2001-07-05 H.J. Lu <hjl@gnu.org>
983 * objcopy.c (filter_symbols): Don't turn undefined symbols
986 2001-07-03 H.J. Lu <hjl@gnu.org>
988 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
991 (dlltool.1): Likewise.
992 (nlmconv.1): Likewise.
994 (objcopy.1): Likewise.
995 (objdump.1): Likewise.
996 (ranlib.1): Likewise.
997 (readelf.1): Likewise.
999 (strings.1): Likewise.
1000 (strip.1): Likewise.
1001 (windres.1): Likewise.
1002 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
1003 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
1006 * doc/Makefile.in: Regenerated.
1008 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
1010 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
1012 2001-07-01 Daniel Berlin <dan@cgsoftware.com>
1014 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
1016 2001-06-29 James Cownie <jcownie@etnus.com>
1018 * readelf.c: Support DWARF 2.1 attributes.
1020 2001-06-28 Alan Modra <amodra@bigpond.net.au>
1022 * readelf.c (GET_DATA_ALLOC): Remove.
1024 (get_data): New function combining above macros, with an extra
1026 (slurp_rela_relocs): Use get_data, and catch error return.
1027 (slurp_rel_relocs): Likewise.
1028 (get_32bit_program_headers): Likewise.
1029 (get_64bit_program_headers): Likewise.
1030 (get_32bit_section_headers): Likewise.
1031 (get_64bit_section_headers): Likewise.
1032 (get_32bit_elf_symbols): Likewise.
1033 (get_64bit_elf_symbols): Likewise.
1034 (process_section_headers): Likewise.
1035 (process_relocs): Likewise.
1036 (slurp_ia64_unwind_table): Likewise.
1037 (process_unwind): Likewise.
1038 (get_32bit_dynamic_segment): Likewise.
1039 (get_64bit_dynamic_segment): Likewise.
1040 (process_dynamic_segment): Likewise.
1041 (process_version_sections): Likewise.
1042 (process_symbol_table): Likewise.
1043 (dump_section): Likewise.
1044 (display_debug_info): Likewise.
1045 (display_debug_section): Likewise.
1046 (process_section_contents): Likewise.
1047 (process_corefile_note_segment): Likewise.
1048 (process_mips_specific): Likewise. Also free econf32, econf64.
1050 2001-06-25 Alan Modra <amodra@bigpond.net.au>
1052 * readelf.c (dump_relocations): Print "bad symbol index" if
1053 symtab == NULL with non-zero symtab_index.
1054 (process_relocs): Don't bomb if reloc section has no symsec.
1056 2001-06-24 H.J. Lu <hjl@gnu.org>
1058 * objcopy.c (strip_main): Revert the change made on 2001-05-30
1060 (copy_main): Apply the the change made to strip_main on
1061 2001-05-30 by accident.
1063 2001-06-23 Andreas Jaeger <aj@suse.de>
1065 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
1067 (unw_decode_x2): Likewise.
1068 (unw_decode_x3): Likewise.
1069 (unw_decode_x4): Likewise.
1071 2001-06-23 Ben Elliston <bje@redhat.com>
1073 * MAINTAINERS: Add myself as M88k maintainer.
1075 2001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
1077 * objcopy.c (strip_main): Support -o or --output-file command lien
1080 2001-06-19 H.J. Lu <hjl@gnu.org>
1082 * doc/Makefile.in: Regenerated.
1084 2001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
1086 * readelf.c: Restore formatting.
1088 2001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
1090 * Makefile.am: Move documentation into doc subdirectory.
1091 * Makefile.in: Regenerated.
1092 * binutils.texi: Move into doc subdirectory.
1093 * addr2line.1: Removed.
1095 * dlltool.1: Likewise.
1096 * nlmconv.1: Likewise.
1098 * objcopy.1: Likewise.
1099 * objdump.1: Likewise.
1100 * ranlib.1: Likewise.
1101 * readelf.1: Likewise.
1103 * strings.1: Likewise.
1104 * strip.1: Likewise.
1105 * windres.1: Likewise.
1106 * cxxfilt.man: Likewise.
1107 * doc: New Directory.
1108 * doc/Makefile.am: New file.
1109 * doc/Makefile.in: Generate.
1111 2001-06-09 Alan Modra <amodra@bigpond.net.au>
1113 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
1115 2001-06-01 Alan Modra <amodra@bigpond.net.au>
1117 * MAINTAINERS: Update my email address.
1119 2001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
1121 * objcopy.c: Add new switches: --keep-global-symbol,
1122 --keep-symbols, --localize-symbols, --keep-global-symbols and
1124 * binutils.texi: Document new switches.
1125 * objcopy.1: Regenerate.
1126 * NEWS: Announce new feature.
1128 2001-05-28 Andreas Jaeger <aj@suse.de>
1130 * readelf.c (display_debug_frames): Fix warnings: Remove unused
1131 variables, fix format strings.
1133 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
1135 * objdump.c (disassemble_bytes): Remove section VMA adjustment
1136 when computing the address of the line to show.
1138 2001-05-16 Richard Henderson <rth@redhat.com>
1140 * readelf.c (do_debug_frames_interp): New.
1141 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
1142 (byte_get_big_endian): Likewise.
1143 (parse_args) ['F']: Set do_debug_frames_interp.
1144 (Frame_Chunk): Make data_factor signed, add fde_encoding.
1145 (frame_display_row): Don't trunc pc_begin to int.
1146 (size_of_encoded_value): New.
1147 (display_debug_frames): Handle 64-bit targets. Print raw data
1148 unless do_debug_frames_interp.
1149 (debug_displays): Remove duplicate .debug_frame.
1151 2001-05-15 Ralf Baechle <ralf@gnu.org>
1153 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
1154 The former constant was never in active use and is used otherwise
1157 2001-05-11 Jakub Jelinek <jakub@redhat.com>
1159 * readelf.c (process_unwind): Print all unwind sections, not just
1162 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1164 * readelf.c (process_unwind): Remove const specifier.
1166 2001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
1168 * strings.c (isgraphic): Do not use isascii() unless it is needed
1169 for isprint() to work.
1170 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
1172 2001-04-27 Johan Rydberg <jrydberg@opencores.org>
1174 * NEWS: Announce support for OpenRISC.
1176 2001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
1178 * dlltool.c (do_default_excludes): Initialise to true.
1180 2001-04-10 Alan Modra <amodra@one.net.au>
1182 * MAINTAINERS: Update my email address
1183 * nm.c (print_symbol_info_bsd): Use a simple printf string.
1185 2001-04-05 Hans-Peter Nilsson <hp@axis.com>
1187 * readelf.c (display_debug_lines): Fix typo for "Prologue".
1189 2001-03-30 H.J. Lu <hjl@gnu.org>
1191 * readelf.c (process_unwind): Just return if do_unwind is 0.
1193 2001-03-28 Roger Sayle <roger@metaphorics.com>
1195 * dlltool.c (make_one_lib_file): Fix section flags for
1196 .text, .data and .bss in stub ds*.o files to match those
1199 2001-03-29 H.J. Lu <hjl@gnu.org>
1201 * readelf.c (process_unwind): Only do unwind sections for
1204 2001-03-28 H.J. Lu <hjl@gnu.org>
1206 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
1207 * Makefile.in: Regenerate.
1209 2001-03-26 Andreas Jaeger <aj@suse.de>
1211 * binutils.texi (nm): Fix texi syntax.
1213 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1215 * binutils.texi: Put @c man begin and @c man end indications
1216 to generate man pages using texi2pod and pod2man. Put @c man title
1217 to identify each man. Add SEEALSO entries.
1218 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
1219 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
1221 (*.1): Build the man pages from binutils.texi.
1222 * Makefile.in: Regenerate.
1224 2001-03-13 Eric Kohl <ekohl@rz-online.de>
1226 * defparse.y (opt_equal_name): allow "." in name.
1227 * dlltool.c (def_exports): Added ability to generate forwarded exports.
1228 (gen_exp_file): Likewise.
1230 2001-03-12 Stefan Geuken <mail@stefan-geuken.de>
1232 * NEWS: Document addition of -B switch to objcopy.
1233 * binutils.texi: Document addition of -B switch to objcopy.
1234 * objcopy.c: (copy_options): Add --binary-architecture.
1235 (copy_usage): Document -B/--binary-architecture.
1236 (copy_main): Support -B/--binary-architecture. Set
1237 bfd_external_binary_architecture.
1239 2001-03-11 Andreas Jaeger <aj@suse.de>
1241 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
1242 (dump_relocations): Likewise.
1243 (get_machine_name): Likewise.
1245 2001-02-28 Nick Clifton <nickc@redhat.com>
1247 * readelf.c: (struct unw_aux_info): Remove const modifier for
1249 (process_unwind): Remove non-K&R compliant LHS type cast in call
1250 to GET_DATA_ALLOC macro.
1252 2001-02-28 Philip Blundell <pb@futuretv.com>
1254 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
1255 ABI is in use; remove ambiguity between the "unknown" EABI and
1256 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
1257 renamed EF_xx constants.
1259 2001-02-27 Alan Modra <alan@linuxcare.com.au>
1261 * configure.in (BFD_VERSION): New.
1262 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
1263 * configure: Regenerate.
1264 * Makefile.am: Run "make dep-am"
1265 * Makefile.in: Regenerate.
1267 2001-02-14 Nick Clifton <nickc@redhat.com>
1269 * MAINTAINERS: Add "Obvious Fix" rule.
1271 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1273 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
1274 literal concatenation.
1276 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1278 * readelf.c (struct unw_aux_info): Remove const from the info member.
1279 (process_unwind): Don't type-cast the third argument to the
1280 GET_DATA_ALLOC macro.
1282 2001-02-11 Nick Clifton <nickc@redhat.com>
1284 * readelf.c (dump_relocations): Free corrected allocated
1286 (process_unwind): Fix compile time warning.
1288 2001-02-10 Nick Clifton <nickc@redhat.com>
1290 * binutils.texi: Document new --unwind option to readelf.
1292 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
1294 * readelf.c: Add linux target for S/390.
1296 2001-02-10 Alan Modra <alan@linuxcare.com.au>
1298 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
1301 2001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
1303 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
1304 * aclocal.m4: Regenerate.
1305 * configure: Regenerate.
1307 2001-02-07 Todd Vierling <tv@wasabisystems.com>
1309 * bucomm.c (bfd_target_vector): Change extern array to pointer.
1310 * objdump.c (bfd_target_vector): Likewise.
1312 2001-02-07 David Mosberger <davidm@hpl.hp.com>
1314 * readelf.c (process_unwind): New function.
1315 (slurp_ia64_unwind_table): Ditto.
1316 (dump_ia64_unwind): Ditto.
1317 (find_symbol_for_address): Ditto.
1318 (slurp_rela_relocs): New function (split off from dump_relocations()).
1319 (slurp_rel_relocs): Ditto.
1320 (parse_args): Handle '-u' option.
1322 * unwind-ia64.c: New file.
1323 * unwind-ia64.h: New file.
1324 * Makefile.am: Include unwind-ia64.c in readelf build.
1325 * Makefile.in: Regenerate.
1326 * po/binutils.pot: Regenerate.
1328 2001-02-04 Philip Blundell <philb@gnu.org>
1330 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
1331 * configure: Regenerate.
1333 2001-01-31 Steve deRosier <sderosier@vari-lite.com>
1335 * ieee.c (ieee_add_bb11): Don't check for backslashes
1336 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1338 2001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
1340 * ieee.c: Update copyright.
1341 (ieee_start_compilation_unit): Don't check for backslashes
1342 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1344 * stabs.c: Update copyright. Include "filenames.h".
1345 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
1347 2001-01-23 Jakub Jelinek <jakub@redhat.com>
1349 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
1350 sections are present before using them. Remove code duplication.
1351 (process_symbol_table): Check if VERDEF or VERNEED sections are
1352 present before using them.
1354 2001-01-17 Nick Clifton <nickc@redhat.com>
1356 * objcopy.c (copy_object): Fail if attempting to convert the
1357 endianness of the input object file.
1359 * binutils.texi: Explain that objcopy cannot convert endianness.
1361 2001-01-16 Nick Clifton <nickc@redhat.com>
1363 * readelf.c (string_table_length): New variable.
1364 (SECTION_NAME): Catch out of range indices and missing section
1366 (process_section_headers): Delete useless local variable
1367 string_table_offset. Set the value of string_table_length
1368 after loading the string table.
1369 (process_mips_specific): Use SECTION_NAME macro.
1370 (process_file): Set string_table_length to 0 when it is freed.
1372 2001-01-12 Nick Clifton <nickc@redhat.com>
1374 * version.c (print_version): Update copyright date.
1376 2001-01-11 Peter Targett <peter.targett@arccores.com>
1378 * readelf.c (dump_relocations): Include selection with EM_ARC.
1379 (get_machine_name) Update name to "ARC".
1381 2001-01-09 Nick Clifton <nickc@redhat.com>
1383 * Makefile.am: Add rule to build objdump.o from objdump.c and
1385 * Makefile.in: Regenerate.
1387 * configure.in: Define OBJDUMP_DEFS. Default to empty.
1388 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
1389 -DDISASSEMBLER_NEEDS_RELOCS.
1390 * configure: Regenerate.
1392 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
1393 is defined read in the relocs even if dump_reloc_info is
1396 2001-01-07 Philip Blundell <philb@gnu.org>
1398 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
1402 2000-12-19 Nick Clifton <nickc@redhat.com>
1404 * dlltool.c: Add missing support for arm-epoc-pe.
1405 * configure.in: Add missing support for arm-epoc-pe.
1406 * configure: Regenerate.
1408 2000-12-15 Nick Clifton <nickc@redhat.com>
1410 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
1411 Mode parts of the x86 port.
1413 2000-12-04 Andreas Jaeger <aj@suse.de>
1415 * readelf.c (guess_is_rela): Add EM_X86_64.
1416 (dump_relocations): Add EM_X86_64.
1417 (get_machine_name): Add EM_X86_64.
1418 Include "elf/x86-64.h".
1420 2000-12-12 Nick Clifton <nickc@redhat.com>
1422 * readelf.c: Fix formatting.
1424 2000-12-11 Jan Hubicka <jh@suse.cz>
1426 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
1428 2000-12-07 Andrew Haley <aph@redhat.com>
1430 * readelf.c (display_debug_frames): Only display columns that are
1431 referenced by the frame debug info.
1433 2000-12-05 Nick Clifton <nickc@redhat.com>
1435 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
1437 2000-12-04 Jason Merrill <jason@redhat.com>
1439 * readelf.c (process_section_headers): Handle linkonce.wi sections.
1440 (display_debug_section): Likewise.
1441 (display_debug_info): Display CU header before bailing.
1443 2000-12-01 Chris Demetriou <cgd@sibyte.com>
1445 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
1446 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
1447 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
1449 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
1452 * readelf.c (get_machine_flags): Add case for
1455 2000-11-30 Richard Earnshaw <rearnsha@arm.com>
1457 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
1459 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
1461 * MAINTAINERS: Add J
\81örn Rennecke and self as SH maintainers.
1462 Change sourceware.cygnus.com to sources.redhat.com.
1463 Fix typo for "amongst".
1465 2000-11-28 Nick Clifton <nickc@redhat.com>
1467 * strip.1 (COPYING): Mention that the GNU Free Documentation
1468 License is present in the sources, but not the output, and
1469 also available from the GNU website.
1470 (GNU Free Documentation License): Comment out this section.
1479 * addr2line.1: Ditto.
1481 2000-11-27 DJ Delorie <dj@redhat.com>
1483 * readelf.c (usage): Add -wf (--debug-dump=frames) option.
1484 (parse_args): Support -wf option.
1485 (process_section_headers): Ditto.
1486 (debug_displays): Ditto.
1487 (display_debug_frames): New, dump *_frame sections.
1488 (frame_need_space): Support for above.
1489 (frame_display_row): Ditto.
1490 * binutils.texi: Document it.
1492 2000-11-24 Nick Clifton <nickc@redhat.com>
1494 * NEWS: Announce support for v5t, v5te and XScale.
1496 2000-11-22 Nick Clifton <nickc@redhat.com>
1498 * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
1499 EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
1500 (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
1501 (get_elf_section_flags: Add SHF_GROUP.
1502 (process_section_headers): Adjust output for 32-bit binaries
1503 to look nice on an 80 column terminal.
1505 2000-11-20 H.J. Lu <hjl@gnu.org>
1507 * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
1510 2000-11-17 Richard Henderson <rth@redhat.com>
1512 * readelf.c (display_debug_lines): Adjust last change to
1513 use sizeof (external->li_length).
1515 2000-11-17 Richard Henderson <rth@redhat.com>
1517 * readelf.c (display_debug_lines): Fix section length check
1518 and end_of_sequence computation.
1520 2000-11-06 Nick Clifton <nickc@redhat.com>
1522 * binutils.texi: Add GNU Free Documentation License.
1523 * objcopy.1: Add GNU Free Documentation License.
1524 * objdump.1: Add GNU Free Documentation License.
1525 * addr2line.1: Add GNU Free Documentation License.
1526 * ar.1: Add GNU Free Documentation License.
1527 * nlmconv.1: Add GNU Free Documentation License.
1528 * nm.1: Add GNU Free Documentation License.
1529 * ranlib.1: Add GNU Free Documentation License.
1530 * size.1: Add GNU Free Documentation License.
1531 * strings.1: Add GNU Free Documentation License.
1532 * strip.1: Add GNU Free Documentation License.
1534 2000-10-06 Luciano Gemme <ishitawa@yahoo.com>
1536 * objcopy.c (--srec-len=nn): New parameter to set the
1537 maximum length of generated Srecords.
1538 (--srec-forceS3): New parameter that restricts the generation of
1539 Srecords to type S3 only.
1540 * binutils.texi: Document new command line switches.
1541 * objcopy.1: Docuemnt the new command line switches.
1542 * NEWS: Announce the existence of the new command line switches.
1544 2000-10-31 Nick Clifton <nickc@redhat.com>
1546 * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
1547 code. Add Eric Chrisopher as maintainer of MN10300 port.
1549 2000-10-12 Roger Sayle <roger@metaphorics.com>
1551 * Make comma after string after icon/control optional.
1553 2000-09-13 Anders Norlander <anorland@acc.umu.se>
1555 * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
1557 * NEWS: Mention support for MIPS32.
1559 2000-09-08 Nick Clifton <nickc@redhat.com>
1561 * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
1563 2000-09-07 H.J. Lu <hjl@gnu.org>
1565 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
1566 * configure: Rebuild.
1568 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
1570 * configure: Rebuilt with new libtool.m4.
1572 2000-09-05 Nick Clifton <nickc@redhat.com>
1574 * aclocal.m4: Regenerate.
1575 * config.in: Regenerate.
1576 * configure: Regenerate.
1578 2000-09-04 Todd Vierling <tv@wasabisystems.com>
1580 * strip.1: Fix stray '\' in -o formatting.
1582 2000-09-02 Nick Clifton <nickc@redhat.com>
1584 * configure.in: Increase version number to 2.10.91.
1585 * configure: Regenerate.
1586 * aclocal.m4: Regenerate.
1587 * config.in: Regenerate.
1588 * po/binutils.pot: Regenerate.
1590 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
1592 * acinclude.m4: Include libtool and gettext macros from the
1594 * aclocal.m4, configure: Rebuilt.
1596 2000-08-30 Jamie Guinan <guinan@bluebutton.com>
1598 * resrc.c (close_input_stream): Delete extraneous logic
1600 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
1602 * NEWS: Mention support for CRIS.
1604 2000-08-21 Nick Clifton <nickc@redhat.com>
1606 * addr2line.c: Changed email address for Ulrich Lauther.
1608 2000-08-17 Christopher C. Chimelis <chris@debian.org>
1610 * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
1612 2000-08-17 Nick Clifton <nickc@redhat.com>
1614 * readelf.c (display_debug_pubnames): Only issue warning
1615 message once. Terminate message with a new line.
1616 (display_debug_aranges): Only display version 2 debug info.
1618 2000-08-14 Todd Vierling <tv@wasabisystems.com>
1620 * objcopy.c (strip_main): Silently accept -d as an alias for -g
1621 for compatability with old BSD systems.
1623 2000-08-14 Jason Eckhardt <jle@cygnus.com>
1625 * NEWS: Mention i860 support.
1627 2000-08-11 Carlo Wood <carlo@alinoe.com>
1629 * addr2line.c (main): Add const to char *.
1631 2000-08-11 Geoff Keating <geoffk@cygnus.com>
1633 * ar.c (main): Don't crash if called with no arguments
1634 or only '-X32_64' as an argument.
1636 2000-08-08 DJ Delorie <dj@redhat.com>
1638 * resrc.c: use "gcc -xc" instead of -xc-header
1640 2000-08-05 Jason Eckhardt <jle@cygnus.com>
1642 * readelf.c (elf/i860.h): Include.
1643 (dump_relocations): Add recognition of i860 architecture.
1644 (guess_is_rela): Add recognition of i860 architecture.
1646 2000-08-03 Nick Clifton <nickc@cygnus.com>
1648 * MAINTAINERS: Add information about CGEN maintainers.
1650 2000-07-26 Geoff Keating <geoffk@cygnus.com>
1652 * nm.c (main): Ignore '-X32_64' as an option.
1653 * ar.c (main): Likewise.
1654 * binutils.texi (nm): Document new option.
1657 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1659 * rdcoff.c (external_coff_symbol_p): K&R-ise.
1661 2000-07-20 H.J. Lu <hjl@gnu.org>
1663 * binutils.texi: Put back "@end table" deleted by
1666 2000-07-05 Kenneth Block <krblock@computer.org>
1668 * nm.c: Add optional style to demangle switch.
1669 * objdump.c: Add optional style to demangle switch.
1670 * addr2line.c: Add optional style to demangle switch.
1671 * binutils.texi: Document optional style to demangle
1674 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
1676 * MAINTAINERS: Add self as CRIS port maintainer.
1677 * readelf.c: Include elf/cris.h.
1678 (guess_is_rela): Handle EM_CRIS.
1679 (dump_relocations): Ditto.
1680 (get_machine_name): Ditto.
1681 * Makefile.am: Rebuild dependencies.
1682 * Makefile.in: Regenerate.
1683 * po/binutils.pot: Regenerate.
1685 2000-07-19 H.J. Lu <hjl@gnu.org>
1687 * readelf.c (get_dynamic_type): Change "AUXILARY" to
1689 (process_dynamic_segment): Print out strings for DT_CONFIG,
1690 DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
1692 2000-07-19 Mark Kettenis <kettenis@gnu.org>
1694 * nm.c (usage): Change output of `nm --help' to include a
1695 description of the purpose of the program and a detailed
1696 description of the accepted options.
1698 2000-07-19 H.J. Lu <hjl@gnu.org>
1700 * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
1703 2000-07-19 H.J. Lu <hjl@gnu.org>
1705 * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
1707 2000-07-19 H.J. Lu <hjl@gnu.org>
1709 * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
1711 (process_dynamic_segment): Likewise.
1713 * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
1714 DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
1715 (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
1716 DF_1_NODUMP and DF_1_CONLFAT.
1718 2000-07-18 Nick Clifton <nickc@cygnus.com>
1720 * binutils.texi (readelf): Fix spelling typo.
1722 2000-07-11 Mark Kettenis <kettenis@gnu.org>
1724 * objdump.c (usage): Make output of `objdump --help' more
1725 consistent with the rest of the GNU world. Add a line describing
1726 the purpose of the program.
1728 2000-07-10 David Huggins-Daines <dhd@linuxcare.com>
1730 * stabs.c (parse_stab_range_type): Cast to proper type to fix
1733 2000-07-10 Ryan Bradetich <rbradetich@uswest.net>
1735 * readelf.c (get_dynamic_data): Add casts and use unsigned chars
1737 (process_symbol_table): Ditto.
1738 (procesS_extended_line_op): Ditto.
1739 (display_debug_lines): Ditto.
1740 (display_debug_pubnames): Ditto.
1741 (read_and_display_attr): Ditto.
1743 2000-07-09 Nick Clifton <nickc@cygnus.com>
1745 * MAINTAINERS: Add several more port specific maintainers.
1747 2000-07-05 Nick Clifton <nickc@cygnus.com>
1749 * MAINTAINERS: Add blanket write privs for Michael Meissner.
1751 2000-06-05 DJ Delorie <dj@redhat.com>
1755 2000-07-01 Eric Fifer <EFifer@sanwaint.com>
1757 * dllwrap.c: Changed mistaken dyn_string_append() calls
1758 to dyn_string_append_cstr().
1760 2000-07-01 Alexander Aganichev <AAganichev@hypercom.com>
1762 * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
1763 struct debug_type stores size in bytes.
1765 2000-07-01 Alan Modra <alan@linuxcare.com.au>
1767 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
1768 (CLEANFILES): Add DEPA.
1769 * Makefile.in: Regenerate.
1771 2000-06-27 Alan Modra <alan@linuxcare.com.au>
1773 * ar.c: Revert incorrect 2000-06-25 patch.
1774 * bucomm.c: Likewise.
1776 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
1778 * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
1779 (external_coff_symbol_p): New function.
1780 (parse_coff): Use it.
1782 2000-06-25 Alexander Aganichev <AAganichev@hypercom.com>
1784 * ar.c (normalize): Advance past both characters in a DOS based
1785 <letter>: filepath prefix.
1787 * bucomm.c (make_tempname): Likewise.
1789 2000-06-24 Nick Clifton <nickc@cygnus.com>
1791 * objdump.c (usage): Fix description of --stabs switch.
1793 2000-06-22 Alan Modra <alan@linuxcare.com.au>
1795 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
1797 * Makefile.in: Regenerate.
1799 2000-06-20 Alexander Aganichev <AAganichev@hypercom.com>
1801 * ar.c (normalize): Correct pointer comparison when checking for
1804 * bucomm.c (make_tempname): Likewise.
1806 * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
1807 and search for backslashes in the original pathname.
1808 (ieee_add_bb11): Likewise.
1810 2000-06-18 Nick Clifton <nickc@redhat.com>
1812 * ar.c (print_contents): Improve verbose message.
1814 2000-06-15 H.J. Lu <hjl@gnu.org>
1816 * dyn-string.c: Removed. Not needed with dyn-string.c in
1818 * dyn-string.h: Likewise.
1820 * Makefile.am: Remove references to dyn-string.c and
1821 dyn-string.h. Rebuild dependency.
1822 * Makefile.in: Rebuild.
1824 2000-06-15 H.J. Lu <hjl@gnu.org>
1826 * binutils.texi: Put a warning on copying relocatable object
1827 files between two different formats.
1829 2000-06-13 DJ Delorie <dj@cygnus.com>
1831 * rcparse.y (control): ICON controls take an id as the first
1832 parameter, not an optional string. Also, call new convenience
1833 function that takes res_id's.
1834 * resrc.c (define_control): missing text means zero-length string,
1836 (define_icon_control): New.
1837 * windres.h: declare define_icon_control.
1839 2000-06-13 H.J. Lu <hjl@gnu.org>
1841 * configure: Regenerate.
1843 2000-06-08 David O'Brien <obrien@FreeBSD.org>
1845 * configure.in (VERSION): Update to show this is the CVS mainline.
1847 2000-06-02 David O'Brien <obrien@FreeBSD.org>
1849 * strings.c (isgraphic): Interpret <TAB> as a printable character,
1850 analogous to <SPACE>.
1852 2000-05-30 Alan Modra <alan@linuxcare.com.au>
1854 * objdump.c (display_target_list): Use bfd_close_all_done, not
1855 bfd_close to fix crash caused by 2000-05-24 change.
1857 2000-05-25 DJ Delorie <dj@cygnus.com>
1859 * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
1861 2000-05-26 Alan Modra <alan@linuxcare.com.au>
1863 * Makefile.am: Update dependencies with "make dep-am"
1864 * Makefile.in: Regenerate.
1866 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
1868 * ar.c: Include filenames.h.
1869 (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
1870 and drive letters in file names.
1871 (main): Support backslashes and drive letters in argv[0]. Drop
1872 the .exe suffix, if any, in argv[0] if is_ranlib is negative. Use
1873 FILENAME_CMP instead of strcmp to compare file names.
1874 (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
1876 (do_quick_append) [__GO32__]: Ditto.
1877 (get_pos_bfd, delete_members, move_members, replace_members):
1878 Compare file names with FILENAME_CMP.
1880 * bucomm.c: Include filenames.h.
1881 (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
1882 forward/backward slashes and drive letters in file names.
1884 * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
1885 mixed forward/backward slashes and drive letters in file names.
1887 * strings.c (O_BINARY, setmode, SET_BINARY): Define.
1888 (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
1891 * objcopy.c: Include filenames.h.
1892 (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
1893 before comparing to "strip".
1894 Use FILENAME_CMP to compare file names.
1896 * arsup.c: Include filenames.h.
1897 (map_over_list, ar_delete, ar_replace, ar_extract): Use
1898 FILENAME_CMP to compare file names.
1899 (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
1900 the temporary file name.
1902 * configure.in: Check for setmode.
1903 * configure: Regenerate.
1905 2000-05-24 Alan Modra <alan@linuxcare.com.au>
1907 * objdump.c (display_target_list): Close the bfd.
1908 (display_info_table): Likewise.
1910 2000-05-14 H.J. Lu (hjl@gnu.org)
1912 * objcopy.c (filter_symbols): Don't strip global symbols in
1913 relocatable object files.
1915 2000-05-14 Alan Modra <alan@linuxcare.com.au>
1917 * size.c (usage): Associate short options with corresponding long
1918 option to give a clue as to their function.
1920 2000-05-14 Philippe De Muyter <phdm@macqel.be>
1922 * size.c (main): Accept and ignore `-f' option.
1924 2000-05-13 Alan Modra <alan@linuxcare.com.au>
1926 * bucomm.h (gettext, dgettext, dcgettext, textdomain,
1927 bindtextdomain): Replace defines with those from intl/libgettext.h
1928 to quieten gcc warnings.
1930 2000-05-12 H.J. Lu <hjl@gnu.org>
1932 * nlmconv.c (temp_filename): Removed.
1934 * nlmconv.c (link_inputs): Use make_temp_file () instead of
1935 choose_temp_base ().
1936 * objdump.c (display_target_list): Likewise.
1937 (display_info_table): Likewise.
1939 2000-05-08 Alan Modra <alan@linuxcare.com.au>
1941 * objcopy.c (setup_section): Add const and gettext calls for err.
1943 2000-05-02 H.J. Lu <hjl@gnu.org>
1945 * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
1946 ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
1947 ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
1948 ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
1949 and ELFOSABI_OPENBSD.
1951 2000-05-02 Kazu Hirata <kazu@hxi.com>
1953 * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
1954 * srconv.c: Likewise.
1955 * sysdump.c: Likewise.
1957 2000-04-23 Denis Chertykov <denisc@overta.ru>
1959 * readelf.c (guess_is_rela): AVR uses RELA relocations.
1960 (get_machine_name): machine name for EM_AVR added.
1962 2000-04-21 Richard Henderson <rth@cygnus.com>
1963 David Mosberger <davidm@hpl.hp.com>
1965 * Makefile.am (readelf.o): Add elf/ia64.h.
1966 * Makefile.in: Rebuild.
1967 * readelf.c: Include elf/ia64.h.
1968 (guess_is_rela, dump_relocations): Handle EM_IA_64.
1970 2000-04-17 Timothy Wall <twall@cygnus.com>
1972 * objdump.c (disassemble_data): Set octets per byte *after*
1973 resolving arch/mach for binary files.
1975 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1977 * arlex.l: Add directives to increase lex buffer size.
1979 * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
1980 already included by bucomm.h.
1982 2000-04-10 Philippe De Muyter <phdm@macqel.be>
1984 * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
1985 `strftime' since strftime is not available on all systems.
1986 (process_mips_specific): Ditto.
1988 2000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
1990 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
1991 --enable-build-warnings option.
1992 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
1993 * Makefile.in, configure: Re-generate.
1995 2000-04-06 Alan Modra <alan@linuxcare.com.au>
1997 * addr2line.c: Update copyright.
1998 * objcopy.1: Likewise, and title.
1999 * strings.1: Likewise.
2001 * version.c (print_version): Add 2000.
2003 * rddbg.c (read_section_stabs_debugging_info): Don't use
2004 bfd_size_type for strx to avoid printf problems if BFD64.
2006 * bucomm.c: (report): Remove `static'.
2007 Move inclusion of stdarg.h/vararg.h from here.
2008 * bucomm.h: To here.
2009 (CONST): Change all occurences to const.
2010 (report): Declare it.
2011 (bfd_fatal): Add ATTRIBUTE_NORETURN.
2012 (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
2013 (non_fatal): Add ATTRIBUTE_PRINTF_1.
2015 * ar.c (main): Use fatal or non_fatal instead of fprintf.
2016 Correct a typo in an error message.
2017 (do_quick_append): Use non_fatal instead of fprintf.
2018 (move_members): Use fatal instead of fprintf, exit.
2019 * coffdump.c (main): Same here.
2021 * dlltool.c (display): Delete.
2023 (inform): Use `report' instead of `display'.
2024 (rvaafter): Remove trailing \n from fatal error msg.
2026 (asm_prefix): Ditto.
2027 (yyerror): Replace `warn' with `non_fatal', and remove \n.
2028 (def_name): Likewise.
2030 (scan_all_symbols): Likewise.
2031 (gen_lib_file): Likewise.
2032 (def_library): Likewise. Remove extra program_name too.
2033 (run): Remove \n from inform strings.
2034 (scan_drectve_symbols): Likewise.
2035 (add_excludes): Likewise.
2036 (scan_open_obj_file): Likewise.
2037 (gen_exp_file): Likewise.
2038 (gen_lib_file): Likewise.
2039 (process_duplicates): Likewise.
2041 * Makefile.am (dllwrap_SOURCES): Add version.c.
2042 * dllwrap.c (program_version): Delete.
2043 (print_version): Delete.
2044 (display): Always print trailing \n.
2046 (delete_temp_files): Use warn instead of fprintf. Use gettext.
2049 (usage): gettext'ify.
2050 (long_options): Add missing initialisers.
2052 * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
2053 (select_output_format): Likewise.
2054 (powerpc_mangle_relocs): Likewise.
2055 (link_inputs): Likewise.
2057 * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
2058 (set_output_format): Likewise.
2059 (main): Use non_fatal instead of fprintf.
2060 (display_rel_file): Likewise.
2062 * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
2063 (slurp_dynamic_symtab): Same here.
2064 (disassemble_data): And here.
2065 (read_section_stabs): And here.
2066 (read_section_stabs): And here.
2067 (dump_bfd): And here.
2069 (objdump_sprintf): Use fatal instead of fprintf, exit.
2070 (disassemble_data): Same here.
2072 * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
2073 (parse_coff_struct_type): Same here.
2074 (parse_coff_enum_type): And here.
2075 (parse_coff): And here.
2076 * rddbg.c (read_debugging_info): And here.
2077 * size.c (main): And here.
2078 * windres.c (format_from_name): And here.
2079 * wrstabs.c (stab_write_symbol): Here too.
2080 (write_stabs_in_sections_debugging_info): And here.
2081 (stab_int_type): And here.
2082 (stab_struct_field): And here.
2083 (stab_typdef): And here.
2085 * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
2086 * srconv.c (main): Same here.
2087 * strings.c (main): And here.
2088 (integer_arg): And here.
2089 * sysdump.c (main): And here.
2091 2000-04-06 Timothy Wall <twall@cygnus.com>
2093 * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
2095 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
2097 * readelf.c (decode_location_expression): Loop through multiple
2099 (read_and_display_attr): Pass in length.
2101 * readelf.c (read_and_display_attr): Add CU offset to references.
2102 (display_debug_info): Pass it in.
2104 2000-04-06 Nick Clifton <nickc@cygnus.com>
2106 * readelf.c (decode_ARM_machine_flags): New function.
2107 (get_machine_flags): Call decode_ARM_machine_flags for ARM
2110 (get_machine_name): Catch EM_AVR
2112 2000-04-05 Alan Modra <alan@linuxcare.com.au>
2114 * binutils.texi: Remove optional `=' from long options that have
2115 an `=' in the argument.
2116 * objcopy.1: Here too. Remove extra space on discard-all.
2118 * binutils.texi (objcopy): Mention --redefine-sym.
2119 * objcopy.1: Here too.
2122 * objcopy.c (parse_flags): Split off flag names from error message
2123 gettext as they are not translated.
2124 (copy_main): Similarly split off option name for --add-section,
2125 --set-section-flags, --change-section-vma, --change-section-lma
2127 Some white space changes.
2129 from Matthew Benjamin <matt@linuxbox.nu>
2130 * objcopy.c (struct redefine_node): New.
2131 (redefine_sym_list): New.
2132 (redefine_list_append): New.
2133 (lookup_sym_redefinition): New.
2134 (OPTION_REDEFINE_SYM): New.
2135 (copy_options): Add --redefine-sym option.
2136 (copy_usage): Mention it.
2137 (filter_symbols): Rename symbols on redefine_sym_list.
2138 (copy_object): Call filter_symbols if redefine_sym_list != NULL.
2139 (copy_main): Handle OPTION_REDEFINE_SYM.
2141 2000-04-04 H.J. Lu <hjl@gnu.org>
2143 * readelf.c (process_symbol_table): Correctly read in symbol
2144 versioning information.
2146 2000-04-04 Alan Modra <alan@linuxcare.com.au>
2148 * po/binutils.pot: Regenerate.
2150 * addr2line.c (usage): Restore translated part of bug string.
2151 * ar.c (usage): Likewise.
2152 * nlmconv.c (show_usage): Likewise.
2153 * nm.c (usage): Likewise.
2154 * objcopy.c (copy_usage): Likewise.
2155 (strip_usage): Likewise.
2156 * objdump.c (usage): Likewise.
2157 * readelf.c (usage): Likewise.
2158 * size.c (usage): Likewise.
2159 * strings.c (usage): Likewise.
2160 * windres.c (usage): Likewise.
2162 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
2163 (DEP): Quote when passing vars to sub-make. Add warning
2165 (DEP1): Rewrite for "gcc -MM".
2166 (CLEANFILES): Add DEP2.
2167 Update dependencies.
2168 * Makefile.in: Regenerate.
2170 2000-04-04 H.J. Lu <hjl@gnu.org>
2172 * Makefile.am (GENERATED_HFILES): Add rcparse.h
2173 (arparse.h): Depend on arparse.c
2174 (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
2176 2000-04-03 H.J. Lu (hjl@gnu.org)
2178 * size.c (usage): Use REPORT_BUGS_TO.
2180 2000-04-03 Alan Modra <alan@linuxcare.com.au>
2182 * bucomm.h: #include "bin-bugs.h"
2183 * addr2line.c (usage): Use REPORT_BUGS_TO.
2184 * ar.c (usage): Likewise.
2185 * nlmconv.c (show_usage): Likewise.
2186 * nm.c (usage): Likewise.
2187 (OPTION_TARGET): Define.
2188 (long_options): Use OPTION_TARGET rather than 200.
2191 * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
2192 (strip_usage): Likewise.
2193 * objdump.c (usage): Likewise.
2194 * readelf.c (usage): Likewise.
2195 * strings.c (usage): Likewise.
2196 * windres.c (usage): Likewise.
2198 2000-03-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
2200 * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
2202 2000-03-27 Nick Clifton <nickc@cygnus.com>
2204 * rddbg.c (read_section_stabs_debugging_info): Catch out of range
2205 string offsets in corrupt stabs entries.
2207 2000-03-27 Alan Modra <alan@linuxcare.com.au>
2209 * readelf.c: Include elf/avr.h
2210 (dump_relocations): Add EM_AVR case.
2212 2000-03-09 Tim Waugh <twaugh@redhat.com>
2214 * strings.1: Correct '-bytes' to '--bytes'.
2216 2000-03-08 H.J. Lu <hjl@gnu.org>
2218 * Makefile.am (install-exec-local): Depend on
2219 install-binPROGRAMS for parallel make.
2220 * Makefile.in: Regenerated.
2222 2000-02-27 Ian Lance Taylor <ian@zembu.com>
2224 From Brad Lucier <lucier@math.purdue.edu>:
2225 * readelf.c (process_dynamic_segment): Add cast to make sure
2226 argument to %* is int.
2228 2000-02-25 H.J. Lu <hjl@gnu.org>
2230 * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
2232 2000-02-24 Nick Clifton <nickc@cygnus.com>
2234 * configure.in: Add arm-wince, mips-pe and sh-pe targets.
2235 * configure: Regenerate.
2237 * dlltool.c: Add support for sh-pe and mips-pe targets.
2238 * rescoff.c: Add support for sh-pe and mips-pe targets.
2240 2000-02-23 H.J. Lu <hjl@gnu.org>
2242 * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
2244 2000-02-22 Nick Clifton <nickc@cygnus.com>
2246 * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
2248 2000-02-22 Ian Lance Taylor <ian@zembu.com>
2250 From Brad Lucier <lucier@math.purdue.edu>:
2251 * readelf.c (process_version_sections): Add casts to make sure
2252 argument to %* is an int.
2253 (process_mips_specific): Add casts to make printf arguments match
2256 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
2258 * objdump.c (dump_section_header): Change `opb' to unsigned.
2259 (find_symbol_for_address): Same here.
2260 (disassemble_data): And here. Change `addr_offset',
2261 `stop_offset', `nextstop_offset' to unsigned long.
2262 (dump_data): Change opb to unsigned.
2264 2000-02-18 Frank Ch. Eigler <fche@redhat.com>
2266 * resrc.c: Remove unmatched #if for cygwin.
2268 2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com>
2270 * binutils.texi: Document the change of flavor name from atpcs-special
2271 to special-atpcs to prevent name conflict in gdb.
2273 2000-02-08 Timothy Wall <twall@redhat.com>
2275 * objdump.c (show_line): Fix bug preventing printing of the very
2276 first line (line zero) of a file when interlisting source and
2277 assembly. Added option to print entire context from start of file
2278 when the first line from that file is encountered.
2280 2000-02-03 Timothy Wall <twall@redhat.com>
2282 * objdump.c (dump_section_header, find_symbol_for_address,
2283 show_line, disassemble_bytes, disassemble_data, dump_data):
2284 distinguish between octets and bytes.
2286 2000-01-27 Thomas de Lellis <tdel@windriver.com>
2288 * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
2289 check to unresolved symbols.
2290 (print_symbol_info_sysv): Ditto.
2291 (print_symbol_info_posix): Ditto.
2293 * binutils.texi: Document new 'V' symclass flag for nm.
2295 2000-01-27 Nick Clifton <nickc@redhat.com>
2297 * binutils.texi (objdump): Document new ARM specific
2298 disassembler options.
2300 * objdump.c (usage): Call disassembler_usage().
2302 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
2304 * readelf.c (get_dynamic_flags): Return buff.
2305 (process_dynamic_segment): Don't pass error strings to printf
2307 (read_and_display_attr): Use lx and ld to print longs.
2308 (process_corefile_note_segment): Cast bfd_vma to unsigned long
2312 2000-01-17 Nick Clifton <nickc@cygnus.com>
2314 * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
2316 2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
2318 * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
2320 (debug_tag_type): Here too.
2321 * ieee.c (ieee_builtin_type): And here.
2322 * stabs.c (parse_stab_type, parse_stab_array_type): And here.
2324 2000-01-13 Nick Clifton <nickc@cygnus.com>
2326 * readelf.c (get_machine_name): Change EM_S370 to return "IBM
2329 2000-01-11 Nick Clifton <nickc@cygnus.com>
2331 * readelf.c (get_dynamic_type): Remove DT_ENCODING.
2333 2000-01-10 Nick Clifton <nickc@cygnus.com>
2335 * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
2337 2000-01-07 Mumit Khan <khan@xraylith.wisc.edu>
2339 * windres.c (long_options): Add --use-temp-file and
2340 --no-use-temp-file options.
2344 * windres.h: Update read_rc_file prototype.
2346 * resrc.c (cpp_temp_file): New static variable.
2347 (istream_type): New static variable.
2348 (close_pipe): Delete function.
2349 (run_cmd): New static function.
2350 (open_input_stream): New static function.
2351 (close_input_stream): New static function.
2352 (look_for_default): Handle DOS directory separator. Use
2353 open_input_stream instead of popen.
2354 (read_rc_file): Likewise.
2356 * binutils.texi: Document --use-temp-file, --no-use-temp-file
2359 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
2361 * dlltool.c (create_compat_implib): New variable.
2362 (gen_exp_file): Use.
2363 (make_one_lib_file): Use.
2364 (long_options): Add --compat-implib option.
2368 * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
2369 (main): Use. Don't look for "32" in cygwin and mingw target names.
2371 2000-01-03 Nick Clifton <nickc@cygnus.com>
2373 * binutils.texi: Document new, ARM specific disassembler
2374 command line switch "-M force-thumb".
2376 For older changes see ChangeLog-9899
2382 version-control: never