OSDN Git Service

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