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