OSDN Git Service

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