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