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