OSDN Git Service

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