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