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