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