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