1 2002-04-10 Nick Clifton <nickc@cambridge.redhat.com>
3 * rcparse.y: Set MEMFLAG_PURE by default.
5 2002-04-09 Bernd Herd <info@herdsoft.com>
7 * rcparse.y: CLASS definitions in DIALOG resources
9 Fix typo in BEDIT warning.
10 Don't add default dialog style when explicit style specified.
11 Add WS_CAPTION dialog style if CAPTION is specified.
13 * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
14 (handle_quotes) "\a" escape (used for right justified key
15 definitions in menus) is encodes as binary 8.
17 * resrc.c (write_rc_dialog): Print style even if it is 0.
18 (write_rc_directory): Fix overlooked sublang shift bug.
19 (bin_to_res_dialog): Don't print empty dialog caption.
21 * resbin.c (bin_to_res_dialog): Use signature to identify
24 * windres.c (main): Set default LANGUAGE to english/us.
26 2002-04-09 Gunnar Degnbol <degnbol@danbbs.dk>
28 * resrc.c: print CLASS names in quotes
30 2002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
32 * MAINTAINERS: Update my email address.
34 2002-04-04 Alan Modra <amodra@bigpond.net.au>
36 * dep-in.sed: Cope with absolute paths.
37 * Makefile.am (dep.sed): Subst TOPDIR.
39 * Makefile.in: Regenerate.
41 2002-03-27 Peter Targett <peter.targett@arc.com>
43 * MAINTAINERS: Update my email address.
45 2002-03-21 Alan Modra <amodra@bigpond.net.au>
47 * Makefile.am: Run "make dep-am".
48 * Makefile.in: Regenerate.
49 * doc/Makefile.in: Regenerate.
50 * po/POTFILES.in: Regenerate.
51 * aclocal.m4: Regenerate.
52 * config.in: Regenerate.
53 * configure: Regenerate.
55 2002-03-20 Daniel Berlin <dan@dberlin.org>
57 * readelf.c: Add support for displaying dwarf2 location lists.
58 (do_debug_loc, debug_loc_section, debug_loc_size): New.
59 (parse_args): Use 'O' as shorthand for displaying location list
61 (process_section_headers): Handle debug_loc as well.
62 (load_debug_loc): New.
63 (free_debug_loc): New.
64 (fetch_location_list): New.
65 (display_debug_loc): New.
66 (display_debug_info): Call load_debug_loc and free_debug_loc.
67 (debug_displays): We can display .debug_loc now, too.
68 (usage): Update usage string.
69 (read_and_display_attr_value): Note location lists, but don't
72 2002-03-18 Tom Rix <trix@redhat.com>
74 * Makefile.am: Add binutils emulation support.
76 * configure.tgt: New file. Same.
77 * ar.c (main): Use ar_emul_parse_arg.
78 (usage): Use ar_emul_usage.
79 (replace_members): Use ar_emul_replace, ar_emul_append.
80 * binemul.c: New file. Define the binutils emulation
81 layer. Define default methods.
82 * binemul.h: New file. Binutils emulation layer header file.
83 * emul_aix.c: New file. AIX binutils emulation.
84 * emul_vanilla.c: New file. Default binutils emulation.
85 * Makefile.in: Regenerate.
88 2002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
90 * po/fr.po: Updated version.
92 2002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
94 * po/fr.po: Updated version.
96 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
98 * README: Update some version numbers.
100 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
102 * doc/binutils.texi (Target Selection): Fix LD crossreferences.
103 (Architecture Selection): Likewise.
105 2002-03-01 Dmitry Timoshkov <dmitry@baikal.ru>
107 * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
108 generating .exp file.
110 2002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
112 * readelf.c (dump_relocations): Fix typo.
114 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
116 * NEWS: Mark 2.12 branch.
118 2002-02-18 Timothy Daly <remote_bob@yahoo.com>
120 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
121 types for 64-bit MIPS. Narrow some fields for 80-char
123 (dump_relocations): Change spelling from 'unrecognised'
125 (decode_ARM_machine_flags): Likewise.
126 (parse_args): Likewise.
127 (read_and_display_attr_value): Likewise.
128 (display_debug_section): Likewise.
130 2002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
132 * NEWS: Mention support for MMIX.
134 2002-02-13 Matt Fredette <fredette@netbsd.org>
136 * readelf.c (get_machine_flags): Recognize EF_M68000.
138 2002-02-12 Alexandre Oliva <aoliva@redhat.com>
140 * MAINTAINERS: Added self as MN10300 co-maintainer.
142 2002-02-12 Alan Modra <amodra@bigpond.net.au>
144 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
147 2002-02-11 Daniel Jacobowitz <drow@mvista.com>
149 * MAINTAINERS: List myself as branch maintainer.
151 2002-02-11 Alan Modra <amodra@bigpond.net.au>
153 * configure: Regenerate.
154 * objcopy.c: Update copyright date.
155 * doc/Makefile.in: Regenerate.
157 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
159 * nlmconv.c: Back out localtime PARAMS change.
161 2002-02-11 Alan Modra <amodra@bigpond.net.au>
163 * objcopy.c (MKDIR): Define.
164 (copy_archive): Make name_list.name const. Use MKDIR.
165 Handle duplicate files in archives by making more temp dirs.
167 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
169 * coffdump.c: Include "getopt.h" after "bucomm.h"
170 so that macros are defined correctly.
171 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
172 prototype. Prototype main.
173 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
175 2002-02-06 Alexandre Oliva <aoliva@redhat.com>
177 * MAINTAINERS: Added self as SH co-maintainer.
179 2002-02-05 Nick Clifton <nickc@redhat.com>
181 * po/tr.po: Updated translation.
183 2002-02-01 Alan Modra <amodra@bigpond.net.au>
185 * Makefile.am: Run "make dep-am"
186 * Makefile.in: Regenerate.
188 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
190 * nm.c (print_value): Mark abfd unused.
192 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
194 * unwind-ia64.c (unw_decoder): Change second argument
195 to unsigned int, to match function prototypes.
197 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
199 * objdump.c: Include "getopt.h" after "bucomm.h" so that
200 __GNU_LIBRARY__ will be defined.
203 2002-01-27 Daniel Jacobowitz <drow@mvista.com>
205 * configure: Regenerated.
207 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
209 * doc/Makefile.am (install): Depend on install-info.
210 * doc/Makefile.in: Regenerate.
212 2002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
214 * objcopy.c (strip_usage): Document -d as an alias
217 * size.c (usage): Document [-t | --totals] options.
218 (long_options): Add --totals option.
219 (main): If the [-t | --totals] option is specified and
220 the output format is Berkeley-style, print the total
221 text, data, and bss sizes of all objects listed.
222 (print_berkeley_format): If the [-t | --totals] option
223 is specified, track the total text, data, and bss
225 * doc/binutils.texi (size): Document [-t | --totals] options.
226 (strip): Document -d as an alias for --strip-debug.
227 * NEWS: Mention new feature of size.
229 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
231 * po/fr.po: Updated version.
232 * po/es.po: Updated version.
234 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
236 * addr2line.c (usage): Update text to provide verbose
237 description of the command line options.
238 * ar.c (usage): Update text to provide verbose
239 description of the command line options.
240 (main): Accept -h and -H when running as ranlib.
241 * coffdump.c (show_usage): Update text to provide verbose
242 description of the command line options.
243 * dlltool.c (main): Accept -H as an alias for --help.
244 * nlmconv.c (show_usage): Update text to provide verbose
245 description of the command line options.
246 * nm.c (usage): Replace OPTIONS with option(s).
247 (main): Accept -H as an alias for --help.
248 * objcopy.c (strip_main): Accept -H as an alias for --help.
249 * objdump.c (main): Accept -v as an alias for --verbose.
250 * readelf.c (usage): Adjust format to match style used in
252 * size.c (usage): Update text to provide verbose description
253 of the command line options.
254 (main): Accept -v, -h and -H as command line options.
255 * srconv.c (show_usage): Update text to provide verbose
256 description of the command line options.
257 * strings.c (main): Accept -H and -v as command line options.
258 (usage): Update text to provide verbose description of the
259 command line options.
260 * sysdump.c (show_usage): Update text to provide verbose
261 description of the command line options.
262 * windres.c (usage): Adjust format to match style used in
265 * coffdump.c: Fix formatting.
266 * nlmconv.c: Fix formatting.
267 * srconv.c: Fix formatting.
268 * sysdump.c: Fix formatting.
270 2002-01-22 Alan Modra <amodra@bigpond.net.au>
272 * Makefile.am: Run "make dep-am".
273 * Makefile.in: Regenerate.
275 2002-01-18 Andreas Jaeger <aj@suse.de>
277 * version.c (print_version): Update year.
279 2002-01-17 Alan Modra <amodra@bigpond.net.au>
281 * readelf.c (get_machine_name): Handle EM_PPC64.
282 (guess_is_rela): Here too.
284 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
286 * po/binutils.pot: Regenerate.
287 * po/fr.po: Regenerate.
288 * po/tr.po: Regenerate.
290 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
292 * po/tr.po: Import new version.
294 2002-01-16 Alan Modra <amodra@bigpond.net.au>
296 * readelf.c (get_ppc64_dynamic_type): New.
297 (get_dynamic_type): Call it.
299 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
301 * objcopy.c (copy_usage): Use "options" instead of "switches".
302 (strip_usage): Use "options" instead of "switches".
303 * doc/binutils.texi (dlltool): Refer to "options" instead of
306 2002-01-14 Richard Earnshaw <rearnsha@arm.com>
308 * MAINTAINERS: Add self as co-maintainer for the ARM code.
310 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
312 * po/es.po: Import from translation project.
313 * configure.in (ALL_LINGUAS): Add es.
314 * configure: Regenerate.
316 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
318 * readelf.c (get_netbsd_elfcore_note_type): Use
319 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
321 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
323 * readelf.c: Update copyright years.
324 (get_note_type): Return a const char *.
325 (get_netbsd_elfcore_note_type): New function.
326 (process_note): Use get_netbsd_elfcore_note_type to get
327 the note type string for NetBSD ELF core files.
329 2002-01-06 Steve Ellcey <sje@cup.hp.com>
331 * readelf.c (get_ia64_segment_type): Add support for macros.
332 (get_segment_type): Add support for IA64 specific macros.
334 2001-12-20 Julian v. Bock <julian@wongr.net>
336 * readelf.c (print_symbol): New function: Print a formatted symbol
337 name. If --wide is specified do not truncate it.
338 (dump_relocations): Use print_symbol() to print symbol names.
339 (process_symbol_table): Likewise.
340 (process_syminfo): Likewise.
341 (process_mips_specific): Likewise.
342 (usage): Document new feature of --wide switch.
343 * doc/binutils.texi (objdump): Document additional behaviour of
346 2001-12-18 Michael Snyder <msnyder@redhat.com>
348 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
349 (copy_object): Don't set the start address or flags of a core file.
350 (copy_section): Don't relocate a core file. Don't copy contents
351 if the input section has the contents flag set, but the output
352 section does not (which happens with the fake 'note' pseudo-
353 sections that BFD creates for corefiles).
355 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
357 * readelf.c (get_machine_flags): Recognize header flags for ABI and
358 ASE extensions. More robust code for ISA checking. Ignore empty fields
359 in header flags for GNU extensions.
361 2001-12-18 Alan Modra <amodra@bigpond.net.au>
363 * objcopy.c (copy_archive): Set output bfd format outside the loop.
365 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
367 * po/ja.po: Import from translation project.
368 * configure.in (ALL_LINGUAS): Add ja.
369 * configure: Regenerate.
371 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
373 * addr2line.c (main): Protoype.
374 * ar.c (main): Protoype.
375 * nm.c (main): Protoype.
376 * objcopy.c (main): Protoype.
377 * objdump.c (main): Protoype.
378 * size.c (main): Protoype.
379 * strings.c (main): Protoype.
381 2001-12-17 Alan Modra <amodra@bigpond.net.au>
383 * readelf.c (symtab_shndx_hdr): New global.
384 (SECTION_HEADER_INDEX): Define.
385 (SECTION_HEADER_NUM): Define.
386 (SECTION_HEADER): Define.
387 (GET_ELF_SYMBOLS): Pass two params rather than three.
388 (get_32bit_elf_symbols): Take file and section args. Read and
389 use SHT_SYMTAB_SHNDX.
390 (get_64bit_elf_symbols): Likewise.
391 (dump_relocations): Use SECTION_HEADER to index "section_headers".
392 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
393 Remember symtab_shdx_hdr.
394 (process_program_headers): Scan from index 1 for segment map.
395 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
397 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
398 (process_unwind): Likewise.
399 (process_version_sections): Likewise.
400 (process_symbol_table): Likewise.
401 (display_debug_info): Likewise.
402 (process_dynamic_segment): Fake up a symtab section for changed
404 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
405 (process_program_headers): Kill signed/unsigned warning.
406 (load_debug_str): Likewise.
407 (display_debug_info): Likewise.
409 2001-12-13 Jakub Jelinek <jakub@redhat.com>
411 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
413 2001-12-11 Alan Modra <amodra@bigpond.net.au>
415 * readelf.c (process_file_header): Print extended e_shnum and
416 e_shdtrndx values. Set elf_header values for same.
417 (get_32bit_section_headers): Add "num" arg to read "num" headers.
418 (get_64bit_section_headers): Likewise.
419 (process_section_headers): Update calls.
420 (get_file_header): Call get_32bit_section_headers or 64bit variant.
422 2001-12-10 Jakub Jelinek <jakub@redhat.com>
424 * objcopy.c (setup_section): Copy entsize.
426 2001-12-07 Geoffrey Keating <geoffk@redhat.com>
428 * readelf.c (guess_is_rela): Add support for stormy16.
429 (dump_relocations): Likewise.
430 (get_machine_name): Likewise.
432 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
434 * dllwrap.c (main) Replace multiple strings describing a
435 single error with a single, newline escaped sentence to permit
436 better translation into foreign languages.
438 * readelf.c (get_elf_class): Remove internalionalisation of ELF
441 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
443 * strings.c (get_char): Initialize value.
445 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
447 * arlex.l: Silence compile warnings.
448 * arsup.h: Likewise. Fix formatting.
450 2001-12-04 Jakub Jelinek <jakub@redhat.com>
452 * strings.c: Include config.h before bfd.h.
453 (file_off): New type.
455 (print_strings): Use file_off instead of file_ptr. Print addresses
456 which don't fit into long correctly.
457 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
459 (strings_file): Use file_off instead of file_ptr. Use file_open.
460 * configure.in: Check for getc_unlocked.
461 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
463 * configure: Rebuilt.
464 * config.h.in: Rebuilt.
466 2001-11-29 H.J. Lu <hjl@gnu.org>
468 * bucomm.c (make_tempname): Revert the changes made on
469 2001-11-14 and 2001-11-12. They won't work with directories.
471 2001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
473 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
474 CFLAGS_FOR_TARGET to runtest in environment.
475 * Makefile.in: Rebuild.
476 * doc/Makefile.in: Rebuild.
478 2001-11-28 Mike Stump <mrs@wrs.com>
480 * objcopy.c (setup_section): Preserve SEC_RELOC when
481 --set-section-flags is used.
483 2001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
485 * readelf.c (do_debug_str): New variable.
486 (display_debug_str): New function: Display the contents of a
488 (load_debug_str): New function: Load in the contents of a
490 (free_debug_str): New function: Free the memory used by
492 (fetch_indirect_string): Retrieve a string from the .debug_str
495 (parse_args): Accept -ws.
496 (process_section_headers): Allow the display of the .debug_str
498 (read_and_display_attr_value): Use fetch_indirect_string. Show
499 offset into .debug_str section.
500 (display_debug_info): Use load_debug_str and free_debug_str.
501 (debug_displays): Add .debug_str.
502 * doc/binutils.texi: Document -ws.
504 2001-11-19 Andreas Jaeger <aj@suse.de>
506 * testsuite/binutils-all/objdump.exp: Add x86-64.
508 2001-11-15 Andreas Schwab <schwab@suse.de>
510 * readelf.c: Fix warnings without terminating newline.
512 2001-11-15 Alan Modra <amodra@bigpond.net.au>
514 * doc/binutils.texi (objdump): Document ppc -M options.
516 2001-11-14 Andreas Jaeger <aj@suse.de>
518 * doc/binutils.texi (objdump): Fix description to use x86-64.
520 2001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
522 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
523 not all systems provide mkstemp.
525 2001-11-14 Alan Modra <amodra@bigpond.net.au>
527 * doc/binutils.texi (objdump): Document x86 -M options.
529 2001-11-13 Keith Walker <keith.walker@arm.com>
531 * readelf.c (read_and_display_attr_value): New function to
532 handle DW_FORM_indirect.
533 (read_and_display_attr): Use it.
535 2001-11-13 Geoffrey Keating <geoffk@redhat.com>
537 * readelf.c (display_debug_lines): Deal with unknown standard
538 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
541 2001-11-13 Timothy Wall <twall@alum.mit.edu>
543 * MAINTAINERS: Add self as tic54x maintainer. This target
544 includes the IBM C54XDSP clone.
546 2001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
548 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
550 2001-11-09 Jeffrey A Law (law@cygnus.com)
552 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
553 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
554 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
555 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
556 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
557 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
558 (unw_decode_b2, unw_decode_b3_b4): Likewise.
560 * readelf.c (get_elf_class): Fix ISO portability glitch.
561 (get_data_encoding, get_osabi_name, request_dump): Likewise.
563 2001-11-07 Jakub Jelinek <jakub@redhat.com>
565 * readelf.c (debug_str, debug_str_size): New.
566 (display_debug_abbrev): If no abbrevs were read, skip the CU.
568 (read_and_display_addr): Handle DW_FORM_strp.
569 (display_debug_info): Read .debug_str section if present,
570 so that DW_FORM_strp can be handled.
571 Fix test for non-existant .debug_abbrev section.
573 2001-11-05 Jakub Jelinek <jakub@redhat.com>
575 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
577 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
579 2001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
581 * MAINTAINERS: Add self as s390/s390x maintainer.
583 2001-11-02 Tom Rix <trix@bluey.cygnus.com>
585 * MAINTAINERS: Add self as PPC XCOFF maintainer.
587 2001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
589 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
590 * configure: Regernate.
591 * po/fr.po: New file.
592 * po/tr.po: New file.
594 2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
596 * MAINTAINERS: Add self as MMIX port maintainer.
597 * readelf.c: Include elf/mmix.h.
598 (guess_is_rela): MMIX is RELA.
599 (dump_relocations): Handle MMIX relocations.
600 * Makefile.am: Regenerate dependencies.
601 * Makefile.in: Regenerate.
603 2001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
605 * readelf.c (parse_args): Handle multiple options to the -w
608 2001-10-12 Jakub Jelinek <jakub@redhat.com>
610 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
611 LOPROC, LOOS and LOUSER.
613 2001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
615 * MAINTAINERS: Update my email address.
617 2001-10-03 Alan Modra <amodra@bigpond.net.au>
619 * doc/Makefile.in: Regenerate.
620 * configure: Regenerate.
622 2001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
624 * readelf.c (display_debug_line, display_debug_pubnames,
625 display_debug_info, display_debug_frames): Detect and warn
626 about 64-bit format entries.
627 (display_debug_aranges): Reword 64-bit warning.
628 (debug_displays): Add .debug_pubtypes as a known, but not yet
629 supported, debug section.
631 2001-10-02 Alan Modra <amodra@bigpond.net.au>
633 * coffdump.c (PROGRAM_VERSION): Delete.
634 (main <'V'>): Call print_version.
635 * srconv.c: Likewise.
636 * sysdump.c: Likewise.
637 * version.c (program_version): Remove.
638 (print_version): Use BFD_VERSION_STRING. Just print the current
639 year in copyright message.
640 * addr2line.c (program_version): Remove unused declaration.
641 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
642 place of BFD_VERSION.
643 * Makefile.am (Makefile): Depend on bfd/configure.in.
644 (cplus-dem.o): Depend on Makefile.
646 * Makefile.in: Regenerate.
648 2001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
650 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
651 format .debug_arange sections.
652 (main): Add missing prototype.
654 2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
656 * Makefile.am: Update dependencies with "make dep-am".
657 * Makefile.in: Regenerate.
659 2001-09-28 Richard Henderson <rth@redhat.com>
661 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
663 2001-09-26 Alan Modra <amodra@bigpond.net.au>
665 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
667 (non_fatal): Likewise.
668 * objdump.c (objdump_sprintf): Likewise.
669 * readelf.c (error): Likewise.
672 2001-09-25 Jakub Jelinek <jakub@redhat.com>
674 * readelf.c (do_wide): New.
675 (options): Add --wide.
676 (usage, parse_args): Likewise.
677 (process_program_headers): Put each segment on a single line if
679 (process_section_headers): Put each section on a single line if
681 * doc/binutils.texi: Document it.
684 2001-09-25 Alan Modra <amodra@bigpond.net.au>
686 * readelf.c (print_vma): Print 8 digits of low hex value.
688 2001-09-24 Andreas Jaeger <aj@suse.de>
690 * nlmconv.c: Fix warnings about unused attributes and function
693 * strings.c: Add prototype for get_char.
695 2000-09-19 H.J. Lu <hjl@gnu.org>
697 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
698 $(srcdir)/cxxfilt.man.
699 * doc/Makefile.in: Rebuild.
701 2001-09-19 Alan Modra <amodra@bigpond.net.au>
703 * objcopy.c (copy_main): Correct rename-section string parsing.
704 Consolidate new_name parsing, and error messages.
706 2001-09-18 Bruno Haible <haible@clisp.cons.org>
708 * addr2line.c: Don't include <ctype.h>.
709 (main): For gettext, also set the LC_CTYPE locate facet.
710 * ar.c (main): Likewise.
711 * coffdump.c (main): Likewise.
712 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
713 (main): For gettext, also set the LC_CTYPE locate facet.
714 Use ISALNUM instead of isalpha/isdigit.
715 * dllwrap.c: Don't include <ctype.h>.
716 (main): For gettext, also set the LC_CTYPE locate facet.
717 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
718 (main): For gettext, also set the LC_CTYPE locate facet.
719 Use TOUPPER instead of islower/toupper.
720 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
721 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
722 Use TOUPPER instead of islower/toupper.
723 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
724 * objcopy.c (main): Likewise.
725 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
726 (disassemble_bytes): Use ISPRINT instead of isprint.
727 (dump_section_stabs): Use ISDIGIT instead of isdigit.
728 (dump_data): Use ISPRINT instead of isprint.
729 (main): For gettext, also set the LC_CTYPE locate facet.
730 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
731 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
732 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
733 Use TOUPPER instead of islower/toupper.
734 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
735 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
736 (write_rc_accelerators): Use ISPRINT instead of isprint.
737 (write_rc_rcdata): Likewise.
738 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
739 * srconv.c (main): Likewise.
740 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
741 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
742 isdigit/isupper/islower.
743 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
744 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
745 stab_demangle_prefix, stab_demangle_qualified,
746 stab_demangle_template, stab_demangle_type,
747 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
748 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
749 (isgraphic): Use ISPRINT instead of isascii/isprint.
750 (main): Remove HAVE_LC_MESSAGES dependency.
751 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
752 (pbarray): Use ISPRINT instead of isprint.
753 (main): For gettext, also set the LC_CTYPE locate facet.
754 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
755 (format_from_filename): Use ISPRINT instead of isprint.
756 (main): For gettext, also set the LC_CTYPE locate facet.
757 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
758 (unicode_print): Use ISPRINT instead of isprint.
759 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
760 (stab_variable): Use ISDIGIT instead of isdigit.
762 2001-09-18 Alan Modra <amodra@bigpond.net.au>
764 * ar.c (print_contents): Cast args of bfd_seek to the right types.
765 Replace bfd_read call with call to bfd_bread.
766 (extract_file): Likewise.
768 * objdump.c (dump_section_header): Cast section->filepos to
769 unsigned long to suit printf format string.
770 * readelf.c (process_section_headers): Similarly for sh_offset.
771 (process_unwind): Likewise.
773 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
775 * strings.c (encoding, encoding_bytes): New variables.
776 (long_options): Add --encoding.
777 (main): Accept -e and --encoding.
778 (get_char): New function. Read a, possibly wide, character from
780 (print_strings): Use get_char().
781 (usage): Document new command line option.
782 * doc/binutils.texi: Document new command line option.
783 * NEWS: Announce new command line option.
785 2001-09-12 Alexandre Oliva <aoliva@redhat.com>
787 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
788 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
789 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
790 Removed EM_CYGNUS_ARC.
792 2001-09-04 Jeffrey A Law (law@cygnus.com)
794 * readelf.c: Include elf/h8 for H8 series definitions.
795 (guess_is_rela): H8 series if RELA.
796 (dump_relocations): Handle H8 series relocations.
798 2001-08-31 Eric Christopher <echristo@redhat.com>
800 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
802 2001-08-29 Peter Targett <peter.targett@arccores.com>
804 * MAINTAINERS: Include ARC Maintainer.
806 2001-08-29 Ben Elliston <bje@redhat.com>
808 * stabs.c (stab_demangle_template): Initialise s4.
810 2001-08-27 Alan Modra <amodra@bigpond.net.au>
812 * readelf.c (dump_relocations): Recognise EM_PPC64.
814 2001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
816 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
818 2001-08-25 H.J. Lu <hjl@gnu.org>
820 * nm.c (print_width): New.
821 (display_rel_file): Set `print_width' according to
823 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
825 2001-08-24 Alexandre Oliva <aoliva@redhat.com>
827 * objcopy.c (use_alt_mach_code): New variable.
828 (OPTION_ALT_MACH_CODE): Define.
829 (copy_options): Added --alt-machine-code.
830 (copy_main): Handle it.
831 (copy_object): Switch to alternate machine code if requested.
832 * doc/binutils.texi: Document new option.
835 2001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
837 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
839 2001-08-21 H.J. Lu <hjl@gnu.org>
841 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
842 (display_debug_info): Cast for 64bit hosts.
843 (display_debug_frames): Likewise.
844 (process_mips_specific): Likewise.
846 2001-08-21 Andreas Jaeger <aj@suse.de>
848 * coffgrok.h: Add missing parameter for prototype of coff_grok.
850 * sysdump.c: Add missing prototypes.
851 * srconv.c: Likewise.
852 * unwind-ia64.c: Likewise.
853 * coffdump.c: Likewise.
855 * sysinfo.y: Print prototypes, include <ansidecl.h>.
857 * coffgrok.c: Add missing prototypes, include libiberty.h instead
858 of declaring xcalloc.
860 2001-08-10 H.J. Lu <hjl@gnu.org>
862 * nm.c (print_value): Add one arg, bfd *.
863 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
864 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
865 (print_symbol_info_sysv): Likewise.
866 (print_symbol_info_posix): Likewise.
868 * objdump.c (dump_section_header): Replace printf_vma with
870 (print_section_stabs): Likewise.
871 (dump_bfd_header): Likewise.
872 (objdump_print_value): Replace sprintf_vma with
874 (disassemble_bytes): Likewise.
875 (dump_reloc_set): Likewise.
877 2001-08-10 Andreas Jaeger <aj@suse.de>
879 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
881 * configure: Regenerate.
883 2001-08-09 Alan Modra <amodra@bigpond.net.au>
885 * readelf.c: Add missing prototypes.
886 * objdump.c: Likewise. Format existing prototypes.
888 2001-08-08 Alexandre Oliva <aoliva@redhat.com>
890 * readelf.c (display_debug_info): Add to abbrev_offset the addend
891 of any RELA relocation for the abbrev_offset memory location that
892 refers to the .debug_abbrev section symbol.
894 2001-08-07 H.J. Lu <hjl@gnu.org>
896 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
897 (main): Return process_file ().
899 2001-08-05 Philip Blundell <philb@gnu.org>
901 * doc/binutils.texi: Use "Thumb" not "THUMB".
903 2001-08-03 John Healy <jhealy@redhat.com>
905 Patch suggested by Frank Eigler <fche@redhat.com>.
906 * objdump.c (disassemble_data): Fill in section member of the
907 disasm_info structure.
909 2001-08-03 Tom Walsh <tom@cyberiansoftware.com>
911 * configure.in: Added --with-windres option.
912 * configure: Regenerated.
914 2001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
916 * doc/binutils.texi: Use @command{name} for commands;
917 use @option{-opt} for options; use @table @env for list of options;
918 remove spaces arround [ | ] in synopsis.
920 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
923 2001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
925 * objcopy.c: Fix formatting.
926 (section_rename): New structure.
927 (OPTION_RENAME_SECTION): New switch.
928 (copy_usage): Document new switch.
929 (add_section_rename): New function: Add a node to the section
931 (find_section_rename): New function: Find the new name and
933 (setup_section): Call find_section_name to determine the name
934 of the output section.
935 (copy_main): Handle OPTION_RENAME_SECTION.
936 * binutils.texi: Document new switch.
937 * NEWS: Mention new switch.
939 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
941 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
942 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
943 bug-binutils@gcc.org.
945 2001-07-28 Matthias Kramm <kramm@quiss.org>
947 * bucomm.c (list_supported_architectures): New function.
948 * bucomm.h (list_supported_architectures): Declare.
949 * objdump.c (usage): Call the above.
951 2001-07-25 Dave Brolley <brolley@redhat.com>
953 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
954 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
956 2001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
958 * README: Update for 2.11. Change bug reporting email address.
959 * MAINTAINERS: Tidy up. Change bug reporting email address.
961 2001-07-16 DJ Delorie <dj@redhat.com>
963 * resres.c (write_res_header): Align header size.
964 (res_align_file): Calculate alignment correctly.
966 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
968 * resrc.c (write_rc_resource): Likewise.
969 * windres.h (SUBLANG_SHIFT): Define - as 10.
971 2001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
973 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
975 2001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
977 * MAINTAINERS: Add notes about branch checkins.
979 2001-07-05 Daniel Berlin <dan@cgsoftware.com>
981 * readelf.c (display_debug_macinfo): New function, display
982 .debug_macinfo section.
983 (do_debug_macinfo): New variable.
984 (parse_args): Handle "-w[mM]" to mean display macro info.
985 (process_section_headers): Handle debug_macinfo.
986 (debug_displays): Replace unsupported function with macinfo
987 function for .debug_macinfo display.
988 * doc/binutils.texi: Document new command line switch.
989 * NEWS: Document new feature of readelf.
991 2001-07-05 H.J. Lu <hjl@gnu.org>
993 * objcopy.c (filter_symbols): Don't turn undefined symbols
996 2001-07-03 H.J. Lu <hjl@gnu.org>
998 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
1001 (dlltool.1): Likewise.
1002 (nlmconv.1): Likewise.
1004 (objcopy.1): Likewise.
1005 (objdump.1): Likewise.
1006 (ranlib.1): Likewise.
1007 (readelf.1): Likewise.
1009 (strings.1): Likewise.
1010 (strip.1): Likewise.
1011 (windres.1): Likewise.
1012 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
1013 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
1016 * doc/Makefile.in: Regenerated.
1018 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
1020 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
1022 2001-07-01 Daniel Berlin <dan@cgsoftware.com>
1024 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
1026 2001-06-29 James Cownie <jcownie@etnus.com>
1028 * readelf.c: Support DWARF 2.1 attributes.
1030 2001-06-28 Alan Modra <amodra@bigpond.net.au>
1032 * readelf.c (GET_DATA_ALLOC): Remove.
1034 (get_data): New function combining above macros, with an extra
1036 (slurp_rela_relocs): Use get_data, and catch error return.
1037 (slurp_rel_relocs): Likewise.
1038 (get_32bit_program_headers): Likewise.
1039 (get_64bit_program_headers): Likewise.
1040 (get_32bit_section_headers): Likewise.
1041 (get_64bit_section_headers): Likewise.
1042 (get_32bit_elf_symbols): Likewise.
1043 (get_64bit_elf_symbols): Likewise.
1044 (process_section_headers): Likewise.
1045 (process_relocs): Likewise.
1046 (slurp_ia64_unwind_table): Likewise.
1047 (process_unwind): Likewise.
1048 (get_32bit_dynamic_segment): Likewise.
1049 (get_64bit_dynamic_segment): Likewise.
1050 (process_dynamic_segment): Likewise.
1051 (process_version_sections): Likewise.
1052 (process_symbol_table): Likewise.
1053 (dump_section): Likewise.
1054 (display_debug_info): Likewise.
1055 (display_debug_section): Likewise.
1056 (process_section_contents): Likewise.
1057 (process_corefile_note_segment): Likewise.
1058 (process_mips_specific): Likewise. Also free econf32, econf64.
1060 2001-06-25 Alan Modra <amodra@bigpond.net.au>
1062 * readelf.c (dump_relocations): Print "bad symbol index" if
1063 symtab == NULL with non-zero symtab_index.
1064 (process_relocs): Don't bomb if reloc section has no symsec.
1066 2001-06-24 H.J. Lu <hjl@gnu.org>
1068 * objcopy.c (strip_main): Revert the change made on 2001-05-30
1070 (copy_main): Apply the the change made to strip_main on
1071 2001-05-30 by accident.
1073 2001-06-23 Andreas Jaeger <aj@suse.de>
1075 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
1077 (unw_decode_x2): Likewise.
1078 (unw_decode_x3): Likewise.
1079 (unw_decode_x4): Likewise.
1081 2001-06-23 Ben Elliston <bje@redhat.com>
1083 * MAINTAINERS: Add myself as M88k maintainer.
1085 2001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
1087 * objcopy.c (strip_main): Support -o or --output-file command lien
1090 2001-06-19 H.J. Lu <hjl@gnu.org>
1092 * doc/Makefile.in: Regenerated.
1094 2001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
1096 * readelf.c: Restore formatting.
1098 2001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
1100 * Makefile.am: Move documentation into doc subdirectory.
1101 * Makefile.in: Regenerated.
1102 * binutils.texi: Move into doc subdirectory.
1103 * addr2line.1: Removed.
1105 * dlltool.1: Likewise.
1106 * nlmconv.1: Likewise.
1108 * objcopy.1: Likewise.
1109 * objdump.1: Likewise.
1110 * ranlib.1: Likewise.
1111 * readelf.1: Likewise.
1113 * strings.1: Likewise.
1114 * strip.1: Likewise.
1115 * windres.1: Likewise.
1116 * cxxfilt.man: Likewise.
1117 * doc: New Directory.
1118 * doc/Makefile.am: New file.
1119 * doc/Makefile.in: Generate.
1121 2001-06-09 Alan Modra <amodra@bigpond.net.au>
1123 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
1125 2001-06-01 Alan Modra <amodra@bigpond.net.au>
1127 * MAINTAINERS: Update my email address.
1129 2001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
1131 * objcopy.c: Add new switches: --keep-global-symbol,
1132 --keep-symbols, --localize-symbols, --keep-global-symbols and
1134 * binutils.texi: Document new switches.
1135 * objcopy.1: Regenerate.
1136 * NEWS: Announce new feature.
1138 2001-05-28 Andreas Jaeger <aj@suse.de>
1140 * readelf.c (display_debug_frames): Fix warnings: Remove unused
1141 variables, fix format strings.
1143 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
1145 * objdump.c (disassemble_bytes): Remove section VMA adjustment
1146 when computing the address of the line to show.
1148 2001-05-16 Richard Henderson <rth@redhat.com>
1150 * readelf.c (do_debug_frames_interp): New.
1151 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
1152 (byte_get_big_endian): Likewise.
1153 (parse_args) ['F']: Set do_debug_frames_interp.
1154 (Frame_Chunk): Make data_factor signed, add fde_encoding.
1155 (frame_display_row): Don't trunc pc_begin to int.
1156 (size_of_encoded_value): New.
1157 (display_debug_frames): Handle 64-bit targets. Print raw data
1158 unless do_debug_frames_interp.
1159 (debug_displays): Remove duplicate .debug_frame.
1161 2001-05-15 Ralf Baechle <ralf@gnu.org>
1163 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
1164 The former constant was never in active use and is used otherwise
1167 2001-05-11 Jakub Jelinek <jakub@redhat.com>
1169 * readelf.c (process_unwind): Print all unwind sections, not just
1172 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1174 * readelf.c (process_unwind): Remove const specifier.
1176 2001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
1178 * strings.c (isgraphic): Do not use isascii() unless it is needed
1179 for isprint() to work.
1180 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
1182 2001-04-27 Johan Rydberg <jrydberg@opencores.org>
1184 * NEWS: Announce support for OpenRISC.
1186 2001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
1188 * dlltool.c (do_default_excludes): Initialise to true.
1190 2001-04-10 Alan Modra <amodra@one.net.au>
1192 * MAINTAINERS: Update my email address
1193 * nm.c (print_symbol_info_bsd): Use a simple printf string.
1195 2001-04-05 Hans-Peter Nilsson <hp@axis.com>
1197 * readelf.c (display_debug_lines): Fix typo for "Prologue".
1199 2001-03-30 H.J. Lu <hjl@gnu.org>
1201 * readelf.c (process_unwind): Just return if do_unwind is 0.
1203 2001-03-28 Roger Sayle <roger@metaphorics.com>
1205 * dlltool.c (make_one_lib_file): Fix section flags for
1206 .text, .data and .bss in stub ds*.o files to match those
1209 2001-03-29 H.J. Lu <hjl@gnu.org>
1211 * readelf.c (process_unwind): Only do unwind sections for
1214 2001-03-28 H.J. Lu <hjl@gnu.org>
1216 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
1217 * Makefile.in: Regenerate.
1219 2001-03-26 Andreas Jaeger <aj@suse.de>
1221 * binutils.texi (nm): Fix texi syntax.
1223 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1225 * binutils.texi: Put @c man begin and @c man end indications
1226 to generate man pages using texi2pod and pod2man. Put @c man title
1227 to identify each man. Add SEEALSO entries.
1228 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
1229 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
1231 (*.1): Build the man pages from binutils.texi.
1232 * Makefile.in: Regenerate.
1234 2001-03-13 Eric Kohl <ekohl@rz-online.de>
1236 * defparse.y (opt_equal_name): allow "." in name.
1237 * dlltool.c (def_exports): Added ability to generate forwarded exports.
1238 (gen_exp_file): Likewise.
1240 2001-03-12 Stefan Geuken <mail@stefan-geuken.de>
1242 * NEWS: Document addition of -B switch to objcopy.
1243 * binutils.texi: Document addition of -B switch to objcopy.
1244 * objcopy.c: (copy_options): Add --binary-architecture.
1245 (copy_usage): Document -B/--binary-architecture.
1246 (copy_main): Support -B/--binary-architecture. Set
1247 bfd_external_binary_architecture.
1249 2001-03-11 Andreas Jaeger <aj@suse.de>
1251 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
1252 (dump_relocations): Likewise.
1253 (get_machine_name): Likewise.
1255 2001-02-28 Nick Clifton <nickc@redhat.com>
1257 * readelf.c: (struct unw_aux_info): Remove const modifier for
1259 (process_unwind): Remove non-K&R compliant LHS type cast in call
1260 to GET_DATA_ALLOC macro.
1262 2001-02-28 Philip Blundell <pb@futuretv.com>
1264 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
1265 ABI is in use; remove ambiguity between the "unknown" EABI and
1266 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
1267 renamed EF_xx constants.
1269 2001-02-27 Alan Modra <alan@linuxcare.com.au>
1271 * configure.in (BFD_VERSION): New.
1272 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
1273 * configure: Regenerate.
1274 * Makefile.am: Run "make dep-am"
1275 * Makefile.in: Regenerate.
1277 2001-02-14 Nick Clifton <nickc@redhat.com>
1279 * MAINTAINERS: Add "Obvious Fix" rule.
1281 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1283 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
1284 literal concatenation.
1286 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1288 * readelf.c (struct unw_aux_info): Remove const from the info member.
1289 (process_unwind): Don't type-cast the third argument to the
1290 GET_DATA_ALLOC macro.
1292 2001-02-11 Nick Clifton <nickc@redhat.com>
1294 * readelf.c (dump_relocations): Free corrected allocated
1296 (process_unwind): Fix compile time warning.
1298 2001-02-10 Nick Clifton <nickc@redhat.com>
1300 * binutils.texi: Document new --unwind option to readelf.
1302 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
1304 * readelf.c: Add linux target for S/390.
1306 2001-02-10 Alan Modra <alan@linuxcare.com.au>
1308 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
1311 2001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
1313 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
1314 * aclocal.m4: Regenerate.
1315 * configure: Regenerate.
1317 2001-02-07 Todd Vierling <tv@wasabisystems.com>
1319 * bucomm.c (bfd_target_vector): Change extern array to pointer.
1320 * objdump.c (bfd_target_vector): Likewise.
1322 2001-02-07 David Mosberger <davidm@hpl.hp.com>
1324 * readelf.c (process_unwind): New function.
1325 (slurp_ia64_unwind_table): Ditto.
1326 (dump_ia64_unwind): Ditto.
1327 (find_symbol_for_address): Ditto.
1328 (slurp_rela_relocs): New function (split off from dump_relocations()).
1329 (slurp_rel_relocs): Ditto.
1330 (parse_args): Handle '-u' option.
1332 * unwind-ia64.c: New file.
1333 * unwind-ia64.h: New file.
1334 * Makefile.am: Include unwind-ia64.c in readelf build.
1335 * Makefile.in: Regenerate.
1336 * po/binutils.pot: Regenerate.
1338 2001-02-04 Philip Blundell <philb@gnu.org>
1340 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
1341 * configure: Regenerate.
1343 2001-01-31 Steve deRosier <sderosier@vari-lite.com>
1345 * ieee.c (ieee_add_bb11): Don't check for backslashes
1346 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1348 2001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
1350 * ieee.c: Update copyright.
1351 (ieee_start_compilation_unit): Don't check for backslashes
1352 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1354 * stabs.c: Update copyright. Include "filenames.h".
1355 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
1357 2001-01-23 Jakub Jelinek <jakub@redhat.com>
1359 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
1360 sections are present before using them. Remove code duplication.
1361 (process_symbol_table): Check if VERDEF or VERNEED sections are
1362 present before using them.
1364 2001-01-17 Nick Clifton <nickc@redhat.com>
1366 * objcopy.c (copy_object): Fail if attempting to convert the
1367 endianness of the input object file.
1369 * binutils.texi: Explain that objcopy cannot convert endianness.
1371 2001-01-16 Nick Clifton <nickc@redhat.com>
1373 * readelf.c (string_table_length): New variable.
1374 (SECTION_NAME): Catch out of range indices and missing section
1376 (process_section_headers): Delete useless local variable
1377 string_table_offset. Set the value of string_table_length
1378 after loading the string table.
1379 (process_mips_specific): Use SECTION_NAME macro.
1380 (process_file): Set string_table_length to 0 when it is freed.
1382 2001-01-12 Nick Clifton <nickc@redhat.com>
1384 * version.c (print_version): Update copyright date.
1386 2001-01-11 Peter Targett <peter.targett@arccores.com>
1388 * readelf.c (dump_relocations): Include selection with EM_ARC.
1389 (get_machine_name) Update name to "ARC".
1391 2001-01-09 Nick Clifton <nickc@redhat.com>
1393 * Makefile.am: Add rule to build objdump.o from objdump.c and
1395 * Makefile.in: Regenerate.
1397 * configure.in: Define OBJDUMP_DEFS. Default to empty.
1398 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
1399 -DDISASSEMBLER_NEEDS_RELOCS.
1400 * configure: Regenerate.
1402 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
1403 is defined read in the relocs even if dump_reloc_info is
1406 2001-01-07 Philip Blundell <philb@gnu.org>
1408 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
1412 2000-12-19 Nick Clifton <nickc@redhat.com>
1414 * dlltool.c: Add missing support for arm-epoc-pe.
1415 * configure.in: Add missing support for arm-epoc-pe.
1416 * configure: Regenerate.
1418 2000-12-15 Nick Clifton <nickc@redhat.com>
1420 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
1421 Mode parts of the x86 port.
1423 2000-12-04 Andreas Jaeger <aj@suse.de>
1425 * readelf.c (guess_is_rela): Add EM_X86_64.
1426 (dump_relocations): Add EM_X86_64.
1427 (get_machine_name): Add EM_X86_64.
1428 Include "elf/x86-64.h".
1430 2000-12-12 Nick Clifton <nickc@redhat.com>
1432 * readelf.c: Fix formatting.
1434 2000-12-11 Jan Hubicka <jh@suse.cz>
1436 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
1438 2000-12-07 Andrew Haley <aph@redhat.com>
1440 * readelf.c (display_debug_frames): Only display columns that are
1441 referenced by the frame debug info.
1443 2000-12-05 Nick Clifton <nickc@redhat.com>
1445 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
1447 2000-12-04 Jason Merrill <jason@redhat.com>
1449 * readelf.c (process_section_headers): Handle linkonce.wi sections.
1450 (display_debug_section): Likewise.
1451 (display_debug_info): Display CU header before bailing.
1453 2000-12-01 Chris Demetriou <cgd@sibyte.com>
1455 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
1456 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
1457 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
1459 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
1462 * readelf.c (get_machine_flags): Add case for
1465 2000-11-30 Richard Earnshaw <rearnsha@arm.com>
1467 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
1469 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
1471 * MAINTAINERS: Add J
\81örn Rennecke and self as SH maintainers.
1472 Change sourceware.cygnus.com to sources.redhat.com.
1473 Fix typo for "amongst".
1475 2000-11-28 Nick Clifton <nickc@redhat.com>
1477 * strip.1 (COPYING): Mention that the GNU Free Documentation
1478 License is present in the sources, but not the output, and
1479 also available from the GNU website.
1480 (GNU Free Documentation License): Comment out this section.
1489 * addr2line.1: Ditto.
1491 2000-11-27 DJ Delorie <dj@redhat.com>
1493 * readelf.c (usage): Add -wf (--debug-dump=frames) option.
1494 (parse_args): Support -wf option.
1495 (process_section_headers): Ditto.
1496 (debug_displays): Ditto.
1497 (display_debug_frames): New, dump *_frame sections.
1498 (frame_need_space): Support for above.
1499 (frame_display_row): Ditto.
1500 * binutils.texi: Document it.
1502 2000-11-24 Nick Clifton <nickc@redhat.com>
1504 * NEWS: Announce support for v5t, v5te and XScale.
1506 2000-11-22 Nick Clifton <nickc@redhat.com>
1508 * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
1509 EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
1510 (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
1511 (get_elf_section_flags: Add SHF_GROUP.
1512 (process_section_headers): Adjust output for 32-bit binaries
1513 to look nice on an 80 column terminal.
1515 2000-11-20 H.J. Lu <hjl@gnu.org>
1517 * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
1520 2000-11-17 Richard Henderson <rth@redhat.com>
1522 * readelf.c (display_debug_lines): Adjust last change to
1523 use sizeof (external->li_length).
1525 2000-11-17 Richard Henderson <rth@redhat.com>
1527 * readelf.c (display_debug_lines): Fix section length check
1528 and end_of_sequence computation.
1530 2000-11-06 Nick Clifton <nickc@redhat.com>
1532 * binutils.texi: Add GNU Free Documentation License.
1533 * objcopy.1: Add GNU Free Documentation License.
1534 * objdump.1: Add GNU Free Documentation License.
1535 * addr2line.1: Add GNU Free Documentation License.
1536 * ar.1: Add GNU Free Documentation License.
1537 * nlmconv.1: Add GNU Free Documentation License.
1538 * nm.1: Add GNU Free Documentation License.
1539 * ranlib.1: Add GNU Free Documentation License.
1540 * size.1: Add GNU Free Documentation License.
1541 * strings.1: Add GNU Free Documentation License.
1542 * strip.1: Add GNU Free Documentation License.
1544 2000-10-06 Luciano Gemme <ishitawa@yahoo.com>
1546 * objcopy.c (--srec-len=nn): New parameter to set the
1547 maximum length of generated Srecords.
1548 (--srec-forceS3): New parameter that restricts the generation of
1549 Srecords to type S3 only.
1550 * binutils.texi: Document new command line switches.
1551 * objcopy.1: Docuemnt the new command line switches.
1552 * NEWS: Announce the existence of the new command line switches.
1554 2000-10-31 Nick Clifton <nickc@redhat.com>
1556 * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
1557 code. Add Eric Chrisopher as maintainer of MN10300 port.
1559 2000-10-12 Roger Sayle <roger@metaphorics.com>
1561 * Make comma after string after icon/control optional.
1563 2000-09-13 Anders Norlander <anorland@acc.umu.se>
1565 * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
1567 * NEWS: Mention support for MIPS32.
1569 2000-09-08 Nick Clifton <nickc@redhat.com>
1571 * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
1573 2000-09-07 H.J. Lu <hjl@gnu.org>
1575 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
1576 * configure: Rebuild.
1578 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
1580 * configure: Rebuilt with new libtool.m4.
1582 2000-09-05 Nick Clifton <nickc@redhat.com>
1584 * aclocal.m4: Regenerate.
1585 * config.in: Regenerate.
1586 * configure: Regenerate.
1588 2000-09-04 Todd Vierling <tv@wasabisystems.com>
1590 * strip.1: Fix stray '\' in -o formatting.
1592 2000-09-02 Nick Clifton <nickc@redhat.com>
1594 * configure.in: Increase version number to 2.10.91.
1595 * configure: Regenerate.
1596 * aclocal.m4: Regenerate.
1597 * config.in: Regenerate.
1598 * po/binutils.pot: Regenerate.
1600 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
1602 * acinclude.m4: Include libtool and gettext macros from the
1604 * aclocal.m4, configure: Rebuilt.
1606 2000-08-30 Jamie Guinan <guinan@bluebutton.com>
1608 * resrc.c (close_input_stream): Delete extraneous logic
1610 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
1612 * NEWS: Mention support for CRIS.
1614 2000-08-21 Nick Clifton <nickc@redhat.com>
1616 * addr2line.c: Changed email address for Ulrich Lauther.
1618 2000-08-17 Christopher C. Chimelis <chris@debian.org>
1620 * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
1622 2000-08-17 Nick Clifton <nickc@redhat.com>
1624 * readelf.c (display_debug_pubnames): Only issue warning
1625 message once. Terminate message with a new line.
1626 (display_debug_aranges): Only display version 2 debug info.
1628 2000-08-14 Todd Vierling <tv@wasabisystems.com>
1630 * objcopy.c (strip_main): Silently accept -d as an alias for -g
1631 for compatability with old BSD systems.
1633 2000-08-14 Jason Eckhardt <jle@cygnus.com>
1635 * NEWS: Mention i860 support.
1637 2000-08-11 Carlo Wood <carlo@alinoe.com>
1639 * addr2line.c (main): Add const to char *.
1641 2000-08-11 Geoff Keating <geoffk@cygnus.com>
1643 * ar.c (main): Don't crash if called with no arguments
1644 or only '-X32_64' as an argument.
1646 2000-08-08 DJ Delorie <dj@redhat.com>
1648 * resrc.c: use "gcc -xc" instead of -xc-header
1650 2000-08-05 Jason Eckhardt <jle@cygnus.com>
1652 * readelf.c (elf/i860.h): Include.
1653 (dump_relocations): Add recognition of i860 architecture.
1654 (guess_is_rela): Add recognition of i860 architecture.
1656 2000-08-03 Nick Clifton <nickc@cygnus.com>
1658 * MAINTAINERS: Add information about CGEN maintainers.
1660 2000-07-26 Geoff Keating <geoffk@cygnus.com>
1662 * nm.c (main): Ignore '-X32_64' as an option.
1663 * ar.c (main): Likewise.
1664 * binutils.texi (nm): Document new option.
1667 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1669 * rdcoff.c (external_coff_symbol_p): K&R-ise.
1671 2000-07-20 H.J. Lu <hjl@gnu.org>
1673 * binutils.texi: Put back "@end table" deleted by
1676 2000-07-05 Kenneth Block <krblock@computer.org>
1678 * nm.c: Add optional style to demangle switch.
1679 * objdump.c: Add optional style to demangle switch.
1680 * addr2line.c: Add optional style to demangle switch.
1681 * binutils.texi: Document optional style to demangle
1684 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
1686 * MAINTAINERS: Add self as CRIS port maintainer.
1687 * readelf.c: Include elf/cris.h.
1688 (guess_is_rela): Handle EM_CRIS.
1689 (dump_relocations): Ditto.
1690 (get_machine_name): Ditto.
1691 * Makefile.am: Rebuild dependencies.
1692 * Makefile.in: Regenerate.
1693 * po/binutils.pot: Regenerate.
1695 2000-07-19 H.J. Lu <hjl@gnu.org>
1697 * readelf.c (get_dynamic_type): Change "AUXILARY" to
1699 (process_dynamic_segment): Print out strings for DT_CONFIG,
1700 DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
1702 2000-07-19 Mark Kettenis <kettenis@gnu.org>
1704 * nm.c (usage): Change output of `nm --help' to include a
1705 description of the purpose of the program and a detailed
1706 description of the accepted options.
1708 2000-07-19 H.J. Lu <hjl@gnu.org>
1710 * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
1713 2000-07-19 H.J. Lu <hjl@gnu.org>
1715 * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
1717 2000-07-19 H.J. Lu <hjl@gnu.org>
1719 * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
1721 (process_dynamic_segment): Likewise.
1723 * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
1724 DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
1725 (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
1726 DF_1_NODUMP and DF_1_CONLFAT.
1728 2000-07-18 Nick Clifton <nickc@cygnus.com>
1730 * binutils.texi (readelf): Fix spelling typo.
1732 2000-07-11 Mark Kettenis <kettenis@gnu.org>
1734 * objdump.c (usage): Make output of `objdump --help' more
1735 consistent with the rest of the GNU world. Add a line describing
1736 the purpose of the program.
1738 2000-07-10 David Huggins-Daines <dhd@linuxcare.com>
1740 * stabs.c (parse_stab_range_type): Cast to proper type to fix
1743 2000-07-10 Ryan Bradetich <rbradetich@uswest.net>
1745 * readelf.c (get_dynamic_data): Add casts and use unsigned chars
1747 (process_symbol_table): Ditto.
1748 (procesS_extended_line_op): Ditto.
1749 (display_debug_lines): Ditto.
1750 (display_debug_pubnames): Ditto.
1751 (read_and_display_attr): Ditto.
1753 2000-07-09 Nick Clifton <nickc@cygnus.com>
1755 * MAINTAINERS: Add several more port specific maintainers.
1757 2000-07-05 Nick Clifton <nickc@cygnus.com>
1759 * MAINTAINERS: Add blanket write privs for Michael Meissner.
1761 2000-06-05 DJ Delorie <dj@redhat.com>
1765 2000-07-01 Eric Fifer <EFifer@sanwaint.com>
1767 * dllwrap.c: Changed mistaken dyn_string_append() calls
1768 to dyn_string_append_cstr().
1770 2000-07-01 Alexander Aganichev <AAganichev@hypercom.com>
1772 * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
1773 struct debug_type stores size in bytes.
1775 2000-07-01 Alan Modra <alan@linuxcare.com.au>
1777 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
1778 (CLEANFILES): Add DEPA.
1779 * Makefile.in: Regenerate.
1781 2000-06-27 Alan Modra <alan@linuxcare.com.au>
1783 * ar.c: Revert incorrect 2000-06-25 patch.
1784 * bucomm.c: Likewise.
1786 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
1788 * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
1789 (external_coff_symbol_p): New function.
1790 (parse_coff): Use it.
1792 2000-06-25 Alexander Aganichev <AAganichev@hypercom.com>
1794 * ar.c (normalize): Advance past both characters in a DOS based
1795 <letter>: filepath prefix.
1797 * bucomm.c (make_tempname): Likewise.
1799 2000-06-24 Nick Clifton <nickc@cygnus.com>
1801 * objdump.c (usage): Fix description of --stabs switch.
1803 2000-06-22 Alan Modra <alan@linuxcare.com.au>
1805 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
1807 * Makefile.in: Regenerate.
1809 2000-06-20 Alexander Aganichev <AAganichev@hypercom.com>
1811 * ar.c (normalize): Correct pointer comparison when checking for
1814 * bucomm.c (make_tempname): Likewise.
1816 * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
1817 and search for backslashes in the original pathname.
1818 (ieee_add_bb11): Likewise.
1820 2000-06-18 Nick Clifton <nickc@redhat.com>
1822 * ar.c (print_contents): Improve verbose message.
1824 2000-06-15 H.J. Lu <hjl@gnu.org>
1826 * dyn-string.c: Removed. Not needed with dyn-string.c in
1828 * dyn-string.h: Likewise.
1830 * Makefile.am: Remove references to dyn-string.c and
1831 dyn-string.h. Rebuild dependency.
1832 * Makefile.in: Rebuild.
1834 2000-06-15 H.J. Lu <hjl@gnu.org>
1836 * binutils.texi: Put a warning on copying relocatable object
1837 files between two different formats.
1839 2000-06-13 DJ Delorie <dj@cygnus.com>
1841 * rcparse.y (control): ICON controls take an id as the first
1842 parameter, not an optional string. Also, call new convenience
1843 function that takes res_id's.
1844 * resrc.c (define_control): missing text means zero-length string,
1846 (define_icon_control): New.
1847 * windres.h: declare define_icon_control.
1849 2000-06-13 H.J. Lu <hjl@gnu.org>
1851 * configure: Regenerate.
1853 2000-06-08 David O'Brien <obrien@FreeBSD.org>
1855 * configure.in (VERSION): Update to show this is the CVS mainline.
1857 2000-06-02 David O'Brien <obrien@FreeBSD.org>
1859 * strings.c (isgraphic): Interpret <TAB> as a printable character,
1860 analogous to <SPACE>.
1862 2000-05-30 Alan Modra <alan@linuxcare.com.au>
1864 * objdump.c (display_target_list): Use bfd_close_all_done, not
1865 bfd_close to fix crash caused by 2000-05-24 change.
1867 2000-05-25 DJ Delorie <dj@cygnus.com>
1869 * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
1871 2000-05-26 Alan Modra <alan@linuxcare.com.au>
1873 * Makefile.am: Update dependencies with "make dep-am"
1874 * Makefile.in: Regenerate.
1876 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
1878 * ar.c: Include filenames.h.
1879 (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
1880 and drive letters in file names.
1881 (main): Support backslashes and drive letters in argv[0]. Drop
1882 the .exe suffix, if any, in argv[0] if is_ranlib is negative. Use
1883 FILENAME_CMP instead of strcmp to compare file names.
1884 (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
1886 (do_quick_append) [__GO32__]: Ditto.
1887 (get_pos_bfd, delete_members, move_members, replace_members):
1888 Compare file names with FILENAME_CMP.
1890 * bucomm.c: Include filenames.h.
1891 (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
1892 forward/backward slashes and drive letters in file names.
1894 * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
1895 mixed forward/backward slashes and drive letters in file names.
1897 * strings.c (O_BINARY, setmode, SET_BINARY): Define.
1898 (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
1901 * objcopy.c: Include filenames.h.
1902 (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
1903 before comparing to "strip".
1904 Use FILENAME_CMP to compare file names.
1906 * arsup.c: Include filenames.h.
1907 (map_over_list, ar_delete, ar_replace, ar_extract): Use
1908 FILENAME_CMP to compare file names.
1909 (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
1910 the temporary file name.
1912 * configure.in: Check for setmode.
1913 * configure: Regenerate.
1915 2000-05-24 Alan Modra <alan@linuxcare.com.au>
1917 * objdump.c (display_target_list): Close the bfd.
1918 (display_info_table): Likewise.
1920 2000-05-14 H.J. Lu (hjl@gnu.org)
1922 * objcopy.c (filter_symbols): Don't strip global symbols in
1923 relocatable object files.
1925 2000-05-14 Alan Modra <alan@linuxcare.com.au>
1927 * size.c (usage): Associate short options with corresponding long
1928 option to give a clue as to their function.
1930 2000-05-14 Philippe De Muyter <phdm@macqel.be>
1932 * size.c (main): Accept and ignore `-f' option.
1934 2000-05-13 Alan Modra <alan@linuxcare.com.au>
1936 * bucomm.h (gettext, dgettext, dcgettext, textdomain,
1937 bindtextdomain): Replace defines with those from intl/libgettext.h
1938 to quieten gcc warnings.
1940 2000-05-12 H.J. Lu <hjl@gnu.org>
1942 * nlmconv.c (temp_filename): Removed.
1944 * nlmconv.c (link_inputs): Use make_temp_file () instead of
1945 choose_temp_base ().
1946 * objdump.c (display_target_list): Likewise.
1947 (display_info_table): Likewise.
1949 2000-05-08 Alan Modra <alan@linuxcare.com.au>
1951 * objcopy.c (setup_section): Add const and gettext calls for err.
1953 2000-05-02 H.J. Lu <hjl@gnu.org>
1955 * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
1956 ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
1957 ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
1958 ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
1959 and ELFOSABI_OPENBSD.
1961 2000-05-02 Kazu Hirata <kazu@hxi.com>
1963 * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
1964 * srconv.c: Likewise.
1965 * sysdump.c: Likewise.
1967 2000-04-23 Denis Chertykov <denisc@overta.ru>
1969 * readelf.c (guess_is_rela): AVR uses RELA relocations.
1970 (get_machine_name): machine name for EM_AVR added.
1972 2000-04-21 Richard Henderson <rth@cygnus.com>
1973 David Mosberger <davidm@hpl.hp.com>
1975 * Makefile.am (readelf.o): Add elf/ia64.h.
1976 * Makefile.in: Rebuild.
1977 * readelf.c: Include elf/ia64.h.
1978 (guess_is_rela, dump_relocations): Handle EM_IA_64.
1980 2000-04-17 Timothy Wall <twall@cygnus.com>
1982 * objdump.c (disassemble_data): Set octets per byte *after*
1983 resolving arch/mach for binary files.
1985 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1987 * arlex.l: Add directives to increase lex buffer size.
1989 * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
1990 already included by bucomm.h.
1992 2000-04-10 Philippe De Muyter <phdm@macqel.be>
1994 * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
1995 `strftime' since strftime is not available on all systems.
1996 (process_mips_specific): Ditto.
1998 2000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
2000 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
2001 --enable-build-warnings option.
2002 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
2003 * Makefile.in, configure: Re-generate.
2005 2000-04-06 Alan Modra <alan@linuxcare.com.au>
2007 * addr2line.c: Update copyright.
2008 * objcopy.1: Likewise, and title.
2009 * strings.1: Likewise.
2011 * version.c (print_version): Add 2000.
2013 * rddbg.c (read_section_stabs_debugging_info): Don't use
2014 bfd_size_type for strx to avoid printf problems if BFD64.
2016 * bucomm.c: (report): Remove `static'.
2017 Move inclusion of stdarg.h/vararg.h from here.
2018 * bucomm.h: To here.
2019 (CONST): Change all occurences to const.
2020 (report): Declare it.
2021 (bfd_fatal): Add ATTRIBUTE_NORETURN.
2022 (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
2023 (non_fatal): Add ATTRIBUTE_PRINTF_1.
2025 * ar.c (main): Use fatal or non_fatal instead of fprintf.
2026 Correct a typo in an error message.
2027 (do_quick_append): Use non_fatal instead of fprintf.
2028 (move_members): Use fatal instead of fprintf, exit.
2029 * coffdump.c (main): Same here.
2031 * dlltool.c (display): Delete.
2033 (inform): Use `report' instead of `display'.
2034 (rvaafter): Remove trailing \n from fatal error msg.
2036 (asm_prefix): Ditto.
2037 (yyerror): Replace `warn' with `non_fatal', and remove \n.
2038 (def_name): Likewise.
2040 (scan_all_symbols): Likewise.
2041 (gen_lib_file): Likewise.
2042 (def_library): Likewise. Remove extra program_name too.
2043 (run): Remove \n from inform strings.
2044 (scan_drectve_symbols): Likewise.
2045 (add_excludes): Likewise.
2046 (scan_open_obj_file): Likewise.
2047 (gen_exp_file): Likewise.
2048 (gen_lib_file): Likewise.
2049 (process_duplicates): Likewise.
2051 * Makefile.am (dllwrap_SOURCES): Add version.c.
2052 * dllwrap.c (program_version): Delete.
2053 (print_version): Delete.
2054 (display): Always print trailing \n.
2056 (delete_temp_files): Use warn instead of fprintf. Use gettext.
2059 (usage): gettext'ify.
2060 (long_options): Add missing initialisers.
2062 * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
2063 (select_output_format): Likewise.
2064 (powerpc_mangle_relocs): Likewise.
2065 (link_inputs): Likewise.
2067 * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
2068 (set_output_format): Likewise.
2069 (main): Use non_fatal instead of fprintf.
2070 (display_rel_file): Likewise.
2072 * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
2073 (slurp_dynamic_symtab): Same here.
2074 (disassemble_data): And here.
2075 (read_section_stabs): And here.
2076 (read_section_stabs): And here.
2077 (dump_bfd): And here.
2079 (objdump_sprintf): Use fatal instead of fprintf, exit.
2080 (disassemble_data): Same here.
2082 * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
2083 (parse_coff_struct_type): Same here.
2084 (parse_coff_enum_type): And here.
2085 (parse_coff): And here.
2086 * rddbg.c (read_debugging_info): And here.
2087 * size.c (main): And here.
2088 * windres.c (format_from_name): And here.
2089 * wrstabs.c (stab_write_symbol): Here too.
2090 (write_stabs_in_sections_debugging_info): And here.
2091 (stab_int_type): And here.
2092 (stab_struct_field): And here.
2093 (stab_typdef): And here.
2095 * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
2096 * srconv.c (main): Same here.
2097 * strings.c (main): And here.
2098 (integer_arg): And here.
2099 * sysdump.c (main): And here.
2101 2000-04-06 Timothy Wall <twall@cygnus.com>
2103 * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
2105 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
2107 * readelf.c (decode_location_expression): Loop through multiple
2109 (read_and_display_attr): Pass in length.
2111 * readelf.c (read_and_display_attr): Add CU offset to references.
2112 (display_debug_info): Pass it in.
2114 2000-04-06 Nick Clifton <nickc@cygnus.com>
2116 * readelf.c (decode_ARM_machine_flags): New function.
2117 (get_machine_flags): Call decode_ARM_machine_flags for ARM
2120 (get_machine_name): Catch EM_AVR
2122 2000-04-05 Alan Modra <alan@linuxcare.com.au>
2124 * binutils.texi: Remove optional `=' from long options that have
2125 an `=' in the argument.
2126 * objcopy.1: Here too. Remove extra space on discard-all.
2128 * binutils.texi (objcopy): Mention --redefine-sym.
2129 * objcopy.1: Here too.
2132 * objcopy.c (parse_flags): Split off flag names from error message
2133 gettext as they are not translated.
2134 (copy_main): Similarly split off option name for --add-section,
2135 --set-section-flags, --change-section-vma, --change-section-lma
2137 Some white space changes.
2139 from Matthew Benjamin <matt@linuxbox.nu>
2140 * objcopy.c (struct redefine_node): New.
2141 (redefine_sym_list): New.
2142 (redefine_list_append): New.
2143 (lookup_sym_redefinition): New.
2144 (OPTION_REDEFINE_SYM): New.
2145 (copy_options): Add --redefine-sym option.
2146 (copy_usage): Mention it.
2147 (filter_symbols): Rename symbols on redefine_sym_list.
2148 (copy_object): Call filter_symbols if redefine_sym_list != NULL.
2149 (copy_main): Handle OPTION_REDEFINE_SYM.
2151 2000-04-04 H.J. Lu <hjl@gnu.org>
2153 * readelf.c (process_symbol_table): Correctly read in symbol
2154 versioning information.
2156 2000-04-04 Alan Modra <alan@linuxcare.com.au>
2158 * po/binutils.pot: Regenerate.
2160 * addr2line.c (usage): Restore translated part of bug string.
2161 * ar.c (usage): Likewise.
2162 * nlmconv.c (show_usage): Likewise.
2163 * nm.c (usage): Likewise.
2164 * objcopy.c (copy_usage): Likewise.
2165 (strip_usage): Likewise.
2166 * objdump.c (usage): Likewise.
2167 * readelf.c (usage): Likewise.
2168 * size.c (usage): Likewise.
2169 * strings.c (usage): Likewise.
2170 * windres.c (usage): Likewise.
2172 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
2173 (DEP): Quote when passing vars to sub-make. Add warning
2175 (DEP1): Rewrite for "gcc -MM".
2176 (CLEANFILES): Add DEP2.
2177 Update dependencies.
2178 * Makefile.in: Regenerate.
2180 2000-04-04 H.J. Lu <hjl@gnu.org>
2182 * Makefile.am (GENERATED_HFILES): Add rcparse.h
2183 (arparse.h): Depend on arparse.c
2184 (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
2186 2000-04-03 H.J. Lu (hjl@gnu.org)
2188 * size.c (usage): Use REPORT_BUGS_TO.
2190 2000-04-03 Alan Modra <alan@linuxcare.com.au>
2192 * bucomm.h: #include "bin-bugs.h"
2193 * addr2line.c (usage): Use REPORT_BUGS_TO.
2194 * ar.c (usage): Likewise.
2195 * nlmconv.c (show_usage): Likewise.
2196 * nm.c (usage): Likewise.
2197 (OPTION_TARGET): Define.
2198 (long_options): Use OPTION_TARGET rather than 200.
2201 * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
2202 (strip_usage): Likewise.
2203 * objdump.c (usage): Likewise.
2204 * readelf.c (usage): Likewise.
2205 * strings.c (usage): Likewise.
2206 * windres.c (usage): Likewise.
2208 2000-03-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
2210 * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
2212 2000-03-27 Nick Clifton <nickc@cygnus.com>
2214 * rddbg.c (read_section_stabs_debugging_info): Catch out of range
2215 string offsets in corrupt stabs entries.
2217 2000-03-27 Alan Modra <alan@linuxcare.com.au>
2219 * readelf.c: Include elf/avr.h
2220 (dump_relocations): Add EM_AVR case.
2222 2000-03-09 Tim Waugh <twaugh@redhat.com>
2224 * strings.1: Correct '-bytes' to '--bytes'.
2226 2000-03-08 H.J. Lu <hjl@gnu.org>
2228 * Makefile.am (install-exec-local): Depend on
2229 install-binPROGRAMS for parallel make.
2230 * Makefile.in: Regenerated.
2232 2000-02-27 Ian Lance Taylor <ian@zembu.com>
2234 From Brad Lucier <lucier@math.purdue.edu>:
2235 * readelf.c (process_dynamic_segment): Add cast to make sure
2236 argument to %* is int.
2238 2000-02-25 H.J. Lu <hjl@gnu.org>
2240 * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
2242 2000-02-24 Nick Clifton <nickc@cygnus.com>
2244 * configure.in: Add arm-wince, mips-pe and sh-pe targets.
2245 * configure: Regenerate.
2247 * dlltool.c: Add support for sh-pe and mips-pe targets.
2248 * rescoff.c: Add support for sh-pe and mips-pe targets.
2250 2000-02-23 H.J. Lu <hjl@gnu.org>
2252 * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
2254 2000-02-22 Nick Clifton <nickc@cygnus.com>
2256 * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
2258 2000-02-22 Ian Lance Taylor <ian@zembu.com>
2260 From Brad Lucier <lucier@math.purdue.edu>:
2261 * readelf.c (process_version_sections): Add casts to make sure
2262 argument to %* is an int.
2263 (process_mips_specific): Add casts to make printf arguments match
2266 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
2268 * objdump.c (dump_section_header): Change `opb' to unsigned.
2269 (find_symbol_for_address): Same here.
2270 (disassemble_data): And here. Change `addr_offset',
2271 `stop_offset', `nextstop_offset' to unsigned long.
2272 (dump_data): Change opb to unsigned.
2274 2000-02-18 Frank Ch. Eigler <fche@redhat.com>
2276 * resrc.c: Remove unmatched #if for cygwin.
2278 2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com>
2280 * binutils.texi: Document the change of flavor name from atpcs-special
2281 to special-atpcs to prevent name conflict in gdb.
2283 2000-02-08 Timothy Wall <twall@redhat.com>
2285 * objdump.c (show_line): Fix bug preventing printing of the very
2286 first line (line zero) of a file when interlisting source and
2287 assembly. Added option to print entire context from start of file
2288 when the first line from that file is encountered.
2290 2000-02-03 Timothy Wall <twall@redhat.com>
2292 * objdump.c (dump_section_header, find_symbol_for_address,
2293 show_line, disassemble_bytes, disassemble_data, dump_data):
2294 distinguish between octets and bytes.
2296 2000-01-27 Thomas de Lellis <tdel@windriver.com>
2298 * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
2299 check to unresolved symbols.
2300 (print_symbol_info_sysv): Ditto.
2301 (print_symbol_info_posix): Ditto.
2303 * binutils.texi: Document new 'V' symclass flag for nm.
2305 2000-01-27 Nick Clifton <nickc@redhat.com>
2307 * binutils.texi (objdump): Document new ARM specific
2308 disassembler options.
2310 * objdump.c (usage): Call disassembler_usage().
2312 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
2314 * readelf.c (get_dynamic_flags): Return buff.
2315 (process_dynamic_segment): Don't pass error strings to printf
2317 (read_and_display_attr): Use lx and ld to print longs.
2318 (process_corefile_note_segment): Cast bfd_vma to unsigned long
2322 2000-01-17 Nick Clifton <nickc@cygnus.com>
2324 * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
2326 2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
2328 * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
2330 (debug_tag_type): Here too.
2331 * ieee.c (ieee_builtin_type): And here.
2332 * stabs.c (parse_stab_type, parse_stab_array_type): And here.
2334 2000-01-13 Nick Clifton <nickc@cygnus.com>
2336 * readelf.c (get_machine_name): Change EM_S370 to return "IBM
2339 2000-01-11 Nick Clifton <nickc@cygnus.com>
2341 * readelf.c (get_dynamic_type): Remove DT_ENCODING.
2343 2000-01-10 Nick Clifton <nickc@cygnus.com>
2345 * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
2347 2000-01-07 Mumit Khan <khan@xraylith.wisc.edu>
2349 * windres.c (long_options): Add --use-temp-file and
2350 --no-use-temp-file options.
2354 * windres.h: Update read_rc_file prototype.
2356 * resrc.c (cpp_temp_file): New static variable.
2357 (istream_type): New static variable.
2358 (close_pipe): Delete function.
2359 (run_cmd): New static function.
2360 (open_input_stream): New static function.
2361 (close_input_stream): New static function.
2362 (look_for_default): Handle DOS directory separator. Use
2363 open_input_stream instead of popen.
2364 (read_rc_file): Likewise.
2366 * binutils.texi: Document --use-temp-file, --no-use-temp-file
2369 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
2371 * dlltool.c (create_compat_implib): New variable.
2372 (gen_exp_file): Use.
2373 (make_one_lib_file): Use.
2374 (long_options): Add --compat-implib option.
2378 * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
2379 (main): Use. Don't look for "32" in cygwin and mingw target names.
2381 2000-01-03 Nick Clifton <nickc@cygnus.com>
2383 * binutils.texi: Document new, ARM specific disassembler
2384 command line switch "-M force-thumb".
2386 For older changes see ChangeLog-9899
2392 version-control: never