* readelf.c (dump_relocations): Print "bad symbol index" if
[platform/upstream/binutils.git] / binutils / ChangeLog
1 2001-06-25  Alan Modra  <amodra@bigpond.net.au>
2
3         * readelf.c (dump_relocations): Print "bad symbol index" if
4         symtab == NULL with non-zero symtab_index.
5         (process_relocs): Don't bomb if reloc section has no symsec.
6
7 2001-06-24  H.J. Lu  <hjl@gnu.org>
8
9         * objcopy.c (strip_main): Revert the change made on 2001-05-30
10         by accident.
11         (copy_main): Apply the the change made to strip_main on
12         2001-05-30 by accident.
13
14 2001-06-23  Andreas Jaeger  <aj@suse.de>
15
16         * unwind-ia64.c (unw_decode_x1): Add unused attribute for
17         parameter 'code'.
18         (unw_decode_x2): Likewise.
19         (unw_decode_x3): Likewise.
20         (unw_decode_x4): Likewise.
21
22 2001-06-23  Ben Elliston  <bje@redhat.com>
23
24         * MAINTAINERS: Add myself as M88k maintainer.
25
26 2001-06-22  Jocelyn Mayer  <jocelyn.mayer@netgem.com>
27
28         * objcopy.c (strip_main): Support -o or --output-file command lien
29         switch.
30
31 2001-06-19  H.J. Lu <hjl@gnu.org>
32
33         * doc/Makefile.in: Regenerated.
34
35 2001-06-19  Nick Clifton  <nickc@cambridge.redhat.com>
36
37         * readelf.c: Restore formatting.
38
39 2001-06-18  H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
40
41         * Makefile.am: Move documentation into doc subdirectory.
42         * Makefile.in: Regenerated.
43         * binutils.texi: Move into doc subdirectory.
44         * addr2line.1: Removed.
45         * ar.1: Likewise.
46         * dlltool.1: Likewise.
47         * nlmconv.1: Likewise.
48         * nm.1: Likewise.
49         * objcopy.1: Likewise.
50         * objdump.1: Likewise.
51         * ranlib.1: Likewise.
52         * readelf.1: Likewise.
53         * size.1: Likewise.
54         * strings.1: Likewise.
55         * strip.1: Likewise.
56         * windres.1: Likewise.
57         * cxxfilt.man: Likewise.
58         * doc: New Directory.
59         * doc/Makefile.am: New file.
60         * doc/Makefile.in: Generate.
61
62 2001-06-09  Alan Modra  <amodra@bigpond.net.au>
63
64         * NEWS: Fix a typo.  Mention hppa64-elf.  Add binutils-2.11 marker.
65
66 2001-06-01  Alan Modra  <amodra@bigpond.net.au>
67
68         * MAINTAINERS: Update my email address.
69
70 2001-05-30  Honda Hiroki  <hhonda@kobe-catv.ne.jp>
71
72         * objcopy.c: Add new switches: --keep-global-symbol,
73         --keep-symbols, --localize-symbols, --keep-global-symbols and
74         --weaken-symbols.
75         * binutils.texi: Document new switches.
76         * objcopy.1: Regenerate.
77         * NEWS: Announce new feature.
78
79 2001-05-28  Andreas Jaeger  <aj@suse.de>
80
81         * readelf.c (display_debug_frames): Fix warnings: Remove unused
82         variables, fix format strings.
83
84 2001-05-28  Nick Clifton  <nickc@cambridge.redhat.com>
85
86         * objdump.c (disassemble_bytes): Remove section VMA adjustment
87         when computing the address of the line to show.
88
89 2001-05-16  Richard Henderson  <rth@redhat.com>
90
91         * readelf.c (do_debug_frames_interp): New.
92         (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
93         (byte_get_big_endian): Likewise.
94         (parse_args) ['F']: Set do_debug_frames_interp.
95         (Frame_Chunk): Make data_factor signed, add fde_encoding.
96         (frame_display_row): Don't trunc pc_begin to int.
97         (size_of_encoded_value): New.
98         (display_debug_frames): Handle 64-bit targets.  Print raw data
99         unless do_debug_frames_interp.
100         (debug_displays): Remove duplicate .debug_frame.
101
102 2001-05-15  Ralf Baechle  <ralf@gnu.org>
103
104         * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
105         The former constant was never in active use and is used otherwise
106         by the ABI.
107
108 2001-05-11  Jakub Jelinek  <jakub@redhat.com>
109
110         * readelf.c (process_unwind): Print all unwind sections, not just
111         one.
112
113 2001-05-07  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
114
115         * readelf.c (process_unwind): Remove const specifier.
116
117 2001-04-27  Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
118
119         * strings.c (isgraphic): Do not use isascii() unless it is needed
120         for isprint() to work.
121         (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
122
123 2001-04-27  Johan Rydberg  <jrydberg@opencores.org>
124
125         * NEWS: Announce support for OpenRISC.
126
127 2001-04-17  Danny Smith  <dannysmith@users.sourceforge.net>
128
129         * dlltool.c (do_default_excludes): Initialise to true.
130
131 2001-04-10  Alan Modra  <amodra@one.net.au>
132
133         * MAINTAINERS: Update my email address
134         * nm.c (print_symbol_info_bsd): Use a simple printf string.
135
136 2001-04-05  Hans-Peter Nilsson  <hp@axis.com>
137
138         * readelf.c (display_debug_lines): Fix typo for "Prologue".
139
140 2001-03-30  H.J. Lu  <hjl@gnu.org>
141
142         * readelf.c (process_unwind): Just return if do_unwind is 0.
143
144 2001-03-28  Roger Sayle  <roger@metaphorics.com>
145
146         * dlltool.c (make_one_lib_file): Fix section flags for
147         .text, .data and .bss in stub ds*.o files to match those
148         generated by gas.
149
150 2001-03-29  H.J. Lu  <hjl@gnu.org>
151
152         * readelf.c (process_unwind): Only do unwind sections for
153         IA64.
154
155 2001-03-28  H.J. Lu  <hjl@gnu.org>
156
157         * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
158         * Makefile.in: Regenerate.
159
160 2001-03-26  Andreas Jaeger  <aj@suse.de>
161
162         * binutils.texi (nm): Fix texi syntax.
163
164 2001-03-25  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
165
166         * binutils.texi: Put @c man begin and @c man end indications
167         to generate man pages using texi2pod and pod2man. Put @c man title
168         to identify each man. Add SEEALSO entries.
169         * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
170         (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
171         sort the list.
172         (*.1): Build the man pages from binutils.texi.
173         * Makefile.in: Regenerate.
174
175 2001-03-13  Eric Kohl  <ekohl@rz-online.de>
176
177         * defparse.y (opt_equal_name): allow "." in name.
178         * dlltool.c (def_exports): Added ability to generate forwarded exports.
179         (gen_exp_file): Likewise.
180
181 2001-03-12  Stefan Geuken <mail@stefan-geuken.de>
182
183         * NEWS: Document addition of -B switch to objcopy.
184         * binutils.texi:  Document addition of -B switch to objcopy.
185         * objcopy.c: (copy_options): Add --binary-architecture.
186         (copy_usage): Document -B/--binary-architecture.
187         (copy_main): Support -B/--binary-architecture.  Set
188         bfd_external_binary_architecture.
189
190 2001-03-11  Andreas Jaeger  <aj@suse.de>
191
192         * readelf.c (guess_is_rela): Handle EM_S390_OLD.
193         (dump_relocations): Likewise.
194         (get_machine_name): Likewise.
195
196 2001-02-28  Nick Clifton  <nickc@redhat.com>
197
198         * readelf.c: (struct unw_aux_info): Remove const modifier for
199         'strtab' field.
200         (process_unwind): Remove non-K&R compliant LHS type cast in call
201         to GET_DATA_ALLOC macro.
202
203 2001-02-28  Philip Blundell  <pb@futuretv.com>
204
205         * readelf.c (decode_ARM_machine_flags): Explicitly mention which
206         ABI is in use; remove ambiguity between the "unknown" EABI and
207         unrecognised ABIs.  Handle version 2 ARM EABI.  Update uses of
208         renamed EF_xx constants.
209
210 2001-02-27  Alan Modra  <alan@linuxcare.com.au>
211
212         * configure.in (BFD_VERSION): New.
213         (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
214         * configure: Regenerate.
215         * Makefile.am: Run "make dep-am"
216         * Makefile.in: Regenerate.
217
218 2001-02-14  Nick Clifton  <nickc@redhat.com>
219
220         * MAINTAINERS: Add "Obvious Fix" rule.
221
222 2001-02-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
223
224         * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
225         literal concatenation.
226
227 2001-02-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
228
229         * readelf.c (struct unw_aux_info): Remove const from the info member.
230         (process_unwind): Don't type-cast the third argument to the
231         GET_DATA_ALLOC macro.
232
233 2001-02-11  Nick Clifton  <nickc@redhat.com>
234
235         * readelf.c (dump_relocations): Free corrected allocated
236         array.
237         (process_unwind): Fix compile time warning.
238
239 2001-02-10  Nick Clifton  <nickc@redhat.com>
240
241         * binutils.texi: Document new --unwind option to readelf.
242
243 2001-02-09  Martin Schwidefsky  <schwidefsky@de.ibm.com>
244
245         * readelf.c: Add linux target for S/390.
246
247 2001-02-10  Alan Modra  <alan@linuxcare.com.au>
248
249         * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
250         printf is a macro.
251
252 2001-02-08  Hans-Peter Nilsson  <hp@bitrange.com>
253
254         * acinclude.m4 (AM_PROG_LEX): Override installed definition.
255         * aclocal.m4: Regenerate.
256         * configure: Regenerate.
257
258 2001-02-07  Todd Vierling  <tv@wasabisystems.com>
259
260         * bucomm.c (bfd_target_vector): Change extern array to pointer.
261         * objdump.c (bfd_target_vector): Likewise.
262
263 2001-02-07  David Mosberger  <davidm@hpl.hp.com>
264
265         * readelf.c (process_unwind): New function.
266         (slurp_ia64_unwind_table): Ditto.
267         (dump_ia64_unwind): Ditto.
268         (find_symbol_for_address): Ditto.
269         (slurp_rela_relocs): New function (split off from dump_relocations()).
270         (slurp_rel_relocs): Ditto.
271         (parse_args): Handle '-u' option.
272
273         * unwind-ia64.c: New file.
274         * unwind-ia64.h: New file.
275         * Makefile.am: Include unwind-ia64.c in readelf build.
276         * Makefile.in: Regenerate.
277         * po/binutils.pot: Regenerate.
278
279 2001-02-04  Philip Blundell  <philb@gnu.org>
280
281         * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
282         * configure: Regenerate.
283
284 2001-01-31  Steve deRosier  <sderosier@vari-lite.com>
285
286         * ieee.c (ieee_add_bb11): Don't check for backslashes
287         unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
288
289 2001-01-24  Mark Elbrecht  <snowball3@bigfoot.com>
290
291         * ieee.c: Update copyright.
292         (ieee_start_compilation_unit): Don't check for backslashes
293         unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
294
295         * stabs.c: Update copyright. Include "filenames.h".
296         (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
297
298 2001-01-23  Jakub Jelinek  <jakub@redhat.com>
299
300         * readelf.c (process_version_sections): Check if VERDEF or VERNEED
301         sections are present before using them.  Remove code duplication.
302         (process_symbol_table): Check if VERDEF or VERNEED sections are
303         present before using them.
304
305 2001-01-17  Nick Clifton  <nickc@redhat.com>
306
307         * objcopy.c (copy_object): Fail if attempting to convert the
308         endianness of the input object file.
309
310         * binutils.texi: Explain that objcopy cannot convert endianness.
311
312 2001-01-16  Nick Clifton  <nickc@redhat.com>
313
314         * readelf.c (string_table_length): New variable.
315         (SECTION_NAME): Catch out of range indices and missing section
316         pointers.
317         (process_section_headers): Delete useless local variable
318         string_table_offset.  Set the value of string_table_length
319         after loading the string table.
320         (process_mips_specific): Use SECTION_NAME macro.
321         (process_file): Set string_table_length to 0 when it is freed.
322
323 2001-01-12  Nick Clifton  <nickc@redhat.com>
324
325         * version.c (print_version): Update copyright date.
326
327 2001-01-11  Peter Targett  <peter.targett@arccores.com>
328
329         * readelf.c (dump_relocations): Include selection with EM_ARC.
330         (get_machine_name) Update name to "ARC".
331
332 2001-01-09  Nick Clifton  <nickc@redhat.com>
333
334         * Makefile.am: Add rule to build objdump.o from objdump.c and
335         using OBJDUMP_DEFS.
336         * Makefile.in: Regenerate.
337
338         * configure.in: Define OBJDUMP_DEFS.  Default to empty.
339         (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
340         -DDISASSEMBLER_NEEDS_RELOCS.
341         * configure: Regenerate.
342
343         * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
344         is defined read in the relocs even if dump_reloc_info is
345         false.
346
347 2001-01-07  Philip Blundell  <philb@gnu.org>
348
349         * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
350         `bug-binutils'.
351         * README: Likewise.
352
353 2000-12-19  Nick Clifton  <nickc@redhat.com>
354
355         * dlltool.c: Add missing support for arm-epoc-pe.
356         * configure.in: Add missing support for arm-epoc-pe.
357         * configure: Regenerate.
358
359 2000-12-15  Nick Clifton  <nickc@redhat.com>
360
361         * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
362         Mode parts of the x86 port.
363
364 2000-12-04  Andreas Jaeger  <aj@suse.de>
365
366         * readelf.c (guess_is_rela): Add EM_X86_64.
367         (dump_relocations): Add EM_X86_64.
368         (get_machine_name): Add EM_X86_64.
369         Include "elf/x86-64.h".
370
371 2000-12-12  Nick Clifton  <nickc@redhat.com>
372
373         * readelf.c: Fix formatting.
374
375 Mon Dec 11 14:30:21 MET 2000  Jan Hubicka  <jh@suse.cz>
376
377         * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
378
379 2000-12-07  Andrew Haley  <aph@redhat.com>
380
381         * readelf.c (display_debug_frames): Only display columns that are
382         referenced by the frame debug info.
383
384 2000-12-05  Nick Clifton  <nickc@redhat.com>
385
386         * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
387
388 2000-12-04  Jason Merrill  <jason@redhat.com>
389
390         * readelf.c (process_section_headers): Handle linkonce.wi sections.
391         (display_debug_section): Likewise.
392         (display_debug_info): Display CU header before bailing.
393
394 2000-12-01  Chris Demetriou  <cgd@sibyte.com>
395
396         * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
397         EF_MIPS_ARCH.  Replace use of E_MIPS_MACH_MIPS32 with
398         E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
399
400         * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
401         and E_MIPS_ARCH_64.
402
403         * readelf.c (get_machine_flags): Add case for
404         E_MIPS_MACH_SB1.
405
406 2000-11-30  Richard Earnshaw  <rearnsha@arm.com>
407
408         * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
409
410 2000-11-28  Hans-Peter Nilsson  <hp@bitrange.com>
411
412         * MAINTAINERS: Add Jörn Rennecke and self as SH maintainers.
413         Change sourceware.cygnus.com to sources.redhat.com.
414         Fix typo for "amongst".
415
416 2000-11-28  Nick Clifton  <nickc@redhat.com>
417
418         * strip.1 (COPYING): Mention that the GNU Free Documentation
419         License is present in the sources, but not the output, and
420         also available from the GNU website.
421         (GNU Free Documentation License): Comment out this section.
422         * strings.1: Ditto.
423         * size.1: Ditto.
424         * ranlib.1: Ditto.
425         * objdump.1: Ditto.
426         * objcopy.1: Ditto.
427         * nm.1: Ditto.
428         * nlmconv.1: Ditto.
429         * ar.1: Ditto.
430         * addr2line.1: Ditto.
431
432 2000-11-27  DJ Delorie  <dj@redhat.com>
433
434         * readelf.c (usage): Add -wf (--debug-dump=frames) option.
435         (parse_args): Support -wf option.
436         (process_section_headers): Ditto.
437         (debug_displays): Ditto.
438         (display_debug_frames): New, dump *_frame sections.
439         (frame_need_space): Support for above.
440         (frame_display_row): Ditto.
441         * binutils.texi: Document it.
442
443 2000-11-24  Nick Clifton  <nickc@redhat.com>
444
445         * NEWS: Announce support for v5t, v5te and XScale.
446
447 2000-11-22  Nick Clifton  <nickc@redhat.com>
448
449         * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
450         EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
451         (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
452         (get_elf_section_flags: Add SHF_GROUP.
453         (process_section_headers): Adjust output for 32-bit binaries
454         to look nice on an 80 column terminal.
455
456 2000-11-20  H.J. Lu  <hjl@gnu.org>
457
458         * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
459         ELFOSABI_AIX.
460
461 2000-11-17  Richard Henderson  <rth@redhat.com>
462
463         * readelf.c (display_debug_lines): Adjust last change to
464         use sizeof (external->li_length).
465
466 2000-11-17  Richard Henderson  <rth@redhat.com>
467
468         * readelf.c (display_debug_lines): Fix section length check
469         and end_of_sequence computation.
470
471 2000-11-06  Nick Clifton  <nickc@redhat.com>
472
473         * binutils.texi: Add GNU Free Documentation License.
474         * objcopy.1: Add GNU Free Documentation License.
475         * objdump.1: Add GNU Free Documentation License.
476         * addr2line.1: Add GNU Free Documentation License.
477         * ar.1: Add GNU Free Documentation License.
478         * nlmconv.1: Add GNU Free Documentation License.
479         * nm.1: Add GNU Free Documentation License.
480         * ranlib.1: Add GNU Free Documentation License.
481         * size.1: Add GNU Free Documentation License.
482         * strings.1: Add GNU Free Documentation License.
483         * strip.1: Add GNU Free Documentation License.
484
485 2000-10-06  Luciano Gemme <ishitawa@yahoo.com>
486
487         * objcopy.c (--srec-len=nn): New parameter to set the
488         maximum length of generated Srecords.
489         (--srec-forceS3): New parameter that restricts the generation of
490         Srecords to type S3 only.
491         * binutils.texi: Document new command line switches.
492         * objcopy.1: Docuemnt the new command line switches.
493         * NEWS: Announce the existence of the new command line switches.
494
495 2000-10-31  Nick Clifton  <nickc@redhat.com>
496
497         * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
498         code.  Add Eric Chrisopher as maintainer of MN10300 port.
499
500 2000-10-12  Roger Sayle  <roger@metaphorics.com>
501
502         * Make comma after string after icon/control optional.
503
504 2000-09-13  Anders Norlander  <anorland@acc.umu.se>
505
506         * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
507
508         * NEWS: Mention support for MIPS32.
509
510 2000-09-08  Nick Clifton  <nickc@redhat.com>
511
512         * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
513
514 2000-09-07  H.J. Lu  <hjl@gnu.org>
515
516         * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
517         * configure: Rebuild.
518
519 2000-09-06  Alexandre Oliva  <aoliva@redhat.com>
520
521         * configure: Rebuilt with new libtool.m4.
522
523 2000-09-05  Nick Clifton  <nickc@redhat.com>
524
525         * aclocal.m4: Regenerate.
526         * config.in: Regenerate.
527         * configure: Regenerate.
528
529 2000-09-04  Todd Vierling  <tv@wasabisystems.com>
530
531         * strip.1: Fix stray '\' in -o formatting.
532
533 2000-09-02  Nick Clifton  <nickc@redhat.com>
534
535         * configure.in: Increase version number to 2.10.91.
536         * configure: Regenerate.
537         * aclocal.m4: Regenerate.
538         * config.in: Regenerate.
539         * po/binutils.pot: Regenerate.
540
541 2000-08-31  Alexandre Oliva  <aoliva@redhat.com>
542
543         * acinclude.m4: Include libtool and gettext macros from the
544         top level.
545         * aclocal.m4, configure: Rebuilt.
546
547 2000-08-30  Jamie Guinan  <guinan@bluebutton.com>
548
549         * resrc.c (close_input_stream): Delete extraneous logic
550
551 2000-08-24  Hans-Peter Nilsson  <hp@axis.com>
552
553         * NEWS: Mention support for CRIS.
554
555 2000-08-21  Nick Clifton  <nickc@redhat.com>
556
557         * addr2line.c: Changed email address for Ulrich Lauther.
558
559 2000-08-17  Christopher C. Chimelis <chris@debian.org>
560
561         * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
562
563 2000-08-17  Nick Clifton  <nickc@redhat.com>
564
565         * readelf.c (display_debug_pubnames): Only issue warning
566         message once.  Terminate message with a new line.
567         (display_debug_aranges): Only display version 2 debug info.
568
569 2000-08-14  Todd Vierling <tv@wasabisystems.com>
570
571         * objcopy.c (strip_main): Silently accept -d as an alias for -g
572         for compatability with old BSD systems.
573
574 2000-08-14  Jason Eckhardt  <jle@cygnus.com>
575
576         * NEWS: Mention i860 support.
577
578 2000-08-11  Carlo Wood <carlo@alinoe.com>
579
580         * addr2line.c (main): Add const to char *.
581
582 2000-08-11  Geoff Keating  <geoffk@cygnus.com>
583
584         * ar.c (main): Don't crash if called with no arguments
585         or only '-X32_64' as an argument.
586
587 2000-08-08  DJ Delorie  <dj@redhat.com>
588
589         * resrc.c: use "gcc -xc" instead of -xc-header
590
591 2000-08-05  Jason Eckhardt  <jle@cygnus.com>
592
593         * readelf.c (elf/i860.h): Include.
594         (dump_relocations): Add recognition of i860 architecture.
595         (guess_is_rela): Add recognition of i860 architecture.
596
597 2000-08-03  Nick Clifton  <nickc@cygnus.com>
598
599         * MAINTAINERS: Add information about CGEN maintainers.
600
601 2000-07-26  Geoff Keating  <geoffk@cygnus.com>
602
603         * nm.c (main): Ignore '-X32_64' as an option.
604         * ar.c (main): Likewise.
605         * binutils.texi (nm): Document new option.
606         (ar): Likewise.
607
608 2000-07-23  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
609
610         * rdcoff.c (external_coff_symbol_p): K&R-ise.
611
612 2000-07-20  H.J. Lu  <hjl@gnu.org>
613
614         * binutils.texi: Put back "@end table" deleted by
615         accident.
616
617 2000-07-05  Kenneth Block  <krblock@computer.org>
618
619         * nm.c: Add optional style to demangle switch.
620         * objdump.c: Add optional style to demangle switch.
621         * addr2line.c: Add optional style to demangle switch.
622         * binutils.texi: Document optional style to demangle
623         switch.
624
625 2000-07-20  Hans-Peter Nilsson  <hp@axis.com>
626
627         * MAINTAINERS: Add self as CRIS port maintainer.
628         * readelf.c: Include elf/cris.h.
629         (guess_is_rela): Handle EM_CRIS.
630         (dump_relocations): Ditto.
631         (get_machine_name): Ditto.
632         * Makefile.am: Rebuild dependencies.
633         * Makefile.in: Regenerate.
634         * po/binutils.pot: Regenerate.
635
636 2000-07-19  H.J. Lu  <hjl@gnu.org>
637
638         * readelf.c (get_dynamic_type): Change "AUXILARY" to
639         "AUXILIARY".
640         (process_dynamic_segment): Print out strings for DT_CONFIG,
641         DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
642
643 2000-07-19  Mark Kettenis  <kettenis@gnu.org>
644
645         * nm.c (usage): Change output of `nm --help' to include a
646         description of the purpose of the program and a detailed
647         description of the accepted options.
648
649 2000-07-19  H.J. Lu  <hjl@gnu.org>
650
651         * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
652         to DF_1_NODEFLIB.
653
654 2000-07-19  H.J. Lu  <hjl@gnu.org>
655
656         * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
657
658 2000-07-19  H.J. Lu  <hjl@gnu.org>
659
660         * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
661         DT_FEATURE.
662         (process_dynamic_segment): Likewise.
663
664         * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
665         DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
666         (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
667         DF_1_NODUMP and DF_1_CONLFAT.
668
669 2000-07-18  Nick Clifton  <nickc@cygnus.com>
670
671         * binutils.texi (readelf): Fix spelling typo.
672
673 2000-07-11  Mark Kettenis  <kettenis@gnu.org>
674
675         * objdump.c (usage): Make output of `objdump --help' more
676         consistent with the rest of the GNU world.  Add a line describing
677         the purpose of the program.
678
679 2000-07-10  David Huggins-Daines  <dhd@linuxcare.com>
680
681         * stabs.c (parse_stab_range_type): Cast to proper type to fix
682         warning.
683
684 2000-07-10  Ryan Bradetich  <rbradetich@uswest.net>
685
686         * readelf.c (get_dynamic_data): Add casts and use unsigned chars
687         to fix warnings.
688         (process_symbol_table): Ditto.
689         (procesS_extended_line_op): Ditto.
690         (display_debug_lines): Ditto.
691         (display_debug_pubnames): Ditto.
692         (read_and_display_attr): Ditto.
693
694 2000-07-09  Nick Clifton  <nickc@cygnus.com>
695
696         * MAINTAINERS: Add several more port specific maintainers.
697
698 2000-07-05  Nick Clifton  <nickc@cygnus.com>
699
700         * MAINTAINERS: Add blanket write privs for Michael Meissner.
701
702 2000-06-05  DJ Delorie  <dj@redhat.com>
703
704         * MAINTAINERS: New.
705
706 2000-07-01  Eric Fifer  <EFifer@sanwaint.com>
707
708         * dllwrap.c: Changed mistaken dyn_string_append() calls
709         to dyn_string_append_cstr().
710
711 2000-07-01  Alexander Aganichev <AAganichev@hypercom.com>
712
713         * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
714         struct debug_type stores size in bytes.
715
716 2000-07-01  Alan Modra  <alan@linuxcare.com.au>
717
718         * Makefile.am (DEP): Fix 2000-06-22.  grep after running dep.sed
719         (CLEANFILES): Add DEPA.
720         * Makefile.in: Regenerate.
721
722 2000-06-27  Alan Modra  <alan@linuxcare.com.au>
723
724         * ar.c: Revert incorrect 2000-06-25 patch.
725         * bucomm.c: Likewise.
726
727 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
728
729         * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
730         (external_coff_symbol_p): New function.
731         (parse_coff): Use it.
732
733 2000-06-25  Alexander Aganichev <AAganichev@hypercom.com>
734
735         * ar.c (normalize): Advance past both characters in a DOS based
736         <letter>: filepath prefix.
737         (main): Likewise.
738         * bucomm.c (make_tempname): Likewise.
739
740 2000-06-24  Nick Clifton  <nickc@cygnus.com>
741
742         * objdump.c (usage): Fix description of --stabs switch.
743
744 2000-06-22  Alan Modra  <alan@linuxcare.com.au>
745
746         * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
747         find one.
748         * Makefile.in: Regenerate.
749
750 2000-06-20  Alexander Aganichev <AAganichev@hypercom.com>
751
752         * ar.c (normalize): Correct pointer comparison when checking for
753         backslashes.
754         (main): Likewise.
755         * bucomm.c (make_tempname): Likewise.
756
757         * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
758         and search for backslashes in the original pathname.
759         (ieee_add_bb11): Likewise.
760
761 2000-06-18  Nick Clifton  <nickc@redhat.com>
762
763         * ar.c (print_contents): Improve verbose message.
764
765 2000-06-15  H.J. Lu  <hjl@gnu.org>
766
767         * dyn-string.c: Removed. Not needed with dyn-string.c in
768         libiberty.
769         * dyn-string.h: Likewise.
770
771         * Makefile.am: Remove references to dyn-string.c and
772         dyn-string.h. Rebuild dependency.
773         * Makefile.in: Rebuild.
774
775 2000-06-15  H.J. Lu  <hjl@gnu.org>
776
777         * binutils.texi: Put a warning on copying relocatable object
778         files between two different formats.
779
780 2000-06-13  DJ Delorie  <dj@cygnus.com>
781
782         * rcparse.y (control): ICON controls take an id as the first
783         parameter, not an optional string.  Also, call new convenience
784         function that takes res_id's.
785         * resrc.c (define_control): missing text means zero-length string,
786         not zero ID.
787         (define_icon_control): New.
788         * windres.h: declare define_icon_control.
789
790 2000-06-13  H.J. Lu  <hjl@gnu.org>
791
792         * configure: Regenerate.
793
794 2000-06-08  David O'Brien  <obrien@FreeBSD.org>
795
796         * configure.in (VERSION): Update to show this is the CVS mainline.
797
798 2000-06-02  David O'Brien  <obrien@FreeBSD.org>
799
800         * strings.c (isgraphic): Interpret <TAB> as a printable character,
801         analogous to <SPACE>.
802
803 2000-05-30  Alan Modra  <alan@linuxcare.com.au>
804
805         * objdump.c (display_target_list): Use bfd_close_all_done, not
806         bfd_close to fix crash caused by 2000-05-24 change.
807
808 2000-05-25  DJ Delorie  <dj@cygnus.com>
809
810         * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
811
812 2000-05-26  Alan Modra  <alan@linuxcare.com.au>
813
814         * Makefile.am: Update dependencies with "make dep-am"
815         * Makefile.in: Regenerate.
816
817 2000-05-26  Eli Zaretskii  <eliz@is.elta.co.il>
818
819         * ar.c: Include filenames.h.
820         (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
821         and drive letters in file names.
822         (main): Support backslashes and drive letters in argv[0].  Drop
823         the .exe suffix, if any, in argv[0] if is_ranlib is negative.  Use
824         FILENAME_CMP instead of strcmp to compare file names.
825         (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
826         DJGPP v2.
827         (do_quick_append) [__GO32__]: Ditto.
828         (get_pos_bfd, delete_members, move_members, replace_members):
829         Compare file names with FILENAME_CMP.
830
831         * bucomm.c: Include filenames.h.
832         (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
833         forward/backward slashes and drive letters in file names.
834
835         * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
836         mixed forward/backward slashes and drive letters in file names.
837
838         * strings.c (O_BINARY, setmode, SET_BINARY): Define.
839         (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
840         mode.
841
842         * objcopy.c: Include filenames.h.
843         (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
844         before comparing to "strip".
845         Use FILENAME_CMP to compare file names.
846
847         * arsup.c: Include filenames.h.
848         (map_over_list, ar_delete, ar_replace, ar_extract): Use
849         FILENAME_CMP to compare file names.
850         (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
851         the temporary file name.
852
853         * configure.in: Check for setmode.
854         * configure: Regenerate.
855
856 2000-05-24  Alan Modra  <alan@linuxcare.com.au>
857
858         * objdump.c (display_target_list): Close the bfd.
859         (display_info_table): Likewise.
860
861 2000-05-14  H.J. Lu  (hjl@gnu.org)
862
863         * objcopy.c (filter_symbols): Don't strip global symbols in
864         relocatable object files.
865
866 2000-05-14  Alan Modra  <alan@linuxcare.com.au>
867
868         * size.c (usage): Associate short options with corresponding long
869         option to give a clue as to their function.
870
871 2000-05-14  Philippe De Muyter  <phdm@macqel.be>
872
873         * size.c (main): Accept and ignore `-f' option.
874
875 2000-05-13  Alan Modra  <alan@linuxcare.com.au>
876
877         * bucomm.h (gettext, dgettext, dcgettext, textdomain,
878         bindtextdomain): Replace defines with those from intl/libgettext.h
879         to quieten gcc warnings.
880
881 2000-05-12  H.J. Lu  <hjl@gnu.org>
882
883         * nlmconv.c (temp_filename): Removed.
884
885         * nlmconv.c (link_inputs): Use make_temp_file () instead of
886         choose_temp_base ().
887         * objdump.c (display_target_list): Likewise.
888         (display_info_table): Likewise.
889
890 2000-05-08  Alan Modra  <alan@linuxcare.com.au>
891
892         * objcopy.c (setup_section): Add const and gettext calls for err.
893
894 2000-05-02  H.J. Lu  <hjl@gnu.org>
895
896         * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
897         ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
898         ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
899         ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
900         and ELFOSABI_OPENBSD.
901
902 2000-05-02  Kazu Hirata  <kazu@hxi.com>
903
904         * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
905         * srconv.c: Likewise.
906         * sysdump.c: Likewise.
907
908 Sun Apr 23 14:23:26 2000  Denis Chertykov  <denisc@overta.ru>
909
910         * readelf.c (guess_is_rela): AVR uses RELA relocations.
911         (get_machine_name): machine name for EM_AVR added.
912
913 Fri Apr 21 13:20:53 2000  Richard Henderson  <rth@cygnus.com>
914                           David Mosberger  <davidm@hpl.hp.com>
915
916         * Makefile.am (readelf.o): Add elf/ia64.h.
917         * Makefile.in: Rebuild.
918         * readelf.c: Include elf/ia64.h.
919         (guess_is_rela, dump_relocations): Handle EM_IA_64.
920
921 2000-04-17  Timothy Wall  <twall@cygnus.com>
922
923         * objdump.c (disassemble_data): Set octets per byte *after*
924         resolving arch/mach for binary files.
925
926 2000-04-14  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
927
928         * arlex.l: Add directives to increase lex buffer size.
929
930         * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
931         already included by bucomm.h.
932
933 2000-04-10  Philippe De Muyter  <phdm@macqel.be>
934
935         * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
936         `strftime' since strftime is not available on all systems.
937         (process_mips_specific): Ditto.
938
939 Fri Apr  7 15:56:57 2000  Andrew Cagney  <cagney@b1.cygnus.com>
940
941         * configure.in (WARN_CFLAGS): Set to -W -Wall by default.  Add
942         --enable-build-warnings option.
943         * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
944         * Makefile.in, configure: Re-generate.
945
946 2000-04-06  Alan Modra  <alan@linuxcare.com.au>
947
948         * addr2line.c: Update copyright.
949         * objcopy.1: Likewise, and title.
950         * strings.1: Likewise.
951
952         * version.c (print_version): Add 2000.
953
954         * rddbg.c (read_section_stabs_debugging_info): Don't use
955         bfd_size_type for strx to avoid printf problems if BFD64.
956
957         * bucomm.c: (report): Remove `static'.
958         Move inclusion of stdarg.h/vararg.h from here.
959         * bucomm.h: To here.
960         (CONST): Change all occurences to const.
961         (report): Declare it.
962         (bfd_fatal): Add ATTRIBUTE_NORETURN.
963         (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
964         (non_fatal): Add ATTRIBUTE_PRINTF_1.
965
966         * ar.c (main): Use fatal or non_fatal instead of fprintf.
967         Correct a typo in an error message.
968         (do_quick_append): Use non_fatal instead of fprintf.
969         (move_members): Use fatal instead of fprintf, exit.
970         * coffdump.c (main): Same here.
971
972         * dlltool.c (display): Delete.
973         (warn): Delete.
974         (inform): Use `report' instead of `display'.
975         (rvaafter): Remove trailing \n from fatal error msg.
976         (rvabefore): Ditto.
977         (asm_prefix): Ditto.
978         (yyerror): Replace `warn' with `non_fatal', and remove \n.
979         (def_name): Likewise.
980         (run): Likewise.
981         (scan_all_symbols): Likewise.
982         (gen_lib_file): Likewise.
983         (def_library): Likewise.  Remove extra program_name too.
984         (run): Remove \n from inform strings.
985         (scan_drectve_symbols): Likewise.
986         (add_excludes): Likewise.
987         (scan_open_obj_file): Likewise.
988         (gen_exp_file): Likewise.
989         (gen_lib_file): Likewise.
990         (process_duplicates): Likewise.
991
992         * Makefile.am (dllwrap_SOURCES): Add version.c.
993         * dllwrap.c (program_version): Delete.
994         (print_version): Delete.
995         (display): Always print trailing \n.
996         (warn): New.
997         (delete_temp_files): Use warn instead of fprintf.  Use gettext.
998         (run): Here too.
999         (main): And here.
1000         (usage): gettext'ify.
1001         (long_options): Add missing initialisers.
1002
1003         * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
1004         (select_output_format): Likewise.
1005         (powerpc_mangle_relocs): Likewise.
1006         (link_inputs): Likewise.
1007
1008         * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
1009         (set_output_format): Likewise.
1010         (main): Use non_fatal instead of fprintf.
1011         (display_rel_file): Likewise.
1012
1013         * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
1014         (slurp_dynamic_symtab): Same here.
1015         (disassemble_data): And here.
1016         (read_section_stabs): And here.
1017         (read_section_stabs): And here.
1018         (dump_bfd): And here.
1019         (main): And here.
1020         (objdump_sprintf): Use fatal instead of fprintf, exit.
1021         (disassemble_data): Same here.
1022
1023         * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
1024         (parse_coff_struct_type): Same here.
1025         (parse_coff_enum_type): And here.
1026         (parse_coff): And here.
1027         * rddbg.c (read_debugging_info): And here.
1028         * size.c (main): And here.
1029         * windres.c (format_from_name): And here.
1030         * wrstabs.c (stab_write_symbol): Here too.
1031         (write_stabs_in_sections_debugging_info): And here.
1032         (stab_int_type): And here.
1033         (stab_struct_field): And here.
1034         (stab_typdef): And here.
1035
1036         * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
1037         * srconv.c (main): Same here.
1038         * strings.c (main): And here.
1039         (integer_arg): And here.
1040         * sysdump.c (main): And here.
1041
1042 2000-04-06  Timothy Wall  <twall@cygnus.com>
1043
1044         * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
1045
1046 2000-04-06  Jason Merrill  <jason@yorick.cygnus.com>
1047
1048         * readelf.c (decode_location_expression): Loop through multiple
1049         operations.
1050         (read_and_display_attr): Pass in length.
1051
1052         * readelf.c (read_and_display_attr): Add CU offset to references.
1053         (display_debug_info): Pass it in.
1054
1055 2000-04-06  Nick Clifton  <nickc@cygnus.com>
1056
1057         * readelf.c (decode_ARM_machine_flags): New function.
1058         (get_machine_flags): Call decode_ARM_machine_flags for ARM
1059         targets.
1060
1061         (get_machine_name): Catch EM_AVR
1062
1063 2000-04-05  Alan Modra  <alan@linuxcare.com.au>
1064
1065         * binutils.texi: Remove optional `=' from long options that have
1066         an `=' in the argument.
1067         * objcopy.1: Here too.  Remove extra space on discard-all.
1068
1069         * binutils.texi (objcopy): Mention --redefine-sym.
1070         * objcopy.1: Here too.
1071         * NEWS: And here.
1072
1073         * objcopy.c (parse_flags): Split off flag names from error message
1074         gettext as they are not translated.
1075         (copy_main): Similarly split off option name for --add-section,
1076         --set-section-flags, --change-section-vma, --change-section-lma
1077         error messages.
1078         Some white space changes.
1079
1080         from Matthew Benjamin <matt@linuxbox.nu>
1081         * objcopy.c (struct redefine_node): New.
1082         (redefine_sym_list): New.
1083         (redefine_list_append): New.
1084         (lookup_sym_redefinition): New.
1085         (OPTION_REDEFINE_SYM): New.
1086         (copy_options): Add --redefine-sym option.
1087         (copy_usage): Mention it.
1088         (filter_symbols): Rename symbols on redefine_sym_list.
1089         (copy_object): Call filter_symbols if redefine_sym_list != NULL.
1090         (copy_main): Handle OPTION_REDEFINE_SYM.
1091
1092 2000-04-04  H.J. Lu  <hjl@gnu.org>
1093
1094         * readelf.c (process_symbol_table): Correctly read in symbol
1095         versioning information.
1096
1097 2000-04-04  Alan Modra  <alan@linuxcare.com.au>
1098
1099         * po/binutils.pot: Regenerate.
1100
1101         * addr2line.c (usage): Restore translated part of bug string.
1102         * ar.c (usage): Likewise.
1103         * nlmconv.c (show_usage): Likewise.
1104         * nm.c (usage): Likewise.
1105         * objcopy.c (copy_usage): Likewise.
1106         (strip_usage): Likewise.
1107         * objdump.c (usage): Likewise.
1108         * readelf.c (usage): Likewise.
1109         * size.c (usage): Likewise.
1110         * strings.c (usage): Likewise.
1111         * windres.c (usage): Likewise.
1112
1113         * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
1114         (DEP): Quote when passing vars to sub-make.  Add warning
1115         message to end.
1116         (DEP1): Rewrite for "gcc -MM".
1117         (CLEANFILES): Add DEP2.
1118         Update dependencies.
1119         * Makefile.in: Regenerate.
1120
1121 2000-04-04  H.J. Lu  <hjl@gnu.org>
1122
1123         * Makefile.am (GENERATED_HFILES): Add rcparse.h
1124         (arparse.h): Depend on arparse.c
1125         (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
1126
1127 2000-04-03  H.J. Lu  (hjl@gnu.org)
1128
1129         * size.c (usage): Use REPORT_BUGS_TO.
1130
1131 2000-04-03  Alan Modra  <alan@linuxcare.com.au>
1132
1133         * bucomm.h: #include "bin-bugs.h"
1134         * addr2line.c (usage): Use REPORT_BUGS_TO.
1135         * ar.c (usage): Likewise.
1136         * nlmconv.c (show_usage): Likewise.
1137         * nm.c (usage): Likewise.
1138         (OPTION_TARGET): Define.
1139         (long_options): Use OPTION_TARGET rather than 200.
1140         (main): Likewise.
1141
1142         * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
1143         (strip_usage): Likewise.
1144         * objdump.c (usage): Likewise.
1145         * readelf.c (usage): Likewise.
1146         * strings.c (usage): Likewise.
1147         * windres.c (usage): Likewise.
1148
1149 2000-03-31  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1150
1151         * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
1152
1153 2000-03-27  Nick Clifton  <nickc@cygnus.com>
1154
1155         * rddbg.c (read_section_stabs_debugging_info): Catch out of range
1156         string offsets in corrupt stabs entries.
1157
1158 2000-03-27  Alan Modra  <alan@linuxcare.com.au>
1159
1160         * readelf.c: Include elf/avr.h
1161         (dump_relocations): Add EM_AVR case.
1162
1163 2000-03-09  Tim Waugh  <twaugh@redhat.com>
1164
1165         * strings.1: Correct '-bytes' to '--bytes'.
1166
1167 2000-03-08  H.J. Lu  <hjl@gnu.org>
1168
1169         * Makefile.am (install-exec-local): Depend on
1170         install-binPROGRAMS for parallel make.
1171         * Makefile.in: Regenerated.
1172
1173 2000-02-27  Ian Lance Taylor  <ian@zembu.com>
1174
1175         From Brad Lucier <lucier@math.purdue.edu>:
1176         * readelf.c (process_dynamic_segment): Add cast to make sure
1177         argument to %* is int.
1178
1179 2000-02-25  H.J. Lu  <hjl@gnu.org>
1180
1181         * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
1182
1183 2000-02-24  Nick Clifton  <nickc@cygnus.com>
1184
1185         * configure.in: Add arm-wince, mips-pe and sh-pe targets.
1186         * configure: Regenerate.
1187
1188         * dlltool.c: Add support for sh-pe and mips-pe targets.
1189         * rescoff.c: Add support for sh-pe and mips-pe targets.
1190
1191 2000-02-23  H.J. Lu  <hjl@gnu.org>
1192
1193         * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
1194
1195 2000-02-22  Nick Clifton  <nickc@cygnus.com>
1196
1197         * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
1198
1199 2000-02-22  Ian Lance Taylor  <ian@zembu.com>
1200
1201         From Brad Lucier <lucier@math.purdue.edu>:
1202         * readelf.c (process_version_sections): Add casts to make sure
1203         argument to %* is an int.
1204         (process_mips_specific): Add casts to make printf arguments match
1205         format.
1206
1207 2000-02-21  Alan Modra  <alan@spri.levels.unisa.edu.au>
1208
1209         * objdump.c (dump_section_header): Change `opb' to unsigned.
1210         (find_symbol_for_address): Same here.
1211         (disassemble_data): And here.  Change `addr_offset',
1212         `stop_offset', `nextstop_offset' to unsigned long.
1213         (dump_data): Change opb to unsigned.
1214
1215 2000-02-18  Frank Ch. Eigler  <fche@redhat.com>
1216
1217         * resrc.c: Remove unmatched #if for cygwin.
1218
1219 2000-02-14  Fernando Nasser  <fnasser@totem.to.cygnus.com>
1220
1221         * binutils.texi: Document the change of flavor name from atpcs-special
1222         to special-atpcs to prevent name conflict in gdb.
1223
1224 2000-02-08  Timothy Wall  <twall@redhat.com>
1225
1226         * objdump.c (show_line): Fix bug preventing printing of the very
1227         first line (line zero) of a file when interlisting source and
1228         assembly.  Added option to print entire context from start of file
1229         when the first line from that file is encountered.
1230
1231 2000-02-03  Timothy Wall <twall@redhat.com>
1232
1233         * objdump.c (dump_section_header, find_symbol_for_address,
1234         show_line, disassemble_bytes, disassemble_data, dump_data):
1235         distinguish between octets and bytes.
1236
1237 2000-01-27  Thomas de Lellis  <tdel@windriver.com>
1238
1239         * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
1240         check to unresolved symbols.
1241         (print_symbol_info_sysv):  Ditto.
1242         (print_symbol_info_posix):  Ditto.
1243
1244         * binutils.texi: Document new 'V' symclass flag for nm.
1245
1246 2000-01-27  Nick Clifton  <nickc@redhat.com>
1247
1248         * binutils.texi (objdump): Document new ARM specific
1249         disassembler options.
1250
1251         * objdump.c (usage): Call disassembler_usage().
1252
1253 2000-01-27  Alan Modra  <alan@spri.levels.unisa.edu.au>
1254
1255         * readelf.c (get_dynamic_flags): Return buff.
1256         (process_dynamic_segment): Don't pass error strings to printf
1257         as format arg.
1258         (read_and_display_attr): Use lx and ld to print longs.
1259         (process_corefile_note_segment): Cast bfd_vma to unsigned long
1260         before printing.
1261         Update copyright.
1262
1263 2000-01-17  Nick Clifton  <nickc@cygnus.com>
1264
1265         * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
1266
1267 2000-01-15  Alan Modra  <alan@spri.levels.unisa.edu.au>
1268
1269         * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
1270         false.
1271         (debug_tag_type): Here too.
1272         * ieee.c (ieee_builtin_type): And here.
1273         * stabs.c (parse_stab_type, parse_stab_array_type): And here.
1274
1275 2000-01-13  Nick Clifton  <nickc@cygnus.com>
1276
1277         * readelf.c (get_machine_name): Change EM_S370 to return "IBM
1278         System/370".
1279
1280 2000-01-11  Nick Clifton  <nickc@cygnus.com>
1281
1282         * readelf.c (get_dynamic_type): Remove DT_ENCODING.
1283
1284 2000-01-10  Nick Clifton  <nickc@cygnus.com>
1285
1286         * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
1287
1288 2000-01-07  Mumit Khan  <khan@xraylith.wisc.edu>
1289
1290         * windres.c (long_options): Add --use-temp-file and
1291         --no-use-temp-file options.
1292         (usage): Document.
1293         (main): Handle.
1294
1295         * windres.h: Update read_rc_file prototype.
1296
1297         * resrc.c (cpp_temp_file): New static variable.
1298         (istream_type): New static variable.
1299         (close_pipe): Delete function.
1300         (run_cmd): New static function.
1301         (open_input_stream): New static function.
1302         (close_input_stream): New static function.
1303         (look_for_default): Handle DOS directory separator. Use
1304         open_input_stream instead of popen.
1305         (read_rc_file): Likewise.
1306
1307         * binutils.texi: Document --use-temp-file, --no-use-temp-file
1308         options.
1309
1310 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
1311
1312         * dlltool.c (create_compat_implib): New variable.
1313         (gen_exp_file): Use.
1314         (make_one_lib_file): Use.
1315         (long_options): Add --compat-implib option.
1316         (usage): Handle.
1317         (main): Handle.
1318
1319         * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
1320         (main): Use. Don't look for "32" in cygwin and mingw target names.
1321
1322 2000-01-03  Nick Clifton  <nickc@cygnus.com>
1323
1324         * binutils.texi: Document new, ARM specific disassembler
1325         command line switch "-M force-thumb".
1326
1327 For older changes see ChangeLog-9899
1328 \f
1329 Local Variables:
1330 mode: change-log
1331 left-margin: 8
1332 fill-column: 74
1333 version-control: never
1334 End: