1 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
3 * po/fr.po: New version.
5 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
7 * addr2line.c (usage): Update text to provide verbose
8 description of the command line options.
9 * ar.c (usage): Update text to provide verbose
10 description of the command line options.
11 (main): Accept -h and -H when running as ranlib.
12 * coffdump.c (show_usage): Update text to provide verbose
13 description of the command line options.
14 * dlltool.c (main): Accept -H as an alias for --help.
15 * nlmconv.c (show_usage): Update text to provide verbose
16 description of the command line options.
17 * nm.c (usage): Replace OPTIONS with option(s).
18 (main): Accept -H as an alias for --help.
19 * objcopy.c (strip_main): Accept -H as an alias for --help.
20 * objdump.c (main): Accept -v as an alias for --verbose.
21 * readelf.c (usage): Adjust format to match style used in
23 * size.c (usage): Update text to provide verbose description
24 of the command line options.
25 (main): Accept -v, -h and -H as command line options.
26 * srconv.c (show_usage): Update text to provide verbose
27 description of the command line options.
28 * strings.c (main): Accept -H and -v as command line options.
29 (usage): Update text to provide verbose description of the
31 * sysdump.c (show_usage): Update text to provide verbose
32 description of the command line options.
33 * windres.c (usage): Adjust format to match style used in
36 * coffdump.c: Fix formatting.
37 * nlmconv.c: Fix formatting.
38 * srconv.c: Fix formatting.
39 * sysdump.c: Fix formatting.
41 2002-01-22 Alan Modra <amodra@bigpond.net.au>
43 * Makefile.am: Run "make dep-am".
44 * Makefile.in: Regenerate.
46 2002-01-18 Andreas Jaeger <aj@suse.de>
48 * version.c (print_version): Update year.
50 2002-01-17 Alan Modra <amodra@bigpond.net.au>
52 * readelf.c (get_machine_name): Handle EM_PPC64.
53 (guess_is_rela): Here too.
55 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
57 * po/binutils.pot: Regenerate.
58 * po/fr.po: Regenerate.
59 * po/tr.po: Regenerate.
61 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
63 * po/tr.po: Import new version.
65 2002-01-16 Alan Modra <amodra@bigpond.net.au>
67 * readelf.c (get_ppc64_dynamic_type): New.
68 (get_dynamic_type): Call it.
70 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
72 * objcopy.c (copy_usage): Use "options" instead of "switches".
73 (strip_usage): Use "options" instead of "switches".
74 * doc/binutils.texi (dlltool): Refer to "options" instead of
77 2002-01-14 Richard Earnshaw <rearnsha@arm.com>
79 * MAINTAINERS: Add self as co-maintainer for the ARM code.
81 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
83 * po/es.po: Import from translation project.
84 * configure.in (ALL_LINGUAS): Add es.
85 * configure: Regenerate.
87 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
89 * readelf.c (get_netbsd_elfcore_note_type): Use
90 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
92 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
94 * readelf.c: Update copyright years.
95 (get_note_type): Return a const char *.
96 (get_netbsd_elfcore_note_type): New function.
97 (process_note): Use get_netbsd_elfcore_note_type to get
98 the note type string for NetBSD ELF core files.
100 2002-01-06 Steve Ellcey <sje@cup.hp.com>
102 * readelf.c (get_ia64_segment_type): Add support for macros.
103 (get_segment_type): Add support for IA64 specific macros.
105 2001-12-20 Julian v. Bock <julian@wongr.net>
107 * readelf.c (print_symbol): New function: Print a formatted symbol
108 name. If --wide is specified do not truncate it.
109 (dump_relocations): Use print_symbol() to print symbol names.
110 (process_symbol_table): Likewise.
111 (process_syminfo): Likewise.
112 (process_mips_specific): Likewise.
113 (usage): Document new feature of --wide switch.
114 * doc/binutils.texi (objdump): Document additional behaviour of
117 2001-12-18 Michael Snyder <msnyder@redhat.com>
119 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
120 (copy_object): Don't set the start address or flags of a core file.
121 (copy_section): Don't relocate a core file. Don't copy contents
122 if the input section has the contents flag set, but the output
123 section does not (which happens with the fake 'note' pseudo-
124 sections that BFD creates for corefiles).
126 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
128 * readelf.c (get_machine_flags): Recognize header flags for ABI and
129 ASE extensions. More robust code for ISA checking. Ignore empty fields
130 in header flags for GNU extensions.
132 2001-12-18 Alan Modra <amodra@bigpond.net.au>
134 * objcopy.c (copy_archive): Set output bfd format outside the loop.
136 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
138 * po/ja.po: Import from translation project.
139 * configure.in (ALL_LINGUAS): Add ja.
140 * configure: Regenerate.
142 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
144 * addr2line.c (main): Protoype.
145 * ar.c (main): Protoype.
146 * nm.c (main): Protoype.
147 * objcopy.c (main): Protoype.
148 * objdump.c (main): Protoype.
149 * size.c (main): Protoype.
150 * strings.c (main): Protoype.
152 2001-12-17 Alan Modra <amodra@bigpond.net.au>
154 * readelf.c (symtab_shndx_hdr): New global.
155 (SECTION_HEADER_INDEX): Define.
156 (SECTION_HEADER_NUM): Define.
157 (SECTION_HEADER): Define.
158 (GET_ELF_SYMBOLS): Pass two params rather than three.
159 (get_32bit_elf_symbols): Take file and section args. Read and
160 use SHT_SYMTAB_SHNDX.
161 (get_64bit_elf_symbols): Likewise.
162 (dump_relocations): Use SECTION_HEADER to index "section_headers".
163 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
164 Remember symtab_shdx_hdr.
165 (process_program_headers): Scan from index 1 for segment map.
166 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
168 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
169 (process_unwind): Likewise.
170 (process_version_sections): Likewise.
171 (process_symbol_table): Likewise.
172 (display_debug_info): Likewise.
173 (process_dynamic_segment): Fake up a symtab section for changed
175 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
176 (process_program_headers): Kill signed/unsigned warning.
177 (load_debug_str): Likewise.
178 (display_debug_info): Likewise.
180 2001-12-13 Jakub Jelinek <jakub@redhat.com>
182 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
184 2001-12-11 Alan Modra <amodra@bigpond.net.au>
186 * readelf.c (process_file_header): Print extended e_shnum and
187 e_shdtrndx values. Set elf_header values for same.
188 (get_32bit_section_headers): Add "num" arg to read "num" headers.
189 (get_64bit_section_headers): Likewise.
190 (process_section_headers): Update calls.
191 (get_file_header): Call get_32bit_section_headers or 64bit variant.
193 2001-12-10 Jakub Jelinek <jakub@redhat.com>
195 * objcopy.c (setup_section): Copy entsize.
197 2001-12-07 Geoffrey Keating <geoffk@redhat.com>
199 * readelf.c (guess_is_rela): Add support for stormy16.
200 (dump_relocations): Likewise.
201 (get_machine_name): Likewise.
203 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
205 * dllwrap.c (main) Replace multiple strings describing a
206 single error with a single, newline escaped sentence to permit
207 better translation into foreign languages.
209 * readelf.c (get_elf_class): Remove internalionalisation of ELF
212 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
214 * strings.c (get_char): Initialize value.
216 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
218 * arlex.l: Silence compile warnings.
219 * arsup.h: Likewise. Fix formatting.
221 2001-12-04 Jakub Jelinek <jakub@redhat.com>
223 * strings.c: Include config.h before bfd.h.
224 (file_off): New type.
226 (print_strings): Use file_off instead of file_ptr. Print addresses
227 which don't fit into long correctly.
228 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
230 (strings_file): Use file_off instead of file_ptr. Use file_open.
231 * configure.in: Check for getc_unlocked.
232 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
234 * configure: Rebuilt.
235 * config.h.in: Rebuilt.
237 2001-11-29 H.J. Lu <hjl@gnu.org>
239 * bucomm.c (make_tempname): Revert the changes made on
240 2001-11-14 and 2001-11-12. They won't work with directories.
242 2001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
244 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
245 CFLAGS_FOR_TARGET to runtest in environment.
246 * Makefile.in: Rebuild.
247 * doc/Makefile.in: Rebuild.
249 2001-11-28 Mike Stump <mrs@wrs.com>
251 * objcopy.c (setup_section): Preserve SEC_RELOC when
252 --set-section-flags is used.
254 2001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
256 * readelf.c (do_debug_str): New variable.
257 (display_debug_str): New function: Display the contents of a
259 (load_debug_str): New function: Load in the contents of a
261 (free_debug_str): New function: Free the memory used by
263 (fetch_indirect_string): Retrieve a string from the .debug_str
266 (parse_args): Accept -ws.
267 (process_section_headers): Allow the display of the .debug_str
269 (read_and_display_attr_value): Use fetch_indirect_string. Show
270 offset into .debug_str section.
271 (display_debug_info): Use load_debug_str and free_debug_str.
272 (debug_displays): Add .debug_str.
273 * doc/binutils.texi: Document -ws.
275 2001-11-19 Andreas Jaeger <aj@suse.de>
277 * testsuite/binutils-all/objdump.exp: Add x86-64.
279 2001-11-15 Andreas Schwab <schwab@suse.de>
281 * readelf.c: Fix warnings without terminating newline.
283 2001-11-15 Alan Modra <amodra@bigpond.net.au>
285 * doc/binutils.texi (objdump): Document ppc -M options.
287 2001-11-14 Andreas Jaeger <aj@suse.de>
289 * doc/binutils.texi (objdump): Fix description to use x86-64.
291 2001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
293 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
294 not all systems provide mkstemp.
296 2001-11-14 Alan Modra <amodra@bigpond.net.au>
298 * doc/binutils.texi (objdump): Document x86 -M options.
300 2001-11-13 Keith Walker <keith.walker@arm.com>
302 * readelf.c (read_and_display_attr_value): New function to
303 handle DW_FORM_indirect.
304 (read_and_display_attr): Use it.
306 2001-11-13 Geoffrey Keating <geoffk@redhat.com>
308 * readelf.c (display_debug_lines): Deal with unknown standard
309 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
312 2001-11-13 Timothy Wall <twall@alum.mit.edu>
314 * MAINTAINERS: Add self as tic54x maintainer. This target
315 includes the IBM C54XDSP clone.
317 2001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
319 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
321 2001-11-09 Jeffrey A Law (law@cygnus.com)
323 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
324 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
325 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
326 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
327 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
328 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
329 (unw_decode_b2, unw_decode_b3_b4): Likewise.
331 * readelf.c (get_elf_class): Fix ISO portability glitch.
332 (get_data_encoding, get_osabi_name, request_dump): Likewise.
334 2001-11-07 Jakub Jelinek <jakub@redhat.com>
336 * readelf.c (debug_str, debug_str_size): New.
337 (display_debug_abbrev): If no abbrevs were read, skip the CU.
339 (read_and_display_addr): Handle DW_FORM_strp.
340 (display_debug_info): Read .debug_str section if present,
341 so that DW_FORM_strp can be handled.
342 Fix test for non-existant .debug_abbrev section.
344 2001-11-05 Jakub Jelinek <jakub@redhat.com>
346 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
348 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
350 2001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
352 * MAINTAINERS: Add self as s390/s390x maintainer.
354 2001-11-02 Tom Rix <trix@bluey.cygnus.com>
356 * MAINTAINERS: Add self as PPC XCOFF maintainer.
358 2001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
360 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
361 * configure: Regernate.
362 * po/fr.po: New file.
363 * po/tr.po: New file.
365 2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
367 * MAINTAINERS: Add self as MMIX port maintainer.
368 * readelf.c: Include elf/mmix.h.
369 (guess_is_rela): MMIX is RELA.
370 (dump_relocations): Handle MMIX relocations.
371 * Makefile.am: Regenerate dependencies.
372 * Makefile.in: Regenerate.
374 2001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
376 * readelf.c (parse_args): Handle multiple options to the -w
379 2001-10-12 Jakub Jelinek <jakub@redhat.com>
381 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
382 LOPROC, LOOS and LOUSER.
384 2001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
386 * MAINTAINERS: Update my email address.
388 2001-10-03 Alan Modra <amodra@bigpond.net.au>
390 * doc/Makefile.in: Regenerate.
391 * configure: Regenerate.
393 2001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
395 * readelf.c (display_debug_line, display_debug_pubnames,
396 display_debug_info, display_debug_frames): Detect and warn
397 about 64-bit format entries.
398 (display_debug_aranges): Reword 64-bit warning.
399 (debug_displays): Add .debug_pubtypes as a known, but not yet
400 supported, debug section.
402 2001-10-02 Alan Modra <amodra@bigpond.net.au>
404 * coffdump.c (PROGRAM_VERSION): Delete.
405 (main <'V'>): Call print_version.
406 * srconv.c: Likewise.
407 * sysdump.c: Likewise.
408 * version.c (program_version): Remove.
409 (print_version): Use BFD_VERSION_STRING. Just print the current
410 year in copyright message.
411 * addr2line.c (program_version): Remove unused declaration.
412 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
413 place of BFD_VERSION.
414 * Makefile.am (Makefile): Depend on bfd/configure.in.
415 (cplus-dem.o): Depend on Makefile.
417 * Makefile.in: Regenerate.
419 2001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
421 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
422 format .debug_arange sections.
423 (main): Add missing prototype.
425 2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
427 * Makefile.am: Update dependencies with "make dep-am".
428 * Makefile.in: Regenerate.
430 2001-09-28 Richard Henderson <rth@redhat.com>
432 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
434 2001-09-26 Alan Modra <amodra@bigpond.net.au>
436 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
438 (non_fatal): Likewise.
439 * objdump.c (objdump_sprintf): Likewise.
440 * readelf.c (error): Likewise.
443 2001-09-25 Jakub Jelinek <jakub@redhat.com>
445 * readelf.c (do_wide): New.
446 (options): Add --wide.
447 (usage, parse_args): Likewise.
448 (process_program_headers): Put each segment on a single line if
450 (process_section_headers): Put each section on a single line if
452 * doc/binutils.texi: Document it.
455 2001-09-25 Alan Modra <amodra@bigpond.net.au>
457 * readelf.c (print_vma): Print 8 digits of low hex value.
459 2001-09-24 Andreas Jaeger <aj@suse.de>
461 * nlmconv.c: Fix warnings about unused attributes and function
464 * strings.c: Add prototype for get_char.
466 2000-09-19 H.J. Lu <hjl@gnu.org>
468 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
469 $(srcdir)/cxxfilt.man.
470 * doc/Makefile.in: Rebuild.
472 2001-09-19 Alan Modra <amodra@bigpond.net.au>
474 * objcopy.c (copy_main): Correct rename-section string parsing.
475 Consolidate new_name parsing, and error messages.
477 2001-09-18 Bruno Haible <haible@clisp.cons.org>
479 * addr2line.c: Don't include <ctype.h>.
480 (main): For gettext, also set the LC_CTYPE locate facet.
481 * ar.c (main): Likewise.
482 * coffdump.c (main): Likewise.
483 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
484 (main): For gettext, also set the LC_CTYPE locate facet.
485 Use ISALNUM instead of isalpha/isdigit.
486 * dllwrap.c: Don't include <ctype.h>.
487 (main): For gettext, also set the LC_CTYPE locate facet.
488 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
489 (main): For gettext, also set the LC_CTYPE locate facet.
490 Use TOUPPER instead of islower/toupper.
491 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
492 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
493 Use TOUPPER instead of islower/toupper.
494 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
495 * objcopy.c (main): Likewise.
496 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
497 (disassemble_bytes): Use ISPRINT instead of isprint.
498 (dump_section_stabs): Use ISDIGIT instead of isdigit.
499 (dump_data): Use ISPRINT instead of isprint.
500 (main): For gettext, also set the LC_CTYPE locate facet.
501 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
502 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
503 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
504 Use TOUPPER instead of islower/toupper.
505 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
506 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
507 (write_rc_accelerators): Use ISPRINT instead of isprint.
508 (write_rc_rcdata): Likewise.
509 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
510 * srconv.c (main): Likewise.
511 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
512 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
513 isdigit/isupper/islower.
514 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
515 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
516 stab_demangle_prefix, stab_demangle_qualified,
517 stab_demangle_template, stab_demangle_type,
518 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
519 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
520 (isgraphic): Use ISPRINT instead of isascii/isprint.
521 (main): Remove HAVE_LC_MESSAGES dependency.
522 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
523 (pbarray): Use ISPRINT instead of isprint.
524 (main): For gettext, also set the LC_CTYPE locate facet.
525 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
526 (format_from_filename): Use ISPRINT instead of isprint.
527 (main): For gettext, also set the LC_CTYPE locate facet.
528 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
529 (unicode_print): Use ISPRINT instead of isprint.
530 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
531 (stab_variable): Use ISDIGIT instead of isdigit.
533 2001-09-18 Alan Modra <amodra@bigpond.net.au>
535 * ar.c (print_contents): Cast args of bfd_seek to the right types.
536 Replace bfd_read call with call to bfd_bread.
537 (extract_file): Likewise.
539 * objdump.c (dump_section_header): Cast section->filepos to
540 unsigned long to suit printf format string.
541 * readelf.c (process_section_headers): Similarly for sh_offset.
542 (process_unwind): Likewise.
544 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
546 * strings.c (encoding, encoding_bytes): New variables.
547 (long_options): Add --encoding.
548 (main): Accept -e and --encoding.
549 (get_char): New function. Read a, possibly wide, character from
551 (print_strings): Use get_char().
552 (usage): Document new command line option.
553 * doc/binutils.texi: Document new command line option.
554 * NEWS: Announce new command line option.
556 2001-09-12 Alexandre Oliva <aoliva@redhat.com>
558 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
559 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
560 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
561 Removed EM_CYGNUS_ARC.
563 2001-09-04 Jeffrey A Law (law@cygnus.com)
565 * readelf.c: Include elf/h8 for H8 series definitions.
566 (guess_is_rela): H8 series if RELA.
567 (dump_relocations): Handle H8 series relocations.
569 2001-08-31 Eric Christopher <echristo@redhat.com>
571 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
573 2001-08-29 Peter Targett <peter.targett@arccores.com>
575 * MAINTAINERS: Include ARC Maintainer.
577 2001-08-29 Ben Elliston <bje@redhat.com>
579 * stabs.c (stab_demangle_template): Initialise s4.
581 2001-08-27 Alan Modra <amodra@bigpond.net.au>
583 * readelf.c (dump_relocations): Recognise EM_PPC64.
585 2001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
587 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
589 2001-08-25 H.J. Lu <hjl@gnu.org>
591 * nm.c (print_width): New.
592 (display_rel_file): Set `print_width' according to
594 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
596 2001-08-24 Alexandre Oliva <aoliva@redhat.com>
598 * objcopy.c (use_alt_mach_code): New variable.
599 (OPTION_ALT_MACH_CODE): Define.
600 (copy_options): Added --alt-machine-code.
601 (copy_main): Handle it.
602 (copy_object): Switch to alternate machine code if requested.
603 * doc/binutils.texi: Document new option.
606 2001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
608 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
610 2001-08-21 H.J. Lu <hjl@gnu.org>
612 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
613 (display_debug_info): Cast for 64bit hosts.
614 (display_debug_frames): Likewise.
615 (process_mips_specific): Likewise.
617 2001-08-21 Andreas Jaeger <aj@suse.de>
619 * coffgrok.h: Add missing parameter for prototype of coff_grok.
621 * sysdump.c: Add missing prototypes.
622 * srconv.c: Likewise.
623 * unwind-ia64.c: Likewise.
624 * coffdump.c: Likewise.
626 * sysinfo.y: Print prototypes, include <ansidecl.h>.
628 * coffgrok.c: Add missing prototypes, include libiberty.h instead
629 of declaring xcalloc.
631 2001-08-10 H.J. Lu <hjl@gnu.org>
633 * nm.c (print_value): Add one arg, bfd *.
634 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
635 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
636 (print_symbol_info_sysv): Likewise.
637 (print_symbol_info_posix): Likewise.
639 * objdump.c (dump_section_header): Replace printf_vma with
641 (print_section_stabs): Likewise.
642 (dump_bfd_header): Likewise.
643 (objdump_print_value): Replace sprintf_vma with
645 (disassemble_bytes): Likewise.
646 (dump_reloc_set): Likewise.
648 2001-08-10 Andreas Jaeger <aj@suse.de>
650 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
652 * configure: Regenerate.
654 2001-08-09 Alan Modra <amodra@bigpond.net.au>
656 * readelf.c: Add missing prototypes.
657 * objdump.c: Likewise. Format existing prototypes.
659 2001-08-08 Alexandre Oliva <aoliva@redhat.com>
661 * readelf.c (display_debug_info): Add to abbrev_offset the addend
662 of any RELA relocation for the abbrev_offset memory location that
663 refers to the .debug_abbrev section symbol.
665 2001-08-07 H.J. Lu <hjl@gnu.org>
667 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
668 (main): Return process_file ().
670 2001-08-05 Philip Blundell <philb@gnu.org>
672 * doc/binutils.texi: Use "Thumb" not "THUMB".
674 2001-08-03 John Healy <jhealy@redhat.com>
676 Patch suggested by Frank Eigler <fche@redhat.com>.
677 * objdump.c (disassemble_data): Fill in section member of the
678 disasm_info structure.
680 2001-08-03 Tom Walsh <tom@cyberiansoftware.com>
682 * configure.in: Added --with-windres option.
683 * configure: Regenerated.
685 2001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
687 * doc/binutils.texi: Use @command{name} for commands;
688 use @option{-opt} for options; use @table @env for list of options;
689 remove spaces arround [ | ] in synopsis.
691 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
694 2001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
696 * objcopy.c: Fix formatting.
697 (section_rename): New structure.
698 (OPTION_RENAME_SECTION): New switch.
699 (copy_usage): Document new switch.
700 (add_section_rename): New function: Add a node to the section
702 (find_section_rename): New function: Find the new name and
704 (setup_section): Call find_section_name to determine the name
705 of the output section.
706 (copy_main): Handle OPTION_RENAME_SECTION.
707 * binutils.texi: Document new switch.
708 * NEWS: Mention new switch.
710 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
712 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
713 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
714 bug-binutils@gcc.org.
716 2001-07-28 Matthias Kramm <kramm@quiss.org>
718 * bucomm.c (list_supported_architectures): New function.
719 * bucomm.h (list_supported_architectures): Declare.
720 * objdump.c (usage): Call the above.
722 2001-07-25 Dave Brolley <brolley@redhat.com>
724 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
725 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
727 2001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
729 * README: Update for 2.11. Change bug reporting email address.
730 * MAINTAINERS: Tidy up. Change bug reporting email address.
732 2001-07-16 DJ Delorie <dj@redhat.com>
734 * resres.c (write_res_header): Align header size.
735 (res_align_file): Calculate alignment correctly.
737 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
739 * resrc.c (write_rc_resource): Likewise.
740 * windres.h (SUBLANG_SHIFT): Define - as 10.
742 2001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
744 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
746 2001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
748 * MAINTAINERS: Add notes about branch checkins.
750 2001-07-05 Daniel Berlin <dan@cgsoftware.com>
752 * readelf.c (display_debug_macinfo): New function, display
753 .debug_macinfo section.
754 (do_debug_macinfo): New variable.
755 (parse_args): Handle "-w[mM]" to mean display macro info.
756 (process_section_headers): Handle debug_macinfo.
757 (debug_displays): Replace unsupported function with macinfo
758 function for .debug_macinfo display.
759 * doc/binutils.texi: Document new command line switch.
760 * NEWS: Document new feature of readelf.
762 2001-07-05 H.J. Lu <hjl@gnu.org>
764 * objcopy.c (filter_symbols): Don't turn undefined symbols
767 2001-07-03 H.J. Lu <hjl@gnu.org>
769 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
772 (dlltool.1): Likewise.
773 (nlmconv.1): Likewise.
775 (objcopy.1): Likewise.
776 (objdump.1): Likewise.
777 (ranlib.1): Likewise.
778 (readelf.1): Likewise.
780 (strings.1): Likewise.
782 (windres.1): Likewise.
783 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
784 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
787 * doc/Makefile.in: Regenerated.
789 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
791 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
793 2001-07-01 Daniel Berlin <dan@cgsoftware.com>
795 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
797 2001-06-29 James Cownie <jcownie@etnus.com>
799 * readelf.c: Support DWARF 2.1 attributes.
801 2001-06-28 Alan Modra <amodra@bigpond.net.au>
803 * readelf.c (GET_DATA_ALLOC): Remove.
805 (get_data): New function combining above macros, with an extra
807 (slurp_rela_relocs): Use get_data, and catch error return.
808 (slurp_rel_relocs): Likewise.
809 (get_32bit_program_headers): Likewise.
810 (get_64bit_program_headers): Likewise.
811 (get_32bit_section_headers): Likewise.
812 (get_64bit_section_headers): Likewise.
813 (get_32bit_elf_symbols): Likewise.
814 (get_64bit_elf_symbols): Likewise.
815 (process_section_headers): Likewise.
816 (process_relocs): Likewise.
817 (slurp_ia64_unwind_table): Likewise.
818 (process_unwind): Likewise.
819 (get_32bit_dynamic_segment): Likewise.
820 (get_64bit_dynamic_segment): Likewise.
821 (process_dynamic_segment): Likewise.
822 (process_version_sections): Likewise.
823 (process_symbol_table): Likewise.
824 (dump_section): Likewise.
825 (display_debug_info): Likewise.
826 (display_debug_section): Likewise.
827 (process_section_contents): Likewise.
828 (process_corefile_note_segment): Likewise.
829 (process_mips_specific): Likewise. Also free econf32, econf64.
831 2001-06-25 Alan Modra <amodra@bigpond.net.au>
833 * readelf.c (dump_relocations): Print "bad symbol index" if
834 symtab == NULL with non-zero symtab_index.
835 (process_relocs): Don't bomb if reloc section has no symsec.
837 2001-06-24 H.J. Lu <hjl@gnu.org>
839 * objcopy.c (strip_main): Revert the change made on 2001-05-30
841 (copy_main): Apply the the change made to strip_main on
842 2001-05-30 by accident.
844 2001-06-23 Andreas Jaeger <aj@suse.de>
846 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
848 (unw_decode_x2): Likewise.
849 (unw_decode_x3): Likewise.
850 (unw_decode_x4): Likewise.
852 2001-06-23 Ben Elliston <bje@redhat.com>
854 * MAINTAINERS: Add myself as M88k maintainer.
856 2001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
858 * objcopy.c (strip_main): Support -o or --output-file command lien
861 2001-06-19 H.J. Lu <hjl@gnu.org>
863 * doc/Makefile.in: Regenerated.
865 2001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
867 * readelf.c: Restore formatting.
869 2001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
871 * Makefile.am: Move documentation into doc subdirectory.
872 * Makefile.in: Regenerated.
873 * binutils.texi: Move into doc subdirectory.
874 * addr2line.1: Removed.
876 * dlltool.1: Likewise.
877 * nlmconv.1: Likewise.
879 * objcopy.1: Likewise.
880 * objdump.1: Likewise.
881 * ranlib.1: Likewise.
882 * readelf.1: Likewise.
884 * strings.1: Likewise.
886 * windres.1: Likewise.
887 * cxxfilt.man: Likewise.
888 * doc: New Directory.
889 * doc/Makefile.am: New file.
890 * doc/Makefile.in: Generate.
892 2001-06-09 Alan Modra <amodra@bigpond.net.au>
894 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
896 2001-06-01 Alan Modra <amodra@bigpond.net.au>
898 * MAINTAINERS: Update my email address.
900 2001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
902 * objcopy.c: Add new switches: --keep-global-symbol,
903 --keep-symbols, --localize-symbols, --keep-global-symbols and
905 * binutils.texi: Document new switches.
906 * objcopy.1: Regenerate.
907 * NEWS: Announce new feature.
909 2001-05-28 Andreas Jaeger <aj@suse.de>
911 * readelf.c (display_debug_frames): Fix warnings: Remove unused
912 variables, fix format strings.
914 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
916 * objdump.c (disassemble_bytes): Remove section VMA adjustment
917 when computing the address of the line to show.
919 2001-05-16 Richard Henderson <rth@redhat.com>
921 * readelf.c (do_debug_frames_interp): New.
922 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
923 (byte_get_big_endian): Likewise.
924 (parse_args) ['F']: Set do_debug_frames_interp.
925 (Frame_Chunk): Make data_factor signed, add fde_encoding.
926 (frame_display_row): Don't trunc pc_begin to int.
927 (size_of_encoded_value): New.
928 (display_debug_frames): Handle 64-bit targets. Print raw data
929 unless do_debug_frames_interp.
930 (debug_displays): Remove duplicate .debug_frame.
932 2001-05-15 Ralf Baechle <ralf@gnu.org>
934 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
935 The former constant was never in active use and is used otherwise
938 2001-05-11 Jakub Jelinek <jakub@redhat.com>
940 * readelf.c (process_unwind): Print all unwind sections, not just
943 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
945 * readelf.c (process_unwind): Remove const specifier.
947 2001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
949 * strings.c (isgraphic): Do not use isascii() unless it is needed
950 for isprint() to work.
951 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
953 2001-04-27 Johan Rydberg <jrydberg@opencores.org>
955 * NEWS: Announce support for OpenRISC.
957 2001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
959 * dlltool.c (do_default_excludes): Initialise to true.
961 2001-04-10 Alan Modra <amodra@one.net.au>
963 * MAINTAINERS: Update my email address
964 * nm.c (print_symbol_info_bsd): Use a simple printf string.
966 2001-04-05 Hans-Peter Nilsson <hp@axis.com>
968 * readelf.c (display_debug_lines): Fix typo for "Prologue".
970 2001-03-30 H.J. Lu <hjl@gnu.org>
972 * readelf.c (process_unwind): Just return if do_unwind is 0.
974 2001-03-28 Roger Sayle <roger@metaphorics.com>
976 * dlltool.c (make_one_lib_file): Fix section flags for
977 .text, .data and .bss in stub ds*.o files to match those
980 2001-03-29 H.J. Lu <hjl@gnu.org>
982 * readelf.c (process_unwind): Only do unwind sections for
985 2001-03-28 H.J. Lu <hjl@gnu.org>
987 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
988 * Makefile.in: Regenerate.
990 2001-03-26 Andreas Jaeger <aj@suse.de>
992 * binutils.texi (nm): Fix texi syntax.
994 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
996 * binutils.texi: Put @c man begin and @c man end indications
997 to generate man pages using texi2pod and pod2man. Put @c man title
998 to identify each man. Add SEEALSO entries.
999 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
1000 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
1002 (*.1): Build the man pages from binutils.texi.
1003 * Makefile.in: Regenerate.
1005 2001-03-13 Eric Kohl <ekohl@rz-online.de>
1007 * defparse.y (opt_equal_name): allow "." in name.
1008 * dlltool.c (def_exports): Added ability to generate forwarded exports.
1009 (gen_exp_file): Likewise.
1011 2001-03-12 Stefan Geuken <mail@stefan-geuken.de>
1013 * NEWS: Document addition of -B switch to objcopy.
1014 * binutils.texi: Document addition of -B switch to objcopy.
1015 * objcopy.c: (copy_options): Add --binary-architecture.
1016 (copy_usage): Document -B/--binary-architecture.
1017 (copy_main): Support -B/--binary-architecture. Set
1018 bfd_external_binary_architecture.
1020 2001-03-11 Andreas Jaeger <aj@suse.de>
1022 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
1023 (dump_relocations): Likewise.
1024 (get_machine_name): Likewise.
1026 2001-02-28 Nick Clifton <nickc@redhat.com>
1028 * readelf.c: (struct unw_aux_info): Remove const modifier for
1030 (process_unwind): Remove non-K&R compliant LHS type cast in call
1031 to GET_DATA_ALLOC macro.
1033 2001-02-28 Philip Blundell <pb@futuretv.com>
1035 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
1036 ABI is in use; remove ambiguity between the "unknown" EABI and
1037 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
1038 renamed EF_xx constants.
1040 2001-02-27 Alan Modra <alan@linuxcare.com.au>
1042 * configure.in (BFD_VERSION): New.
1043 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
1044 * configure: Regenerate.
1045 * Makefile.am: Run "make dep-am"
1046 * Makefile.in: Regenerate.
1048 2001-02-14 Nick Clifton <nickc@redhat.com>
1050 * MAINTAINERS: Add "Obvious Fix" rule.
1052 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1054 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
1055 literal concatenation.
1057 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1059 * readelf.c (struct unw_aux_info): Remove const from the info member.
1060 (process_unwind): Don't type-cast the third argument to the
1061 GET_DATA_ALLOC macro.
1063 2001-02-11 Nick Clifton <nickc@redhat.com>
1065 * readelf.c (dump_relocations): Free corrected allocated
1067 (process_unwind): Fix compile time warning.
1069 2001-02-10 Nick Clifton <nickc@redhat.com>
1071 * binutils.texi: Document new --unwind option to readelf.
1073 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
1075 * readelf.c: Add linux target for S/390.
1077 2001-02-10 Alan Modra <alan@linuxcare.com.au>
1079 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
1082 2001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
1084 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
1085 * aclocal.m4: Regenerate.
1086 * configure: Regenerate.
1088 2001-02-07 Todd Vierling <tv@wasabisystems.com>
1090 * bucomm.c (bfd_target_vector): Change extern array to pointer.
1091 * objdump.c (bfd_target_vector): Likewise.
1093 2001-02-07 David Mosberger <davidm@hpl.hp.com>
1095 * readelf.c (process_unwind): New function.
1096 (slurp_ia64_unwind_table): Ditto.
1097 (dump_ia64_unwind): Ditto.
1098 (find_symbol_for_address): Ditto.
1099 (slurp_rela_relocs): New function (split off from dump_relocations()).
1100 (slurp_rel_relocs): Ditto.
1101 (parse_args): Handle '-u' option.
1103 * unwind-ia64.c: New file.
1104 * unwind-ia64.h: New file.
1105 * Makefile.am: Include unwind-ia64.c in readelf build.
1106 * Makefile.in: Regenerate.
1107 * po/binutils.pot: Regenerate.
1109 2001-02-04 Philip Blundell <philb@gnu.org>
1111 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
1112 * configure: Regenerate.
1114 2001-01-31 Steve deRosier <sderosier@vari-lite.com>
1116 * ieee.c (ieee_add_bb11): Don't check for backslashes
1117 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1119 2001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
1121 * ieee.c: Update copyright.
1122 (ieee_start_compilation_unit): Don't check for backslashes
1123 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1125 * stabs.c: Update copyright. Include "filenames.h".
1126 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
1128 2001-01-23 Jakub Jelinek <jakub@redhat.com>
1130 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
1131 sections are present before using them. Remove code duplication.
1132 (process_symbol_table): Check if VERDEF or VERNEED sections are
1133 present before using them.
1135 2001-01-17 Nick Clifton <nickc@redhat.com>
1137 * objcopy.c (copy_object): Fail if attempting to convert the
1138 endianness of the input object file.
1140 * binutils.texi: Explain that objcopy cannot convert endianness.
1142 2001-01-16 Nick Clifton <nickc@redhat.com>
1144 * readelf.c (string_table_length): New variable.
1145 (SECTION_NAME): Catch out of range indices and missing section
1147 (process_section_headers): Delete useless local variable
1148 string_table_offset. Set the value of string_table_length
1149 after loading the string table.
1150 (process_mips_specific): Use SECTION_NAME macro.
1151 (process_file): Set string_table_length to 0 when it is freed.
1153 2001-01-12 Nick Clifton <nickc@redhat.com>
1155 * version.c (print_version): Update copyright date.
1157 2001-01-11 Peter Targett <peter.targett@arccores.com>
1159 * readelf.c (dump_relocations): Include selection with EM_ARC.
1160 (get_machine_name) Update name to "ARC".
1162 2001-01-09 Nick Clifton <nickc@redhat.com>
1164 * Makefile.am: Add rule to build objdump.o from objdump.c and
1166 * Makefile.in: Regenerate.
1168 * configure.in: Define OBJDUMP_DEFS. Default to empty.
1169 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
1170 -DDISASSEMBLER_NEEDS_RELOCS.
1171 * configure: Regenerate.
1173 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
1174 is defined read in the relocs even if dump_reloc_info is
1177 2001-01-07 Philip Blundell <philb@gnu.org>
1179 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
1183 2000-12-19 Nick Clifton <nickc@redhat.com>
1185 * dlltool.c: Add missing support for arm-epoc-pe.
1186 * configure.in: Add missing support for arm-epoc-pe.
1187 * configure: Regenerate.
1189 2000-12-15 Nick Clifton <nickc@redhat.com>
1191 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
1192 Mode parts of the x86 port.
1194 2000-12-04 Andreas Jaeger <aj@suse.de>
1196 * readelf.c (guess_is_rela): Add EM_X86_64.
1197 (dump_relocations): Add EM_X86_64.
1198 (get_machine_name): Add EM_X86_64.
1199 Include "elf/x86-64.h".
1201 2000-12-12 Nick Clifton <nickc@redhat.com>
1203 * readelf.c: Fix formatting.
1205 2000-12-11 Jan Hubicka <jh@suse.cz>
1207 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
1209 2000-12-07 Andrew Haley <aph@redhat.com>
1211 * readelf.c (display_debug_frames): Only display columns that are
1212 referenced by the frame debug info.
1214 2000-12-05 Nick Clifton <nickc@redhat.com>
1216 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
1218 2000-12-04 Jason Merrill <jason@redhat.com>
1220 * readelf.c (process_section_headers): Handle linkonce.wi sections.
1221 (display_debug_section): Likewise.
1222 (display_debug_info): Display CU header before bailing.
1224 2000-12-01 Chris Demetriou <cgd@sibyte.com>
1226 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
1227 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
1228 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
1230 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
1233 * readelf.c (get_machine_flags): Add case for
1236 2000-11-30 Richard Earnshaw <rearnsha@arm.com>
1238 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
1240 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
1242 * MAINTAINERS: Add J�örn Rennecke and self as SH maintainers.
1243 Change sourceware.cygnus.com to sources.redhat.com.
1244 Fix typo for "amongst".
1246 2000-11-28 Nick Clifton <nickc@redhat.com>
1248 * strip.1 (COPYING): Mention that the GNU Free Documentation
1249 License is present in the sources, but not the output, and
1250 also available from the GNU website.
1251 (GNU Free Documentation License): Comment out this section.
1260 * addr2line.1: Ditto.
1262 2000-11-27 DJ Delorie <dj@redhat.com>
1264 * readelf.c (usage): Add -wf (--debug-dump=frames) option.
1265 (parse_args): Support -wf option.
1266 (process_section_headers): Ditto.
1267 (debug_displays): Ditto.
1268 (display_debug_frames): New, dump *_frame sections.
1269 (frame_need_space): Support for above.
1270 (frame_display_row): Ditto.
1271 * binutils.texi: Document it.
1273 2000-11-24 Nick Clifton <nickc@redhat.com>
1275 * NEWS: Announce support for v5t, v5te and XScale.
1277 2000-11-22 Nick Clifton <nickc@redhat.com>
1279 * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
1280 EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
1281 (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
1282 (get_elf_section_flags: Add SHF_GROUP.
1283 (process_section_headers): Adjust output for 32-bit binaries
1284 to look nice on an 80 column terminal.
1286 2000-11-20 H.J. Lu <hjl@gnu.org>
1288 * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
1291 2000-11-17 Richard Henderson <rth@redhat.com>
1293 * readelf.c (display_debug_lines): Adjust last change to
1294 use sizeof (external->li_length).
1296 2000-11-17 Richard Henderson <rth@redhat.com>
1298 * readelf.c (display_debug_lines): Fix section length check
1299 and end_of_sequence computation.
1301 2000-11-06 Nick Clifton <nickc@redhat.com>
1303 * binutils.texi: Add GNU Free Documentation License.
1304 * objcopy.1: Add GNU Free Documentation License.
1305 * objdump.1: Add GNU Free Documentation License.
1306 * addr2line.1: Add GNU Free Documentation License.
1307 * ar.1: Add GNU Free Documentation License.
1308 * nlmconv.1: Add GNU Free Documentation License.
1309 * nm.1: Add GNU Free Documentation License.
1310 * ranlib.1: Add GNU Free Documentation License.
1311 * size.1: Add GNU Free Documentation License.
1312 * strings.1: Add GNU Free Documentation License.
1313 * strip.1: Add GNU Free Documentation License.
1315 2000-10-06 Luciano Gemme <ishitawa@yahoo.com>
1317 * objcopy.c (--srec-len=nn): New parameter to set the
1318 maximum length of generated Srecords.
1319 (--srec-forceS3): New parameter that restricts the generation of
1320 Srecords to type S3 only.
1321 * binutils.texi: Document new command line switches.
1322 * objcopy.1: Docuemnt the new command line switches.
1323 * NEWS: Announce the existence of the new command line switches.
1325 2000-10-31 Nick Clifton <nickc@redhat.com>
1327 * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
1328 code. Add Eric Chrisopher as maintainer of MN10300 port.
1330 2000-10-12 Roger Sayle <roger@metaphorics.com>
1332 * Make comma after string after icon/control optional.
1334 2000-09-13 Anders Norlander <anorland@acc.umu.se>
1336 * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
1338 * NEWS: Mention support for MIPS32.
1340 2000-09-08 Nick Clifton <nickc@redhat.com>
1342 * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
1344 2000-09-07 H.J. Lu <hjl@gnu.org>
1346 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
1347 * configure: Rebuild.
1349 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
1351 * configure: Rebuilt with new libtool.m4.
1353 2000-09-05 Nick Clifton <nickc@redhat.com>
1355 * aclocal.m4: Regenerate.
1356 * config.in: Regenerate.
1357 * configure: Regenerate.
1359 2000-09-04 Todd Vierling <tv@wasabisystems.com>
1361 * strip.1: Fix stray '\' in -o formatting.
1363 2000-09-02 Nick Clifton <nickc@redhat.com>
1365 * configure.in: Increase version number to 2.10.91.
1366 * configure: Regenerate.
1367 * aclocal.m4: Regenerate.
1368 * config.in: Regenerate.
1369 * po/binutils.pot: Regenerate.
1371 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
1373 * acinclude.m4: Include libtool and gettext macros from the
1375 * aclocal.m4, configure: Rebuilt.
1377 2000-08-30 Jamie Guinan <guinan@bluebutton.com>
1379 * resrc.c (close_input_stream): Delete extraneous logic
1381 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
1383 * NEWS: Mention support for CRIS.
1385 2000-08-21 Nick Clifton <nickc@redhat.com>
1387 * addr2line.c: Changed email address for Ulrich Lauther.
1389 2000-08-17 Christopher C. Chimelis <chris@debian.org>
1391 * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
1393 2000-08-17 Nick Clifton <nickc@redhat.com>
1395 * readelf.c (display_debug_pubnames): Only issue warning
1396 message once. Terminate message with a new line.
1397 (display_debug_aranges): Only display version 2 debug info.
1399 2000-08-14 Todd Vierling <tv@wasabisystems.com>
1401 * objcopy.c (strip_main): Silently accept -d as an alias for -g
1402 for compatability with old BSD systems.
1404 2000-08-14 Jason Eckhardt <jle@cygnus.com>
1406 * NEWS: Mention i860 support.
1408 2000-08-11 Carlo Wood <carlo@alinoe.com>
1410 * addr2line.c (main): Add const to char *.
1412 2000-08-11 Geoff Keating <geoffk@cygnus.com>
1414 * ar.c (main): Don't crash if called with no arguments
1415 or only '-X32_64' as an argument.
1417 2000-08-08 DJ Delorie <dj@redhat.com>
1419 * resrc.c: use "gcc -xc" instead of -xc-header
1421 2000-08-05 Jason Eckhardt <jle@cygnus.com>
1423 * readelf.c (elf/i860.h): Include.
1424 (dump_relocations): Add recognition of i860 architecture.
1425 (guess_is_rela): Add recognition of i860 architecture.
1427 2000-08-03 Nick Clifton <nickc@cygnus.com>
1429 * MAINTAINERS: Add information about CGEN maintainers.
1431 2000-07-26 Geoff Keating <geoffk@cygnus.com>
1433 * nm.c (main): Ignore '-X32_64' as an option.
1434 * ar.c (main): Likewise.
1435 * binutils.texi (nm): Document new option.
1438 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1440 * rdcoff.c (external_coff_symbol_p): K&R-ise.
1442 2000-07-20 H.J. Lu <hjl@gnu.org>
1444 * binutils.texi: Put back "@end table" deleted by
1447 2000-07-05 Kenneth Block <krblock@computer.org>
1449 * nm.c: Add optional style to demangle switch.
1450 * objdump.c: Add optional style to demangle switch.
1451 * addr2line.c: Add optional style to demangle switch.
1452 * binutils.texi: Document optional style to demangle
1455 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
1457 * MAINTAINERS: Add self as CRIS port maintainer.
1458 * readelf.c: Include elf/cris.h.
1459 (guess_is_rela): Handle EM_CRIS.
1460 (dump_relocations): Ditto.
1461 (get_machine_name): Ditto.
1462 * Makefile.am: Rebuild dependencies.
1463 * Makefile.in: Regenerate.
1464 * po/binutils.pot: Regenerate.
1466 2000-07-19 H.J. Lu <hjl@gnu.org>
1468 * readelf.c (get_dynamic_type): Change "AUXILARY" to
1470 (process_dynamic_segment): Print out strings for DT_CONFIG,
1471 DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
1473 2000-07-19 Mark Kettenis <kettenis@gnu.org>
1475 * nm.c (usage): Change output of `nm --help' to include a
1476 description of the purpose of the program and a detailed
1477 description of the accepted options.
1479 2000-07-19 H.J. Lu <hjl@gnu.org>
1481 * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
1484 2000-07-19 H.J. Lu <hjl@gnu.org>
1486 * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
1488 2000-07-19 H.J. Lu <hjl@gnu.org>
1490 * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
1492 (process_dynamic_segment): Likewise.
1494 * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
1495 DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
1496 (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
1497 DF_1_NODUMP and DF_1_CONLFAT.
1499 2000-07-18 Nick Clifton <nickc@cygnus.com>
1501 * binutils.texi (readelf): Fix spelling typo.
1503 2000-07-11 Mark Kettenis <kettenis@gnu.org>
1505 * objdump.c (usage): Make output of `objdump --help' more
1506 consistent with the rest of the GNU world. Add a line describing
1507 the purpose of the program.
1509 2000-07-10 David Huggins-Daines <dhd@linuxcare.com>
1511 * stabs.c (parse_stab_range_type): Cast to proper type to fix
1514 2000-07-10 Ryan Bradetich <rbradetich@uswest.net>
1516 * readelf.c (get_dynamic_data): Add casts and use unsigned chars
1518 (process_symbol_table): Ditto.
1519 (procesS_extended_line_op): Ditto.
1520 (display_debug_lines): Ditto.
1521 (display_debug_pubnames): Ditto.
1522 (read_and_display_attr): Ditto.
1524 2000-07-09 Nick Clifton <nickc@cygnus.com>
1526 * MAINTAINERS: Add several more port specific maintainers.
1528 2000-07-05 Nick Clifton <nickc@cygnus.com>
1530 * MAINTAINERS: Add blanket write privs for Michael Meissner.
1532 2000-06-05 DJ Delorie <dj@redhat.com>
1536 2000-07-01 Eric Fifer <EFifer@sanwaint.com>
1538 * dllwrap.c: Changed mistaken dyn_string_append() calls
1539 to dyn_string_append_cstr().
1541 2000-07-01 Alexander Aganichev <AAganichev@hypercom.com>
1543 * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
1544 struct debug_type stores size in bytes.
1546 2000-07-01 Alan Modra <alan@linuxcare.com.au>
1548 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
1549 (CLEANFILES): Add DEPA.
1550 * Makefile.in: Regenerate.
1552 2000-06-27 Alan Modra <alan@linuxcare.com.au>
1554 * ar.c: Revert incorrect 2000-06-25 patch.
1555 * bucomm.c: Likewise.
1557 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
1559 * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
1560 (external_coff_symbol_p): New function.
1561 (parse_coff): Use it.
1563 2000-06-25 Alexander Aganichev <AAganichev@hypercom.com>
1565 * ar.c (normalize): Advance past both characters in a DOS based
1566 <letter>: filepath prefix.
1568 * bucomm.c (make_tempname): Likewise.
1570 2000-06-24 Nick Clifton <nickc@cygnus.com>
1572 * objdump.c (usage): Fix description of --stabs switch.
1574 2000-06-22 Alan Modra <alan@linuxcare.com.au>
1576 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
1578 * Makefile.in: Regenerate.
1580 2000-06-20 Alexander Aganichev <AAganichev@hypercom.com>
1582 * ar.c (normalize): Correct pointer comparison when checking for
1585 * bucomm.c (make_tempname): Likewise.
1587 * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
1588 and search for backslashes in the original pathname.
1589 (ieee_add_bb11): Likewise.
1591 2000-06-18 Nick Clifton <nickc@redhat.com>
1593 * ar.c (print_contents): Improve verbose message.
1595 2000-06-15 H.J. Lu <hjl@gnu.org>
1597 * dyn-string.c: Removed. Not needed with dyn-string.c in
1599 * dyn-string.h: Likewise.
1601 * Makefile.am: Remove references to dyn-string.c and
1602 dyn-string.h. Rebuild dependency.
1603 * Makefile.in: Rebuild.
1605 2000-06-15 H.J. Lu <hjl@gnu.org>
1607 * binutils.texi: Put a warning on copying relocatable object
1608 files between two different formats.
1610 2000-06-13 DJ Delorie <dj@cygnus.com>
1612 * rcparse.y (control): ICON controls take an id as the first
1613 parameter, not an optional string. Also, call new convenience
1614 function that takes res_id's.
1615 * resrc.c (define_control): missing text means zero-length string,
1617 (define_icon_control): New.
1618 * windres.h: declare define_icon_control.
1620 2000-06-13 H.J. Lu <hjl@gnu.org>
1622 * configure: Regenerate.
1624 2000-06-08 David O'Brien <obrien@FreeBSD.org>
1626 * configure.in (VERSION): Update to show this is the CVS mainline.
1628 2000-06-02 David O'Brien <obrien@FreeBSD.org>
1630 * strings.c (isgraphic): Interpret <TAB> as a printable character,
1631 analogous to <SPACE>.
1633 2000-05-30 Alan Modra <alan@linuxcare.com.au>
1635 * objdump.c (display_target_list): Use bfd_close_all_done, not
1636 bfd_close to fix crash caused by 2000-05-24 change.
1638 2000-05-25 DJ Delorie <dj@cygnus.com>
1640 * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
1642 2000-05-26 Alan Modra <alan@linuxcare.com.au>
1644 * Makefile.am: Update dependencies with "make dep-am"
1645 * Makefile.in: Regenerate.
1647 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
1649 * ar.c: Include filenames.h.
1650 (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
1651 and drive letters in file names.
1652 (main): Support backslashes and drive letters in argv[0]. Drop
1653 the .exe suffix, if any, in argv[0] if is_ranlib is negative. Use
1654 FILENAME_CMP instead of strcmp to compare file names.
1655 (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
1657 (do_quick_append) [__GO32__]: Ditto.
1658 (get_pos_bfd, delete_members, move_members, replace_members):
1659 Compare file names with FILENAME_CMP.
1661 * bucomm.c: Include filenames.h.
1662 (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
1663 forward/backward slashes and drive letters in file names.
1665 * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
1666 mixed forward/backward slashes and drive letters in file names.
1668 * strings.c (O_BINARY, setmode, SET_BINARY): Define.
1669 (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
1672 * objcopy.c: Include filenames.h.
1673 (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
1674 before comparing to "strip".
1675 Use FILENAME_CMP to compare file names.
1677 * arsup.c: Include filenames.h.
1678 (map_over_list, ar_delete, ar_replace, ar_extract): Use
1679 FILENAME_CMP to compare file names.
1680 (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
1681 the temporary file name.
1683 * configure.in: Check for setmode.
1684 * configure: Regenerate.
1686 2000-05-24 Alan Modra <alan@linuxcare.com.au>
1688 * objdump.c (display_target_list): Close the bfd.
1689 (display_info_table): Likewise.
1691 2000-05-14 H.J. Lu (hjl@gnu.org)
1693 * objcopy.c (filter_symbols): Don't strip global symbols in
1694 relocatable object files.
1696 2000-05-14 Alan Modra <alan@linuxcare.com.au>
1698 * size.c (usage): Associate short options with corresponding long
1699 option to give a clue as to their function.
1701 2000-05-14 Philippe De Muyter <phdm@macqel.be>
1703 * size.c (main): Accept and ignore `-f' option.
1705 2000-05-13 Alan Modra <alan@linuxcare.com.au>
1707 * bucomm.h (gettext, dgettext, dcgettext, textdomain,
1708 bindtextdomain): Replace defines with those from intl/libgettext.h
1709 to quieten gcc warnings.
1711 2000-05-12 H.J. Lu <hjl@gnu.org>
1713 * nlmconv.c (temp_filename): Removed.
1715 * nlmconv.c (link_inputs): Use make_temp_file () instead of
1716 choose_temp_base ().
1717 * objdump.c (display_target_list): Likewise.
1718 (display_info_table): Likewise.
1720 2000-05-08 Alan Modra <alan@linuxcare.com.au>
1722 * objcopy.c (setup_section): Add const and gettext calls for err.
1724 2000-05-02 H.J. Lu <hjl@gnu.org>
1726 * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
1727 ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
1728 ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
1729 ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
1730 and ELFOSABI_OPENBSD.
1732 2000-05-02 Kazu Hirata <kazu@hxi.com>
1734 * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
1735 * srconv.c: Likewise.
1736 * sysdump.c: Likewise.
1738 2000-04-23 Denis Chertykov <denisc@overta.ru>
1740 * readelf.c (guess_is_rela): AVR uses RELA relocations.
1741 (get_machine_name): machine name for EM_AVR added.
1743 2000-04-21 Richard Henderson <rth@cygnus.com>
1744 David Mosberger <davidm@hpl.hp.com>
1746 * Makefile.am (readelf.o): Add elf/ia64.h.
1747 * Makefile.in: Rebuild.
1748 * readelf.c: Include elf/ia64.h.
1749 (guess_is_rela, dump_relocations): Handle EM_IA_64.
1751 2000-04-17 Timothy Wall <twall@cygnus.com>
1753 * objdump.c (disassemble_data): Set octets per byte *after*
1754 resolving arch/mach for binary files.
1756 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1758 * arlex.l: Add directives to increase lex buffer size.
1760 * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
1761 already included by bucomm.h.
1763 2000-04-10 Philippe De Muyter <phdm@macqel.be>
1765 * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
1766 `strftime' since strftime is not available on all systems.
1767 (process_mips_specific): Ditto.
1769 2000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
1771 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
1772 --enable-build-warnings option.
1773 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
1774 * Makefile.in, configure: Re-generate.
1776 2000-04-06 Alan Modra <alan@linuxcare.com.au>
1778 * addr2line.c: Update copyright.
1779 * objcopy.1: Likewise, and title.
1780 * strings.1: Likewise.
1782 * version.c (print_version): Add 2000.
1784 * rddbg.c (read_section_stabs_debugging_info): Don't use
1785 bfd_size_type for strx to avoid printf problems if BFD64.
1787 * bucomm.c: (report): Remove `static'.
1788 Move inclusion of stdarg.h/vararg.h from here.
1789 * bucomm.h: To here.
1790 (CONST): Change all occurences to const.
1791 (report): Declare it.
1792 (bfd_fatal): Add ATTRIBUTE_NORETURN.
1793 (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
1794 (non_fatal): Add ATTRIBUTE_PRINTF_1.
1796 * ar.c (main): Use fatal or non_fatal instead of fprintf.
1797 Correct a typo in an error message.
1798 (do_quick_append): Use non_fatal instead of fprintf.
1799 (move_members): Use fatal instead of fprintf, exit.
1800 * coffdump.c (main): Same here.
1802 * dlltool.c (display): Delete.
1804 (inform): Use `report' instead of `display'.
1805 (rvaafter): Remove trailing \n from fatal error msg.
1807 (asm_prefix): Ditto.
1808 (yyerror): Replace `warn' with `non_fatal', and remove \n.
1809 (def_name): Likewise.
1811 (scan_all_symbols): Likewise.
1812 (gen_lib_file): Likewise.
1813 (def_library): Likewise. Remove extra program_name too.
1814 (run): Remove \n from inform strings.
1815 (scan_drectve_symbols): Likewise.
1816 (add_excludes): Likewise.
1817 (scan_open_obj_file): Likewise.
1818 (gen_exp_file): Likewise.
1819 (gen_lib_file): Likewise.
1820 (process_duplicates): Likewise.
1822 * Makefile.am (dllwrap_SOURCES): Add version.c.
1823 * dllwrap.c (program_version): Delete.
1824 (print_version): Delete.
1825 (display): Always print trailing \n.
1827 (delete_temp_files): Use warn instead of fprintf. Use gettext.
1830 (usage): gettext'ify.
1831 (long_options): Add missing initialisers.
1833 * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
1834 (select_output_format): Likewise.
1835 (powerpc_mangle_relocs): Likewise.
1836 (link_inputs): Likewise.
1838 * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
1839 (set_output_format): Likewise.
1840 (main): Use non_fatal instead of fprintf.
1841 (display_rel_file): Likewise.
1843 * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
1844 (slurp_dynamic_symtab): Same here.
1845 (disassemble_data): And here.
1846 (read_section_stabs): And here.
1847 (read_section_stabs): And here.
1848 (dump_bfd): And here.
1850 (objdump_sprintf): Use fatal instead of fprintf, exit.
1851 (disassemble_data): Same here.
1853 * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
1854 (parse_coff_struct_type): Same here.
1855 (parse_coff_enum_type): And here.
1856 (parse_coff): And here.
1857 * rddbg.c (read_debugging_info): And here.
1858 * size.c (main): And here.
1859 * windres.c (format_from_name): And here.
1860 * wrstabs.c (stab_write_symbol): Here too.
1861 (write_stabs_in_sections_debugging_info): And here.
1862 (stab_int_type): And here.
1863 (stab_struct_field): And here.
1864 (stab_typdef): And here.
1866 * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
1867 * srconv.c (main): Same here.
1868 * strings.c (main): And here.
1869 (integer_arg): And here.
1870 * sysdump.c (main): And here.
1872 2000-04-06 Timothy Wall <twall@cygnus.com>
1874 * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
1876 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
1878 * readelf.c (decode_location_expression): Loop through multiple
1880 (read_and_display_attr): Pass in length.
1882 * readelf.c (read_and_display_attr): Add CU offset to references.
1883 (display_debug_info): Pass it in.
1885 2000-04-06 Nick Clifton <nickc@cygnus.com>
1887 * readelf.c (decode_ARM_machine_flags): New function.
1888 (get_machine_flags): Call decode_ARM_machine_flags for ARM
1891 (get_machine_name): Catch EM_AVR
1893 2000-04-05 Alan Modra <alan@linuxcare.com.au>
1895 * binutils.texi: Remove optional `=' from long options that have
1896 an `=' in the argument.
1897 * objcopy.1: Here too. Remove extra space on discard-all.
1899 * binutils.texi (objcopy): Mention --redefine-sym.
1900 * objcopy.1: Here too.
1903 * objcopy.c (parse_flags): Split off flag names from error message
1904 gettext as they are not translated.
1905 (copy_main): Similarly split off option name for --add-section,
1906 --set-section-flags, --change-section-vma, --change-section-lma
1908 Some white space changes.
1910 from Matthew Benjamin <matt@linuxbox.nu>
1911 * objcopy.c (struct redefine_node): New.
1912 (redefine_sym_list): New.
1913 (redefine_list_append): New.
1914 (lookup_sym_redefinition): New.
1915 (OPTION_REDEFINE_SYM): New.
1916 (copy_options): Add --redefine-sym option.
1917 (copy_usage): Mention it.
1918 (filter_symbols): Rename symbols on redefine_sym_list.
1919 (copy_object): Call filter_symbols if redefine_sym_list != NULL.
1920 (copy_main): Handle OPTION_REDEFINE_SYM.
1922 2000-04-04 H.J. Lu <hjl@gnu.org>
1924 * readelf.c (process_symbol_table): Correctly read in symbol
1925 versioning information.
1927 2000-04-04 Alan Modra <alan@linuxcare.com.au>
1929 * po/binutils.pot: Regenerate.
1931 * addr2line.c (usage): Restore translated part of bug string.
1932 * ar.c (usage): Likewise.
1933 * nlmconv.c (show_usage): Likewise.
1934 * nm.c (usage): Likewise.
1935 * objcopy.c (copy_usage): Likewise.
1936 (strip_usage): Likewise.
1937 * objdump.c (usage): Likewise.
1938 * readelf.c (usage): Likewise.
1939 * size.c (usage): Likewise.
1940 * strings.c (usage): Likewise.
1941 * windres.c (usage): Likewise.
1943 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
1944 (DEP): Quote when passing vars to sub-make. Add warning
1946 (DEP1): Rewrite for "gcc -MM".
1947 (CLEANFILES): Add DEP2.
1948 Update dependencies.
1949 * Makefile.in: Regenerate.
1951 2000-04-04 H.J. Lu <hjl@gnu.org>
1953 * Makefile.am (GENERATED_HFILES): Add rcparse.h
1954 (arparse.h): Depend on arparse.c
1955 (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
1957 2000-04-03 H.J. Lu (hjl@gnu.org)
1959 * size.c (usage): Use REPORT_BUGS_TO.
1961 2000-04-03 Alan Modra <alan@linuxcare.com.au>
1963 * bucomm.h: #include "bin-bugs.h"
1964 * addr2line.c (usage): Use REPORT_BUGS_TO.
1965 * ar.c (usage): Likewise.
1966 * nlmconv.c (show_usage): Likewise.
1967 * nm.c (usage): Likewise.
1968 (OPTION_TARGET): Define.
1969 (long_options): Use OPTION_TARGET rather than 200.
1972 * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
1973 (strip_usage): Likewise.
1974 * objdump.c (usage): Likewise.
1975 * readelf.c (usage): Likewise.
1976 * strings.c (usage): Likewise.
1977 * windres.c (usage): Likewise.
1979 2000-03-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
1981 * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
1983 2000-03-27 Nick Clifton <nickc@cygnus.com>
1985 * rddbg.c (read_section_stabs_debugging_info): Catch out of range
1986 string offsets in corrupt stabs entries.
1988 2000-03-27 Alan Modra <alan@linuxcare.com.au>
1990 * readelf.c: Include elf/avr.h
1991 (dump_relocations): Add EM_AVR case.
1993 2000-03-09 Tim Waugh <twaugh@redhat.com>
1995 * strings.1: Correct '-bytes' to '--bytes'.
1997 2000-03-08 H.J. Lu <hjl@gnu.org>
1999 * Makefile.am (install-exec-local): Depend on
2000 install-binPROGRAMS for parallel make.
2001 * Makefile.in: Regenerated.
2003 2000-02-27 Ian Lance Taylor <ian@zembu.com>
2005 From Brad Lucier <lucier@math.purdue.edu>:
2006 * readelf.c (process_dynamic_segment): Add cast to make sure
2007 argument to %* is int.
2009 2000-02-25 H.J. Lu <hjl@gnu.org>
2011 * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
2013 2000-02-24 Nick Clifton <nickc@cygnus.com>
2015 * configure.in: Add arm-wince, mips-pe and sh-pe targets.
2016 * configure: Regenerate.
2018 * dlltool.c: Add support for sh-pe and mips-pe targets.
2019 * rescoff.c: Add support for sh-pe and mips-pe targets.
2021 2000-02-23 H.J. Lu <hjl@gnu.org>
2023 * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
2025 2000-02-22 Nick Clifton <nickc@cygnus.com>
2027 * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
2029 2000-02-22 Ian Lance Taylor <ian@zembu.com>
2031 From Brad Lucier <lucier@math.purdue.edu>:
2032 * readelf.c (process_version_sections): Add casts to make sure
2033 argument to %* is an int.
2034 (process_mips_specific): Add casts to make printf arguments match
2037 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
2039 * objdump.c (dump_section_header): Change `opb' to unsigned.
2040 (find_symbol_for_address): Same here.
2041 (disassemble_data): And here. Change `addr_offset',
2042 `stop_offset', `nextstop_offset' to unsigned long.
2043 (dump_data): Change opb to unsigned.
2045 2000-02-18 Frank Ch. Eigler <fche@redhat.com>
2047 * resrc.c: Remove unmatched #if for cygwin.
2049 2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com>
2051 * binutils.texi: Document the change of flavor name from atpcs-special
2052 to special-atpcs to prevent name conflict in gdb.
2054 2000-02-08 Timothy Wall <twall@redhat.com>
2056 * objdump.c (show_line): Fix bug preventing printing of the very
2057 first line (line zero) of a file when interlisting source and
2058 assembly. Added option to print entire context from start of file
2059 when the first line from that file is encountered.
2061 2000-02-03 Timothy Wall <twall@redhat.com>
2063 * objdump.c (dump_section_header, find_symbol_for_address,
2064 show_line, disassemble_bytes, disassemble_data, dump_data):
2065 distinguish between octets and bytes.
2067 2000-01-27 Thomas de Lellis <tdel@windriver.com>
2069 * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
2070 check to unresolved symbols.
2071 (print_symbol_info_sysv): Ditto.
2072 (print_symbol_info_posix): Ditto.
2074 * binutils.texi: Document new 'V' symclass flag for nm.
2076 2000-01-27 Nick Clifton <nickc@redhat.com>
2078 * binutils.texi (objdump): Document new ARM specific
2079 disassembler options.
2081 * objdump.c (usage): Call disassembler_usage().
2083 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
2085 * readelf.c (get_dynamic_flags): Return buff.
2086 (process_dynamic_segment): Don't pass error strings to printf
2088 (read_and_display_attr): Use lx and ld to print longs.
2089 (process_corefile_note_segment): Cast bfd_vma to unsigned long
2093 2000-01-17 Nick Clifton <nickc@cygnus.com>
2095 * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
2097 2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
2099 * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
2101 (debug_tag_type): Here too.
2102 * ieee.c (ieee_builtin_type): And here.
2103 * stabs.c (parse_stab_type, parse_stab_array_type): And here.
2105 2000-01-13 Nick Clifton <nickc@cygnus.com>
2107 * readelf.c (get_machine_name): Change EM_S370 to return "IBM
2110 2000-01-11 Nick Clifton <nickc@cygnus.com>
2112 * readelf.c (get_dynamic_type): Remove DT_ENCODING.
2114 2000-01-10 Nick Clifton <nickc@cygnus.com>
2116 * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
2118 2000-01-07 Mumit Khan <khan@xraylith.wisc.edu>
2120 * windres.c (long_options): Add --use-temp-file and
2121 --no-use-temp-file options.
2125 * windres.h: Update read_rc_file prototype.
2127 * resrc.c (cpp_temp_file): New static variable.
2128 (istream_type): New static variable.
2129 (close_pipe): Delete function.
2130 (run_cmd): New static function.
2131 (open_input_stream): New static function.
2132 (close_input_stream): New static function.
2133 (look_for_default): Handle DOS directory separator. Use
2134 open_input_stream instead of popen.
2135 (read_rc_file): Likewise.
2137 * binutils.texi: Document --use-temp-file, --no-use-temp-file
2140 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
2142 * dlltool.c (create_compat_implib): New variable.
2143 (gen_exp_file): Use.
2144 (make_one_lib_file): Use.
2145 (long_options): Add --compat-implib option.
2149 * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
2150 (main): Use. Don't look for "32" in cygwin and mingw target names.
2152 2000-01-03 Nick Clifton <nickc@cygnus.com>
2154 * binutils.texi: Document new, ARM specific disassembler
2155 command line switch "-M force-thumb".
2157 For older changes see ChangeLog-9899
2163 version-control: never