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