1 Fri Nov 9 17:55:39 2001 Jeffrey A Law (law@cygnus.com)
3 * readelf.c (get_elf_class): Fix ISO portability glitch.
4 (get_data_encoding, get_osabi_name, request_dump): Likewise.
6 2001-11-07 Jakub Jelinek <jakub@redhat.com>
8 * readelf.c (debug_str, debug_str_size): New.
9 (display_debug_abbrev): If no abbrevs were read, skip the CU.
11 (read_and_display_addr): Handle DW_FORM_strp.
12 (display_debug_info): Read .debug_str section if present,
13 so that DW_FORM_strp can be handled.
14 Fix test for non-existant .debug_abbrev section.
16 2001-11-05 Jakub Jelinek <jakub@redhat.com>
18 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
20 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
22 2001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
24 * MAINTAINERS: Add self as s390/s390x maintainer.
26 2001-11-02 Tom Rix <trix@bluey.cygnus.com>
28 * MAINTAINERS: Add self as PPC XCOFF maintainer.
30 2001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
32 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
33 * configure: Regernate.
37 2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
39 * MAINTAINERS: Add self as MMIX port maintainer.
40 * readelf.c: Include elf/mmix.h.
41 (guess_is_rela): MMIX is RELA.
42 (dump_relocations): Handle MMIX relocations.
43 * Makefile.am: Regenerate dependencies.
44 * Makefile.in: Regenerate.
46 2001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
48 * readelf.c (parse_args): Handle multiple options to the -w
51 2001-10-12 Jakub Jelinek <jakub@redhat.com>
53 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
54 LOPROC, LOOS and LOUSER.
56 Thu Oct 11 21:45:17 2001 J"orn Rennecke <amylaar@onetel.net.uk>
58 * MAINTAINERS: Update my email address.
60 2001-10-03 Alan Modra <amodra@bigpond.net.au>
62 * doc/Makefile.in: Regenerate.
63 * configure: Regenerate.
65 2001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
67 * readelf.c (display_debug_line, display_debug_pubnames,
68 display_debug_info, display_debug_frames): Detect and warn
69 about 64-bit format entries.
70 (display_debug_aranges): Reword 64-bit warning.
71 (debug_displays): Add .debug_pubtypes as a known, but not yet
72 supported, debug section.
74 2001-10-02 Alan Modra <amodra@bigpond.net.au>
76 * coffdump.c (PROGRAM_VERSION): Delete.
77 (main <'V'>): Call print_version.
79 * sysdump.c: Likewise.
80 * version.c (program_version): Remove.
81 (print_version): Use BFD_VERSION_STRING. Just print the current
82 year in copyright message.
83 * addr2line.c (program_version): Remove unused declaration.
84 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
86 * Makefile.am (Makefile): Depend on bfd/configure.in.
87 (cplus-dem.o): Depend on Makefile.
89 * Makefile.in: Regenerate.
91 2001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
93 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
94 format .debug_arange sections.
95 (main): Add missing prototype.
97 2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
99 * Makefile.am: Update dependencies with "make dep-am".
100 * Makefile.in: Regenerate.
102 2001-09-28 Richard Henderson <rth@redhat.com>
104 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
106 2001-09-26 Alan Modra <amodra@bigpond.net.au>
108 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
110 (non_fatal): Likewise.
111 * objdump.c (objdump_sprintf): Likewise.
112 * readelf.c (error): Likewise.
115 2001-09-25 Jakub Jelinek <jakub@redhat.com>
117 * readelf.c (do_wide): New.
118 (options): Add --wide.
119 (usage, parse_args): Likewise.
120 (process_program_headers): Put each segment on a single line if
122 (process_section_headers): Put each section on a single line if
124 * doc/binutils.texi: Document it.
127 2001-09-25 Alan Modra <amodra@bigpond.net.au>
129 * readelf.c (print_vma): Print 8 digits of low hex value.
131 2001-09-24 Andreas Jaeger <aj@suse.de>
133 * nlmconv.c: Fix warnings about unused attributes and function
136 * strings.c: Add prototype for get_char.
138 2000-09-19 H.J. Lu <hjl@gnu.org>
140 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
141 $(srcdir)/cxxfilt.man.
142 * doc/Makefile.in: Rebuild.
144 2001-09-19 Alan Modra <amodra@bigpond.net.au>
146 * objcopy.c (copy_main): Correct rename-section string parsing.
147 Consolidate new_name parsing, and error messages.
149 2001-09-18 Bruno Haible <haible@clisp.cons.org>
151 * addr2line.c: Don't include <ctype.h>.
152 (main): For gettext, also set the LC_CTYPE locate facet.
153 * ar.c (main): Likewise.
154 * coffdump.c (main): Likewise.
155 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
156 (main): For gettext, also set the LC_CTYPE locate facet.
157 Use ISALNUM instead of isalpha/isdigit.
158 * dllwrap.c: Don't include <ctype.h>.
159 (main): For gettext, also set the LC_CTYPE locate facet.
160 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
161 (main): For gettext, also set the LC_CTYPE locate facet.
162 Use TOUPPER instead of islower/toupper.
163 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
164 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
165 Use TOUPPER instead of islower/toupper.
166 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
167 * objcopy.c (main): Likewise.
168 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
169 (disassemble_bytes): Use ISPRINT instead of isprint.
170 (dump_section_stabs): Use ISDIGIT instead of isdigit.
171 (dump_data): Use ISPRINT instead of isprint.
172 (main): For gettext, also set the LC_CTYPE locate facet.
173 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
174 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
175 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
176 Use TOUPPER instead of islower/toupper.
177 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
178 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
179 (write_rc_accelerators): Use ISPRINT instead of isprint.
180 (write_rc_rcdata): Likewise.
181 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
182 * srconv.c (main): Likewise.
183 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
184 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
185 isdigit/isupper/islower.
186 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
187 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
188 stab_demangle_prefix, stab_demangle_qualified,
189 stab_demangle_template, stab_demangle_type,
190 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
191 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
192 (isgraphic): Use ISPRINT instead of isascii/isprint.
193 (main): Remove HAVE_LC_MESSAGES dependency.
194 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
195 (pbarray): Use ISPRINT instead of isprint.
196 (main): For gettext, also set the LC_CTYPE locate facet.
197 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
198 (format_from_filename): Use ISPRINT instead of isprint.
199 (main): For gettext, also set the LC_CTYPE locate facet.
200 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
201 (unicode_print): Use ISPRINT instead of isprint.
202 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
203 (stab_variable): Use ISDIGIT instead of isdigit.
205 2001-09-18 Alan Modra <amodra@bigpond.net.au>
207 * ar.c (print_contents): Cast args of bfd_seek to the right types.
208 Replace bfd_read call with call to bfd_bread.
209 (extract_file): Likewise.
211 * objdump.c (dump_section_header): Cast section->filepos to
212 unsigned long to suit printf format string.
213 * readelf.c (process_section_headers): Similarly for sh_offset.
214 (process_unwind): Likewise.
216 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
218 * strings.c (encoding, encoding_bytes): New variables.
219 (long_options): Add --encoding.
220 (main): Accept -e and --encoding.
221 (get_char): New function. Read a, possibly wide, character from
223 (print_strings): Use get_char().
224 (usage): Document new command line option.
225 * doc/binutils.texi: Document new command line option.
226 * NEWS: Announce new command line option.
228 Wed Sep 12 20:07:16 2001 Alexandre Oliva <aoliva@redhat.com>
230 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
231 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
232 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
233 Removed EM_CYGNUS_ARC.
235 Tue Sep 4 20:26:08 2001 Jeffrey A Law (law@cygnus.com)
237 * readelf.c: Include elf/h8 for H8 series definitions.
238 (guess_is_rela): H8 series if RELA.
239 (dump_relocations): Handle H8 series relocations.
241 2001-08-31 Eric Christopher <echristo@redhat.com>
243 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
245 2001-08-29 Peter Targett <peter.targett@arccores.com>
247 * MAINTAINERS: Include ARC Maintainer.
249 2001-08-29 Ben Elliston <bje@redhat.com>
251 * stabs.c (stab_demangle_template): Initialise s4.
253 2001-08-27 Alan Modra <amodra@bigpond.net.au>
255 * readelf.c (dump_relocations): Recognise EM_PPC64.
257 2001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
259 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
261 2001-08-25 H.J. Lu <hjl@gnu.org>
263 * nm.c (print_width): New.
264 (display_rel_file): Set `print_width' according to
266 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
268 2001-08-24 Alexandre Oliva <aoliva@redhat.com>
270 * objcopy.c (use_alt_mach_code): New variable.
271 (OPTION_ALT_MACH_CODE): Define.
272 (copy_options): Added --alt-machine-code.
273 (copy_main): Handle it.
274 (copy_object): Switch to alternate machine code if requested.
275 * doc/binutils.texi: Document new option.
278 2001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
280 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
282 2001-08-21 H.J. Lu <hjl@gnu.org>
284 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
285 (display_debug_info): Cast for 64bit hosts.
286 (display_debug_frames): Likewise.
287 (process_mips_specific): Likewise.
289 2001-08-21 Andreas Jaeger <aj@suse.de>
291 * coffgrok.h: Add missing parameter for prototype of coff_grok.
293 * sysdump.c: Add missing prototypes.
294 * srconv.c: Likewise.
295 * unwind-ia64.c: Likewise.
296 * coffdump.c: Likewise.
298 * sysinfo.y: Print prototypes, include <ansidecl.h>.
300 * coffgrok.c: Add missing prototypes, include libiberty.h instead
301 of declaring xcalloc.
303 2001-08-10 H.J. Lu <hjl@gnu.org>
305 * nm.c (print_value): Add one arg, bfd *.
306 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
307 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
308 (print_symbol_info_sysv): Likewise.
309 (print_symbol_info_posix): Likewise.
311 * objdump.c (dump_section_header): Replace printf_vma with
313 (print_section_stabs): Likewise.
314 (dump_bfd_header): Likewise.
315 (objdump_print_value): Replace sprintf_vma with
317 (disassemble_bytes): Likewise.
318 (dump_reloc_set): Likewise.
320 2001-08-10 Andreas Jaeger <aj@suse.de>
322 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
324 * configure: Regenerate.
326 2001-08-09 Alan Modra <amodra@bigpond.net.au>
328 * readelf.c: Add missing prototypes.
329 * objdump.c: Likewise. Format existing prototypes.
331 2001-08-08 Alexandre Oliva <aoliva@redhat.com>
333 * readelf.c (display_debug_info): Add to abbrev_offset the addend
334 of any RELA relocation for the abbrev_offset memory location that
335 refers to the .debug_abbrev section symbol.
337 2001-08-07 H.J. Lu <hjl@gnu.org>
339 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
340 (main): Return process_file ().
342 2001-08-05 Philip Blundell <philb@gnu.org>
344 * doc/binutils.texi: Use "Thumb" not "THUMB".
346 2001-08-03 John Healy <jhealy@redhat.com>
348 Patch suggested by Frank Eigler <fche@redhat.com>.
349 * objdump.c (disassemble_data): Fill in section member of the
350 disasm_info structure.
352 2001-08-03 Tom Walsh <tom@cyberiansoftware.com>
354 * configure.in: Added --with-windres option.
355 * configure: Regenerated.
357 2001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
359 * doc/binutils.texi: Use @command{name} for commands;
360 use @option{-opt} for options; use @table @env for list of options;
361 remove spaces arround [ | ] in synopsis.
363 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
366 2001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
368 * objcopy.c: Fix formatting.
369 (section_rename): New structure.
370 (OPTION_RENAME_SECTION): New switch.
371 (copy_usage): Document new switch.
372 (add_section_rename): New function: Add a node to the section
374 (find_section_rename): New function: Find the new name and
376 (setup_section): Call find_section_name to determine the name
377 of the output section.
378 (copy_main): Handle OPTION_RENAME_SECTION.
379 * binutils.texi: Document new switch.
380 * NEWS: Mention new switch.
382 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
384 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
385 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
386 bug-binutils@gcc.org.
388 2001-07-28 Matthias Kramm <kramm@quiss.org>
390 * bucomm.c (list_supported_architectures): New function.
391 * bucomm.h (list_supported_architectures): Declare.
392 * objdump.c (usage): Call the above.
394 2001-07-25 Dave Brolley <brolley@redhat.com>
396 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
397 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
399 2001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
401 * README: Update for 2.11. Change bug reporting email address.
402 * MAINTAINERS: Tidy up. Change bug reporting email address.
404 2001-07-16 DJ Delorie <dj@redhat.com>
406 * resres.c (write_res_header): Align header size.
407 (res_align_file): Calculate alignment correctly.
409 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
411 * resrc.c (write_rc_resource): Likewise.
412 * windres.h (SUBLANG_SHIFT): Define - as 10.
414 2001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
416 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
418 2001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
420 * MAINTAINERS: Add notes about branch checkins.
422 2001-07-05 Daniel Berlin <dan@cgsoftware.com>
424 * readelf.c (display_debug_macinfo): New function, display
425 .debug_macinfo section.
426 (do_debug_macinfo): New variable.
427 (parse_args): Handle "-w[mM]" to mean display macro info.
428 (process_section_headers): Handle debug_macinfo.
429 (debug_displays): Replace unsupported function with macinfo
430 function for .debug_macinfo display.
431 * doc/binutils.texi: Document new command line switch.
432 * NEWS: Document new feature of readelf.
434 2001-07-05 H.J. Lu <hjl@gnu.org>
436 * objcopy.c (filter_symbols): Don't turn undefined symbols
439 2001-07-03 H.J. Lu <hjl@gnu.org>
441 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
444 (dlltool.1): Likewise.
445 (nlmconv.1): Likewise.
447 (objcopy.1): Likewise.
448 (objdump.1): Likewise.
449 (ranlib.1): Likewise.
450 (readelf.1): Likewise.
452 (strings.1): Likewise.
454 (windres.1): Likewise.
455 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
456 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
459 * doc/Makefile.in: Regenerated.
461 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
463 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
465 2001-07-01 Daniel Berlin <dan@cgsoftware.com>
467 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
469 2001-06-29 James Cownie <jcownie@etnus.com>
471 * readelf.c: Support DWARF 2.1 attributes.
473 2001-06-28 Alan Modra <amodra@bigpond.net.au>
475 * readelf.c (GET_DATA_ALLOC): Remove.
477 (get_data): New function combining above macros, with an extra
479 (slurp_rela_relocs): Use get_data, and catch error return.
480 (slurp_rel_relocs): Likewise.
481 (get_32bit_program_headers): Likewise.
482 (get_64bit_program_headers): Likewise.
483 (get_32bit_section_headers): Likewise.
484 (get_64bit_section_headers): Likewise.
485 (get_32bit_elf_symbols): Likewise.
486 (get_64bit_elf_symbols): Likewise.
487 (process_section_headers): Likewise.
488 (process_relocs): Likewise.
489 (slurp_ia64_unwind_table): Likewise.
490 (process_unwind): Likewise.
491 (get_32bit_dynamic_segment): Likewise.
492 (get_64bit_dynamic_segment): Likewise.
493 (process_dynamic_segment): Likewise.
494 (process_version_sections): Likewise.
495 (process_symbol_table): Likewise.
496 (dump_section): Likewise.
497 (display_debug_info): Likewise.
498 (display_debug_section): Likewise.
499 (process_section_contents): Likewise.
500 (process_corefile_note_segment): Likewise.
501 (process_mips_specific): Likewise. Also free econf32, econf64.
503 2001-06-25 Alan Modra <amodra@bigpond.net.au>
505 * readelf.c (dump_relocations): Print "bad symbol index" if
506 symtab == NULL with non-zero symtab_index.
507 (process_relocs): Don't bomb if reloc section has no symsec.
509 2001-06-24 H.J. Lu <hjl@gnu.org>
511 * objcopy.c (strip_main): Revert the change made on 2001-05-30
513 (copy_main): Apply the the change made to strip_main on
514 2001-05-30 by accident.
516 2001-06-23 Andreas Jaeger <aj@suse.de>
518 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
520 (unw_decode_x2): Likewise.
521 (unw_decode_x3): Likewise.
522 (unw_decode_x4): Likewise.
524 2001-06-23 Ben Elliston <bje@redhat.com>
526 * MAINTAINERS: Add myself as M88k maintainer.
528 2001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
530 * objcopy.c (strip_main): Support -o or --output-file command lien
533 2001-06-19 H.J. Lu <hjl@gnu.org>
535 * doc/Makefile.in: Regenerated.
537 2001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
539 * readelf.c: Restore formatting.
541 2001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
543 * Makefile.am: Move documentation into doc subdirectory.
544 * Makefile.in: Regenerated.
545 * binutils.texi: Move into doc subdirectory.
546 * addr2line.1: Removed.
548 * dlltool.1: Likewise.
549 * nlmconv.1: Likewise.
551 * objcopy.1: Likewise.
552 * objdump.1: Likewise.
553 * ranlib.1: Likewise.
554 * readelf.1: Likewise.
556 * strings.1: Likewise.
558 * windres.1: Likewise.
559 * cxxfilt.man: Likewise.
560 * doc: New Directory.
561 * doc/Makefile.am: New file.
562 * doc/Makefile.in: Generate.
564 2001-06-09 Alan Modra <amodra@bigpond.net.au>
566 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
568 2001-06-01 Alan Modra <amodra@bigpond.net.au>
570 * MAINTAINERS: Update my email address.
572 2001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
574 * objcopy.c: Add new switches: --keep-global-symbol,
575 --keep-symbols, --localize-symbols, --keep-global-symbols and
577 * binutils.texi: Document new switches.
578 * objcopy.1: Regenerate.
579 * NEWS: Announce new feature.
581 2001-05-28 Andreas Jaeger <aj@suse.de>
583 * readelf.c (display_debug_frames): Fix warnings: Remove unused
584 variables, fix format strings.
586 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
588 * objdump.c (disassemble_bytes): Remove section VMA adjustment
589 when computing the address of the line to show.
591 2001-05-16 Richard Henderson <rth@redhat.com>
593 * readelf.c (do_debug_frames_interp): New.
594 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
595 (byte_get_big_endian): Likewise.
596 (parse_args) ['F']: Set do_debug_frames_interp.
597 (Frame_Chunk): Make data_factor signed, add fde_encoding.
598 (frame_display_row): Don't trunc pc_begin to int.
599 (size_of_encoded_value): New.
600 (display_debug_frames): Handle 64-bit targets. Print raw data
601 unless do_debug_frames_interp.
602 (debug_displays): Remove duplicate .debug_frame.
604 2001-05-15 Ralf Baechle <ralf@gnu.org>
606 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
607 The former constant was never in active use and is used otherwise
610 2001-05-11 Jakub Jelinek <jakub@redhat.com>
612 * readelf.c (process_unwind): Print all unwind sections, not just
615 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
617 * readelf.c (process_unwind): Remove const specifier.
619 2001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
621 * strings.c (isgraphic): Do not use isascii() unless it is needed
622 for isprint() to work.
623 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
625 2001-04-27 Johan Rydberg <jrydberg@opencores.org>
627 * NEWS: Announce support for OpenRISC.
629 2001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
631 * dlltool.c (do_default_excludes): Initialise to true.
633 2001-04-10 Alan Modra <amodra@one.net.au>
635 * MAINTAINERS: Update my email address
636 * nm.c (print_symbol_info_bsd): Use a simple printf string.
638 2001-04-05 Hans-Peter Nilsson <hp@axis.com>
640 * readelf.c (display_debug_lines): Fix typo for "Prologue".
642 2001-03-30 H.J. Lu <hjl@gnu.org>
644 * readelf.c (process_unwind): Just return if do_unwind is 0.
646 2001-03-28 Roger Sayle <roger@metaphorics.com>
648 * dlltool.c (make_one_lib_file): Fix section flags for
649 .text, .data and .bss in stub ds*.o files to match those
652 2001-03-29 H.J. Lu <hjl@gnu.org>
654 * readelf.c (process_unwind): Only do unwind sections for
657 2001-03-28 H.J. Lu <hjl@gnu.org>
659 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
660 * Makefile.in: Regenerate.
662 2001-03-26 Andreas Jaeger <aj@suse.de>
664 * binutils.texi (nm): Fix texi syntax.
666 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
668 * binutils.texi: Put @c man begin and @c man end indications
669 to generate man pages using texi2pod and pod2man. Put @c man title
670 to identify each man. Add SEEALSO entries.
671 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
672 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
674 (*.1): Build the man pages from binutils.texi.
675 * Makefile.in: Regenerate.
677 2001-03-13 Eric Kohl <ekohl@rz-online.de>
679 * defparse.y (opt_equal_name): allow "." in name.
680 * dlltool.c (def_exports): Added ability to generate forwarded exports.
681 (gen_exp_file): Likewise.
683 2001-03-12 Stefan Geuken <mail@stefan-geuken.de>
685 * NEWS: Document addition of -B switch to objcopy.
686 * binutils.texi: Document addition of -B switch to objcopy.
687 * objcopy.c: (copy_options): Add --binary-architecture.
688 (copy_usage): Document -B/--binary-architecture.
689 (copy_main): Support -B/--binary-architecture. Set
690 bfd_external_binary_architecture.
692 2001-03-11 Andreas Jaeger <aj@suse.de>
694 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
695 (dump_relocations): Likewise.
696 (get_machine_name): Likewise.
698 2001-02-28 Nick Clifton <nickc@redhat.com>
700 * readelf.c: (struct unw_aux_info): Remove const modifier for
702 (process_unwind): Remove non-K&R compliant LHS type cast in call
703 to GET_DATA_ALLOC macro.
705 2001-02-28 Philip Blundell <pb@futuretv.com>
707 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
708 ABI is in use; remove ambiguity between the "unknown" EABI and
709 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
710 renamed EF_xx constants.
712 2001-02-27 Alan Modra <alan@linuxcare.com.au>
714 * configure.in (BFD_VERSION): New.
715 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
716 * configure: Regenerate.
717 * Makefile.am: Run "make dep-am"
718 * Makefile.in: Regenerate.
720 2001-02-14 Nick Clifton <nickc@redhat.com>
722 * MAINTAINERS: Add "Obvious Fix" rule.
724 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
726 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
727 literal concatenation.
729 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
731 * readelf.c (struct unw_aux_info): Remove const from the info member.
732 (process_unwind): Don't type-cast the third argument to the
733 GET_DATA_ALLOC macro.
735 2001-02-11 Nick Clifton <nickc@redhat.com>
737 * readelf.c (dump_relocations): Free corrected allocated
739 (process_unwind): Fix compile time warning.
741 2001-02-10 Nick Clifton <nickc@redhat.com>
743 * binutils.texi: Document new --unwind option to readelf.
745 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
747 * readelf.c: Add linux target for S/390.
749 2001-02-10 Alan Modra <alan@linuxcare.com.au>
751 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
754 2001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
756 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
757 * aclocal.m4: Regenerate.
758 * configure: Regenerate.
760 2001-02-07 Todd Vierling <tv@wasabisystems.com>
762 * bucomm.c (bfd_target_vector): Change extern array to pointer.
763 * objdump.c (bfd_target_vector): Likewise.
765 2001-02-07 David Mosberger <davidm@hpl.hp.com>
767 * readelf.c (process_unwind): New function.
768 (slurp_ia64_unwind_table): Ditto.
769 (dump_ia64_unwind): Ditto.
770 (find_symbol_for_address): Ditto.
771 (slurp_rela_relocs): New function (split off from dump_relocations()).
772 (slurp_rel_relocs): Ditto.
773 (parse_args): Handle '-u' option.
775 * unwind-ia64.c: New file.
776 * unwind-ia64.h: New file.
777 * Makefile.am: Include unwind-ia64.c in readelf build.
778 * Makefile.in: Regenerate.
779 * po/binutils.pot: Regenerate.
781 2001-02-04 Philip Blundell <philb@gnu.org>
783 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
784 * configure: Regenerate.
786 2001-01-31 Steve deRosier <sderosier@vari-lite.com>
788 * ieee.c (ieee_add_bb11): Don't check for backslashes
789 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
791 2001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
793 * ieee.c: Update copyright.
794 (ieee_start_compilation_unit): Don't check for backslashes
795 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
797 * stabs.c: Update copyright. Include "filenames.h".
798 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
800 2001-01-23 Jakub Jelinek <jakub@redhat.com>
802 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
803 sections are present before using them. Remove code duplication.
804 (process_symbol_table): Check if VERDEF or VERNEED sections are
805 present before using them.
807 2001-01-17 Nick Clifton <nickc@redhat.com>
809 * objcopy.c (copy_object): Fail if attempting to convert the
810 endianness of the input object file.
812 * binutils.texi: Explain that objcopy cannot convert endianness.
814 2001-01-16 Nick Clifton <nickc@redhat.com>
816 * readelf.c (string_table_length): New variable.
817 (SECTION_NAME): Catch out of range indices and missing section
819 (process_section_headers): Delete useless local variable
820 string_table_offset. Set the value of string_table_length
821 after loading the string table.
822 (process_mips_specific): Use SECTION_NAME macro.
823 (process_file): Set string_table_length to 0 when it is freed.
825 2001-01-12 Nick Clifton <nickc@redhat.com>
827 * version.c (print_version): Update copyright date.
829 2001-01-11 Peter Targett <peter.targett@arccores.com>
831 * readelf.c (dump_relocations): Include selection with EM_ARC.
832 (get_machine_name) Update name to "ARC".
834 2001-01-09 Nick Clifton <nickc@redhat.com>
836 * Makefile.am: Add rule to build objdump.o from objdump.c and
838 * Makefile.in: Regenerate.
840 * configure.in: Define OBJDUMP_DEFS. Default to empty.
841 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
842 -DDISASSEMBLER_NEEDS_RELOCS.
843 * configure: Regenerate.
845 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
846 is defined read in the relocs even if dump_reloc_info is
849 2001-01-07 Philip Blundell <philb@gnu.org>
851 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
855 2000-12-19 Nick Clifton <nickc@redhat.com>
857 * dlltool.c: Add missing support for arm-epoc-pe.
858 * configure.in: Add missing support for arm-epoc-pe.
859 * configure: Regenerate.
861 2000-12-15 Nick Clifton <nickc@redhat.com>
863 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
864 Mode parts of the x86 port.
866 2000-12-04 Andreas Jaeger <aj@suse.de>
868 * readelf.c (guess_is_rela): Add EM_X86_64.
869 (dump_relocations): Add EM_X86_64.
870 (get_machine_name): Add EM_X86_64.
871 Include "elf/x86-64.h".
873 2000-12-12 Nick Clifton <nickc@redhat.com>
875 * readelf.c: Fix formatting.
877 Mon Dec 11 14:30:21 MET 2000 Jan Hubicka <jh@suse.cz>
879 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
881 2000-12-07 Andrew Haley <aph@redhat.com>
883 * readelf.c (display_debug_frames): Only display columns that are
884 referenced by the frame debug info.
886 2000-12-05 Nick Clifton <nickc@redhat.com>
888 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
890 2000-12-04 Jason Merrill <jason@redhat.com>
892 * readelf.c (process_section_headers): Handle linkonce.wi sections.
893 (display_debug_section): Likewise.
894 (display_debug_info): Display CU header before bailing.
896 2000-12-01 Chris Demetriou <cgd@sibyte.com>
898 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
899 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
900 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
902 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
905 * readelf.c (get_machine_flags): Add case for
908 2000-11-30 Richard Earnshaw <rearnsha@arm.com>
910 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
912 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
914 * MAINTAINERS: Add Jörn Rennecke and self as SH maintainers.
915 Change sourceware.cygnus.com to sources.redhat.com.
916 Fix typo for "amongst".
918 2000-11-28 Nick Clifton <nickc@redhat.com>
920 * strip.1 (COPYING): Mention that the GNU Free Documentation
921 License is present in the sources, but not the output, and
922 also available from the GNU website.
923 (GNU Free Documentation License): Comment out this section.
932 * addr2line.1: Ditto.
934 2000-11-27 DJ Delorie <dj@redhat.com>
936 * readelf.c (usage): Add -wf (--debug-dump=frames) option.
937 (parse_args): Support -wf option.
938 (process_section_headers): Ditto.
939 (debug_displays): Ditto.
940 (display_debug_frames): New, dump *_frame sections.
941 (frame_need_space): Support for above.
942 (frame_display_row): Ditto.
943 * binutils.texi: Document it.
945 2000-11-24 Nick Clifton <nickc@redhat.com>
947 * NEWS: Announce support for v5t, v5te and XScale.
949 2000-11-22 Nick Clifton <nickc@redhat.com>
951 * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
952 EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
953 (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
954 (get_elf_section_flags: Add SHF_GROUP.
955 (process_section_headers): Adjust output for 32-bit binaries
956 to look nice on an 80 column terminal.
958 2000-11-20 H.J. Lu <hjl@gnu.org>
960 * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
963 2000-11-17 Richard Henderson <rth@redhat.com>
965 * readelf.c (display_debug_lines): Adjust last change to
966 use sizeof (external->li_length).
968 2000-11-17 Richard Henderson <rth@redhat.com>
970 * readelf.c (display_debug_lines): Fix section length check
971 and end_of_sequence computation.
973 2000-11-06 Nick Clifton <nickc@redhat.com>
975 * binutils.texi: Add GNU Free Documentation License.
976 * objcopy.1: Add GNU Free Documentation License.
977 * objdump.1: Add GNU Free Documentation License.
978 * addr2line.1: Add GNU Free Documentation License.
979 * ar.1: Add GNU Free Documentation License.
980 * nlmconv.1: Add GNU Free Documentation License.
981 * nm.1: Add GNU Free Documentation License.
982 * ranlib.1: Add GNU Free Documentation License.
983 * size.1: Add GNU Free Documentation License.
984 * strings.1: Add GNU Free Documentation License.
985 * strip.1: Add GNU Free Documentation License.
987 2000-10-06 Luciano Gemme <ishitawa@yahoo.com>
989 * objcopy.c (--srec-len=nn): New parameter to set the
990 maximum length of generated Srecords.
991 (--srec-forceS3): New parameter that restricts the generation of
992 Srecords to type S3 only.
993 * binutils.texi: Document new command line switches.
994 * objcopy.1: Docuemnt the new command line switches.
995 * NEWS: Announce the existence of the new command line switches.
997 2000-10-31 Nick Clifton <nickc@redhat.com>
999 * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
1000 code. Add Eric Chrisopher as maintainer of MN10300 port.
1002 2000-10-12 Roger Sayle <roger@metaphorics.com>
1004 * Make comma after string after icon/control optional.
1006 2000-09-13 Anders Norlander <anorland@acc.umu.se>
1008 * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
1010 * NEWS: Mention support for MIPS32.
1012 2000-09-08 Nick Clifton <nickc@redhat.com>
1014 * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
1016 2000-09-07 H.J. Lu <hjl@gnu.org>
1018 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
1019 * configure: Rebuild.
1021 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
1023 * configure: Rebuilt with new libtool.m4.
1025 2000-09-05 Nick Clifton <nickc@redhat.com>
1027 * aclocal.m4: Regenerate.
1028 * config.in: Regenerate.
1029 * configure: Regenerate.
1031 2000-09-04 Todd Vierling <tv@wasabisystems.com>
1033 * strip.1: Fix stray '\' in -o formatting.
1035 2000-09-02 Nick Clifton <nickc@redhat.com>
1037 * configure.in: Increase version number to 2.10.91.
1038 * configure: Regenerate.
1039 * aclocal.m4: Regenerate.
1040 * config.in: Regenerate.
1041 * po/binutils.pot: Regenerate.
1043 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
1045 * acinclude.m4: Include libtool and gettext macros from the
1047 * aclocal.m4, configure: Rebuilt.
1049 2000-08-30 Jamie Guinan <guinan@bluebutton.com>
1051 * resrc.c (close_input_stream): Delete extraneous logic
1053 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
1055 * NEWS: Mention support for CRIS.
1057 2000-08-21 Nick Clifton <nickc@redhat.com>
1059 * addr2line.c: Changed email address for Ulrich Lauther.
1061 2000-08-17 Christopher C. Chimelis <chris@debian.org>
1063 * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
1065 2000-08-17 Nick Clifton <nickc@redhat.com>
1067 * readelf.c (display_debug_pubnames): Only issue warning
1068 message once. Terminate message with a new line.
1069 (display_debug_aranges): Only display version 2 debug info.
1071 2000-08-14 Todd Vierling <tv@wasabisystems.com>
1073 * objcopy.c (strip_main): Silently accept -d as an alias for -g
1074 for compatability with old BSD systems.
1076 2000-08-14 Jason Eckhardt <jle@cygnus.com>
1078 * NEWS: Mention i860 support.
1080 2000-08-11 Carlo Wood <carlo@alinoe.com>
1082 * addr2line.c (main): Add const to char *.
1084 2000-08-11 Geoff Keating <geoffk@cygnus.com>
1086 * ar.c (main): Don't crash if called with no arguments
1087 or only '-X32_64' as an argument.
1089 2000-08-08 DJ Delorie <dj@redhat.com>
1091 * resrc.c: use "gcc -xc" instead of -xc-header
1093 2000-08-05 Jason Eckhardt <jle@cygnus.com>
1095 * readelf.c (elf/i860.h): Include.
1096 (dump_relocations): Add recognition of i860 architecture.
1097 (guess_is_rela): Add recognition of i860 architecture.
1099 2000-08-03 Nick Clifton <nickc@cygnus.com>
1101 * MAINTAINERS: Add information about CGEN maintainers.
1103 2000-07-26 Geoff Keating <geoffk@cygnus.com>
1105 * nm.c (main): Ignore '-X32_64' as an option.
1106 * ar.c (main): Likewise.
1107 * binutils.texi (nm): Document new option.
1110 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1112 * rdcoff.c (external_coff_symbol_p): K&R-ise.
1114 2000-07-20 H.J. Lu <hjl@gnu.org>
1116 * binutils.texi: Put back "@end table" deleted by
1119 2000-07-05 Kenneth Block <krblock@computer.org>
1121 * nm.c: Add optional style to demangle switch.
1122 * objdump.c: Add optional style to demangle switch.
1123 * addr2line.c: Add optional style to demangle switch.
1124 * binutils.texi: Document optional style to demangle
1127 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
1129 * MAINTAINERS: Add self as CRIS port maintainer.
1130 * readelf.c: Include elf/cris.h.
1131 (guess_is_rela): Handle EM_CRIS.
1132 (dump_relocations): Ditto.
1133 (get_machine_name): Ditto.
1134 * Makefile.am: Rebuild dependencies.
1135 * Makefile.in: Regenerate.
1136 * po/binutils.pot: Regenerate.
1138 2000-07-19 H.J. Lu <hjl@gnu.org>
1140 * readelf.c (get_dynamic_type): Change "AUXILARY" to
1142 (process_dynamic_segment): Print out strings for DT_CONFIG,
1143 DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
1145 2000-07-19 Mark Kettenis <kettenis@gnu.org>
1147 * nm.c (usage): Change output of `nm --help' to include a
1148 description of the purpose of the program and a detailed
1149 description of the accepted options.
1151 2000-07-19 H.J. Lu <hjl@gnu.org>
1153 * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
1156 2000-07-19 H.J. Lu <hjl@gnu.org>
1158 * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
1160 2000-07-19 H.J. Lu <hjl@gnu.org>
1162 * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
1164 (process_dynamic_segment): Likewise.
1166 * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
1167 DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
1168 (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
1169 DF_1_NODUMP and DF_1_CONLFAT.
1171 2000-07-18 Nick Clifton <nickc@cygnus.com>
1173 * binutils.texi (readelf): Fix spelling typo.
1175 2000-07-11 Mark Kettenis <kettenis@gnu.org>
1177 * objdump.c (usage): Make output of `objdump --help' more
1178 consistent with the rest of the GNU world. Add a line describing
1179 the purpose of the program.
1181 2000-07-10 David Huggins-Daines <dhd@linuxcare.com>
1183 * stabs.c (parse_stab_range_type): Cast to proper type to fix
1186 2000-07-10 Ryan Bradetich <rbradetich@uswest.net>
1188 * readelf.c (get_dynamic_data): Add casts and use unsigned chars
1190 (process_symbol_table): Ditto.
1191 (procesS_extended_line_op): Ditto.
1192 (display_debug_lines): Ditto.
1193 (display_debug_pubnames): Ditto.
1194 (read_and_display_attr): Ditto.
1196 2000-07-09 Nick Clifton <nickc@cygnus.com>
1198 * MAINTAINERS: Add several more port specific maintainers.
1200 2000-07-05 Nick Clifton <nickc@cygnus.com>
1202 * MAINTAINERS: Add blanket write privs for Michael Meissner.
1204 2000-06-05 DJ Delorie <dj@redhat.com>
1208 2000-07-01 Eric Fifer <EFifer@sanwaint.com>
1210 * dllwrap.c: Changed mistaken dyn_string_append() calls
1211 to dyn_string_append_cstr().
1213 2000-07-01 Alexander Aganichev <AAganichev@hypercom.com>
1215 * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
1216 struct debug_type stores size in bytes.
1218 2000-07-01 Alan Modra <alan@linuxcare.com.au>
1220 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
1221 (CLEANFILES): Add DEPA.
1222 * Makefile.in: Regenerate.
1224 2000-06-27 Alan Modra <alan@linuxcare.com.au>
1226 * ar.c: Revert incorrect 2000-06-25 patch.
1227 * bucomm.c: Likewise.
1229 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
1231 * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
1232 (external_coff_symbol_p): New function.
1233 (parse_coff): Use it.
1235 2000-06-25 Alexander Aganichev <AAganichev@hypercom.com>
1237 * ar.c (normalize): Advance past both characters in a DOS based
1238 <letter>: filepath prefix.
1240 * bucomm.c (make_tempname): Likewise.
1242 2000-06-24 Nick Clifton <nickc@cygnus.com>
1244 * objdump.c (usage): Fix description of --stabs switch.
1246 2000-06-22 Alan Modra <alan@linuxcare.com.au>
1248 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
1250 * Makefile.in: Regenerate.
1252 2000-06-20 Alexander Aganichev <AAganichev@hypercom.com>
1254 * ar.c (normalize): Correct pointer comparison when checking for
1257 * bucomm.c (make_tempname): Likewise.
1259 * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
1260 and search for backslashes in the original pathname.
1261 (ieee_add_bb11): Likewise.
1263 2000-06-18 Nick Clifton <nickc@redhat.com>
1265 * ar.c (print_contents): Improve verbose message.
1267 2000-06-15 H.J. Lu <hjl@gnu.org>
1269 * dyn-string.c: Removed. Not needed with dyn-string.c in
1271 * dyn-string.h: Likewise.
1273 * Makefile.am: Remove references to dyn-string.c and
1274 dyn-string.h. Rebuild dependency.
1275 * Makefile.in: Rebuild.
1277 2000-06-15 H.J. Lu <hjl@gnu.org>
1279 * binutils.texi: Put a warning on copying relocatable object
1280 files between two different formats.
1282 2000-06-13 DJ Delorie <dj@cygnus.com>
1284 * rcparse.y (control): ICON controls take an id as the first
1285 parameter, not an optional string. Also, call new convenience
1286 function that takes res_id's.
1287 * resrc.c (define_control): missing text means zero-length string,
1289 (define_icon_control): New.
1290 * windres.h: declare define_icon_control.
1292 2000-06-13 H.J. Lu <hjl@gnu.org>
1294 * configure: Regenerate.
1296 2000-06-08 David O'Brien <obrien@FreeBSD.org>
1298 * configure.in (VERSION): Update to show this is the CVS mainline.
1300 2000-06-02 David O'Brien <obrien@FreeBSD.org>
1302 * strings.c (isgraphic): Interpret <TAB> as a printable character,
1303 analogous to <SPACE>.
1305 2000-05-30 Alan Modra <alan@linuxcare.com.au>
1307 * objdump.c (display_target_list): Use bfd_close_all_done, not
1308 bfd_close to fix crash caused by 2000-05-24 change.
1310 2000-05-25 DJ Delorie <dj@cygnus.com>
1312 * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
1314 2000-05-26 Alan Modra <alan@linuxcare.com.au>
1316 * Makefile.am: Update dependencies with "make dep-am"
1317 * Makefile.in: Regenerate.
1319 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
1321 * ar.c: Include filenames.h.
1322 (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
1323 and drive letters in file names.
1324 (main): Support backslashes and drive letters in argv[0]. Drop
1325 the .exe suffix, if any, in argv[0] if is_ranlib is negative. Use
1326 FILENAME_CMP instead of strcmp to compare file names.
1327 (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
1329 (do_quick_append) [__GO32__]: Ditto.
1330 (get_pos_bfd, delete_members, move_members, replace_members):
1331 Compare file names with FILENAME_CMP.
1333 * bucomm.c: Include filenames.h.
1334 (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
1335 forward/backward slashes and drive letters in file names.
1337 * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
1338 mixed forward/backward slashes and drive letters in file names.
1340 * strings.c (O_BINARY, setmode, SET_BINARY): Define.
1341 (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
1344 * objcopy.c: Include filenames.h.
1345 (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
1346 before comparing to "strip".
1347 Use FILENAME_CMP to compare file names.
1349 * arsup.c: Include filenames.h.
1350 (map_over_list, ar_delete, ar_replace, ar_extract): Use
1351 FILENAME_CMP to compare file names.
1352 (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
1353 the temporary file name.
1355 * configure.in: Check for setmode.
1356 * configure: Regenerate.
1358 2000-05-24 Alan Modra <alan@linuxcare.com.au>
1360 * objdump.c (display_target_list): Close the bfd.
1361 (display_info_table): Likewise.
1363 2000-05-14 H.J. Lu (hjl@gnu.org)
1365 * objcopy.c (filter_symbols): Don't strip global symbols in
1366 relocatable object files.
1368 2000-05-14 Alan Modra <alan@linuxcare.com.au>
1370 * size.c (usage): Associate short options with corresponding long
1371 option to give a clue as to their function.
1373 2000-05-14 Philippe De Muyter <phdm@macqel.be>
1375 * size.c (main): Accept and ignore `-f' option.
1377 2000-05-13 Alan Modra <alan@linuxcare.com.au>
1379 * bucomm.h (gettext, dgettext, dcgettext, textdomain,
1380 bindtextdomain): Replace defines with those from intl/libgettext.h
1381 to quieten gcc warnings.
1383 2000-05-12 H.J. Lu <hjl@gnu.org>
1385 * nlmconv.c (temp_filename): Removed.
1387 * nlmconv.c (link_inputs): Use make_temp_file () instead of
1388 choose_temp_base ().
1389 * objdump.c (display_target_list): Likewise.
1390 (display_info_table): Likewise.
1392 2000-05-08 Alan Modra <alan@linuxcare.com.au>
1394 * objcopy.c (setup_section): Add const and gettext calls for err.
1396 2000-05-02 H.J. Lu <hjl@gnu.org>
1398 * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
1399 ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
1400 ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
1401 ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
1402 and ELFOSABI_OPENBSD.
1404 2000-05-02 Kazu Hirata <kazu@hxi.com>
1406 * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
1407 * srconv.c: Likewise.
1408 * sysdump.c: Likewise.
1410 Sun Apr 23 14:23:26 2000 Denis Chertykov <denisc@overta.ru>
1412 * readelf.c (guess_is_rela): AVR uses RELA relocations.
1413 (get_machine_name): machine name for EM_AVR added.
1415 Fri Apr 21 13:20:53 2000 Richard Henderson <rth@cygnus.com>
1416 David Mosberger <davidm@hpl.hp.com>
1418 * Makefile.am (readelf.o): Add elf/ia64.h.
1419 * Makefile.in: Rebuild.
1420 * readelf.c: Include elf/ia64.h.
1421 (guess_is_rela, dump_relocations): Handle EM_IA_64.
1423 2000-04-17 Timothy Wall <twall@cygnus.com>
1425 * objdump.c (disassemble_data): Set octets per byte *after*
1426 resolving arch/mach for binary files.
1428 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1430 * arlex.l: Add directives to increase lex buffer size.
1432 * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
1433 already included by bucomm.h.
1435 2000-04-10 Philippe De Muyter <phdm@macqel.be>
1437 * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
1438 `strftime' since strftime is not available on all systems.
1439 (process_mips_specific): Ditto.
1441 Fri Apr 7 15:56:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
1443 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
1444 --enable-build-warnings option.
1445 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
1446 * Makefile.in, configure: Re-generate.
1448 2000-04-06 Alan Modra <alan@linuxcare.com.au>
1450 * addr2line.c: Update copyright.
1451 * objcopy.1: Likewise, and title.
1452 * strings.1: Likewise.
1454 * version.c (print_version): Add 2000.
1456 * rddbg.c (read_section_stabs_debugging_info): Don't use
1457 bfd_size_type for strx to avoid printf problems if BFD64.
1459 * bucomm.c: (report): Remove `static'.
1460 Move inclusion of stdarg.h/vararg.h from here.
1461 * bucomm.h: To here.
1462 (CONST): Change all occurences to const.
1463 (report): Declare it.
1464 (bfd_fatal): Add ATTRIBUTE_NORETURN.
1465 (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
1466 (non_fatal): Add ATTRIBUTE_PRINTF_1.
1468 * ar.c (main): Use fatal or non_fatal instead of fprintf.
1469 Correct a typo in an error message.
1470 (do_quick_append): Use non_fatal instead of fprintf.
1471 (move_members): Use fatal instead of fprintf, exit.
1472 * coffdump.c (main): Same here.
1474 * dlltool.c (display): Delete.
1476 (inform): Use `report' instead of `display'.
1477 (rvaafter): Remove trailing \n from fatal error msg.
1479 (asm_prefix): Ditto.
1480 (yyerror): Replace `warn' with `non_fatal', and remove \n.
1481 (def_name): Likewise.
1483 (scan_all_symbols): Likewise.
1484 (gen_lib_file): Likewise.
1485 (def_library): Likewise. Remove extra program_name too.
1486 (run): Remove \n from inform strings.
1487 (scan_drectve_symbols): Likewise.
1488 (add_excludes): Likewise.
1489 (scan_open_obj_file): Likewise.
1490 (gen_exp_file): Likewise.
1491 (gen_lib_file): Likewise.
1492 (process_duplicates): Likewise.
1494 * Makefile.am (dllwrap_SOURCES): Add version.c.
1495 * dllwrap.c (program_version): Delete.
1496 (print_version): Delete.
1497 (display): Always print trailing \n.
1499 (delete_temp_files): Use warn instead of fprintf. Use gettext.
1502 (usage): gettext'ify.
1503 (long_options): Add missing initialisers.
1505 * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
1506 (select_output_format): Likewise.
1507 (powerpc_mangle_relocs): Likewise.
1508 (link_inputs): Likewise.
1510 * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
1511 (set_output_format): Likewise.
1512 (main): Use non_fatal instead of fprintf.
1513 (display_rel_file): Likewise.
1515 * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
1516 (slurp_dynamic_symtab): Same here.
1517 (disassemble_data): And here.
1518 (read_section_stabs): And here.
1519 (read_section_stabs): And here.
1520 (dump_bfd): And here.
1522 (objdump_sprintf): Use fatal instead of fprintf, exit.
1523 (disassemble_data): Same here.
1525 * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
1526 (parse_coff_struct_type): Same here.
1527 (parse_coff_enum_type): And here.
1528 (parse_coff): And here.
1529 * rddbg.c (read_debugging_info): And here.
1530 * size.c (main): And here.
1531 * windres.c (format_from_name): And here.
1532 * wrstabs.c (stab_write_symbol): Here too.
1533 (write_stabs_in_sections_debugging_info): And here.
1534 (stab_int_type): And here.
1535 (stab_struct_field): And here.
1536 (stab_typdef): And here.
1538 * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
1539 * srconv.c (main): Same here.
1540 * strings.c (main): And here.
1541 (integer_arg): And here.
1542 * sysdump.c (main): And here.
1544 2000-04-06 Timothy Wall <twall@cygnus.com>
1546 * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
1548 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
1550 * readelf.c (decode_location_expression): Loop through multiple
1552 (read_and_display_attr): Pass in length.
1554 * readelf.c (read_and_display_attr): Add CU offset to references.
1555 (display_debug_info): Pass it in.
1557 2000-04-06 Nick Clifton <nickc@cygnus.com>
1559 * readelf.c (decode_ARM_machine_flags): New function.
1560 (get_machine_flags): Call decode_ARM_machine_flags for ARM
1563 (get_machine_name): Catch EM_AVR
1565 2000-04-05 Alan Modra <alan@linuxcare.com.au>
1567 * binutils.texi: Remove optional `=' from long options that have
1568 an `=' in the argument.
1569 * objcopy.1: Here too. Remove extra space on discard-all.
1571 * binutils.texi (objcopy): Mention --redefine-sym.
1572 * objcopy.1: Here too.
1575 * objcopy.c (parse_flags): Split off flag names from error message
1576 gettext as they are not translated.
1577 (copy_main): Similarly split off option name for --add-section,
1578 --set-section-flags, --change-section-vma, --change-section-lma
1580 Some white space changes.
1582 from Matthew Benjamin <matt@linuxbox.nu>
1583 * objcopy.c (struct redefine_node): New.
1584 (redefine_sym_list): New.
1585 (redefine_list_append): New.
1586 (lookup_sym_redefinition): New.
1587 (OPTION_REDEFINE_SYM): New.
1588 (copy_options): Add --redefine-sym option.
1589 (copy_usage): Mention it.
1590 (filter_symbols): Rename symbols on redefine_sym_list.
1591 (copy_object): Call filter_symbols if redefine_sym_list != NULL.
1592 (copy_main): Handle OPTION_REDEFINE_SYM.
1594 2000-04-04 H.J. Lu <hjl@gnu.org>
1596 * readelf.c (process_symbol_table): Correctly read in symbol
1597 versioning information.
1599 2000-04-04 Alan Modra <alan@linuxcare.com.au>
1601 * po/binutils.pot: Regenerate.
1603 * addr2line.c (usage): Restore translated part of bug string.
1604 * ar.c (usage): Likewise.
1605 * nlmconv.c (show_usage): Likewise.
1606 * nm.c (usage): Likewise.
1607 * objcopy.c (copy_usage): Likewise.
1608 (strip_usage): Likewise.
1609 * objdump.c (usage): Likewise.
1610 * readelf.c (usage): Likewise.
1611 * size.c (usage): Likewise.
1612 * strings.c (usage): Likewise.
1613 * windres.c (usage): Likewise.
1615 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
1616 (DEP): Quote when passing vars to sub-make. Add warning
1618 (DEP1): Rewrite for "gcc -MM".
1619 (CLEANFILES): Add DEP2.
1620 Update dependencies.
1621 * Makefile.in: Regenerate.
1623 2000-04-04 H.J. Lu <hjl@gnu.org>
1625 * Makefile.am (GENERATED_HFILES): Add rcparse.h
1626 (arparse.h): Depend on arparse.c
1627 (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
1629 2000-04-03 H.J. Lu (hjl@gnu.org)
1631 * size.c (usage): Use REPORT_BUGS_TO.
1633 2000-04-03 Alan Modra <alan@linuxcare.com.au>
1635 * bucomm.h: #include "bin-bugs.h"
1636 * addr2line.c (usage): Use REPORT_BUGS_TO.
1637 * ar.c (usage): Likewise.
1638 * nlmconv.c (show_usage): Likewise.
1639 * nm.c (usage): Likewise.
1640 (OPTION_TARGET): Define.
1641 (long_options): Use OPTION_TARGET rather than 200.
1644 * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
1645 (strip_usage): Likewise.
1646 * objdump.c (usage): Likewise.
1647 * readelf.c (usage): Likewise.
1648 * strings.c (usage): Likewise.
1649 * windres.c (usage): Likewise.
1651 2000-03-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
1653 * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
1655 2000-03-27 Nick Clifton <nickc@cygnus.com>
1657 * rddbg.c (read_section_stabs_debugging_info): Catch out of range
1658 string offsets in corrupt stabs entries.
1660 2000-03-27 Alan Modra <alan@linuxcare.com.au>
1662 * readelf.c: Include elf/avr.h
1663 (dump_relocations): Add EM_AVR case.
1665 2000-03-09 Tim Waugh <twaugh@redhat.com>
1667 * strings.1: Correct '-bytes' to '--bytes'.
1669 2000-03-08 H.J. Lu <hjl@gnu.org>
1671 * Makefile.am (install-exec-local): Depend on
1672 install-binPROGRAMS for parallel make.
1673 * Makefile.in: Regenerated.
1675 2000-02-27 Ian Lance Taylor <ian@zembu.com>
1677 From Brad Lucier <lucier@math.purdue.edu>:
1678 * readelf.c (process_dynamic_segment): Add cast to make sure
1679 argument to %* is int.
1681 2000-02-25 H.J. Lu <hjl@gnu.org>
1683 * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
1685 2000-02-24 Nick Clifton <nickc@cygnus.com>
1687 * configure.in: Add arm-wince, mips-pe and sh-pe targets.
1688 * configure: Regenerate.
1690 * dlltool.c: Add support for sh-pe and mips-pe targets.
1691 * rescoff.c: Add support for sh-pe and mips-pe targets.
1693 2000-02-23 H.J. Lu <hjl@gnu.org>
1695 * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
1697 2000-02-22 Nick Clifton <nickc@cygnus.com>
1699 * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
1701 2000-02-22 Ian Lance Taylor <ian@zembu.com>
1703 From Brad Lucier <lucier@math.purdue.edu>:
1704 * readelf.c (process_version_sections): Add casts to make sure
1705 argument to %* is an int.
1706 (process_mips_specific): Add casts to make printf arguments match
1709 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
1711 * objdump.c (dump_section_header): Change `opb' to unsigned.
1712 (find_symbol_for_address): Same here.
1713 (disassemble_data): And here. Change `addr_offset',
1714 `stop_offset', `nextstop_offset' to unsigned long.
1715 (dump_data): Change opb to unsigned.
1717 2000-02-18 Frank Ch. Eigler <fche@redhat.com>
1719 * resrc.c: Remove unmatched #if for cygwin.
1721 2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com>
1723 * binutils.texi: Document the change of flavor name from atpcs-special
1724 to special-atpcs to prevent name conflict in gdb.
1726 2000-02-08 Timothy Wall <twall@redhat.com>
1728 * objdump.c (show_line): Fix bug preventing printing of the very
1729 first line (line zero) of a file when interlisting source and
1730 assembly. Added option to print entire context from start of file
1731 when the first line from that file is encountered.
1733 2000-02-03 Timothy Wall <twall@redhat.com>
1735 * objdump.c (dump_section_header, find_symbol_for_address,
1736 show_line, disassemble_bytes, disassemble_data, dump_data):
1737 distinguish between octets and bytes.
1739 2000-01-27 Thomas de Lellis <tdel@windriver.com>
1741 * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
1742 check to unresolved symbols.
1743 (print_symbol_info_sysv): Ditto.
1744 (print_symbol_info_posix): Ditto.
1746 * binutils.texi: Document new 'V' symclass flag for nm.
1748 2000-01-27 Nick Clifton <nickc@redhat.com>
1750 * binutils.texi (objdump): Document new ARM specific
1751 disassembler options.
1753 * objdump.c (usage): Call disassembler_usage().
1755 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
1757 * readelf.c (get_dynamic_flags): Return buff.
1758 (process_dynamic_segment): Don't pass error strings to printf
1760 (read_and_display_attr): Use lx and ld to print longs.
1761 (process_corefile_note_segment): Cast bfd_vma to unsigned long
1765 2000-01-17 Nick Clifton <nickc@cygnus.com>
1767 * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
1769 2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
1771 * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
1773 (debug_tag_type): Here too.
1774 * ieee.c (ieee_builtin_type): And here.
1775 * stabs.c (parse_stab_type, parse_stab_array_type): And here.
1777 2000-01-13 Nick Clifton <nickc@cygnus.com>
1779 * readelf.c (get_machine_name): Change EM_S370 to return "IBM
1782 2000-01-11 Nick Clifton <nickc@cygnus.com>
1784 * readelf.c (get_dynamic_type): Remove DT_ENCODING.
1786 2000-01-10 Nick Clifton <nickc@cygnus.com>
1788 * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
1790 2000-01-07 Mumit Khan <khan@xraylith.wisc.edu>
1792 * windres.c (long_options): Add --use-temp-file and
1793 --no-use-temp-file options.
1797 * windres.h: Update read_rc_file prototype.
1799 * resrc.c (cpp_temp_file): New static variable.
1800 (istream_type): New static variable.
1801 (close_pipe): Delete function.
1802 (run_cmd): New static function.
1803 (open_input_stream): New static function.
1804 (close_input_stream): New static function.
1805 (look_for_default): Handle DOS directory separator. Use
1806 open_input_stream instead of popen.
1807 (read_rc_file): Likewise.
1809 * binutils.texi: Document --use-temp-file, --no-use-temp-file
1812 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
1814 * dlltool.c (create_compat_implib): New variable.
1815 (gen_exp_file): Use.
1816 (make_one_lib_file): Use.
1817 (long_options): Add --compat-implib option.
1821 * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
1822 (main): Use. Don't look for "32" in cygwin and mingw target names.
1824 2000-01-03 Nick Clifton <nickc@cygnus.com>
1826 * binutils.texi: Document new, ARM specific disassembler
1827 command line switch "-M force-thumb".
1829 For older changes see ChangeLog-9899
1835 version-control: never