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