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