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