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