2002-03-07 Daniel Jacobowitz <drow@mvista.com>
[external/binutils.git] / binutils / ChangeLog
1 2002-03-07  Daniel Jacobowitz  <drow@mvista.com>
2
3         * README: Update some version numbers.
4
5 2002-03-07  Daniel Jacobowitz  <drow@mvista.com>
6
7         * doc/binutils.texi (Target Selection): Fix LD crossreferences.
8         (Architecture Selection): Likewise.
9
10 2002-03-01  Dmitry Timoshkov <dmitry@baikal.ru>
11
12         * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
13         generating .exp file.
14
15 2002-02-21  Nick Clifton  <nickc@cambridge.redhat.com>
16
17         * readelf.c (dump_relocations): Fix typo.
18
19 2002-02-20  Nick Clifton  <nickc@cambridge.redhat.com>
20
21         * NEWS: Mark 2.12 branch.
22
23 2002-02-18  Timothy Daly  <remote_bob@yahoo.com>
24
25         * readelf.c (dump_relocations): Display 2nd and 3rd reloc 
26         types for 64-bit MIPS.  Narrow some fields for 80-char 
27         output.
28         (dump_relocations): Change spelling from 'unrecognised' 
29         to 'unrecognized'.
30         (decode_ARM_machine_flags): Likewise.
31         (parse_args): Likewise.
32         (read_and_display_attr_value): Likewise.
33         (display_debug_section): Likewise.
34
35 2002-02-15  Hans-Peter Nilsson  <hp@bitrange.com>
36
37         * NEWS: Mention support for MMIX.
38
39 2002-02-13  Matt Fredette  <fredette@netbsd.org>
40
41         * readelf.c (get_machine_flags): Recognize EF_M68000.
42
43 2002-02-12  Alexandre Oliva  <aoliva@redhat.com>
44
45         * MAINTAINERS: Added self as MN10300 co-maintainer.
46
47 2002-02-12  Alan Modra  <amodra@bigpond.net.au>
48
49         * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
50         DT_PPC64_OPDSZ.
51
52 2002-02-11  Daniel Jacobowitz  <drow@mvista.com>
53
54         * MAINTAINERS: List myself as branch maintainer.
55
56 2002-02-11  Alan Modra  <amodra@bigpond.net.au>
57
58         * configure: Regenerate.
59         * objcopy.c: Update copyright date.
60         * doc/Makefile.in: Regenerate.
61
62 2002-02-10  Daniel Jacobowitz  <drow@mvista.com>
63
64         * nlmconv.c: Back out localtime PARAMS change.
65
66 2002-02-11  Alan Modra  <amodra@bigpond.net.au>
67
68         * objcopy.c (MKDIR): Define.
69         (copy_archive): Make name_list.name const.  Use MKDIR.
70         Handle duplicate files in archives by making more temp dirs.
71
72 2002-02-10  Daniel Jacobowitz  <drow@mvista.com>
73
74         * coffdump.c: Include "getopt.h" after "bucomm.h"
75         so that macros are defined correctly.
76         * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
77         prototype.  Prototype main.
78         * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
79
80 2002-02-06  Alexandre Oliva  <aoliva@redhat.com>
81
82         * MAINTAINERS: Added self as SH co-maintainer.
83
84 2002-02-05  Nick Clifton <nickc@redhat.com>
85
86         * po/tr.po: Updated translation.
87
88 2002-02-01  Alan Modra  <amodra@bigpond.net.au>
89
90         * Makefile.am: Run "make dep-am"
91         * Makefile.in: Regenerate.
92
93 2002-01-29  Daniel Jacobowitz  <drow@mvista.com>
94
95         * nm.c (print_value): Mark abfd unused.
96
97 2002-01-29  Daniel Jacobowitz  <drow@mvista.com>
98
99         * unwind-ia64.c (unw_decoder): Change second argument
100         to unsigned int, to match function prototypes.
101
102 2002-01-29  Daniel Jacobowitz  <drow@mvista.com>
103
104         * objdump.c: Include "getopt.h" after "bucomm.h" so that
105         __GNU_LIBRARY__ will be defined.
106         * size.c: Likewise.
107
108 2002-01-27  Daniel Jacobowitz  <drow@mvista.com>
109
110         * configure: Regenerated.
111
112 2002-01-26  Hans-Peter Nilsson  <hp@bitrange.com>
113
114         * doc/Makefile.am (install): Depend on install-info.
115         * doc/Makefile.in: Regenerate.
116
117 2002-01-25  Jason R. Thorpe <thorpej@wasabisystems.com>
118
119         * objcopy.c (strip_usage): Document -d as an alias
120         --strip-debug.
121
122         * size.c (usage): Document [-t | --totals] options.
123         (long_options): Add --totals option.
124         (main): If the [-t | --totals] option is specified and
125         the output format is Berkeley-style, print the total
126         text, data, and bss sizes of all objects listed.
127         (print_berkeley_format): If the [-t | --totals] option
128         is specified, track the total text, data, and bss
129         sizes.
130         * doc/binutils.texi (size): Document [-t | --totals] options.
131         (strip): Document -d as an alias for --strip-debug.
132         * NEWS: Mention new feature of size.
133
134 2002-01-25  Nick Clifton  <nickc@cambridge.redhat.com>
135
136         * po/fr.po: Updated version.
137         * po/es.po: Updated version.
138
139 2002-01-23  Nick Clifton  <nickc@cambridge.redhat.com>
140
141         * addr2line.c (usage): Update text to provide verbose
142         description of the command line options.
143         * ar.c (usage): Update text to provide verbose
144         description of the command line options.
145         (main): Accept -h and -H when running as ranlib.
146         * coffdump.c (show_usage): Update text to provide verbose
147         description of the command line options.
148         * dlltool.c (main): Accept -H as an alias for --help.
149         * nlmconv.c (show_usage): Update text to provide verbose
150         description of the command line options.
151         * nm.c (usage): Replace OPTIONS with option(s).
152         (main): Accept -H as an alias for --help.
153         * objcopy.c (strip_main): Accept -H as an alias for --help.
154         * objdump.c (main): Accept -v as an alias for --verbose.
155         * readelf.c (usage): Adjust format to match style used in
156         other binutils.
157         * size.c (usage): Update text to provide verbose description
158         of the command line options.
159         (main): Accept -v, -h and -H as command line options.
160         * srconv.c (show_usage): Update text to provide verbose
161         description of the command line options.
162         * strings.c (main): Accept -H and -v as command line options.
163         (usage): Update text to provide verbose description of the
164         command line options.
165         * sysdump.c (show_usage): Update text to provide verbose
166         description of the command line options.
167         * windres.c (usage): Adjust format to match style used in
168         other binutils.
169
170         * coffdump.c: Fix formatting.
171         * nlmconv.c: Fix formatting.
172         * srconv.c: Fix formatting.
173         * sysdump.c: Fix formatting.
174
175 2002-01-22  Alan Modra  <amodra@bigpond.net.au>
176
177         * Makefile.am: Run "make dep-am".
178         * Makefile.in: Regenerate.
179
180 2002-01-18  Andreas Jaeger  <aj@suse.de>
181
182         * version.c (print_version): Update year.
183
184 2002-01-17  Alan Modra  <amodra@bigpond.net.au>
185
186         * readelf.c (get_machine_name): Handle EM_PPC64.
187         (guess_is_rela): Here too.
188
189 2002-01-17  Nick Clifton  <nickc@cambridge.redhat.com>
190
191         * po/binutils.pot: Regenerate.
192         * po/fr.po: Regenerate.
193         * po/tr.po: Regenerate.
194
195 2002-01-16  Nick Clifton  <nickc@cambridge.redhat.com>
196
197         * po/tr.po: Import new version.
198
199 2002-01-16  Alan Modra  <amodra@bigpond.net.au>
200
201         * readelf.c (get_ppc64_dynamic_type): New.
202         (get_dynamic_type): Call it.
203
204 2002-01-15  Nick Clifton  <nickc@cambridge.redhat.com>
205
206         * objcopy.c (copy_usage): Use "options" instead of "switches".
207         (strip_usage): Use "options" instead of "switches".
208         * doc/binutils.texi (dlltool):  Refer to "options" instead of
209         "switches".
210
211 2002-01-14  Richard Earnshaw  <rearnsha@arm.com>
212
213         * MAINTAINERS: Add self as co-maintainer for the ARM code.
214
215 2001-12-18  Nick Clifton  <nickc@cambridge.redhat.com>
216
217         * po/es.po: Import from translation project.
218         * configure.in (ALL_LINGUAS): Add es.
219         * configure: Regenerate.
220
221 2002-01-09  Jason Thorpe  <thorpej@wasabisystems.com>
222
223         * readelf.c (get_netbsd_elfcore_note_type): Use
224         NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
225
226 2002-01-09  Jason Thorpe  <thorpej@wasabisystems.com>
227
228         * readelf.c: Update copyright years.
229         (get_note_type): Return a const char *.
230         (get_netbsd_elfcore_note_type): New function.
231         (process_note): Use get_netbsd_elfcore_note_type to get
232         the note type string for NetBSD ELF core files.
233
234 2002-01-06  Steve Ellcey  <sje@cup.hp.com>
235
236         * readelf.c (get_ia64_segment_type): Add support for macros.
237         (get_segment_type): Add support for IA64 specific macros.
238
239 2001-12-20  Julian v. Bock  <julian@wongr.net>
240
241         * readelf.c (print_symbol): New function: Print a formatted symbol
242         name.  If --wide is specified do not truncate it.
243         (dump_relocations): Use print_symbol() to print symbol names.
244         (process_symbol_table): Likewise.
245         (process_syminfo): Likewise.
246         (process_mips_specific): Likewise.
247         (usage): Document new feature of --wide switch.
248         * doc/binutils.texi (objdump): Document additional behaviour of
249         --wide.
250
251 2001-12-18  Michael Snyder  <msnyder@redhat.com>
252
253         * objcopy.c (copy_file): Accept corefiles (format bfd_core).
254         (copy_object): Don't set the start address or flags of a core file.
255         (copy_section): Don't relocate a core file.  Don't copy contents
256         if the input section has the contents flag set, but the output
257         section does not (which happens with the fake 'note' pseudo-
258         sections that BFD creates for corefiles).
259
260 2001-12-18  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
261
262         * readelf.c (get_machine_flags): Recognize header flags for ABI and
263         ASE extensions. More robust code for ISA checking. Ignore empty fields
264         in header flags for GNU extensions.
265
266 2001-12-18  Alan Modra  <amodra@bigpond.net.au>
267
268         * objcopy.c (copy_archive): Set output bfd format outside the loop.
269
270 2001-12-18  Nick Clifton  <nickc@cambridge.redhat.com>
271
272         * po/ja.po: Import from translation project.
273         * configure.in (ALL_LINGUAS): Add ja.
274         * configure: Regenerate.
275
276 2001-12-18  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
277
278         * addr2line.c (main): Protoype.
279         * ar.c (main): Protoype.
280         * nm.c (main): Protoype.
281         * objcopy.c (main): Protoype.
282         * objdump.c (main): Protoype.
283         * size.c (main): Protoype.
284         * strings.c (main): Protoype.
285
286 2001-12-17  Alan Modra  <amodra@bigpond.net.au>
287
288         * readelf.c (symtab_shndx_hdr): New global.
289         (SECTION_HEADER_INDEX): Define.
290         (SECTION_HEADER_NUM): Define.
291         (SECTION_HEADER): Define.
292         (GET_ELF_SYMBOLS): Pass two params rather than three.
293         (get_32bit_elf_symbols): Take file and section args.  Read and
294         use SHT_SYMTAB_SHNDX.
295         (get_64bit_elf_symbols): Likewise.
296         (dump_relocations): Use SECTION_HEADER to index "section_headers".
297         (process_section_headers): Likewise.  Use SECTION_HEADER_NUM too.
298         Remember symtab_shdx_hdr.
299         (process_program_headers): Scan from index 1 for segment map.
300         (slurp_ia64_unwind_table): Use SECTION_HEADER to index
301         "section_headers".
302         (process_relocs): Likewise.  Also adjust call to GET_ELF_SYMBOLS.
303         (process_unwind): Likewise.
304         (process_version_sections): Likewise.
305         (process_symbol_table): Likewise.
306         (display_debug_info): Likewise.
307         (process_dynamic_segment): Fake up a symtab section for changed
308         GET_ELF_SYMBOLS.
309         (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
310         (process_program_headers): Kill signed/unsigned warning.
311         (load_debug_str): Likewise.
312         (display_debug_info): Likewise.
313
314 2001-12-13  Jakub Jelinek  <jakub@redhat.com>
315
316         * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
317
318 2001-12-11  Alan Modra  <amodra@bigpond.net.au>
319
320         * readelf.c (process_file_header): Print extended e_shnum and
321         e_shdtrndx values.  Set elf_header values for same.
322         (get_32bit_section_headers): Add "num" arg to read "num" headers.
323         (get_64bit_section_headers): Likewise.
324         (process_section_headers): Update calls.
325         (get_file_header): Call get_32bit_section_headers or 64bit variant.
326
327 2001-12-10  Jakub Jelinek  <jakub@redhat.com>
328
329         * objcopy.c (setup_section): Copy entsize.
330
331 2001-12-07  Geoffrey Keating  <geoffk@redhat.com>
332
333         * readelf.c (guess_is_rela): Add support for stormy16.
334         (dump_relocations): Likewise.
335         (get_machine_name): Likewise.
336
337 2001-12-05  Nick Clifton  <nickc@cambridge.redhat.com>
338
339         * dllwrap.c (main) Replace multiple strings describing a
340         single error with a single, newline escaped sentence to permit
341         better translation into foreign languages.
342
343         * readelf.c (get_elf_class): Remove internalionalisation of ELF
344         class names.
345
346 2001-12-04  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
347
348         * strings.c (get_char): Initialize value.
349
350 2001-12-04  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
351
352         * arlex.l: Silence compile warnings.
353         * arsup.h: Likewise. Fix formatting.
354
355 2001-12-04  Jakub Jelinek  <jakub@redhat.com>
356
357         * strings.c: Include config.h before bfd.h.
358         (file_off): New type.
359         (file_open): Define.
360         (print_strings): Use file_off instead of file_ptr.  Print addresses
361         which don't fit into long correctly.
362         (get_char): Use file_off instead of file_ptr.  Use getc_unlocked if
363         available.
364         (strings_file): Use file_off instead of file_ptr.  Use file_open.
365         * configure.in: Check for getc_unlocked.
366         Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
367         be defined for it.
368         * configure: Rebuilt.
369         * config.h.in: Rebuilt.
370
371 2001-11-29  H.J. Lu <hjl@gnu.org>
372
373         * bucomm.c (make_tempname): Revert the changes made on
374         2001-11-14 and 2001-11-12. They won't work with directories.
375
376 2001-11-23  John David Anglin  <dave@hiauly1.hia.nrc.ca>
377
378         * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
379         CFLAGS_FOR_TARGET to runtest in environment.
380         * Makefile.in: Rebuild.
381         * doc/Makefile.in: Rebuild.
382
383 2001-11-28  Mike Stump  <mrs@wrs.com>
384
385         * objcopy.c (setup_section): Preserve SEC_RELOC when
386         --set-section-flags is used.
387
388 2001-11-19  Nick Clifton  <nickc@cambridge.redhat.com>
389
390         * readelf.c (do_debug_str): New variable.
391         (display_debug_str): New function: Display the contents of a
392         .debug_str section.
393         (load_debug_str): New function: Load in the contents of a
394         .debug_str section.
395         (free_debug_str): New function: Free the memory used by
396         load_debug_str().
397         (fetch_indirect_string): Retrieve a string from the .debug_str
398         section.
399         (usage): Add -ws.
400         (parse_args): Accept -ws.
401         (process_section_headers): Allow the display of the .debug_str
402         section.
403         (read_and_display_attr_value): Use fetch_indirect_string.  Show
404         offset into .debug_str section.
405         (display_debug_info): Use load_debug_str and free_debug_str.
406         (debug_displays): Add .debug_str.
407         * doc/binutils.texi: Document -ws.
408
409 2001-11-19  Andreas Jaeger  <aj@suse.de>
410
411         * testsuite/binutils-all/objdump.exp: Add x86-64.
412
413 2001-11-15  Andreas Schwab  <schwab@suse.de>
414
415         * readelf.c: Fix warnings without terminating newline.
416
417 2001-11-15  Alan Modra  <amodra@bigpond.net.au>
418
419         * doc/binutils.texi (objdump): Document ppc -M options.
420
421 2001-11-14  Andreas Jaeger  <aj@suse.de>
422
423         * doc/binutils.texi (objdump): Fix description to use x86-64.
424
425 2001-11-14  Nick Clifton  <nickc@cambridge.redhat.com>
426
427         * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
428         not all systems provide mkstemp.
429
430 2001-11-14  Alan Modra  <amodra@bigpond.net.au>
431
432         * doc/binutils.texi (objdump): Document x86 -M options.
433
434 2001-11-13  Keith Walker <keith.walker@arm.com>
435
436         * readelf.c (read_and_display_attr_value): New function to
437         handle DW_FORM_indirect.
438         (read_and_display_attr): Use it.
439
440 2001-11-13  Geoffrey Keating  <geoffk@redhat.com>
441
442         * readelf.c (display_debug_lines): Deal with unknown standard
443         opcodes.  Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
444         DW_LNS_set_isa.
445
446 2001-11-13  Timothy Wall  <twall@alum.mit.edu>
447
448         * MAINTAINERS: Add self as tic54x maintainer.  This target
449         includes the IBM C54XDSP clone.
450
451 2001-11-12  * Steven J. Hill <sjhill@realitydiluted.com>
452
453         * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
454
455 2001-11-09  Jeffrey A Law  (law@cygnus.com)
456
457         * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
458         (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
459         (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
460         (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
461         (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
462         (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
463         (unw_decode_b2, unw_decode_b3_b4): Likewise.
464
465         * readelf.c (get_elf_class): Fix ISO portability glitch.
466         (get_data_encoding, get_osabi_name, request_dump): Likewise.
467
468 2001-11-07  Jakub Jelinek  <jakub@redhat.com>
469
470         * readelf.c (debug_str, debug_str_size): New.
471         (display_debug_abbrev): If no abbrevs were read, skip the CU.
472         Call free_abbrevs.
473         (read_and_display_addr): Handle DW_FORM_strp.
474         (display_debug_info): Read .debug_str section if present,
475         so that DW_FORM_strp can be handled.
476         Fix test for non-existant .debug_abbrev section.
477
478 2001-11-05  Jakub Jelinek  <jakub@redhat.com>
479
480         * arlex.l: Accept `\' in filenames.  Patch by <earl_chew@agilent.com>.
481
482         * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
483
484 2001-11-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
485
486         * MAINTAINERS: Add self as s390/s390x maintainer.
487
488 2001-11-02  Tom Rix  <trix@bluey.cygnus.com>
489
490         * MAINTAINERS: Add self as PPC XCOFF maintainer.
491
492 2001-11-02  Nick Clifton  <nickc@cambridge.redhat.com>
493
494         * configure.in (ALL_LINGUAS): Add "fr" and "tr".
495         * configure: Regernate.
496         * po/fr.po: New file.
497         * po/tr.po: New file.
498
499 2001-10-30  Hans-Peter Nilsson  <hp@bitrange.com>
500
501         * MAINTAINERS: Add self as MMIX port maintainer.
502         * readelf.c: Include elf/mmix.h.
503         (guess_is_rela): MMIX is RELA.
504         (dump_relocations): Handle MMIX relocations.
505         * Makefile.am: Regenerate dependencies.
506         * Makefile.in: Regenerate.
507
508 2001-10-13  Nick Clifton  <nickc@cambridge.redhat.com>
509
510         * readelf.c (parse_args): Handle multiple options to the -w
511         switch.
512
513 2001-10-12  Jakub Jelinek  <jakub@redhat.com>
514
515         * readelf.c (get_section_type_name): Don't print SHT_ prefix for
516         LOPROC, LOOS and LOUSER.
517
518 2001-10-11  J"orn Rennecke <amylaar@onetel.net.uk>
519
520         * MAINTAINERS: Update my email address.
521
522 2001-10-03  Alan Modra  <amodra@bigpond.net.au>
523
524         * doc/Makefile.in: Regenerate.
525         * configure: Regenerate.
526
527 2001-10-02  Nick Clifton  <nickc@cambridge.redhat.com>
528
529         * readelf.c (display_debug_line, display_debug_pubnames,
530         display_debug_info, display_debug_frames): Detect and warn
531         about 64-bit format entries.
532         (display_debug_aranges): Reword 64-bit warning.
533         (debug_displays): Add .debug_pubtypes as a known, but not yet
534         supported, debug section.
535
536 2001-10-02  Alan Modra  <amodra@bigpond.net.au>
537
538         * coffdump.c (PROGRAM_VERSION): Delete.
539         (main <'V'>): Call print_version.
540         * srconv.c: Likewise.
541         * sysdump.c: Likewise.
542         * version.c (program_version): Remove.
543         (print_version): Use BFD_VERSION_STRING.  Just print the current
544         year in copyright message.
545         * addr2line.c (program_version): Remove unused declaration.
546         * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
547         place of BFD_VERSION.
548         * Makefile.am (Makefile): Depend on bfd/configure.in.
549         (cplus-dem.o): Depend on Makefile.
550         Run "make dep-am".
551         * Makefile.in: Regenerate.
552
553 2001-10-01  Nick Clifton  <nickc@cambridge.redhat.com>
554
555         * readelf.c (display_debug_aranges): Detect and warn about DWARF64
556         format .debug_arange sections.
557         (main): Add missing prototype.
558
559 2001-09-30  Hans-Peter Nilsson  <hp@bitrange.com>
560
561         * Makefile.am: Update dependencies with "make dep-am".
562         * Makefile.in: Regenerate.
563
564 2001-09-28  Richard Henderson  <rth@redhat.com>
565
566         * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
567
568 2001-09-26  Alan Modra  <amodra@bigpond.net.au>
569
570         * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
571         VA_CLOSE.
572         (non_fatal): Likewise.
573         * objdump.c (objdump_sprintf): Likewise.
574         * readelf.c (error): Likewise.
575         (warn): Likewise.
576
577 2001-09-25  Jakub Jelinek  <jakub@redhat.com>
578
579         * readelf.c (do_wide): New.
580         (options): Add --wide.
581         (usage, parse_args): Likewise.
582         (process_program_headers): Put each segment on a single line if
583         --wide is given.
584         (process_section_headers): Put each section on a single line if
585         --wide is given.
586         * doc/binutils.texi: Document it.
587         * NEWS: Likewise.
588
589 2001-09-25  Alan Modra  <amodra@bigpond.net.au>
590
591         * readelf.c (print_vma): Print 8 digits of low hex value.
592
593 2001-09-24  Andreas Jaeger  <aj@suse.de>
594
595         * nlmconv.c: Fix warnings about unused attributes and function
596         prototypes.
597
598         * strings.c: Add prototype for get_char.
599
600 2000-09-19  H.J. Lu  <hjl@gnu.org>
601
602         * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
603         $(srcdir)/cxxfilt.man.
604         * doc/Makefile.in: Rebuild.
605
606 2001-09-19  Alan Modra  <amodra@bigpond.net.au>
607
608         * objcopy.c (copy_main): Correct rename-section string parsing.
609         Consolidate new_name parsing, and error messages.
610
611 2001-09-18  Bruno Haible  <haible@clisp.cons.org>
612
613         * addr2line.c: Don't include <ctype.h>.
614         (main): For gettext, also set the LC_CTYPE locate facet.
615         * ar.c (main): Likewise.
616         * coffdump.c (main): Likewise.
617         * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
618         (main): For gettext, also set the LC_CTYPE locate facet.
619         Use ISALNUM instead of isalpha/isdigit.
620         * dllwrap.c: Don't include <ctype.h>.
621         (main): For gettext, also set the LC_CTYPE locate facet.
622         * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
623         (main): For gettext, also set the LC_CTYPE locate facet.
624         Use TOUPPER instead of islower/toupper.
625         * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
626         (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
627         Use TOUPPER instead of islower/toupper.
628         * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
629         * objcopy.c (main): Likewise.
630         * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
631         (disassemble_bytes): Use ISPRINT instead of isprint.
632         (dump_section_stabs): Use ISDIGIT instead of isdigit.
633         (dump_data): Use ISPRINT instead of isprint.
634         (main): For gettext, also set the LC_CTYPE locate facet.
635         * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
636         (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
637         * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
638         Use TOUPPER instead of islower/toupper.
639         * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
640         * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
641         (write_rc_accelerators): Use ISPRINT instead of isprint.
642         (write_rc_rcdata): Likewise.
643         * size.c (main): For gettext, also set the LC_CTYPE locate facet.
644         * srconv.c (main): Likewise.
645         * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
646         (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
647         isdigit/isupper/islower.
648         (parse_stab_string, parse_stab_type, parse_stab_argtypes,
649         parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
650         stab_demangle_prefix, stab_demangle_qualified,
651         stab_demangle_template, stab_demangle_type,
652         stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
653         * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
654         (isgraphic): Use ISPRINT instead of isascii/isprint.
655         (main): Remove HAVE_LC_MESSAGES dependency.
656         * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
657         (pbarray): Use ISPRINT instead of isprint.
658         (main): For gettext, also set the LC_CTYPE locate facet.
659         * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
660         (format_from_filename): Use ISPRINT instead of isprint.
661         (main): For gettext, also set the LC_CTYPE locate facet.
662         * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
663         (unicode_print): Use ISPRINT instead of isprint.
664         * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
665         (stab_variable): Use ISDIGIT instead of isdigit.
666
667 2001-09-18  Alan Modra  <amodra@bigpond.net.au>
668
669         * ar.c (print_contents): Cast args of bfd_seek to the right types.
670         Replace bfd_read call with call to bfd_bread.
671         (extract_file): Likewise.
672
673         * objdump.c (dump_section_header): Cast section->filepos to
674         unsigned long to suit printf format string.
675         * readelf.c (process_section_headers): Similarly for sh_offset.
676         (process_unwind): Likewise.
677
678 2001-09-14  Nick Clifton  <nickc@cambridge.redhat.com>
679
680         * strings.c (encoding, encoding_bytes): New variables.
681         (long_options): Add --encoding.
682         (main): Accept -e and --encoding.
683         (get_char): New function.  Read a, possibly wide, character from
684         the input stream.
685         (print_strings): Use get_char().
686         (usage): Document new command line option.
687         * doc/binutils.texi: Document new command line option.
688         * NEWS: Announce new command line option.
689
690 2001-09-12  Alexandre Oliva  <aoliva@redhat.com>
691
692         * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
693         get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
694         EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
695         Removed EM_CYGNUS_ARC.
696
697 2001-09-04  Jeffrey A Law  (law@cygnus.com)
698
699         * readelf.c: Include elf/h8 for H8 series definitions.
700         (guess_is_rela): H8 series if RELA.
701         (dump_relocations): Handle H8 series relocations.
702
703 2001-08-31  Eric Christopher  <echristo@redhat.com>
704
705         * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
706
707 2001-08-29  Peter Targett  <peter.targett@arccores.com>
708
709         * MAINTAINERS: Include ARC Maintainer.
710
711 2001-08-29  Ben Elliston  <bje@redhat.com>
712
713         * stabs.c (stab_demangle_template): Initialise s4.
714
715 2001-08-27  Alan Modra  <amodra@bigpond.net.au>
716
717         * readelf.c (dump_relocations): Recognise EM_PPC64.
718
719 2001-08-26  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
720
721         * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
722
723 2001-08-25  H.J. Lu  <hjl@gnu.org>
724
725         * nm.c (print_width): New.
726         (display_rel_file): Set `print_width' according to
727         bfd_sprintf_vma.
728         (print_symbol_info_bsd): Check `print_width' instead of BFD64.
729
730 2001-08-24  Alexandre Oliva  <aoliva@redhat.com>
731
732         * objcopy.c (use_alt_mach_code): New variable.
733         (OPTION_ALT_MACH_CODE): Define.
734         (copy_options): Added --alt-machine-code.
735         (copy_main): Handle it.
736         (copy_object): Switch to alternate machine code if requested.
737         * doc/binutils.texi: Document new option.
738         * NEWS: Likewise.
739
740 2001-08-22  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
741
742         * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
743
744 2001-08-21  H.J. Lu  <hjl@gnu.org>
745
746         * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
747         (display_debug_info): Cast for 64bit hosts.
748         (display_debug_frames): Likewise.
749         (process_mips_specific): Likewise.
750
751 2001-08-21  Andreas Jaeger  <aj@suse.de>
752
753         * coffgrok.h: Add missing parameter for prototype of coff_grok.
754
755         * sysdump.c: Add missing prototypes.
756         * srconv.c: Likewise.
757         * unwind-ia64.c: Likewise.
758         * coffdump.c: Likewise.
759
760         * sysinfo.y: Print prototypes, include <ansidecl.h>.
761
762         * coffgrok.c: Add missing prototypes, include libiberty.h instead
763         of declaring xcalloc.
764
765 2001-08-10  H.J. Lu  <hjl@gnu.org>
766
767         * nm.c (print_value): Add one arg, bfd *.
768         (print_value): Replace fprintf_vma with bfd_fprintf_vma.
769         (print_symbol_info_bsd): Also pass `abfd' to print_value ().
770         (print_symbol_info_sysv): Likewise.
771         (print_symbol_info_posix): Likewise.
772
773         * objdump.c (dump_section_header): Replace printf_vma with
774         bfd_printf_vma.
775         (print_section_stabs): Likewise.
776         (dump_bfd_header): Likewise.
777         (objdump_print_value): Replace sprintf_vma with
778         bfd_sprintf_vma.
779         (disassemble_bytes): Likewise.
780         (dump_reloc_set): Likewise.
781
782 2001-08-10  Andreas Jaeger  <aj@suse.de>
783
784         * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
785         to build warnings.
786         * configure: Regenerate.
787
788 2001-08-09  Alan Modra  <amodra@bigpond.net.au>
789
790         * readelf.c: Add missing prototypes.
791         * objdump.c: Likewise.  Format existing prototypes.
792
793 2001-08-08  Alexandre Oliva  <aoliva@redhat.com>
794
795         * readelf.c (display_debug_info): Add to abbrev_offset the addend
796         of any RELA relocation for the abbrev_offset memory location that
797         refers to the .debug_abbrev section symbol.
798
799 2001-08-07  H.J. Lu  <hjl@gnu.org>
800
801         * readelf.c (process_file): Return 0 if OK, otherwise return 1.
802         (main): Return process_file ().
803
804 2001-08-05  Philip Blundell  <philb@gnu.org>
805
806         * doc/binutils.texi: Use "Thumb" not "THUMB".
807
808 2001-08-03  John Healy  <jhealy@redhat.com>
809
810         Patch suggested by Frank Eigler <fche@redhat.com>.
811         * objdump.c (disassemble_data): Fill in section member of the
812         disasm_info structure.
813
814 2001-08-03  Tom Walsh  <tom@cyberiansoftware.com>
815
816         * configure.in: Added --with-windres option.
817         * configure: Regenerated.
818
819 2001-07-11  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
820
821         * doc/binutils.texi: Use @command{name} for commands;
822         use @option{-opt} for options; use @table @env for list of options;
823         remove spaces arround [ | ] in synopsis.
824
825         * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
826         center title.
827
828 2001-07-31  Nick Clifton  <nickc@cambridge.redhat.com>
829
830         * objcopy.c: Fix formatting.
831         (section_rename): New structure.
832         (OPTION_RENAME_SECTION): New switch.
833         (copy_usage): Document new switch.
834         (add_section_rename): New function: Add a node to the section
835         rename list.
836         (find_section_rename): New function: Find the new name and
837         flags for a section.
838         (setup_section): Call find_section_name to determine the name
839         of the output section.
840         (copy_main): Handle OPTION_RENAME_SECTION.
841         * binutils.texi: Document new switch.
842         * NEWS: Mention new switch.
843
844 2001-07-30  Nick Clifton  <nickc@cambridge.redhat.com>
845
846         * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
847         * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
848         bug-binutils@gcc.org.
849
850 2001-07-28  Matthias Kramm  <kramm@quiss.org>
851
852         * bucomm.c (list_supported_architectures): New function.
853         * bucomm.h (list_supported_architectures): Declare.
854         * objdump.c (usage): Call the above.
855
856 2001-07-25  Dave Brolley  <brolley@redhat.com>
857
858         * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
859         (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
860
861 2001-07-19  Nick Clifton  <nickc@cambridge.redhat.com>
862
863         * README: Update for 2.11.  Change bug reporting email address.
864         * MAINTAINERS: Tidy up.  Change bug reporting email address.
865
866 2001-07-16  DJ Delorie  <dj@redhat.com>
867
868         * resres.c (write_res_header): Align header size.
869         (res_align_file): Calculate alignment correctly.
870
871         * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
872         correct 10).
873         * resrc.c (write_rc_resource): Likewise.
874         * windres.h (SUBLANG_SHIFT): Define - as 10.
875
876 2001-07-15  Nick Clifton  <nickc@cambridge.redhat.com>
877
878         * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
879
880 2001-07-11  Nick Clifton  <nickc@cambridge.redhat.com>
881
882         * MAINTAINERS: Add notes about branch checkins.
883
884 2001-07-05  Daniel Berlin  <dan@cgsoftware.com>
885
886         * readelf.c (display_debug_macinfo): New function, display
887         .debug_macinfo section.
888         (do_debug_macinfo): New variable.
889         (parse_args): Handle "-w[mM]" to mean display macro info.
890         (process_section_headers): Handle debug_macinfo.
891         (debug_displays): Replace unsupported function with macinfo
892         function for .debug_macinfo display.
893         * doc/binutils.texi: Document new command line switch.
894         * NEWS: Document new feature of readelf.
895
896 2001-07-05  H.J. Lu  <hjl@gnu.org>
897
898         * objcopy.c (filter_symbols): Don't turn undefined symbols
899         into local.
900
901 2001-07-03  H.J. Lu <hjl@gnu.org>
902
903         * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
904         $@.pod.
905         (ar.1): Likewise.
906         (dlltool.1): Likewise.
907         (nlmconv.1): Likewise.
908         (nm.1): Likewise.
909         (objcopy.1): Likewise.
910         (objdump.1): Likewise.
911         (ranlib.1): Likewise.
912         (readelf.1): Likewise.
913         (size.1): Likewise.
914         (strings.1): Likewise.
915         (strip.1): Likewise.
916         (windres.1): Likewise.
917         (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
918         ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
919         $(DEMANGLER_NAME).
920         (as.1): Removed.
921         * doc/Makefile.in: Regenerated.
922
923 2001-07-03  Nick Clifton  <nickc@cambridge.redhat.com>
924
925         * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
926
927 2001-07-01  Daniel Berlin  <dan@cgsoftware.com>
928
929         * readelf.c: Support DWARF 2.1 tags, encodings, languages.
930
931 2001-06-29  James Cownie <jcownie@etnus.com>
932
933         * readelf.c: Support DWARF 2.1 attributes.
934
935 2001-06-28  Alan Modra  <amodra@bigpond.net.au>
936
937         * readelf.c (GET_DATA_ALLOC): Remove.
938         (GET_DATA): Remove.
939         (get_data): New function combining above macros, with an extra
940         test for zero size.
941         (slurp_rela_relocs): Use get_data, and catch error return.
942         (slurp_rel_relocs): Likewise.
943         (get_32bit_program_headers): Likewise.
944         (get_64bit_program_headers): Likewise.
945         (get_32bit_section_headers): Likewise.
946         (get_64bit_section_headers): Likewise.
947         (get_32bit_elf_symbols): Likewise.
948         (get_64bit_elf_symbols): Likewise.
949         (process_section_headers): Likewise.
950         (process_relocs): Likewise.
951         (slurp_ia64_unwind_table): Likewise.
952         (process_unwind): Likewise.
953         (get_32bit_dynamic_segment): Likewise.
954         (get_64bit_dynamic_segment): Likewise.
955         (process_dynamic_segment): Likewise.
956         (process_version_sections): Likewise.
957         (process_symbol_table): Likewise.
958         (dump_section): Likewise.
959         (display_debug_info): Likewise.
960         (display_debug_section): Likewise.
961         (process_section_contents): Likewise.
962         (process_corefile_note_segment): Likewise.
963         (process_mips_specific): Likewise.  Also free econf32, econf64.
964
965 2001-06-25  Alan Modra  <amodra@bigpond.net.au>
966
967         * readelf.c (dump_relocations): Print "bad symbol index" if
968         symtab == NULL with non-zero symtab_index.
969         (process_relocs): Don't bomb if reloc section has no symsec.
970
971 2001-06-24  H.J. Lu  <hjl@gnu.org>
972
973         * objcopy.c (strip_main): Revert the change made on 2001-05-30
974         by accident.
975         (copy_main): Apply the the change made to strip_main on
976         2001-05-30 by accident.
977
978 2001-06-23  Andreas Jaeger  <aj@suse.de>
979
980         * unwind-ia64.c (unw_decode_x1): Add unused attribute for
981         parameter 'code'.
982         (unw_decode_x2): Likewise.
983         (unw_decode_x3): Likewise.
984         (unw_decode_x4): Likewise.
985
986 2001-06-23  Ben Elliston  <bje@redhat.com>
987
988         * MAINTAINERS: Add myself as M88k maintainer.
989
990 2001-06-22  Jocelyn Mayer  <jocelyn.mayer@netgem.com>
991
992         * objcopy.c (strip_main): Support -o or --output-file command lien
993         switch.
994
995 2001-06-19  H.J. Lu <hjl@gnu.org>
996
997         * doc/Makefile.in: Regenerated.
998
999 2001-06-19  Nick Clifton  <nickc@cambridge.redhat.com>
1000
1001         * readelf.c: Restore formatting.
1002
1003 2001-06-18  H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
1004
1005         * Makefile.am: Move documentation into doc subdirectory.
1006         * Makefile.in: Regenerated.
1007         * binutils.texi: Move into doc subdirectory.
1008         * addr2line.1: Removed.
1009         * ar.1: Likewise.
1010         * dlltool.1: Likewise.
1011         * nlmconv.1: Likewise.
1012         * nm.1: Likewise.
1013         * objcopy.1: Likewise.
1014         * objdump.1: Likewise.
1015         * ranlib.1: Likewise.
1016         * readelf.1: Likewise.
1017         * size.1: Likewise.
1018         * strings.1: Likewise.
1019         * strip.1: Likewise.
1020         * windres.1: Likewise.
1021         * cxxfilt.man: Likewise.
1022         * doc: New Directory.
1023         * doc/Makefile.am: New file.
1024         * doc/Makefile.in: Generate.
1025
1026 2001-06-09  Alan Modra  <amodra@bigpond.net.au>
1027
1028         * NEWS: Fix a typo.  Mention hppa64-elf.  Add binutils-2.11 marker.
1029
1030 2001-06-01  Alan Modra  <amodra@bigpond.net.au>
1031
1032         * MAINTAINERS: Update my email address.
1033
1034 2001-05-30  Honda Hiroki  <hhonda@kobe-catv.ne.jp>
1035
1036         * objcopy.c: Add new switches: --keep-global-symbol,
1037         --keep-symbols, --localize-symbols, --keep-global-symbols and
1038         --weaken-symbols.
1039         * binutils.texi: Document new switches.
1040         * objcopy.1: Regenerate.
1041         * NEWS: Announce new feature.
1042
1043 2001-05-28  Andreas Jaeger  <aj@suse.de>
1044
1045         * readelf.c (display_debug_frames): Fix warnings: Remove unused
1046         variables, fix format strings.
1047
1048 2001-05-28  Nick Clifton  <nickc@cambridge.redhat.com>
1049
1050         * objdump.c (disassemble_bytes): Remove section VMA adjustment
1051         when computing the address of the line to show.
1052
1053 2001-05-16  Richard Henderson  <rth@redhat.com>
1054
1055         * readelf.c (do_debug_frames_interp): New.
1056         (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
1057         (byte_get_big_endian): Likewise.
1058         (parse_args) ['F']: Set do_debug_frames_interp.
1059         (Frame_Chunk): Make data_factor signed, add fde_encoding.
1060         (frame_display_row): Don't trunc pc_begin to int.
1061         (size_of_encoded_value): New.
1062         (display_debug_frames): Handle 64-bit targets.  Print raw data
1063         unless do_debug_frames_interp.
1064         (debug_displays): Remove duplicate .debug_frame.
1065
1066 2001-05-15  Ralf Baechle  <ralf@gnu.org>
1067
1068         * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
1069         The former constant was never in active use and is used otherwise
1070         by the ABI.
1071
1072 2001-05-11  Jakub Jelinek  <jakub@redhat.com>
1073
1074         * readelf.c (process_unwind): Print all unwind sections, not just
1075         one.
1076
1077 2001-05-07  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1078
1079         * readelf.c (process_unwind): Remove const specifier.
1080
1081 2001-04-27  Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
1082
1083         * strings.c (isgraphic): Do not use isascii() unless it is needed
1084         for isprint() to work.
1085         (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
1086
1087 2001-04-27  Johan Rydberg  <jrydberg@opencores.org>
1088
1089         * NEWS: Announce support for OpenRISC.
1090
1091 2001-04-17  Danny Smith  <dannysmith@users.sourceforge.net>
1092
1093         * dlltool.c (do_default_excludes): Initialise to true.
1094
1095 2001-04-10  Alan Modra  <amodra@one.net.au>
1096
1097         * MAINTAINERS: Update my email address
1098         * nm.c (print_symbol_info_bsd): Use a simple printf string.
1099
1100 2001-04-05  Hans-Peter Nilsson  <hp@axis.com>
1101
1102         * readelf.c (display_debug_lines): Fix typo for "Prologue".
1103
1104 2001-03-30  H.J. Lu  <hjl@gnu.org>
1105
1106         * readelf.c (process_unwind): Just return if do_unwind is 0.
1107
1108 2001-03-28  Roger Sayle  <roger@metaphorics.com>
1109
1110         * dlltool.c (make_one_lib_file): Fix section flags for
1111         .text, .data and .bss in stub ds*.o files to match those
1112         generated by gas.
1113
1114 2001-03-29  H.J. Lu  <hjl@gnu.org>
1115
1116         * readelf.c (process_unwind): Only do unwind sections for
1117         IA64.
1118
1119 2001-03-28  H.J. Lu  <hjl@gnu.org>
1120
1121         * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
1122         * Makefile.in: Regenerate.
1123
1124 2001-03-26  Andreas Jaeger  <aj@suse.de>
1125
1126         * binutils.texi (nm): Fix texi syntax.
1127
1128 2001-03-25  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1129
1130         * binutils.texi: Put @c man begin and @c man end indications
1131         to generate man pages using texi2pod and pod2man. Put @c man title
1132         to identify each man. Add SEEALSO entries.
1133         * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
1134         (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
1135         sort the list.
1136         (*.1): Build the man pages from binutils.texi.
1137         * Makefile.in: Regenerate.
1138
1139 2001-03-13  Eric Kohl  <ekohl@rz-online.de>
1140
1141         * defparse.y (opt_equal_name): allow "." in name.
1142         * dlltool.c (def_exports): Added ability to generate forwarded exports.
1143         (gen_exp_file): Likewise.
1144
1145 2001-03-12  Stefan Geuken <mail@stefan-geuken.de>
1146
1147         * NEWS: Document addition of -B switch to objcopy.
1148         * binutils.texi:  Document addition of -B switch to objcopy.
1149         * objcopy.c: (copy_options): Add --binary-architecture.
1150         (copy_usage): Document -B/--binary-architecture.
1151         (copy_main): Support -B/--binary-architecture.  Set
1152         bfd_external_binary_architecture.
1153
1154 2001-03-11  Andreas Jaeger  <aj@suse.de>
1155
1156         * readelf.c (guess_is_rela): Handle EM_S390_OLD.
1157         (dump_relocations): Likewise.
1158         (get_machine_name): Likewise.
1159
1160 2001-02-28  Nick Clifton  <nickc@redhat.com>
1161
1162         * readelf.c: (struct unw_aux_info): Remove const modifier for
1163         'strtab' field.
1164         (process_unwind): Remove non-K&R compliant LHS type cast in call
1165         to GET_DATA_ALLOC macro.
1166
1167 2001-02-28  Philip Blundell  <pb@futuretv.com>
1168
1169         * readelf.c (decode_ARM_machine_flags): Explicitly mention which
1170         ABI is in use; remove ambiguity between the "unknown" EABI and
1171         unrecognised ABIs.  Handle version 2 ARM EABI.  Update uses of
1172         renamed EF_xx constants.
1173
1174 2001-02-27  Alan Modra  <alan@linuxcare.com.au>
1175
1176         * configure.in (BFD_VERSION): New.
1177         (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
1178         * configure: Regenerate.
1179         * Makefile.am: Run "make dep-am"
1180         * Makefile.in: Regenerate.
1181
1182 2001-02-14  Nick Clifton  <nickc@redhat.com>
1183
1184         * MAINTAINERS: Add "Obvious Fix" rule.
1185
1186 2001-02-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
1187
1188         * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
1189         literal concatenation.
1190
1191 2001-02-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
1192
1193         * readelf.c (struct unw_aux_info): Remove const from the info member.
1194         (process_unwind): Don't type-cast the third argument to the
1195         GET_DATA_ALLOC macro.
1196
1197 2001-02-11  Nick Clifton  <nickc@redhat.com>
1198
1199         * readelf.c (dump_relocations): Free corrected allocated
1200         array.
1201         (process_unwind): Fix compile time warning.
1202
1203 2001-02-10  Nick Clifton  <nickc@redhat.com>
1204
1205         * binutils.texi: Document new --unwind option to readelf.
1206
1207 2001-02-09  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1208
1209         * readelf.c: Add linux target for S/390.
1210
1211 2001-02-10  Alan Modra  <alan@linuxcare.com.au>
1212
1213         * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
1214         printf is a macro.
1215
1216 2001-02-08  Hans-Peter Nilsson  <hp@bitrange.com>
1217
1218         * acinclude.m4 (AM_PROG_LEX): Override installed definition.
1219         * aclocal.m4: Regenerate.
1220         * configure: Regenerate.
1221
1222 2001-02-07  Todd Vierling  <tv@wasabisystems.com>
1223
1224         * bucomm.c (bfd_target_vector): Change extern array to pointer.
1225         * objdump.c (bfd_target_vector): Likewise.
1226
1227 2001-02-07  David Mosberger  <davidm@hpl.hp.com>
1228
1229         * readelf.c (process_unwind): New function.
1230         (slurp_ia64_unwind_table): Ditto.
1231         (dump_ia64_unwind): Ditto.
1232         (find_symbol_for_address): Ditto.
1233         (slurp_rela_relocs): New function (split off from dump_relocations()).
1234         (slurp_rel_relocs): Ditto.
1235         (parse_args): Handle '-u' option.
1236
1237         * unwind-ia64.c: New file.
1238         * unwind-ia64.h: New file.
1239         * Makefile.am: Include unwind-ia64.c in readelf build.
1240         * Makefile.in: Regenerate.
1241         * po/binutils.pot: Regenerate.
1242
1243 2001-02-04  Philip Blundell  <philb@gnu.org>
1244
1245         * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
1246         * configure: Regenerate.
1247
1248 2001-01-31  Steve deRosier  <sderosier@vari-lite.com>
1249
1250         * ieee.c (ieee_add_bb11): Don't check for backslashes
1251         unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1252
1253 2001-01-24  Mark Elbrecht  <snowball3@bigfoot.com>
1254
1255         * ieee.c: Update copyright.
1256         (ieee_start_compilation_unit): Don't check for backslashes
1257         unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1258
1259         * stabs.c: Update copyright. Include "filenames.h".
1260         (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
1261
1262 2001-01-23  Jakub Jelinek  <jakub@redhat.com>
1263
1264         * readelf.c (process_version_sections): Check if VERDEF or VERNEED
1265         sections are present before using them.  Remove code duplication.
1266         (process_symbol_table): Check if VERDEF or VERNEED sections are
1267         present before using them.
1268
1269 2001-01-17  Nick Clifton  <nickc@redhat.com>
1270
1271         * objcopy.c (copy_object): Fail if attempting to convert the
1272         endianness of the input object file.
1273
1274         * binutils.texi: Explain that objcopy cannot convert endianness.
1275
1276 2001-01-16  Nick Clifton  <nickc@redhat.com>
1277
1278         * readelf.c (string_table_length): New variable.
1279         (SECTION_NAME): Catch out of range indices and missing section
1280         pointers.
1281         (process_section_headers): Delete useless local variable
1282         string_table_offset.  Set the value of string_table_length
1283         after loading the string table.
1284         (process_mips_specific): Use SECTION_NAME macro.
1285         (process_file): Set string_table_length to 0 when it is freed.
1286
1287 2001-01-12  Nick Clifton  <nickc@redhat.com>
1288
1289         * version.c (print_version): Update copyright date.
1290
1291 2001-01-11  Peter Targett  <peter.targett@arccores.com>
1292
1293         * readelf.c (dump_relocations): Include selection with EM_ARC.
1294         (get_machine_name) Update name to "ARC".
1295
1296 2001-01-09  Nick Clifton  <nickc@redhat.com>
1297
1298         * Makefile.am: Add rule to build objdump.o from objdump.c and
1299         using OBJDUMP_DEFS.
1300         * Makefile.in: Regenerate.
1301
1302         * configure.in: Define OBJDUMP_DEFS.  Default to empty.
1303         (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
1304         -DDISASSEMBLER_NEEDS_RELOCS.
1305         * configure: Regenerate.
1306
1307         * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
1308         is defined read in the relocs even if dump_reloc_info is
1309         false.
1310
1311 2001-01-07  Philip Blundell  <philb@gnu.org>
1312
1313         * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
1314         `bug-binutils'.
1315         * README: Likewise.
1316
1317 2000-12-19  Nick Clifton  <nickc@redhat.com>
1318
1319         * dlltool.c: Add missing support for arm-epoc-pe.
1320         * configure.in: Add missing support for arm-epoc-pe.
1321         * configure: Regenerate.
1322
1323 2000-12-15  Nick Clifton  <nickc@redhat.com>
1324
1325         * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
1326         Mode parts of the x86 port.
1327
1328 2000-12-04  Andreas Jaeger  <aj@suse.de>
1329
1330         * readelf.c (guess_is_rela): Add EM_X86_64.
1331         (dump_relocations): Add EM_X86_64.
1332         (get_machine_name): Add EM_X86_64.
1333         Include "elf/x86-64.h".
1334
1335 2000-12-12  Nick Clifton  <nickc@redhat.com>
1336
1337         * readelf.c: Fix formatting.
1338
1339 2000-12-11  Jan Hubicka  <jh@suse.cz>
1340
1341         * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
1342
1343 2000-12-07  Andrew Haley  <aph@redhat.com>
1344
1345         * readelf.c (display_debug_frames): Only display columns that are
1346         referenced by the frame debug info.
1347
1348 2000-12-05  Nick Clifton  <nickc@redhat.com>
1349
1350         * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
1351
1352 2000-12-04  Jason Merrill  <jason@redhat.com>
1353
1354         * readelf.c (process_section_headers): Handle linkonce.wi sections.
1355         (display_debug_section): Likewise.
1356         (display_debug_info): Display CU header before bailing.
1357
1358 2000-12-01  Chris Demetriou  <cgd@sibyte.com>
1359
1360         * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
1361         EF_MIPS_ARCH.  Replace use of E_MIPS_MACH_MIPS32 with
1362         E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
1363
1364         * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
1365         and E_MIPS_ARCH_64.
1366
1367         * readelf.c (get_machine_flags): Add case for
1368         E_MIPS_MACH_SB1.
1369
1370 2000-11-30  Richard Earnshaw  <rearnsha@arm.com>
1371
1372         * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
1373
1374 2000-11-28  Hans-Peter Nilsson  <hp@bitrange.com>
1375
1376         * MAINTAINERS: Add J\81örn Rennecke and self as SH maintainers.
1377         Change sourceware.cygnus.com to sources.redhat.com.
1378         Fix typo for "amongst".
1379
1380 2000-11-28  Nick Clifton  <nickc@redhat.com>
1381
1382         * strip.1 (COPYING): Mention that the GNU Free Documentation
1383         License is present in the sources, but not the output, and
1384         also available from the GNU website.
1385         (GNU Free Documentation License): Comment out this section.
1386         * strings.1: Ditto.
1387         * size.1: Ditto.
1388         * ranlib.1: Ditto.
1389         * objdump.1: Ditto.
1390         * objcopy.1: Ditto.
1391         * nm.1: Ditto.
1392         * nlmconv.1: Ditto.
1393         * ar.1: Ditto.
1394         * addr2line.1: Ditto.
1395
1396 2000-11-27  DJ Delorie  <dj@redhat.com>
1397
1398         * readelf.c (usage): Add -wf (--debug-dump=frames) option.
1399         (parse_args): Support -wf option.
1400         (process_section_headers): Ditto.
1401         (debug_displays): Ditto.
1402         (display_debug_frames): New, dump *_frame sections.
1403         (frame_need_space): Support for above.
1404         (frame_display_row): Ditto.
1405         * binutils.texi: Document it.
1406
1407 2000-11-24  Nick Clifton  <nickc@redhat.com>
1408
1409         * NEWS: Announce support for v5t, v5te and XScale.
1410
1411 2000-11-22  Nick Clifton  <nickc@redhat.com>
1412
1413         * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
1414         EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
1415         (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
1416         (get_elf_section_flags: Add SHF_GROUP.
1417         (process_section_headers): Adjust output for 32-bit binaries
1418         to look nice on an 80 column terminal.
1419
1420 2000-11-20  H.J. Lu  <hjl@gnu.org>
1421
1422         * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
1423         ELFOSABI_AIX.
1424
1425 2000-11-17  Richard Henderson  <rth@redhat.com>
1426
1427         * readelf.c (display_debug_lines): Adjust last change to
1428         use sizeof (external->li_length).
1429
1430 2000-11-17  Richard Henderson  <rth@redhat.com>
1431
1432         * readelf.c (display_debug_lines): Fix section length check
1433         and end_of_sequence computation.
1434
1435 2000-11-06  Nick Clifton  <nickc@redhat.com>
1436
1437         * binutils.texi: Add GNU Free Documentation License.
1438         * objcopy.1: Add GNU Free Documentation License.
1439         * objdump.1: Add GNU Free Documentation License.
1440         * addr2line.1: Add GNU Free Documentation License.
1441         * ar.1: Add GNU Free Documentation License.
1442         * nlmconv.1: Add GNU Free Documentation License.
1443         * nm.1: Add GNU Free Documentation License.
1444         * ranlib.1: Add GNU Free Documentation License.
1445         * size.1: Add GNU Free Documentation License.
1446         * strings.1: Add GNU Free Documentation License.
1447         * strip.1: Add GNU Free Documentation License.
1448
1449 2000-10-06  Luciano Gemme <ishitawa@yahoo.com>
1450
1451         * objcopy.c (--srec-len=nn): New parameter to set the
1452         maximum length of generated Srecords.
1453         (--srec-forceS3): New parameter that restricts the generation of
1454         Srecords to type S3 only.
1455         * binutils.texi: Document new command line switches.
1456         * objcopy.1: Docuemnt the new command line switches.
1457         * NEWS: Announce the existence of the new command line switches.
1458
1459 2000-10-31  Nick Clifton  <nickc@redhat.com>
1460
1461         * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
1462         code.  Add Eric Chrisopher as maintainer of MN10300 port.
1463
1464 2000-10-12  Roger Sayle  <roger@metaphorics.com>
1465
1466         * Make comma after string after icon/control optional.
1467
1468 2000-09-13  Anders Norlander  <anorland@acc.umu.se>
1469
1470         * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
1471
1472         * NEWS: Mention support for MIPS32.
1473
1474 2000-09-08  Nick Clifton  <nickc@redhat.com>
1475
1476         * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
1477
1478 2000-09-07  H.J. Lu  <hjl@gnu.org>
1479
1480         * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
1481         * configure: Rebuild.
1482
1483 2000-09-06  Alexandre Oliva  <aoliva@redhat.com>
1484
1485         * configure: Rebuilt with new libtool.m4.
1486
1487 2000-09-05  Nick Clifton  <nickc@redhat.com>
1488
1489         * aclocal.m4: Regenerate.
1490         * config.in: Regenerate.
1491         * configure: Regenerate.
1492
1493 2000-09-04  Todd Vierling  <tv@wasabisystems.com>
1494
1495         * strip.1: Fix stray '\' in -o formatting.
1496
1497 2000-09-02  Nick Clifton  <nickc@redhat.com>
1498
1499         * configure.in: Increase version number to 2.10.91.
1500         * configure: Regenerate.
1501         * aclocal.m4: Regenerate.
1502         * config.in: Regenerate.
1503         * po/binutils.pot: Regenerate.
1504
1505 2000-08-31  Alexandre Oliva  <aoliva@redhat.com>
1506
1507         * acinclude.m4: Include libtool and gettext macros from the
1508         top level.
1509         * aclocal.m4, configure: Rebuilt.
1510
1511 2000-08-30  Jamie Guinan  <guinan@bluebutton.com>
1512
1513         * resrc.c (close_input_stream): Delete extraneous logic
1514
1515 2000-08-24  Hans-Peter Nilsson  <hp@axis.com>
1516
1517         * NEWS: Mention support for CRIS.
1518
1519 2000-08-21  Nick Clifton  <nickc@redhat.com>
1520
1521         * addr2line.c: Changed email address for Ulrich Lauther.
1522
1523 2000-08-17  Christopher C. Chimelis <chris@debian.org>
1524
1525         * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
1526
1527 2000-08-17  Nick Clifton  <nickc@redhat.com>
1528
1529         * readelf.c (display_debug_pubnames): Only issue warning
1530         message once.  Terminate message with a new line.
1531         (display_debug_aranges): Only display version 2 debug info.
1532
1533 2000-08-14  Todd Vierling <tv@wasabisystems.com>
1534
1535         * objcopy.c (strip_main): Silently accept -d as an alias for -g
1536         for compatability with old BSD systems.
1537
1538 2000-08-14  Jason Eckhardt  <jle@cygnus.com>
1539
1540         * NEWS: Mention i860 support.
1541
1542 2000-08-11  Carlo Wood <carlo@alinoe.com>
1543
1544         * addr2line.c (main): Add const to char *.
1545
1546 2000-08-11  Geoff Keating  <geoffk@cygnus.com>
1547
1548         * ar.c (main): Don't crash if called with no arguments
1549         or only '-X32_64' as an argument.
1550
1551 2000-08-08  DJ Delorie  <dj@redhat.com>
1552
1553         * resrc.c: use "gcc -xc" instead of -xc-header
1554
1555 2000-08-05  Jason Eckhardt  <jle@cygnus.com>
1556
1557         * readelf.c (elf/i860.h): Include.
1558         (dump_relocations): Add recognition of i860 architecture.
1559         (guess_is_rela): Add recognition of i860 architecture.
1560
1561 2000-08-03  Nick Clifton  <nickc@cygnus.com>
1562
1563         * MAINTAINERS: Add information about CGEN maintainers.
1564
1565 2000-07-26  Geoff Keating  <geoffk@cygnus.com>
1566
1567         * nm.c (main): Ignore '-X32_64' as an option.
1568         * ar.c (main): Likewise.
1569         * binutils.texi (nm): Document new option.
1570         (ar): Likewise.
1571
1572 2000-07-23  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
1573
1574         * rdcoff.c (external_coff_symbol_p): K&R-ise.
1575
1576 2000-07-20  H.J. Lu  <hjl@gnu.org>
1577
1578         * binutils.texi: Put back "@end table" deleted by
1579         accident.
1580
1581 2000-07-05  Kenneth Block  <krblock@computer.org>
1582
1583         * nm.c: Add optional style to demangle switch.
1584         * objdump.c: Add optional style to demangle switch.
1585         * addr2line.c: Add optional style to demangle switch.
1586         * binutils.texi: Document optional style to demangle
1587         switch.
1588
1589 2000-07-20  Hans-Peter Nilsson  <hp@axis.com>
1590
1591         * MAINTAINERS: Add self as CRIS port maintainer.
1592         * readelf.c: Include elf/cris.h.
1593         (guess_is_rela): Handle EM_CRIS.
1594         (dump_relocations): Ditto.
1595         (get_machine_name): Ditto.
1596         * Makefile.am: Rebuild dependencies.
1597         * Makefile.in: Regenerate.
1598         * po/binutils.pot: Regenerate.
1599
1600 2000-07-19  H.J. Lu  <hjl@gnu.org>
1601
1602         * readelf.c (get_dynamic_type): Change "AUXILARY" to
1603         "AUXILIARY".
1604         (process_dynamic_segment): Print out strings for DT_CONFIG,
1605         DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
1606
1607 2000-07-19  Mark Kettenis  <kettenis@gnu.org>
1608
1609         * nm.c (usage): Change output of `nm --help' to include a
1610         description of the purpose of the program and a detailed
1611         description of the accepted options.
1612
1613 2000-07-19  H.J. Lu  <hjl@gnu.org>
1614
1615         * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
1616         to DF_1_NODEFLIB.
1617
1618 2000-07-19  H.J. Lu  <hjl@gnu.org>
1619
1620         * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
1621
1622 2000-07-19  H.J. Lu  <hjl@gnu.org>
1623
1624         * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
1625         DT_FEATURE.
1626         (process_dynamic_segment): Likewise.
1627
1628         * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
1629         DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
1630         (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
1631         DF_1_NODUMP and DF_1_CONLFAT.
1632
1633 2000-07-18  Nick Clifton  <nickc@cygnus.com>
1634
1635         * binutils.texi (readelf): Fix spelling typo.
1636
1637 2000-07-11  Mark Kettenis  <kettenis@gnu.org>
1638
1639         * objdump.c (usage): Make output of `objdump --help' more
1640         consistent with the rest of the GNU world.  Add a line describing
1641         the purpose of the program.
1642
1643 2000-07-10  David Huggins-Daines  <dhd@linuxcare.com>
1644
1645         * stabs.c (parse_stab_range_type): Cast to proper type to fix
1646         warning.
1647
1648 2000-07-10  Ryan Bradetich  <rbradetich@uswest.net>
1649
1650         * readelf.c (get_dynamic_data): Add casts and use unsigned chars
1651         to fix warnings.
1652         (process_symbol_table): Ditto.
1653         (procesS_extended_line_op): Ditto.
1654         (display_debug_lines): Ditto.
1655         (display_debug_pubnames): Ditto.
1656         (read_and_display_attr): Ditto.
1657
1658 2000-07-09  Nick Clifton  <nickc@cygnus.com>
1659
1660         * MAINTAINERS: Add several more port specific maintainers.
1661
1662 2000-07-05  Nick Clifton  <nickc@cygnus.com>
1663
1664         * MAINTAINERS: Add blanket write privs for Michael Meissner.
1665
1666 2000-06-05  DJ Delorie  <dj@redhat.com>
1667
1668         * MAINTAINERS: New.
1669
1670 2000-07-01  Eric Fifer  <EFifer@sanwaint.com>
1671
1672         * dllwrap.c: Changed mistaken dyn_string_append() calls
1673         to dyn_string_append_cstr().
1674
1675 2000-07-01  Alexander Aganichev <AAganichev@hypercom.com>
1676
1677         * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
1678         struct debug_type stores size in bytes.
1679
1680 2000-07-01  Alan Modra  <alan@linuxcare.com.au>
1681
1682         * Makefile.am (DEP): Fix 2000-06-22.  grep after running dep.sed
1683         (CLEANFILES): Add DEPA.
1684         * Makefile.in: Regenerate.
1685
1686 2000-06-27  Alan Modra  <alan@linuxcare.com.au>
1687
1688         * ar.c: Revert incorrect 2000-06-25 patch.
1689         * bucomm.c: Likewise.
1690
1691 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
1692
1693         * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
1694         (external_coff_symbol_p): New function.
1695         (parse_coff): Use it.
1696
1697 2000-06-25  Alexander Aganichev <AAganichev@hypercom.com>
1698
1699         * ar.c (normalize): Advance past both characters in a DOS based
1700         <letter>: filepath prefix.
1701         (main): Likewise.
1702         * bucomm.c (make_tempname): Likewise.
1703
1704 2000-06-24  Nick Clifton  <nickc@cygnus.com>
1705
1706         * objdump.c (usage): Fix description of --stabs switch.
1707
1708 2000-06-22  Alan Modra  <alan@linuxcare.com.au>
1709
1710         * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
1711         find one.
1712         * Makefile.in: Regenerate.
1713
1714 2000-06-20  Alexander Aganichev <AAganichev@hypercom.com>
1715
1716         * ar.c (normalize): Correct pointer comparison when checking for
1717         backslashes.
1718         (main): Likewise.
1719         * bucomm.c (make_tempname): Likewise.
1720
1721         * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
1722         and search for backslashes in the original pathname.
1723         (ieee_add_bb11): Likewise.
1724
1725 2000-06-18  Nick Clifton  <nickc@redhat.com>
1726
1727         * ar.c (print_contents): Improve verbose message.
1728
1729 2000-06-15  H.J. Lu  <hjl@gnu.org>
1730
1731         * dyn-string.c: Removed. Not needed with dyn-string.c in
1732         libiberty.
1733         * dyn-string.h: Likewise.
1734
1735         * Makefile.am: Remove references to dyn-string.c and
1736         dyn-string.h. Rebuild dependency.
1737         * Makefile.in: Rebuild.
1738
1739 2000-06-15  H.J. Lu  <hjl@gnu.org>
1740
1741         * binutils.texi: Put a warning on copying relocatable object
1742         files between two different formats.
1743
1744 2000-06-13  DJ Delorie  <dj@cygnus.com>
1745
1746         * rcparse.y (control): ICON controls take an id as the first
1747         parameter, not an optional string.  Also, call new convenience
1748         function that takes res_id's.
1749         * resrc.c (define_control): missing text means zero-length string,
1750         not zero ID.
1751         (define_icon_control): New.
1752         * windres.h: declare define_icon_control.
1753
1754 2000-06-13  H.J. Lu  <hjl@gnu.org>
1755
1756         * configure: Regenerate.
1757
1758 2000-06-08  David O'Brien  <obrien@FreeBSD.org>
1759
1760         * configure.in (VERSION): Update to show this is the CVS mainline.
1761
1762 2000-06-02  David O'Brien  <obrien@FreeBSD.org>
1763
1764         * strings.c (isgraphic): Interpret <TAB> as a printable character,
1765         analogous to <SPACE>.
1766
1767 2000-05-30  Alan Modra  <alan@linuxcare.com.au>
1768
1769         * objdump.c (display_target_list): Use bfd_close_all_done, not
1770         bfd_close to fix crash caused by 2000-05-24 change.
1771
1772 2000-05-25  DJ Delorie  <dj@cygnus.com>
1773
1774         * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
1775
1776 2000-05-26  Alan Modra  <alan@linuxcare.com.au>
1777
1778         * Makefile.am: Update dependencies with "make dep-am"
1779         * Makefile.in: Regenerate.
1780
1781 2000-05-26  Eli Zaretskii  <eliz@is.elta.co.il>
1782
1783         * ar.c: Include filenames.h.
1784         (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
1785         and drive letters in file names.
1786         (main): Support backslashes and drive letters in argv[0].  Drop
1787         the .exe suffix, if any, in argv[0] if is_ranlib is negative.  Use
1788         FILENAME_CMP instead of strcmp to compare file names.
1789         (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
1790         DJGPP v2.
1791         (do_quick_append) [__GO32__]: Ditto.
1792         (get_pos_bfd, delete_members, move_members, replace_members):
1793         Compare file names with FILENAME_CMP.
1794
1795         * bucomm.c: Include filenames.h.
1796         (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
1797         forward/backward slashes and drive letters in file names.
1798
1799         * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
1800         mixed forward/backward slashes and drive letters in file names.
1801
1802         * strings.c (O_BINARY, setmode, SET_BINARY): Define.
1803         (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
1804         mode.
1805
1806         * objcopy.c: Include filenames.h.
1807         (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
1808         before comparing to "strip".
1809         Use FILENAME_CMP to compare file names.
1810
1811         * arsup.c: Include filenames.h.
1812         (map_over_list, ar_delete, ar_replace, ar_extract): Use
1813         FILENAME_CMP to compare file names.
1814         (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
1815         the temporary file name.
1816
1817         * configure.in: Check for setmode.
1818         * configure: Regenerate.
1819
1820 2000-05-24  Alan Modra  <alan@linuxcare.com.au>
1821
1822         * objdump.c (display_target_list): Close the bfd.
1823         (display_info_table): Likewise.
1824
1825 2000-05-14  H.J. Lu  (hjl@gnu.org)
1826
1827         * objcopy.c (filter_symbols): Don't strip global symbols in
1828         relocatable object files.
1829
1830 2000-05-14  Alan Modra  <alan@linuxcare.com.au>
1831
1832         * size.c (usage): Associate short options with corresponding long
1833         option to give a clue as to their function.
1834
1835 2000-05-14  Philippe De Muyter  <phdm@macqel.be>
1836
1837         * size.c (main): Accept and ignore `-f' option.
1838
1839 2000-05-13  Alan Modra  <alan@linuxcare.com.au>
1840
1841         * bucomm.h (gettext, dgettext, dcgettext, textdomain,
1842         bindtextdomain): Replace defines with those from intl/libgettext.h
1843         to quieten gcc warnings.
1844
1845 2000-05-12  H.J. Lu  <hjl@gnu.org>
1846
1847         * nlmconv.c (temp_filename): Removed.
1848
1849         * nlmconv.c (link_inputs): Use make_temp_file () instead of
1850         choose_temp_base ().
1851         * objdump.c (display_target_list): Likewise.
1852         (display_info_table): Likewise.
1853
1854 2000-05-08  Alan Modra  <alan@linuxcare.com.au>
1855
1856         * objcopy.c (setup_section): Add const and gettext calls for err.
1857
1858 2000-05-02  H.J. Lu  <hjl@gnu.org>
1859
1860         * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
1861         ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
1862         ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
1863         ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
1864         and ELFOSABI_OPENBSD.
1865
1866 2000-05-02  Kazu Hirata  <kazu@hxi.com>
1867
1868         * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
1869         * srconv.c: Likewise.
1870         * sysdump.c: Likewise.
1871
1872 2000-04-23  Denis Chertykov  <denisc@overta.ru>
1873
1874         * readelf.c (guess_is_rela): AVR uses RELA relocations.
1875         (get_machine_name): machine name for EM_AVR added.
1876
1877 2000-04-21  Richard Henderson  <rth@cygnus.com>
1878             David Mosberger  <davidm@hpl.hp.com>
1879
1880         * Makefile.am (readelf.o): Add elf/ia64.h.
1881         * Makefile.in: Rebuild.
1882         * readelf.c: Include elf/ia64.h.
1883         (guess_is_rela, dump_relocations): Handle EM_IA_64.
1884
1885 2000-04-17  Timothy Wall  <twall@cygnus.com>
1886
1887         * objdump.c (disassemble_data): Set octets per byte *after*
1888         resolving arch/mach for binary files.
1889
1890 2000-04-14  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
1891
1892         * arlex.l: Add directives to increase lex buffer size.
1893
1894         * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
1895         already included by bucomm.h.
1896
1897 2000-04-10  Philippe De Muyter  <phdm@macqel.be>
1898
1899         * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
1900         `strftime' since strftime is not available on all systems.
1901         (process_mips_specific): Ditto.
1902
1903 2000-04-07  Andrew Cagney  <cagney@b1.cygnus.com>
1904
1905         * configure.in (WARN_CFLAGS): Set to -W -Wall by default.  Add
1906         --enable-build-warnings option.
1907         * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
1908         * Makefile.in, configure: Re-generate.
1909
1910 2000-04-06  Alan Modra  <alan@linuxcare.com.au>
1911
1912         * addr2line.c: Update copyright.
1913         * objcopy.1: Likewise, and title.
1914         * strings.1: Likewise.
1915
1916         * version.c (print_version): Add 2000.
1917
1918         * rddbg.c (read_section_stabs_debugging_info): Don't use
1919         bfd_size_type for strx to avoid printf problems if BFD64.
1920
1921         * bucomm.c: (report): Remove `static'.
1922         Move inclusion of stdarg.h/vararg.h from here.
1923         * bucomm.h: To here.
1924         (CONST): Change all occurences to const.
1925         (report): Declare it.
1926         (bfd_fatal): Add ATTRIBUTE_NORETURN.
1927         (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
1928         (non_fatal): Add ATTRIBUTE_PRINTF_1.
1929
1930         * ar.c (main): Use fatal or non_fatal instead of fprintf.
1931         Correct a typo in an error message.
1932         (do_quick_append): Use non_fatal instead of fprintf.
1933         (move_members): Use fatal instead of fprintf, exit.
1934         * coffdump.c (main): Same here.
1935
1936         * dlltool.c (display): Delete.
1937         (warn): Delete.
1938         (inform): Use `report' instead of `display'.
1939         (rvaafter): Remove trailing \n from fatal error msg.
1940         (rvabefore): Ditto.
1941         (asm_prefix): Ditto.
1942         (yyerror): Replace `warn' with `non_fatal', and remove \n.
1943         (def_name): Likewise.
1944         (run): Likewise.
1945         (scan_all_symbols): Likewise.
1946         (gen_lib_file): Likewise.
1947         (def_library): Likewise.  Remove extra program_name too.
1948         (run): Remove \n from inform strings.
1949         (scan_drectve_symbols): Likewise.
1950         (add_excludes): Likewise.
1951         (scan_open_obj_file): Likewise.
1952         (gen_exp_file): Likewise.
1953         (gen_lib_file): Likewise.
1954         (process_duplicates): Likewise.
1955
1956         * Makefile.am (dllwrap_SOURCES): Add version.c.
1957         * dllwrap.c (program_version): Delete.
1958         (print_version): Delete.
1959         (display): Always print trailing \n.
1960         (warn): New.
1961         (delete_temp_files): Use warn instead of fprintf.  Use gettext.
1962         (run): Here too.
1963         (main): And here.
1964         (usage): gettext'ify.
1965         (long_options): Add missing initialisers.
1966
1967         * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
1968         (select_output_format): Likewise.
1969         (powerpc_mangle_relocs): Likewise.
1970         (link_inputs): Likewise.
1971
1972         * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
1973         (set_output_format): Likewise.
1974         (main): Use non_fatal instead of fprintf.
1975         (display_rel_file): Likewise.
1976
1977         * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
1978         (slurp_dynamic_symtab): Same here.
1979         (disassemble_data): And here.
1980         (read_section_stabs): And here.
1981         (read_section_stabs): And here.
1982         (dump_bfd): And here.
1983         (main): And here.
1984         (objdump_sprintf): Use fatal instead of fprintf, exit.
1985         (disassemble_data): Same here.
1986
1987         * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
1988         (parse_coff_struct_type): Same here.
1989         (parse_coff_enum_type): And here.
1990         (parse_coff): And here.
1991         * rddbg.c (read_debugging_info): And here.
1992         * size.c (main): And here.
1993         * windres.c (format_from_name): And here.
1994         * wrstabs.c (stab_write_symbol): Here too.
1995         (write_stabs_in_sections_debugging_info): And here.
1996         (stab_int_type): And here.
1997         (stab_struct_field): And here.
1998         (stab_typdef): And here.
1999
2000         * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
2001         * srconv.c (main): Same here.
2002         * strings.c (main): And here.
2003         (integer_arg): And here.
2004         * sysdump.c (main): And here.
2005
2006 2000-04-06  Timothy Wall  <twall@cygnus.com>
2007
2008         * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
2009
2010 2000-04-06  Jason Merrill  <jason@yorick.cygnus.com>
2011
2012         * readelf.c (decode_location_expression): Loop through multiple
2013         operations.
2014         (read_and_display_attr): Pass in length.
2015
2016         * readelf.c (read_and_display_attr): Add CU offset to references.
2017         (display_debug_info): Pass it in.
2018
2019 2000-04-06  Nick Clifton  <nickc@cygnus.com>
2020
2021         * readelf.c (decode_ARM_machine_flags): New function.
2022         (get_machine_flags): Call decode_ARM_machine_flags for ARM
2023         targets.
2024
2025         (get_machine_name): Catch EM_AVR
2026
2027 2000-04-05  Alan Modra  <alan@linuxcare.com.au>
2028
2029         * binutils.texi: Remove optional `=' from long options that have
2030         an `=' in the argument.
2031         * objcopy.1: Here too.  Remove extra space on discard-all.
2032
2033         * binutils.texi (objcopy): Mention --redefine-sym.
2034         * objcopy.1: Here too.
2035         * NEWS: And here.
2036
2037         * objcopy.c (parse_flags): Split off flag names from error message
2038         gettext as they are not translated.
2039         (copy_main): Similarly split off option name for --add-section,
2040         --set-section-flags, --change-section-vma, --change-section-lma
2041         error messages.
2042         Some white space changes.
2043
2044         from Matthew Benjamin <matt@linuxbox.nu>
2045         * objcopy.c (struct redefine_node): New.
2046         (redefine_sym_list): New.
2047         (redefine_list_append): New.
2048         (lookup_sym_redefinition): New.
2049         (OPTION_REDEFINE_SYM): New.
2050         (copy_options): Add --redefine-sym option.
2051         (copy_usage): Mention it.
2052         (filter_symbols): Rename symbols on redefine_sym_list.
2053         (copy_object): Call filter_symbols if redefine_sym_list != NULL.
2054         (copy_main): Handle OPTION_REDEFINE_SYM.
2055
2056 2000-04-04  H.J. Lu  <hjl@gnu.org>
2057
2058         * readelf.c (process_symbol_table): Correctly read in symbol
2059         versioning information.
2060
2061 2000-04-04  Alan Modra  <alan@linuxcare.com.au>
2062
2063         * po/binutils.pot: Regenerate.
2064
2065         * addr2line.c (usage): Restore translated part of bug string.
2066         * ar.c (usage): Likewise.
2067         * nlmconv.c (show_usage): Likewise.
2068         * nm.c (usage): Likewise.
2069         * objcopy.c (copy_usage): Likewise.
2070         (strip_usage): Likewise.
2071         * objdump.c (usage): Likewise.
2072         * readelf.c (usage): Likewise.
2073         * size.c (usage): Likewise.
2074         * strings.c (usage): Likewise.
2075         * windres.c (usage): Likewise.
2076
2077         * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
2078         (DEP): Quote when passing vars to sub-make.  Add warning
2079         message to end.
2080         (DEP1): Rewrite for "gcc -MM".
2081         (CLEANFILES): Add DEP2.
2082         Update dependencies.
2083         * Makefile.in: Regenerate.
2084
2085 2000-04-04  H.J. Lu  <hjl@gnu.org>
2086
2087         * Makefile.am (GENERATED_HFILES): Add rcparse.h
2088         (arparse.h): Depend on arparse.c
2089         (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
2090
2091 2000-04-03  H.J. Lu  (hjl@gnu.org)
2092
2093         * size.c (usage): Use REPORT_BUGS_TO.
2094
2095 2000-04-03  Alan Modra  <alan@linuxcare.com.au>
2096
2097         * bucomm.h: #include "bin-bugs.h"
2098         * addr2line.c (usage): Use REPORT_BUGS_TO.
2099         * ar.c (usage): Likewise.
2100         * nlmconv.c (show_usage): Likewise.
2101         * nm.c (usage): Likewise.
2102         (OPTION_TARGET): Define.
2103         (long_options): Use OPTION_TARGET rather than 200.
2104         (main): Likewise.
2105
2106         * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
2107         (strip_usage): Likewise.
2108         * objdump.c (usage): Likewise.
2109         * readelf.c (usage): Likewise.
2110         * strings.c (usage): Likewise.
2111         * windres.c (usage): Likewise.
2112
2113 2000-03-31  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2114
2115         * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
2116
2117 2000-03-27  Nick Clifton  <nickc@cygnus.com>
2118
2119         * rddbg.c (read_section_stabs_debugging_info): Catch out of range
2120         string offsets in corrupt stabs entries.
2121
2122 2000-03-27  Alan Modra  <alan@linuxcare.com.au>
2123
2124         * readelf.c: Include elf/avr.h
2125         (dump_relocations): Add EM_AVR case.
2126
2127 2000-03-09  Tim Waugh  <twaugh@redhat.com>
2128
2129         * strings.1: Correct '-bytes' to '--bytes'.
2130
2131 2000-03-08  H.J. Lu  <hjl@gnu.org>
2132
2133         * Makefile.am (install-exec-local): Depend on
2134         install-binPROGRAMS for parallel make.
2135         * Makefile.in: Regenerated.
2136
2137 2000-02-27  Ian Lance Taylor  <ian@zembu.com>
2138
2139         From Brad Lucier <lucier@math.purdue.edu>:
2140         * readelf.c (process_dynamic_segment): Add cast to make sure
2141         argument to %* is int.
2142
2143 2000-02-25  H.J. Lu  <hjl@gnu.org>
2144
2145         * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
2146
2147 2000-02-24  Nick Clifton  <nickc@cygnus.com>
2148
2149         * configure.in: Add arm-wince, mips-pe and sh-pe targets.
2150         * configure: Regenerate.
2151
2152         * dlltool.c: Add support for sh-pe and mips-pe targets.
2153         * rescoff.c: Add support for sh-pe and mips-pe targets.
2154
2155 2000-02-23  H.J. Lu  <hjl@gnu.org>
2156
2157         * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
2158
2159 2000-02-22  Nick Clifton  <nickc@cygnus.com>
2160
2161         * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
2162
2163 2000-02-22  Ian Lance Taylor  <ian@zembu.com>
2164
2165         From Brad Lucier <lucier@math.purdue.edu>:
2166         * readelf.c (process_version_sections): Add casts to make sure
2167         argument to %* is an int.
2168         (process_mips_specific): Add casts to make printf arguments match
2169         format.
2170
2171 2000-02-21  Alan Modra  <alan@spri.levels.unisa.edu.au>
2172
2173         * objdump.c (dump_section_header): Change `opb' to unsigned.
2174         (find_symbol_for_address): Same here.
2175         (disassemble_data): And here.  Change `addr_offset',
2176         `stop_offset', `nextstop_offset' to unsigned long.
2177         (dump_data): Change opb to unsigned.
2178
2179 2000-02-18  Frank Ch. Eigler  <fche@redhat.com>
2180
2181         * resrc.c: Remove unmatched #if for cygwin.
2182
2183 2000-02-14  Fernando Nasser  <fnasser@totem.to.cygnus.com>
2184
2185         * binutils.texi: Document the change of flavor name from atpcs-special
2186         to special-atpcs to prevent name conflict in gdb.
2187
2188 2000-02-08  Timothy Wall  <twall@redhat.com>
2189
2190         * objdump.c (show_line): Fix bug preventing printing of the very
2191         first line (line zero) of a file when interlisting source and
2192         assembly.  Added option to print entire context from start of file
2193         when the first line from that file is encountered.
2194
2195 2000-02-03  Timothy Wall <twall@redhat.com>
2196
2197         * objdump.c (dump_section_header, find_symbol_for_address,
2198         show_line, disassemble_bytes, disassemble_data, dump_data):
2199         distinguish between octets and bytes.
2200
2201 2000-01-27  Thomas de Lellis  <tdel@windriver.com>
2202
2203         * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
2204         check to unresolved symbols.
2205         (print_symbol_info_sysv):  Ditto.
2206         (print_symbol_info_posix):  Ditto.
2207
2208         * binutils.texi: Document new 'V' symclass flag for nm.
2209
2210 2000-01-27  Nick Clifton  <nickc@redhat.com>
2211
2212         * binutils.texi (objdump): Document new ARM specific
2213         disassembler options.
2214
2215         * objdump.c (usage): Call disassembler_usage().
2216
2217 2000-01-27  Alan Modra  <alan@spri.levels.unisa.edu.au>
2218
2219         * readelf.c (get_dynamic_flags): Return buff.
2220         (process_dynamic_segment): Don't pass error strings to printf
2221         as format arg.
2222         (read_and_display_attr): Use lx and ld to print longs.
2223         (process_corefile_note_segment): Cast bfd_vma to unsigned long
2224         before printing.
2225         Update copyright.
2226
2227 2000-01-17  Nick Clifton  <nickc@cygnus.com>
2228
2229         * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
2230
2231 2000-01-15  Alan Modra  <alan@spri.levels.unisa.edu.au>
2232
2233         * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
2234         false.
2235         (debug_tag_type): Here too.
2236         * ieee.c (ieee_builtin_type): And here.
2237         * stabs.c (parse_stab_type, parse_stab_array_type): And here.
2238
2239 2000-01-13  Nick Clifton  <nickc@cygnus.com>
2240
2241         * readelf.c (get_machine_name): Change EM_S370 to return "IBM
2242         System/370".
2243
2244 2000-01-11  Nick Clifton  <nickc@cygnus.com>
2245
2246         * readelf.c (get_dynamic_type): Remove DT_ENCODING.
2247
2248 2000-01-10  Nick Clifton  <nickc@cygnus.com>
2249
2250         * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
2251
2252 2000-01-07  Mumit Khan  <khan@xraylith.wisc.edu>
2253
2254         * windres.c (long_options): Add --use-temp-file and
2255         --no-use-temp-file options.
2256         (usage): Document.
2257         (main): Handle.
2258
2259         * windres.h: Update read_rc_file prototype.
2260
2261         * resrc.c (cpp_temp_file): New static variable.
2262         (istream_type): New static variable.
2263         (close_pipe): Delete function.
2264         (run_cmd): New static function.
2265         (open_input_stream): New static function.
2266         (close_input_stream): New static function.
2267         (look_for_default): Handle DOS directory separator. Use
2268         open_input_stream instead of popen.
2269         (read_rc_file): Likewise.
2270
2271         * binutils.texi: Document --use-temp-file, --no-use-temp-file
2272         options.
2273
2274 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
2275
2276         * dlltool.c (create_compat_implib): New variable.
2277         (gen_exp_file): Use.
2278         (make_one_lib_file): Use.
2279         (long_options): Add --compat-implib option.
2280         (usage): Handle.
2281         (main): Handle.
2282
2283         * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
2284         (main): Use. Don't look for "32" in cygwin and mingw target names.
2285
2286 2000-01-03  Nick Clifton  <nickc@cygnus.com>
2287
2288         * binutils.texi: Document new, ARM specific disassembler
2289         command line switch "-M force-thumb".
2290
2291 For older changes see ChangeLog-9899
2292 \f
2293 Local Variables:
2294 mode: change-log
2295 left-margin: 8
2296 fill-column: 74
2297 version-control: never
2298 End: