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