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