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