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