* readelf.c (guess_is_rela): Handle EM_IQ2000.
[external/binutils.git] / binutils / ChangeLog
1 2003-01-02  Ben Elliston  <bje@redhat.com>
2
3         * readelf.c (guess_is_rela): Handle EM_IQ2000.
4         (get_machine_name): Likewise.
5         (dump_relocations): Likewise.
6         * NEWS: Mention IQ2000 support.
7
8 2003-01-02  Richard Sandiford  <rsandifo@redhat.com>
9
10         * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_32R2.
11
12 2002-12-30  Chris Demetriou  <cgd@broadcom.com>
13
14         * doc/binutils.texi (objdump): Note MIPS HWR (Hardware Register)
15         changes in MIPS -M options.
16
17 2002-12-30    Dmitry Diky <diwil@mail.ru>
18
19         * Makefile.am: Add msp430 target.
20         * Makefile.in: Regenerate.
21         * readelf.c: Add support for msp430 target.
22
23 2002-12-27  Chris Demetriou  <cgd@broadcom.com>
24
25         * doc/binutils.texi (objdump): Document MIPS -M options.
26
27 2002-12-23  Andreas Schwab  <schwab@suse.de>
28
29         * readelf.c (main): Reset dump request after each file.
30
31 2002-12-23  Nick Clifton  <nickc@redhat.com>
32
33         * nlmconv.c (main): Pass TRUE as third argument to
34         bfd_arch_get_compatible.
35
36 2002-12-23  Nick Clifton  <nickc@redhat.com>
37
38         * strings.c (isgraphic): Replace definition with STRING_ISGRAPHIC
39         macro.  Handle 'S' encoding, accepting 8-bit characters.
40         (main): Parse 'S' encoding.
41         (get_char): Accept 'S' encoding.
42         (print_strings): Use STRING_ISGRAPHIC.
43         (usage): Document support of 'S' encoding.
44         * doc/binutils.texi: Document support of 'S' encoding/
45         * NEWS: Mention new feature.
46
47 2002-12-20  Alan Modra  <amodra@bigpond.net.au>
48
49         * README <building ar>: Don't use libibery's needed_list or
50         required_list, instead link libiberty/*.o.
51
52 2002-12-19  Kazu Hirata  <kazu@cs.umass.edu>
53
54         * doc/binutils.texi: Fix typos.
55
56 2002-12-14  John David Anglin  <dave@hiauly1.hia.nrc.ca>
57
58         * doc/binutils.texi: Add missing parenthesis.
59
60 2002-12-15  Nick Kelsey  <nickk@ubicom.com>
61
62         * objcopy.c: Add --prefix-symbols=<prefix> option to rename all
63         symbols by adding the given prefix to the begining of the symbol
64         name. This is useful to provide name space seperation regardless
65         of how the object file was created. Added --prefix-sections=
66         <prefix> and --prefix-alloc-sections=<prefix> options to rename all
67         sections (or all sections with the alloc flag set) by adding the given
68         prefix to the begining of the symbol name.
69         * NEWS: Mention this new feature.
70         * doc/binutils.texi: Document this new feature.
71
72 2002-12-13  Alan Modra  <amodra@bigpond.net.au>
73
74         * dlltool.c (mcore_elf_gen_out_file): Replace all occurrences of
75         dyn_string_append with dyn_string_append_cstr.
76
77         * emul_aix.c (ar_emul_aix_create): Remove unused function.
78
79 2002-12-10  James Cownie <jcownie@etnus.com>
80
81         * readelf.h (get_TAG_name, get_AT_name,
82         read_and_display_attr_value): Add support for UPC extensions to
83         DWARF2 spec.
84         * NEWS: Mention this new support.
85
86 2002-12-08  Alan Modra  <amodra@bigpond.net.au>
87
88         * NEWS: Mention that bfd no longer declares a "boolean" type.
89
90 2002-12-07  Alan Modra  <amodra@bigpond.net.au>
91
92         * readelf.c (process_program_headers): When setting loadaddr, don't
93         assume segment size is 4k.  Use p_align instead.
94         (loadaddr): Change from int to long.
95         (dynamic_addr, dynamic_info, version_info): Likewise.
96         (process_dynamic_segment <syminsz>): Likewise.
97         (process_dynamic_segment): Adjust print format string.
98         (rela_addr, rela_size): Delete.
99         (process_relocs): Formatting.
100
101 2002-12-05  Jim Wilson  <wilson@redhat.com>
102
103         * configure.in (OBJDUMP_DEFS): Define SKIP_ZEROES as 16 for IA-64.
104         * configure: Regenerate.
105
106 2002-12-04  Ian Lance Taylor  <ian@airs.com>
107
108         * MAINTAINERS: Change e-mail address back to airs.com.
109
110 2002-12-04  Aldy Hernandez  <aldyh@redhat.com>
111
112         * MAINTAINERS: Add self.
113
114 2002-11-30  Alan Modra  <amodra@bigpond.net.au>
115
116         * addr2line.c, ar.c, arsup.c, binemul.c, binemul.h, bucomm.c, bucomm.h,
117         budbg.h, debug.c, debug.h, dlltool.c, emul_aix.c, ieee.c, nlmconv.c,
118         nlmconv.h, nlmheader.y, nm.c, objcopy.c, objdump.c, prdbg.c, rdcoff.c,
119         rddbg.c, readelf.c, rename.c, size.c, stabs.c, strings.c,
120         unwind-ia64.h, wrstabs.c: Replace boolean with bfd_boolean, true with
121         TRUE, false with FALSE.  Simplify comparisons of bfd_boolean vars
122         with TRUE/FALSE.  Formatting.
123
124 2002-11-29  Jakub Jelinek  <jakub@redhat.com>
125
126         * readelf.c Replace occurrences of Elf32_Internal_* and
127         Elf64_Internal_* with Elf_Internal_*.
128         (slurp_rel_relocs): Change Elf_Internal_Rel to Elf_Internal_Rela.
129         Zero r_addend fields.
130         (dump_relocations): Remove relas variable, change Elf_Internal_Rel to
131         Elf_Internal_Rela.
132
133 2002-11-23  Nick Clifton  <nickc@redhat.com>
134
135         * size.c (usage): Fix typo describing switch for hex format.
136
137 2002-11-18  Svein E. Seldal  <Svein.Seldal@solidas.com>
138
139         * testsuite/binutils-all/objcopy.exp: Disable tic4x from test
140         * testsuite/binutils-all/objdump.exp: Setup proper values for tic4x
141         testcase
142
143 2002-11-14  Nick Clifton  <nickc@redhat.com>
144
145         * readelf.c (process_program_headers): Add comment about return
146         value.  Ensure that 0 is returned if the headers are not loaded.
147         (process_file): If process_section_headers failed to load the
148         headers disable any tests that rely upon them.  Similarly for
149         process_program_headers.
150
151 2002-11-12  Nick Clifton  <nickc@redhat.com>
152
153         * po/da.po: Updated Danish translation.
154
155 2002-11-12  Klee Dienes  <kdienes@apple.com>
156
157         * rddbg.c (read_section_stabs_debugging_info): Also recognize
158         LC_SYMTAB.stab/LC_SYMTAB.stabstr as a valid pair of sections.
159
160 2002-11-11  Christopher Faylor  <cgf@redhat.com>
161
162         * MAINTAINERS: Reinstate DJ Delorie as COFF maintainer.  Drop COFF from
163         cgf maintainership.
164
165 2002-11-11  Christopher Faylor  <cgf@redhat.com>
166
167         * MAINTAINERS: Replace DJ Delorie as PE/COFF maintainer.
168
169 2002-11-07  Nick Clifton  <nickc@redhat.com>
170
171         * configure.in (ALL_LINGUAS): Add 'da'.
172         * configure: Regenerate.
173         * po/da.po: New Danish translation.
174
175         * readelf.c (get_symbol_index_type): Revert part of previous
176         patch: Display unknown symbol types in decimal, not hex.
177
178 2002-11-07  Danny Smith  <dannysmith@users.sourceforge.net>
179
180         * dlltool.c (add_excludes): Don't prefix excluded fastcall
181         symbols with underscore.
182         (xlate): Ignore add_underscore for decorated fastcall symbols.
183
184 2002-11-07  Eric Kohl  <ekohl@rz-online.de>
185
186         * deflex.l: Accept '@' as first character of an ID.
187         * dlltool.c (gen_exp_file): Use existing '@' prefix rather than
188         ASM_PREFIX for fastcall symbols.
189         (scan_drectve_symbols): Handle fastcall symbols when generating
190         undecorated aliases for symbols in drectve section.
191         (scan_filtered_symbols): Likewise, with export-all.
192         (xlate): Likewise, with --kill-at.
193         (make_imp_label): New function to handle fastcall symbols
194         correctly.
195         (make_one_lib_file): Use make_imp_label instead of make_label
196         for imp symbols.
197
198 2002-11-06  Svein E. Seldal  <Svein.Seldal@solidas.com>
199
200         * MAINTAINERS: Add self as TIC4X maintainer.
201
202 2002-11-06  Hiroyuki Machida  <machida@sm.sony.co.jp>
203
204         * readelf.c (get_symbol_index_type): Add hex number to
205         PROCESSOR-specific, OS-specific, reserved and unknown symbol
206         types.
207
208 2002-11-04  Alan Modra  <amodra@bigpond.net.au>
209
210         * readelf.c (byte_get_little_endian): Comment typo fix.
211         (print_symbol): Constify "symbol" arg.  Don't pass "symbol" to printf
212         as the format string.
213         (dump_relocations): Correct section sym names.
214         (process_section_headers): Clear symtab_shndx_hdr.
215         (read_and_display_attr_value): Don't pass indirect string to printf
216         as the format string.
217         (display_debug_frames): Indicate when zero terminator found.  Decode
218         DW_EH_PE_pcrel addresses.
219
220 2002-10-23  Svein E. Seldal  <Svein.Seldal@solidas.com>
221
222         * configure.in: Define SKIP_ZEROES as 32 for tic4x target in
223         order to ensure proper disassembly of the valid 0-value opcode.
224         * configure: Regenerate.
225         * aclocal.m4: Regenerate.
226         * config.in: Regenerate.
227         * configure.in: Regenerate.
228         * doc/Makefile.in: Regenerate.
229         * po/binutils.pot: Regenerate.
230
231 2002-10-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
232
233         * MAINTAINERS: Add self as SH maintainer.
234
235 2002-10-23  Ben Elliston  <bje@redhat.com>
236
237         * doc/binutils.texi (objdump): Document -z and move the entry for
238         --disassemble-zeroes to the end of the options section (for `z').
239
240 2002-10-21  Nick Clifton  <nickc@redhat.com>
241
242         * MAINTAINERS: Discontinue Hans-Peter Nilsson as SH maintainer.
243
244 2002-10-21  Svein E. Seldal  <Svein.Seldal@solidas.com>
245
246         * objdump.c (dump_data): Correct addr_offset for opb != 1.
247
248 2002-10-15  Alan Modra  <amodra@bigpond.net.au>
249
250         * bucomm.c (list_supported_targets): Use bfd_target_list.
251
252         * objcopy.c (copy_file): Report ambiguous bfd_object matches, and
253         other object errors in preference to bfd_core errors.
254
255 2002-10-14  Alan Modra  <amodra@bigpond.net.au>
256
257         * Makefile.am: Run "make dep-am".
258         * objdump.c: #include "bfdver.h".
259         * version.c: Likewise.
260         * Makefile.in: Regenerate.
261         * config.in: Regenerate.
262         * configure: Regenerate.
263         * po/POTFILES.in: Regenerate.
264
265 2002-10-09  Daniel Jacobowitz  <drow@mvista.com>
266
267         * readelf.c (display_debug_info): Ignore empty .rela.debug_info
268         sections.  Allow relocations against the absolute symbol.  Don't
269         use the value in compunit.cu_abbrev_offset if we found a RELA
270         relocation.
271
272 2002-10-07  Gordon Chaffee <chaffee@netvmg.com>
273
274         * addr2line.c (slurp_symtab): Read in dynamic symbols if no
275         ordinary ones are available.
276
277 2002-09-30  H.J. Lu <hjl@gnu.org>
278
279         * readelf.c (get_machine_flags): Handle E_MIPS_MACH_4120,
280         E_MIPS_MACH_5400 and E_MIPS_MACH_5500.
281
282 2002-09-17  Zack Weinberg  <zack@codesourcery.com>
283
284         * Makefile.am (CFILES): Add cxxfilt.c.
285         (cxxfilt_SOURCES): Now just cxxfilt.c $(BULIBS).
286         (cxxfilt_LDADD): Delete.
287         Remove all references to underscore.c.
288         Regen dependencies.
289         * configure.in: Define TARGET_PREPENDS_UNDERSCORE in
290         config.h from $UNDERSCORE, rather than AC_SUBSTing it.
291         * binutils/cxxfilt.c: Moved here from gcc/cp, minor
292         adjustments to fit into binutils framework.
293         * configure, config.in, Makefile.in, doc/Makefile.in: Regenerate.
294
295 2002-09-12  Roland McGrath  <roland@redhat.com>
296
297         * readelf.c (decode_location_expression): DW_OP_calli -> DW_OP_call_ref
298         Handle DW_OP_GNU_push_tls_address.
299
300 2002-09-11  Nick Clifton  <nickc@redhat.com>
301
302         * po/tr.po: Updated Turkish translation.
303
304 2002-09-10  Nick Clifton  <nickc@redhat.com>
305
306         * MAINTAINERS: Add Ben Elliston as a maintainer for configure and
307         testsuite changes.  Add paragraphs about testsuite and config
308         patches.
309
310 2002-08-29  Nick Clifton  <nickc@redhat.com>
311
312         * readelf.c (get_machine_flags): Remove redundant reference to
313         E_V850EA_ARCH.
314
315 2002-08-28  Alan Modra  <amodra@bigpond.net.au>
316
317         * objdump.c (dump_bfd): Restore lines accidentally deleted in
318         last commit.
319
320 2002-08-28  Michael Hayes <m.hayes@elec.canterbury.ac.nz>
321
322         * objdump.c (dump_headers): Add printing of HAS_LOAD_PAGE flag.
323         (dump_bfd_header): Likewise.
324
325 2002-08-27  Alan Modra  <amodra@bigpond.net.au>
326
327         * nm.c: Revert last change.
328
329 2002-08-26  Alan Modra  <amodra@bigpond.net.au>
330
331         * nm.c (display_rel_file): Don't report "no symbols" as an error.
332         * objdump.c (slurp_symtab): Likewise.
333         (slurp_dynamic_symtab): Likewise.
334         (dump_symbols): Likewise.  Do print "no symbols" to stdout.
335
336 2002-08-24  Geoffrey Keating  <geoffk@redhat.com>
337
338         * MAINTAINERS: Change my mailing address.
339
340 2002-08-23  John David Anglin  <dave@hiauly1.hia.nrc.ca>
341
342         * MAINTAINERS: Add Dave Anglin as HPPA co-maintainer.
343
344 2002-08-22  Nick Clifton  <nickc@redhat.com>
345
346         * MAINTAINERS: Add Jeff Law as (maintainance) maintainer for
347         HPPA.
348
349 2002-08-21  John David Anglin  <dave@hiauly1.hia.nrc.ca>
350
351         * readelf.c (parse_args): Change debug_dump_opt to static.
352
353 2002-08-16  Sivaguru Sankaridurg  <siva@eternal-systems.com>
354
355         * stabs.c (parse_stab_argtype): Pass length of physname to
356         stab_demangle_argtypes.
357         (stab_demangle_argtypes): Add new parameter - length of physname.
358         Pass length of physname on to stab_demangle_prefix.
359         (stab_demangle_prefix): Add new parameter - length of physname.
360         Use length of physname (if supplied) to compute end of function
361         name.
362
363 2002-08-15  Alan Modra  <amodra@bigpond.net.au>
364
365         * readelf.c: Include elf/i370.h.
366         (dump_relocations): Handle EM_S370.
367         (dynamic_segment_parisc_val): Print \n.
368         (process_dynamic_segment <DT_BIND_NOW>): Here too.
369
370 2002-08-14  Nick Clifton  <nickc@redhat.com>
371
372         * nm.c (usage): Change 'gnu-new-abi' to 'gnu-v3'.
373         * objdump.c (usage): Likewise.
374         * doc/binutils.texi: Likewise.
375
376 2002-08-14  Luke Dunstan  <infidel@users.sourceforge.net>
377
378         * rcparse.y (acc_entry): Don't warn about ALT use with
379         non-VIRTKEY.
380
381 2002-08-13  H.J. Lu <hjl@gnu.org>
382
383         * objcopy.c (copy_object): Don't warn about the unsupported
384         architecture unless the input target is defaulted or the
385         output architecture is different from the input.
386
387 2002-08-09  Nick Clifton  <nickc@redhat.com>
388
389         * po/sv.po: Updated Swedish translation.
390
391 2002-08-05  Alan Modra  <amodra@bigpond.net.au>
392
393         * prdbg.c (pr_fix_visibility): Remove assert.
394
395 2002-07-31  Nick Clifton  <nickc@redhat.com>
396
397         * addr2line.c (process_file): Rename parameter 'filename' to
398         'file_name' in order to avoid shadowing global symbol of the
399         same name.
400         (main): Likewise.
401
402 2002-07-30  Jakub Jelinek  <jakub@redhat.com>
403
404         * readelf.c (OPTION_DEBUG_DUMP): Define.
405         (options): Use it.
406         (usage): Update help.
407         (parse_args): Handle --debug-dump separately from -w.
408         * doc/binutils.texi (readelf): Update documentation.
409
410 2002-07-25  Nick Clifton  <nickc@redhat.com>
411
412         * po/es.po: Updated Spanish translation.
413         * po/fr.po: Updated French translation.
414
415 2002-07-24  Nick Clifton  <nickc@redhat.com>
416
417         * po/es.po: Updated Spanish translation.
418
419 2002-07-23  Alan Modra  <amodra@bigpond.net.au>
420
421         * Makefile.am: Run "make dep-am".
422         * Makefile.in: Regenerate.
423
424 2002-07-23  Nick Clifton  <nickc@redhat.com>
425
426         * po/fr.po: Updated French translation.
427
428 2002-07-23  Eric S. Raymond  <esr@golux.thyrsus.com>
429
430         * doc/binutils.texi (addr2line <man synopsis>): Correct brackets.
431
432 2002-07-20  Alan Modra  <amodra@bigpond.net.au>
433
434         * budemang.c: Include config.h and string.h/strings.h.
435
436 2002-07-18 Denis Chertykov  <denisc@overta.ru>
437            Frank Ch. Eigler  <fche@redhat.com>
438
439         * readelf.c: Include "elf/ip2k.h".
440         (guess_is_rela): Add support for EM_IP2K and EM_IP2K_OLD.
441         (dump_relocations): Likewise.
442         (get_machine_name): Likewise.
443         * NEWS: Mention IP2K support.
444
445 2002-07-16  Nick Clifton  <nickc@cambridge.redhat.com>
446
447         * NEWS: Add 'Changes in 2.13'.
448
449 2002-07-10  Jakub Jelinek  <jakub@redhat.com>
450
451         * readelf.c (get_dynamic_type): Handle DT_GNU_PRELINKED,
452         DT_GNU_CONFLICT* and DT_GNU_LIBLISZ*.
453         (get_section_type_name): Handle SHT_GNU_LIBLIST.
454         (process_dynamic_segment): Handle DT_GNU_CONFLICTSZ,
455         DT_GNU_LIBLISTSZ and DT_GNU_PRELINKED.
456         (process_gnu_liblist): New.
457         (process_file): Call it.
458
459 2002-07-03  Alan Modra  <amodra@bigpond.net.au>
460
461         * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
462         * Makefile.in: Regenerate.
463
464 2002-07-02  Alan Modra  <amodra@bigpond.net.au>
465
466         * budemang.c: New file, "demangle" function.
467         * budemang.h: New file.
468         * addr2line.c (translate_addresses): Use "demangle".
469         * nm.c (print_symname): Likewise.
470         * objdump.c (objdump_print_symname): Likewise.
471         (dump_symbols): Likewise.  Also, don't use bfd_asymbol_name macro
472         here since that obfuscates.
473         * rdcoff.c: Don't #include demangle.h.
474         * Makefile.am (CFILES): Add budemang.c, emul_aix.c,
475         emul_vanilla.c.  Remove emul_$(EMULATION).c.  Sort.
476         (HFILES): Add budemang.h.  Sort.
477         (nm_new_SOURCES, objdump_SOURCES, addr2line_SOURCES): Add budemang.c.
478         Run "make dep-am".
479         * Makefile.in: Regenerate.
480
481 2002-07-01  Matt Thomas  <matt@3am-software.com>
482
483         * readelf.c: Include "elf/vax.h".
484         (guess_is_rela): Move EM_VAX from unknown to RELA case.
485         (dump_relocations): Handle VAX relocations.
486         (get_machine_flags): Handle VAX machine flags.
487
488 2002-06-29  Stephane Carrez  <stcarrez@nerim.fr>
489
490         * readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.
491
492 2002-06-26  Nick Clifton  <nickc@cambridge.redhat.com>
493
494         * MAINTAINERS: Remove Tom Rix from d10v and pcc maintainerships.
495
496 2002-06-26  Alan Modra  <amodra@bigpond.net.au>
497
498         * nm.c (print_symname): When demangling, strip leading dots from
499         symbol names to avoid confusing the demangler.
500
501 2002-06-25  H.J. Lu <hjl@gnu.org>
502
503         * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
504         * Makefile.in: Regenerated.
505
506 2002-06-21  Igor Schein  <igor@txc.com>
507
508         * configure.in: Quote bu_cv_have_fopen64.
509         * configure: Regenerate.
510
511 2002-06-21  Mitsru Chinen  <chinen@jp.ibm.com>
512
513         * configure.in: Check for strcoll.
514         * configure: Regenerate.
515         * config.in: Regenerate.
516         * nm.c (main): Set locale for LC_COLLATE category.
517         (non_numeric_forward): Use strcoll if available.
518
519 2002-06-20  Dave Brolley  <brolley@redhat.com>
520
521         * MAINTAINERS: Add self as fr30 and frv maintainer.
522
523 2002-06-18  H.J. Lu  (hjl@gnu.org)
524
525         * nm.c: Include "elf/common.h".
526         (extended_symbol_info): Add elfinfo, a pointer to
527         elf_symbol_type.
528         (SYM_SIZE): Use elfinfo if it is not NULL.
529         (get_symbol_type): New function.
530         (display_archive): Set print_width for each archive member.
531         (display_file): Likewise.
532         (display_rel_file): Don't set print_width here.
533         (print_object_filename_sysv): Handle print_width.
534         (print_archive_member_sysv): Likewise.
535         (print_symbols): Pass (bfd_vma) 0 to print_symbol.
536         (print_symbol): Set the elfinfo field in extended_symbol_info
537         for ELF.
538         (print_object_filename_sysv): Fix the output format.
539         (print_symbol_info_sysv): Print type and section for ELF.
540
541 2002-06-18  Elias Athanasopoulos  <eathan@otenet.gr>
542
543         * nm.c (print_size_symbols): Remove assignment, which makes
544         the symbol's size equal to its value when --size-sort is
545         used.
546
547 2002-06-18  Dave Brolley  <brolley@redhat.com>
548
549         From Catherine Moore:
550         * readelf.c (elf/frv.h): #include it.
551         (guess_is_rela): Support EM_CYGNUS_FRV.
552         (dump_relocations): Ditto.
553         (get_machine_name): Ditto.
554         * Makefile.am (readelf.o): add dependency on $(INCDIR)/elf/frv.h.
555
556 2002-06-18  Jakub Jelinek  <jakub@redhat.com>
557
558         * readelf.c (get_file_header): Only read the first section header if
559         e_shoff is non-zero.
560
561 2002-06-15  H.J. Lu  (hjl@gnu.org)
562
563         * nm.c (print_size): New variable. Initialize to 0.
564         (long_options): Add 'S'/"print-size".
565         (main): Handle 'S'.
566         (print_symbol_info_bsd): Print size only if print_size is not
567         0.
568
569         * doc/binutils.texi: Document -S/--print-size.
570
571 2002-6-13  Elias Athanasopoulos  <eathan@otenet.gr>
572
573         * nm.c (struct extended_symbol_info): New strcuture: Add the size
574         of the symbols to the information provided by the symbol_info
575         structure.
576         (print_symbols): Pass the symbol size to print_symbol.
577         (print_size_symbols): Pass the symbol size to print_symbol.
578         (print_symbol): Extra argument: The size of the symbol.  Store
579         this in the extended_symbol_info structure.
580         (print_symbol_info): Change type of info parameter to
581         extended_symbol_info.  Display the size, if known.
582         (print_symbol_info_posix): Likewise.
583         (print_symbol_info_sysv): Likewise.
584
585 2002-06-08  Alan Modra  <amodra@bigpond.net.au>
586
587         * Makefile.am: Run "make dep-am".
588         * Makefile.in: Regenerate.
589         * doc/Makefile.in: Regnerate.
590
591         * bucomm.c: Replace CONST with const.
592         * nm.c: Likewise.
593         * objdump.c: Likewise.
594
595 2002-06-07  H.J. Lu <hjl@gnu.org>
596
597         * readelf.c (DW_CFA_GNU_args_size): Don't define.
598         (DW_CFA_GNU_negative_offset_extended): Likewise.
599         (DW_CFA_GNU_window_save): Likewise.
600         (display_debug_frames): Handle DW_CFA_offset_extended_sf,
601         DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
602
603 2002-06-07  Elias Athanasopoulos  <eathan@otenet.gr>
604
605         * nm.c: When computing size of symbols for an ELF target use the
606         internal size field.
607
608 2002-06-06  John David Anglin  <dave@hiauly1.hia.nrc.ca>
609
610         * testsuite/binutils-all/objcopy.exp: clear xfail for
611         "hppa*64*-*-hpux*".
612         * testsuite/binutils-all/hppa/objdump.exp: Return if
613         "*64*-*-*".
614
615 2002-06-05  Alan Modra  <amodra@bigpond.net.au>
616
617         * objcopy.c (copy_section): Don't copy SEC_GROUP sections.
618
619 2002-06-03  Elias Athanasopoulos  <eathan@otenet.gr>
620
621         * objdump.c: Fix formatting.
622
623 2002-05-29  Ben Elliston  <bje@redhat.com>
624
625         * MAINTAINERS: Add self as M68k maintainer.
626
627 2002-05-28  Kuang Hwa Lin <kuang@sbcglobal.net>
628
629         * readelf.c: Modified/Added DLX elf support.
630
631 2002-05-27  Nick Clifton  <nickc@cambridge.redhat.com>
632
633         * arsup.c: Fix formatting.
634         * debug.c (debug_record_label): Add missing colon to error
635         message.
636         * ieee.c (parse_ieee_ty): Fix spelling typo.
637         * readelf.c (process_program_headers): Remove English assumption
638         about making a plural word.
639         (process_section_headers): Likewise.
640         (process_relocs): Allow quotes to be translated.
641         (process_unwind): Likewise,
642         (process_mips_specific): Improve error message.
643         (get_note_type): Fix spelling typo.
644
645         * configure.in (ALL_LINGUAS): Add sv
646         * po/sv.po: New file.
647
648 2002-05-27  Alan Modra  <amodra@bigpond.net.au>
649
650         * unwind-ia64.c (unw_print_brmask): Don't use sprintf.
651         (unw_print_grmask): Likewise.
652         (unw_print_frmask): Likewise.
653
654 2002-05-26  Kazu Hirata  <kazu@cs.umass.edu>
655
656         * arsup.c: Remove ARGSUSED.
657         * debug.c: Likewise.
658         * ieee.c: Likewise.
659         * nlmconv.c: Likewise.
660         * prdbg.c: Likewise.
661         * stabs.c: Likewise.
662         * wrstabs.c: Likewise.
663
664 2002-05-25  Alan Modra  <amodra@bigpond.net.au>
665
666         * arlex.l: Use #include "" instead of <> for local header files.
667         * coffdump.c: Likewise.
668         * coffgrok.c: Likewise.
669         * nlmconv.c: Likewise.
670         * nlmheader.y: Likewise.
671         * srconv.c: Likewise.
672         * strings.c: Likewise.
673         * sysdump.c: Likewise.
674         * unwind-ia64.h: Likewise.
675         * windres.h: Likewise.
676         * winduni.h: Likewise.
677
678 2002-05-24  Tom Rix  <trix@redhat.com>
679
680         * MAINTAINERS: Add self as the d10v maintainer.
681
682 2002-05-24   TAMURA Kent <kent@netbsd.org>
683
684         * configure.in: Builds dlltool for i386-netbsdpe.
685         * configure: Regenerate.
686
687 2002-05-23  Kazu Hirata  <kazu@cs.umass.edu>
688
689         * size.c: Fix formatting.
690         * srconv.c: Likewise.
691         * stabs.c: Likewise.
692         * sysdump.c: Likewise.
693         * unwind-ia64.c: Likewise.
694         * wrstabs.c: Likewise.
695
696 2002-05-23  Jakub Jelinek  <jakub@redhat.com>
697
698         * readelf.c (get_segment_type): Add PT_TLS.
699         (get_elf_section_flags): Add SHF_TLS.
700         (get_dynamic_flags): Optimize.  Add DF_STATIC_TLS.
701         (process_dynamic_segment): Use puts instead of printf.
702         (get_symbol_type): Support STT_TLS.
703         * objdump.c (dump_section_header): Remove SEC_CONSTRUCTOR_TEXT,
704         SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS.
705         Add SEC_THREAD_LOCAL.
706
707 2002-05-23  Kazu Hirata  <kazu@cs.umass.edu>
708
709         * rdcoff.c: Fix formatting.
710         * rddbg.c: Likewise.
711         * readelf.c: Likewise.
712         * rename.c: Likewise.
713         * resbin.c: Likewise.
714         * resrc.c: Likewise.
715         * resres.c: Likewise.
716
717 2002-05-21  Kazu Hirata  <kazu@cs.umass.edu>
718
719         * filemode.c: Fix formatting.
720         * ieee.c: Likewise.
721         * is-ranlib.c: Likewise.
722         * is-strip.c: Likewise.
723         * maybe-ranlib.c: Likewise.
724         * maybe-strip.c: Likewise.
725         * nlmconv.c: Likewise.
726         * nm.c: Likewise.
727         * not-ranlib.c: Likewise.
728         * not-strip.c: Likewise.
729         * objcopy.c: Likewise.
730         * objdump.c: Likewise.
731
732 2002-05-21  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
733
734         * objdump.c (dump_headers): Fix output formatting for ELF32
735         architectures in a BFD64 enabled toolchain.
736
737 2002-05-20  Kazu Hirata  <kazu@cs.umass.edu>
738
739         * debug.c: Fix formatting.
740         * debug.h: Likewise.
741         * dlltool.c: Likewise.
742         * dllwrap.c: Likewise.
743         * emul_aix.c: Likewise.
744         * emul_vanilla.c: Likewise.
745
746 2002-05-19  Kazu Hirata  <kazu@cs.umass.edu>
747
748         * addr2line.c: Fix formatting.
749         * ar.c: Likewise.
750         * arsup.c: Likewise.
751         * arsup.h: Likewise.
752         * binemul.c: Likewise.
753         * binemul.h: Likewise.
754         * bucomm.c: Likewise.
755         * coffdump.c: Likewise.
756         * coffgrok.c: Likewise.
757         * coffgrok.h: Likewise.
758
759 2002-05-16  Marek Michalkiewicz  <marekm@amelek.gda.pl>
760
761         * MAINTAINERS: Add myself as the second AVR port maintainer.
762
763 2002-05-16  Stephane Carrez  <stcarrez@nerim.fr>
764
765         * MAINTAINERS: Update my email address.
766
767 2002-05-09  Nick Clifton  <nickc@cambridge.redhat.com>
768
769         * MAINTAINERS: Add Jason Thorpe as VAX maintainer.
770
771 2002-05-09  Alan Modra  <amodra@bigpond.net.au>
772
773         * configure.in: Replace `*pe' with `pe' throughout.
774         * configure: Regenerate.
775
776 2002-05-07  Federico G. Schwindt <fgsch@olimpo.com.br>
777
778         * Makefile.am: Honour DESTDIR.
779         * Makefile.in: Regenerate.
780
781 2002-05-06  Alan Modra  <amodra@bigpond.net.au>
782
783         * dlltool.c (process_def_file): Add missing prototype.
784         (new_directive, assemble_file, main): Likewise.
785         (process_def_file, new_directive): Make static.
786         (inform): Rewrite using VA_FIXEDARG.
787         * dllwrap.c (mybasename): Add missing prototype.
788         (strhash, main): Likewise.
789         (inform): Rewrite using VA_FIXEDARG.
790         (warn): Likewise.
791         (cleanup_and_exit): Use old style function definition.
792         (strhash): Likewise.
793         * windres.c (define_resource): Use one memset to clear all of
794         struct res_resource.
795
796         * rcparse.y: Remove newcmd rule.  Move rcparse_discard_strings
797         call to rules that need no lookahead.  Check for no lookahead.
798
799 2002-05-06  Borut Razem  <borut.razem@siol.net>
800
801         * rclex.l (get_string): Correct "strings" list handling.
802         * resrc.c (read_rc_file): Discard strings.
803
804 2002-05-04  Alan Modra  <amodra@bigpond.net.au>
805
806         * ar.c (replace_members): Remove unused var.  Formatting fix.
807         * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
808
809         * MAINTAINERS: Sort port maintainers by CPU.
810
811 2002-05-04  Bob Byrnes  <byrnes@curl.com>
812
813         * size.c (display_archive): Add last_arfile and code to close archives.
814
815 2002-05-01  Alan Modra  <amodra@bigpond.net.au>
816
817         * nm.c (print_symbol): Check returned filename from
818         bfd_find_nearest_line is non-NULL.
819
820 2002-04-25  Elena Zannoni <ezannoni@redhat.com>
821
822         * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
823
824 2002-04-24  Christian Groessler <chris@groessler.org>
825
826         * MAINTAINERS: Changed my email address.
827
828 2002-04-17  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
829
830         * arparse.y: Fix syntax warning.
831
832 2002-04-16  Nick Clifton  <nickc@cambridge.redhat.com>
833
834         * readelf.c (fetch_location_list): Remove unused function.
835
836         * readelf.c (process_corefile_note_segment): Catch corrupt notes
837         and display a warning message, then exit the loop.
838
839         * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
840
841 2002-04-15  Nick Clifton  <nickc@cambridge.redhat.com>
842
843         * resrc.c (write_rc_dialog): If charset is non-default value
844         display all of the DIALOGEX parameters.
845
846 2002-04-15  Eric Kohl <ekohl@rz-online.de>
847
848         * rcparse.y: Allow two to five parameter in FONT statement of
849         DIALOGEX resources.
850         * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
851         resource data.
852         (res_to_bin_dialog): Likewise.
853         * windres.h: Added misssing charset variable to dialog_ex
854         structure.
855
856 2002-04-10  Nick Clifton  <nickc@cambridge.redhat.com>
857
858         * rcparse.y: Set MEMFLAG_PURE by default.
859
860 2002-04-09  Bernd Herd <info@herdsoft.com>
861
862         * rcparse.y: CLASS definitions in DIALOG resources
863         are quoted.
864         Fix typo in BEDIT warning.
865         Don't add default dialog style when explicit style specified.
866         Add WS_CAPTION dialog style if CAPTION is specified.
867
868         * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
869         (handle_quotes) "\a" escape (used for right justified key
870         definitions in menus) is encodes as binary 8.
871
872         * resrc.c (write_rc_dialog): Print style even if it is 0.
873         (write_rc_directory): Fix overlooked sublang shift bug.
874         (bin_to_res_dialog): Don't print empty dialog caption.
875
876         * resbin.c (bin_to_res_dialog): Use signature to identify
877         DIALOGEX.
878
879         * windres.c (main): Set default LANGUAGE to english/us.
880
881 2002-04-09  Gunnar Degnbol <degnbol@danbbs.dk>
882
883         * resrc.c: print CLASS names in quotes
884
885 2002-04-09  J"orn Rennecke <joern.rennecke@superh.com>
886
887         * MAINTAINERS: Update my email address.
888
889 2002-04-04  Alan Modra  <amodra@bigpond.net.au>
890
891         * dep-in.sed: Cope with absolute paths.
892         * Makefile.am (dep.sed): Subst TOPDIR.
893         Run "make dep-am".
894         * Makefile.in: Regenerate.
895
896 2002-03-27  Peter Targett  <peter.targett@arc.com>
897
898         * MAINTAINERS: Update my email address.
899
900 2002-03-21  Alan Modra  <amodra@bigpond.net.au>
901
902         * Makefile.am: Run "make dep-am".
903         * Makefile.in: Regenerate.
904         * doc/Makefile.in: Regenerate.
905         * po/POTFILES.in: Regenerate.
906         * aclocal.m4: Regenerate.
907         * config.in: Regenerate.
908         * configure: Regenerate.
909
910 2002-03-20  Daniel Berlin  <dan@dberlin.org>
911
912         * readelf.c: Add support for displaying dwarf2 location lists.
913         (do_debug_loc, debug_loc_section, debug_loc_size): New.
914         (parse_args): Use 'O' as shorthand for displaying location list
915         section.
916         (process_section_headers): Handle debug_loc as well.
917         (load_debug_loc): New.
918         (free_debug_loc): New.
919         (fetch_location_list): New.
920         (display_debug_loc): New.
921         (display_debug_info): Call load_debug_loc and free_debug_loc.
922         (debug_displays): We can display .debug_loc now, too.
923         (usage): Update usage string.
924         (read_and_display_attr_value): Note location lists, but don't
925         display them inline.
926
927 2002-03-18  Tom Rix  <trix@redhat.com>
928
929         * Makefile.am: Add binutils emulation support.
930         * configure.in: Same.
931         * configure.tgt: New file.  Same.
932         * ar.c (main): Use ar_emul_parse_arg.
933         (usage): Use ar_emul_usage.
934         (replace_members): Use ar_emul_replace, ar_emul_append.
935         * binemul.c: New file.  Define the binutils emulation
936         layer. Define default methods.
937         * binemul.h: New file.  Binutils emulation layer header file.
938         * emul_aix.c: New file.  AIX binutils emulation.
939         * emul_vanilla.c: New file. Default binutils emulation.
940         * Makefile.in: Regenerate.
941         * configure: Same.
942
943 2002-03-18  Nick Clifton  <nickc@cambridge.redhat.com>
944
945         * po/fr.po: Updated version.
946
947 2002-03-13  Nick Clifton  <nickc@cambridge.redhat.com>
948
949         * po/fr.po: Updated version.
950
951 2002-03-07  Daniel Jacobowitz  <drow@mvista.com>
952
953         * README: Update some version numbers.
954
955 2002-03-07  Daniel Jacobowitz  <drow@mvista.com>
956
957         * doc/binutils.texi (Target Selection): Fix LD crossreferences.
958         (Architecture Selection): Likewise.
959
960 2002-03-01  Dmitry Timoshkov <dmitry@baikal.ru>
961
962         * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
963         generating .exp file.
964
965 2002-02-21  Nick Clifton  <nickc@cambridge.redhat.com>
966
967         * readelf.c (dump_relocations): Fix typo.
968
969 2002-02-20  Nick Clifton  <nickc@cambridge.redhat.com>
970
971         * NEWS: Mark 2.12 branch.
972
973 2002-02-18  Timothy Daly  <remote_bob@yahoo.com>
974
975         * readelf.c (dump_relocations): Display 2nd and 3rd reloc
976         types for 64-bit MIPS.  Narrow some fields for 80-char
977         output.
978         (dump_relocations): Change spelling from 'unrecognised'
979         to 'unrecognized'.
980         (decode_ARM_machine_flags): Likewise.
981         (parse_args): Likewise.
982         (read_and_display_attr_value): Likewise.
983         (display_debug_section): Likewise.
984
985 2002-02-15  Hans-Peter Nilsson  <hp@bitrange.com>
986
987         * NEWS: Mention support for MMIX.
988
989 2002-02-13  Matt Fredette  <fredette@netbsd.org>
990
991         * readelf.c (get_machine_flags): Recognize EF_M68000.
992
993 2002-02-12  Alexandre Oliva  <aoliva@redhat.com>
994
995         * MAINTAINERS: Added self as MN10300 co-maintainer.
996
997 2002-02-12  Alan Modra  <amodra@bigpond.net.au>
998
999         * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
1000         DT_PPC64_OPDSZ.
1001
1002 2002-02-11  Daniel Jacobowitz  <drow@mvista.com>
1003
1004         * MAINTAINERS: List myself as branch maintainer.
1005
1006 2002-02-11  Alan Modra  <amodra@bigpond.net.au>
1007
1008         * configure: Regenerate.
1009         * objcopy.c: Update copyright date.
1010         * doc/Makefile.in: Regenerate.
1011
1012 2002-02-10  Daniel Jacobowitz  <drow@mvista.com>
1013
1014         * nlmconv.c: Back out localtime PARAMS change.
1015
1016 2002-02-11  Alan Modra  <amodra@bigpond.net.au>
1017
1018         * objcopy.c (MKDIR): Define.
1019         (copy_archive): Make name_list.name const.  Use MKDIR.
1020         Handle duplicate files in archives by making more temp dirs.
1021
1022 2002-02-10  Daniel Jacobowitz  <drow@mvista.com>
1023
1024         * coffdump.c: Include "getopt.h" after "bucomm.h"
1025         so that macros are defined correctly.
1026         * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
1027         prototype.  Prototype main.
1028         * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
1029
1030 2002-02-06  Alexandre Oliva  <aoliva@redhat.com>
1031
1032         * MAINTAINERS: Added self as SH co-maintainer.
1033
1034 2002-02-05  Nick Clifton <nickc@redhat.com>
1035
1036         * po/tr.po: Updated translation.
1037
1038 2002-02-01  Alan Modra  <amodra@bigpond.net.au>
1039
1040         * Makefile.am: Run "make dep-am"
1041         * Makefile.in: Regenerate.
1042
1043 2002-01-29  Daniel Jacobowitz  <drow@mvista.com>
1044
1045         * nm.c (print_value): Mark abfd unused.
1046
1047 2002-01-29  Daniel Jacobowitz  <drow@mvista.com>
1048
1049         * unwind-ia64.c (unw_decoder): Change second argument
1050         to unsigned int, to match function prototypes.
1051
1052 2002-01-29  Daniel Jacobowitz  <drow@mvista.com>
1053
1054         * objdump.c: Include "getopt.h" after "bucomm.h" so that
1055         __GNU_LIBRARY__ will be defined.
1056         * size.c: Likewise.
1057
1058 2002-01-27  Daniel Jacobowitz  <drow@mvista.com>
1059
1060         * configure: Regenerated.
1061
1062 2002-01-26  Hans-Peter Nilsson  <hp@bitrange.com>
1063
1064         * doc/Makefile.am (install): Depend on install-info.
1065         * doc/Makefile.in: Regenerate.
1066
1067 2002-01-25  Jason R. Thorpe <thorpej@wasabisystems.com>
1068
1069         * objcopy.c (strip_usage): Document -d as an alias
1070         --strip-debug.
1071
1072         * size.c (usage): Document [-t | --totals] options.
1073         (long_options): Add --totals option.
1074         (main): If the [-t | --totals] option is specified and
1075         the output format is Berkeley-style, print the total
1076         text, data, and bss sizes of all objects listed.
1077         (print_berkeley_format): If the [-t | --totals] option
1078         is specified, track the total text, data, and bss
1079         sizes.
1080         * doc/binutils.texi (size): Document [-t | --totals] options.
1081         (strip): Document -d as an alias for --strip-debug.
1082         * NEWS: Mention new feature of size.
1083
1084 2002-01-25  Nick Clifton  <nickc@cambridge.redhat.com>
1085
1086         * po/fr.po: Updated version.
1087         * po/es.po: Updated version.
1088
1089 2002-01-23  Nick Clifton  <nickc@cambridge.redhat.com>
1090
1091         * addr2line.c (usage): Update text to provide verbose
1092         description of the command line options.
1093         * ar.c (usage): Update text to provide verbose
1094         description of the command line options.
1095         (main): Accept -h and -H when running as ranlib.
1096         * coffdump.c (show_usage): Update text to provide verbose
1097         description of the command line options.
1098         * dlltool.c (main): Accept -H as an alias for --help.
1099         * nlmconv.c (show_usage): Update text to provide verbose
1100         description of the command line options.
1101         * nm.c (usage): Replace OPTIONS with option(s).
1102         (main): Accept -H as an alias for --help.
1103         * objcopy.c (strip_main): Accept -H as an alias for --help.
1104         * objdump.c (main): Accept -v as an alias for --verbose.
1105         * readelf.c (usage): Adjust format to match style used in
1106         other binutils.
1107         * size.c (usage): Update text to provide verbose description
1108         of the command line options.
1109         (main): Accept -v, -h and -H as command line options.
1110         * srconv.c (show_usage): Update text to provide verbose
1111         description of the command line options.
1112         * strings.c (main): Accept -H and -v as command line options.
1113         (usage): Update text to provide verbose description of the
1114         command line options.
1115         * sysdump.c (show_usage): Update text to provide verbose
1116         description of the command line options.
1117         * windres.c (usage): Adjust format to match style used in
1118         other binutils.
1119
1120         * coffdump.c: Fix formatting.
1121         * nlmconv.c: Fix formatting.
1122         * srconv.c: Fix formatting.
1123         * sysdump.c: Fix formatting.
1124
1125 2002-01-22  Alan Modra  <amodra@bigpond.net.au>
1126
1127         * Makefile.am: Run "make dep-am".
1128         * Makefile.in: Regenerate.
1129
1130 2002-01-18  Andreas Jaeger  <aj@suse.de>
1131
1132         * version.c (print_version): Update year.
1133
1134 2002-01-17  Alan Modra  <amodra@bigpond.net.au>
1135
1136         * readelf.c (get_machine_name): Handle EM_PPC64.
1137         (guess_is_rela): Here too.
1138
1139 2002-01-17  Nick Clifton  <nickc@cambridge.redhat.com>
1140
1141         * po/binutils.pot: Regenerate.
1142         * po/fr.po: Regenerate.
1143         * po/tr.po: Regenerate.
1144
1145 2002-01-16  Nick Clifton  <nickc@cambridge.redhat.com>
1146
1147         * po/tr.po: Import new version.
1148
1149 2002-01-16  Alan Modra  <amodra@bigpond.net.au>
1150
1151         * readelf.c (get_ppc64_dynamic_type): New.
1152         (get_dynamic_type): Call it.
1153
1154 2002-01-15  Nick Clifton  <nickc@cambridge.redhat.com>
1155
1156         * objcopy.c (copy_usage): Use "options" instead of "switches".
1157         (strip_usage): Use "options" instead of "switches".
1158         * doc/binutils.texi (dlltool):  Refer to "options" instead of
1159         "switches".
1160
1161 2002-01-14  Richard Earnshaw  <rearnsha@arm.com>
1162
1163         * MAINTAINERS: Add self as co-maintainer for the ARM code.
1164
1165 2001-12-18  Nick Clifton  <nickc@cambridge.redhat.com>
1166
1167         * po/es.po: Import from translation project.
1168         * configure.in (ALL_LINGUAS): Add es.
1169         * configure: Regenerate.
1170
1171 2002-01-09  Jason Thorpe  <thorpej@wasabisystems.com>
1172
1173         * readelf.c (get_netbsd_elfcore_note_type): Use
1174         NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
1175
1176 2002-01-09  Jason Thorpe  <thorpej@wasabisystems.com>
1177
1178         * readelf.c: Update copyright years.
1179         (get_note_type): Return a const char *.
1180         (get_netbsd_elfcore_note_type): New function.
1181         (process_note): Use get_netbsd_elfcore_note_type to get
1182         the note type string for NetBSD ELF core files.
1183
1184 2002-01-06  Steve Ellcey  <sje@cup.hp.com>
1185
1186         * readelf.c (get_ia64_segment_type): Add support for macros.
1187         (get_segment_type): Add support for IA64 specific macros.
1188
1189 2001-12-20  Julian v. Bock  <julian@wongr.net>
1190
1191         * readelf.c (print_symbol): New function: Print a formatted symbol
1192         name.  If --wide is specified do not truncate it.
1193         (dump_relocations): Use print_symbol() to print symbol names.
1194         (process_symbol_table): Likewise.
1195         (process_syminfo): Likewise.
1196         (process_mips_specific): Likewise.
1197         (usage): Document new feature of --wide switch.
1198         * doc/binutils.texi (objdump): Document additional behaviour of
1199         --wide.
1200
1201 2001-12-18  Michael Snyder  <msnyder@redhat.com>
1202
1203         * objcopy.c (copy_file): Accept corefiles (format bfd_core).
1204         (copy_object): Don't set the start address or flags of a core file.
1205         (copy_section): Don't relocate a core file.  Don't copy contents
1206         if the input section has the contents flag set, but the output
1207         section does not (which happens with the fake 'note' pseudo-
1208         sections that BFD creates for corefiles).
1209
1210 2001-12-18  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1211
1212         * readelf.c (get_machine_flags): Recognize header flags for ABI and
1213         ASE extensions. More robust code for ISA checking. Ignore empty fields
1214         in header flags for GNU extensions.
1215
1216 2001-12-18  Alan Modra  <amodra@bigpond.net.au>
1217
1218         * objcopy.c (copy_archive): Set output bfd format outside the loop.
1219
1220 2001-12-18  Nick Clifton  <nickc@cambridge.redhat.com>
1221
1222         * po/ja.po: Import from translation project.
1223         * configure.in (ALL_LINGUAS): Add ja.
1224         * configure: Regenerate.
1225
1226 2001-12-18  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1227
1228         * addr2line.c (main): Protoype.
1229         * ar.c (main): Protoype.
1230         * nm.c (main): Protoype.
1231         * objcopy.c (main): Protoype.
1232         * objdump.c (main): Protoype.
1233         * size.c (main): Protoype.
1234         * strings.c (main): Protoype.
1235
1236 2001-12-17  Alan Modra  <amodra@bigpond.net.au>
1237
1238         * readelf.c (symtab_shndx_hdr): New global.
1239         (SECTION_HEADER_INDEX): Define.
1240         (SECTION_HEADER_NUM): Define.
1241         (SECTION_HEADER): Define.
1242         (GET_ELF_SYMBOLS): Pass two params rather than three.
1243         (get_32bit_elf_symbols): Take file and section args.  Read and
1244         use SHT_SYMTAB_SHNDX.
1245         (get_64bit_elf_symbols): Likewise.
1246         (dump_relocations): Use SECTION_HEADER to index "section_headers".
1247         (process_section_headers): Likewise.  Use SECTION_HEADER_NUM too.
1248         Remember symtab_shdx_hdr.
1249         (process_program_headers): Scan from index 1 for segment map.
1250         (slurp_ia64_unwind_table): Use SECTION_HEADER to index
1251         "section_headers".
1252         (process_relocs): Likewise.  Also adjust call to GET_ELF_SYMBOLS.
1253         (process_unwind): Likewise.
1254         (process_version_sections): Likewise.
1255         (process_symbol_table): Likewise.
1256         (display_debug_info): Likewise.
1257         (process_dynamic_segment): Fake up a symtab section for changed
1258         GET_ELF_SYMBOLS.
1259         (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
1260         (process_program_headers): Kill signed/unsigned warning.
1261         (load_debug_str): Likewise.
1262         (display_debug_info): Likewise.
1263
1264 2001-12-13  Jakub Jelinek  <jakub@redhat.com>
1265
1266         * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
1267
1268 2001-12-11  Alan Modra  <amodra@bigpond.net.au>
1269
1270         * readelf.c (process_file_header): Print extended e_shnum and
1271         e_shdtrndx values.  Set elf_header values for same.
1272         (get_32bit_section_headers): Add "num" arg to read "num" headers.
1273         (get_64bit_section_headers): Likewise.
1274         (process_section_headers): Update calls.
1275         (get_file_header): Call get_32bit_section_headers or 64bit variant.
1276
1277 2001-12-10  Jakub Jelinek  <jakub@redhat.com>
1278
1279         * objcopy.c (setup_section): Copy entsize.
1280
1281 2001-12-07  Geoffrey Keating  <geoffk@redhat.com>
1282
1283         * readelf.c (guess_is_rela): Add support for stormy16.
1284         (dump_relocations): Likewise.
1285         (get_machine_name): Likewise.
1286
1287 2001-12-05  Nick Clifton  <nickc@cambridge.redhat.com>
1288
1289         * dllwrap.c (main) Replace multiple strings describing a
1290         single error with a single, newline escaped sentence to permit
1291         better translation into foreign languages.
1292
1293         * readelf.c (get_elf_class): Remove internalionalisation of ELF
1294         class names.
1295
1296 2001-12-04  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1297
1298         * strings.c (get_char): Initialize value.
1299
1300 2001-12-04  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1301
1302         * arlex.l: Silence compile warnings.
1303         * arsup.h: Likewise. Fix formatting.
1304
1305 2001-12-04  Jakub Jelinek  <jakub@redhat.com>
1306
1307         * strings.c: Include config.h before bfd.h.
1308         (file_off): New type.
1309         (file_open): Define.
1310         (print_strings): Use file_off instead of file_ptr.  Print addresses
1311         which don't fit into long correctly.
1312         (get_char): Use file_off instead of file_ptr.  Use getc_unlocked if
1313         available.
1314         (strings_file): Use file_off instead of file_ptr.  Use file_open.
1315         * configure.in: Check for getc_unlocked.
1316         Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
1317         be defined for it.
1318         * configure: Rebuilt.
1319         * config.h.in: Rebuilt.
1320
1321 2001-11-29  H.J. Lu <hjl@gnu.org>
1322
1323         * bucomm.c (make_tempname): Revert the changes made on
1324         2001-11-14 and 2001-11-12. They won't work with directories.
1325
1326 2001-11-23  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1327
1328         * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
1329         CFLAGS_FOR_TARGET to runtest in environment.
1330         * Makefile.in: Rebuild.
1331         * doc/Makefile.in: Rebuild.
1332
1333 2001-11-28  Mike Stump  <mrs@wrs.com>
1334
1335         * objcopy.c (setup_section): Preserve SEC_RELOC when
1336         --set-section-flags is used.
1337
1338 2001-11-19  Nick Clifton  <nickc@cambridge.redhat.com>
1339
1340         * readelf.c (do_debug_str): New variable.
1341         (display_debug_str): New function: Display the contents of a
1342         .debug_str section.
1343         (load_debug_str): New function: Load in the contents of a
1344         .debug_str section.
1345         (free_debug_str): New function: Free the memory used by
1346         load_debug_str().
1347         (fetch_indirect_string): Retrieve a string from the .debug_str
1348         section.
1349         (usage): Add -ws.
1350         (parse_args): Accept -ws.
1351         (process_section_headers): Allow the display of the .debug_str
1352         section.
1353         (read_and_display_attr_value): Use fetch_indirect_string.  Show
1354         offset into .debug_str section.
1355         (display_debug_info): Use load_debug_str and free_debug_str.
1356         (debug_displays): Add .debug_str.
1357         * doc/binutils.texi: Document -ws.
1358
1359 2001-11-19  Andreas Jaeger  <aj@suse.de>
1360
1361         * testsuite/binutils-all/objdump.exp: Add x86-64.
1362
1363 2001-11-15  Andreas Schwab  <schwab@suse.de>
1364
1365         * readelf.c: Fix warnings without terminating newline.
1366
1367 2001-11-15  Alan Modra  <amodra@bigpond.net.au>
1368
1369         * doc/binutils.texi (objdump): Document ppc -M options.
1370
1371 2001-11-14  Andreas Jaeger  <aj@suse.de>
1372
1373         * doc/binutils.texi (objdump): Fix description to use x86-64.
1374
1375 2001-11-14  Nick Clifton  <nickc@cambridge.redhat.com>
1376
1377         * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
1378         not all systems provide mkstemp.
1379
1380 2001-11-14  Alan Modra  <amodra@bigpond.net.au>
1381
1382         * doc/binutils.texi (objdump): Document x86 -M options.
1383
1384 2001-11-13  Keith Walker <keith.walker@arm.com>
1385
1386         * readelf.c (read_and_display_attr_value): New function to
1387         handle DW_FORM_indirect.
1388         (read_and_display_attr): Use it.
1389
1390 2001-11-13  Geoffrey Keating  <geoffk@redhat.com>
1391
1392         * readelf.c (display_debug_lines): Deal with unknown standard
1393         opcodes.  Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
1394         DW_LNS_set_isa.
1395
1396 2001-11-13  Timothy Wall  <twall@alum.mit.edu>
1397
1398         * MAINTAINERS: Add self as tic54x maintainer.  This target
1399         includes the IBM C54XDSP clone.
1400
1401 2001-11-12  * Steven J. Hill <sjhill@realitydiluted.com>
1402
1403         * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
1404
1405 2001-11-09  Jeffrey A Law  (law@cygnus.com)
1406
1407         * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
1408         (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
1409         (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
1410         (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
1411         (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
1412         (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
1413         (unw_decode_b2, unw_decode_b3_b4): Likewise.
1414
1415         * readelf.c (get_elf_class): Fix ISO portability glitch.
1416         (get_data_encoding, get_osabi_name, request_dump): Likewise.
1417
1418 2001-11-07  Jakub Jelinek  <jakub@redhat.com>
1419
1420         * readelf.c (debug_str, debug_str_size): New.
1421         (display_debug_abbrev): If no abbrevs were read, skip the CU.
1422         Call free_abbrevs.
1423         (read_and_display_addr): Handle DW_FORM_strp.
1424         (display_debug_info): Read .debug_str section if present,
1425         so that DW_FORM_strp can be handled.
1426         Fix test for non-existant .debug_abbrev section.
1427
1428 2001-11-05  Jakub Jelinek  <jakub@redhat.com>
1429
1430         * arlex.l: Accept `\' in filenames.  Patch by <earl_chew@agilent.com>.
1431
1432         * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
1433
1434 2001-11-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1435
1436         * MAINTAINERS: Add self as s390/s390x maintainer.
1437
1438 2001-11-02  Tom Rix  <trix@bluey.cygnus.com>
1439
1440         * MAINTAINERS: Add self as PPC XCOFF maintainer.
1441
1442 2001-11-02  Nick Clifton  <nickc@cambridge.redhat.com>
1443
1444         * configure.in (ALL_LINGUAS): Add "fr" and "tr".
1445         * configure: Regernate.
1446         * po/fr.po: New file.
1447         * po/tr.po: New file.
1448
1449 2001-10-30  Hans-Peter Nilsson  <hp@bitrange.com>
1450
1451         * MAINTAINERS: Add self as MMIX port maintainer.
1452         * readelf.c: Include elf/mmix.h.
1453         (guess_is_rela): MMIX is RELA.
1454         (dump_relocations): Handle MMIX relocations.
1455         * Makefile.am: Regenerate dependencies.
1456         * Makefile.in: Regenerate.
1457
1458 2001-10-13  Nick Clifton  <nickc@cambridge.redhat.com>
1459
1460         * readelf.c (parse_args): Handle multiple options to the -w
1461         switch.
1462
1463 2001-10-12  Jakub Jelinek  <jakub@redhat.com>
1464
1465         * readelf.c (get_section_type_name): Don't print SHT_ prefix for
1466         LOPROC, LOOS and LOUSER.
1467
1468 2001-10-11  J"orn Rennecke <amylaar@onetel.net.uk>
1469
1470         * MAINTAINERS: Update my email address.
1471
1472 2001-10-03  Alan Modra  <amodra@bigpond.net.au>
1473
1474         * doc/Makefile.in: Regenerate.
1475         * configure: Regenerate.
1476
1477 2001-10-02  Nick Clifton  <nickc@cambridge.redhat.com>
1478
1479         * readelf.c (display_debug_line, display_debug_pubnames,
1480         display_debug_info, display_debug_frames): Detect and warn
1481         about 64-bit format entries.
1482         (display_debug_aranges): Reword 64-bit warning.
1483         (debug_displays): Add .debug_pubtypes as a known, but not yet
1484         supported, debug section.
1485
1486 2001-10-02  Alan Modra  <amodra@bigpond.net.au>
1487
1488         * coffdump.c (PROGRAM_VERSION): Delete.
1489         (main <'V'>): Call print_version.
1490         * srconv.c: Likewise.
1491         * sysdump.c: Likewise.
1492         * version.c (program_version): Remove.
1493         (print_version): Use BFD_VERSION_STRING.  Just print the current
1494         year in copyright message.
1495         * addr2line.c (program_version): Remove unused declaration.
1496         * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
1497         place of BFD_VERSION.
1498         * Makefile.am (Makefile): Depend on bfd/configure.in.
1499         (cplus-dem.o): Depend on Makefile.
1500         Run "make dep-am".
1501         * Makefile.in: Regenerate.
1502
1503 2001-10-01  Nick Clifton  <nickc@cambridge.redhat.com>
1504
1505         * readelf.c (display_debug_aranges): Detect and warn about DWARF64
1506         format .debug_arange sections.
1507         (main): Add missing prototype.
1508
1509 2001-09-30  Hans-Peter Nilsson  <hp@bitrange.com>
1510
1511         * Makefile.am: Update dependencies with "make dep-am".
1512         * Makefile.in: Regenerate.
1513
1514 2001-09-28  Richard Henderson  <rth@redhat.com>
1515
1516         * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
1517
1518 2001-09-26  Alan Modra  <amodra@bigpond.net.au>
1519
1520         * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
1521         VA_CLOSE.
1522         (non_fatal): Likewise.
1523         * objdump.c (objdump_sprintf): Likewise.
1524         * readelf.c (error): Likewise.
1525         (warn): Likewise.
1526
1527 2001-09-25  Jakub Jelinek  <jakub@redhat.com>
1528
1529         * readelf.c (do_wide): New.
1530         (options): Add --wide.
1531         (usage, parse_args): Likewise.
1532         (process_program_headers): Put each segment on a single line if
1533         --wide is given.
1534         (process_section_headers): Put each section on a single line if
1535         --wide is given.
1536         * doc/binutils.texi: Document it.
1537         * NEWS: Likewise.
1538
1539 2001-09-25  Alan Modra  <amodra@bigpond.net.au>
1540
1541         * readelf.c (print_vma): Print 8 digits of low hex value.
1542
1543 2001-09-24  Andreas Jaeger  <aj@suse.de>
1544
1545         * nlmconv.c: Fix warnings about unused attributes and function
1546         prototypes.
1547
1548         * strings.c: Add prototype for get_char.
1549
1550 2000-09-19  H.J. Lu  <hjl@gnu.org>
1551
1552         * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
1553         $(srcdir)/cxxfilt.man.
1554         * doc/Makefile.in: Rebuild.
1555
1556 2001-09-19  Alan Modra  <amodra@bigpond.net.au>
1557
1558         * objcopy.c (copy_main): Correct rename-section string parsing.
1559         Consolidate new_name parsing, and error messages.
1560
1561 2001-09-18  Bruno Haible  <haible@clisp.cons.org>
1562
1563         * addr2line.c: Don't include <ctype.h>.
1564         (main): For gettext, also set the LC_CTYPE locate facet.
1565         * ar.c (main): Likewise.
1566         * coffdump.c (main): Likewise.
1567         * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
1568         (main): For gettext, also set the LC_CTYPE locate facet.
1569         Use ISALNUM instead of isalpha/isdigit.
1570         * dllwrap.c: Don't include <ctype.h>.
1571         (main): For gettext, also set the LC_CTYPE locate facet.
1572         * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
1573         (main): For gettext, also set the LC_CTYPE locate facet.
1574         Use TOUPPER instead of islower/toupper.
1575         * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
1576         (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
1577         Use TOUPPER instead of islower/toupper.
1578         * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
1579         * objcopy.c (main): Likewise.
1580         * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
1581         (disassemble_bytes): Use ISPRINT instead of isprint.
1582         (dump_section_stabs): Use ISDIGIT instead of isdigit.
1583         (dump_data): Use ISPRINT instead of isprint.
1584         (main): For gettext, also set the LC_CTYPE locate facet.
1585         * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
1586         (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
1587         * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
1588         Use TOUPPER instead of islower/toupper.
1589         * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
1590         * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
1591         (write_rc_accelerators): Use ISPRINT instead of isprint.
1592         (write_rc_rcdata): Likewise.
1593         * size.c (main): For gettext, also set the LC_CTYPE locate facet.
1594         * srconv.c (main): Likewise.
1595         * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
1596         (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
1597         isdigit/isupper/islower.
1598         (parse_stab_string, parse_stab_type, parse_stab_argtypes,
1599         parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
1600         stab_demangle_prefix, stab_demangle_qualified,
1601         stab_demangle_template, stab_demangle_type,
1602         stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
1603         * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
1604         (isgraphic): Use ISPRINT instead of isascii/isprint.
1605         (main): Remove HAVE_LC_MESSAGES dependency.
1606         * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
1607         (pbarray): Use ISPRINT instead of isprint.
1608         (main): For gettext, also set the LC_CTYPE locate facet.
1609         * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
1610         (format_from_filename): Use ISPRINT instead of isprint.
1611         (main): For gettext, also set the LC_CTYPE locate facet.
1612         * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
1613         (unicode_print): Use ISPRINT instead of isprint.
1614         * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
1615         (stab_variable): Use ISDIGIT instead of isdigit.
1616
1617 2001-09-18  Alan Modra  <amodra@bigpond.net.au>
1618
1619         * ar.c (print_contents): Cast args of bfd_seek to the right types.
1620         Replace bfd_read call with call to bfd_bread.
1621         (extract_file): Likewise.
1622
1623         * objdump.c (dump_section_header): Cast section->filepos to
1624         unsigned long to suit printf format string.
1625         * readelf.c (process_section_headers): Similarly for sh_offset.
1626         (process_unwind): Likewise.
1627
1628 2001-09-14  Nick Clifton  <nickc@cambridge.redhat.com>
1629
1630         * strings.c (encoding, encoding_bytes): New variables.
1631         (long_options): Add --encoding.
1632         (main): Accept -e and --encoding.
1633         (get_char): New function.  Read a, possibly wide, character from
1634         the input stream.
1635         (print_strings): Use get_char().
1636         (usage): Document new command line option.
1637         * doc/binutils.texi: Document new command line option.
1638         * NEWS: Announce new command line option.
1639
1640 2001-09-12  Alexandre Oliva  <aoliva@redhat.com>
1641
1642         * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
1643         get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
1644         EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
1645         Removed EM_CYGNUS_ARC.
1646
1647 2001-09-04  Jeffrey A Law  (law@cygnus.com)
1648
1649         * readelf.c: Include elf/h8 for H8 series definitions.
1650         (guess_is_rela): H8 series if RELA.
1651         (dump_relocations): Handle H8 series relocations.
1652
1653 2001-08-31  Eric Christopher  <echristo@redhat.com>
1654
1655         * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
1656
1657 2001-08-29  Peter Targett  <peter.targett@arccores.com>
1658
1659         * MAINTAINERS: Include ARC Maintainer.
1660
1661 2001-08-29  Ben Elliston  <bje@redhat.com>
1662
1663         * stabs.c (stab_demangle_template): Initialise s4.
1664
1665 2001-08-27  Alan Modra  <amodra@bigpond.net.au>
1666
1667         * readelf.c (dump_relocations): Recognise EM_PPC64.
1668
1669 2001-08-26  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1670
1671         * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
1672
1673 2001-08-25  H.J. Lu  <hjl@gnu.org>
1674
1675         * nm.c (print_width): New.
1676         (display_rel_file): Set `print_width' according to
1677         bfd_sprintf_vma.
1678         (print_symbol_info_bsd): Check `print_width' instead of BFD64.
1679
1680 2001-08-24  Alexandre Oliva  <aoliva@redhat.com>
1681
1682         * objcopy.c (use_alt_mach_code): New variable.
1683         (OPTION_ALT_MACH_CODE): Define.
1684         (copy_options): Added --alt-machine-code.
1685         (copy_main): Handle it.
1686         (copy_object): Switch to alternate machine code if requested.
1687         * doc/binutils.texi: Document new option.
1688         * NEWS: Likewise.
1689
1690 2001-08-22  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1691
1692         * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
1693
1694 2001-08-21  H.J. Lu  <hjl@gnu.org>
1695
1696         * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
1697         (display_debug_info): Cast for 64bit hosts.
1698         (display_debug_frames): Likewise.
1699         (process_mips_specific): Likewise.
1700
1701 2001-08-21  Andreas Jaeger  <aj@suse.de>
1702
1703         * coffgrok.h: Add missing parameter for prototype of coff_grok.
1704
1705         * sysdump.c: Add missing prototypes.
1706         * srconv.c: Likewise.
1707         * unwind-ia64.c: Likewise.
1708         * coffdump.c: Likewise.
1709
1710         * sysinfo.y: Print prototypes, include <ansidecl.h>.
1711
1712         * coffgrok.c: Add missing prototypes, include libiberty.h instead
1713         of declaring xcalloc.
1714
1715 2001-08-10  H.J. Lu  <hjl@gnu.org>
1716
1717         * nm.c (print_value): Add one arg, bfd *.
1718         (print_value): Replace fprintf_vma with bfd_fprintf_vma.
1719         (print_symbol_info_bsd): Also pass `abfd' to print_value ().
1720         (print_symbol_info_sysv): Likewise.
1721         (print_symbol_info_posix): Likewise.
1722
1723         * objdump.c (dump_section_header): Replace printf_vma with
1724         bfd_printf_vma.
1725         (print_section_stabs): Likewise.
1726         (dump_bfd_header): Likewise.
1727         (objdump_print_value): Replace sprintf_vma with
1728         bfd_sprintf_vma.
1729         (disassemble_bytes): Likewise.
1730         (dump_reloc_set): Likewise.
1731
1732 2001-08-10  Andreas Jaeger  <aj@suse.de>
1733
1734         * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
1735         to build warnings.
1736         * configure: Regenerate.
1737
1738 2001-08-09  Alan Modra  <amodra@bigpond.net.au>
1739
1740         * readelf.c: Add missing prototypes.
1741         * objdump.c: Likewise.  Format existing prototypes.
1742
1743 2001-08-08  Alexandre Oliva  <aoliva@redhat.com>
1744
1745         * readelf.c (display_debug_info): Add to abbrev_offset the addend
1746         of any RELA relocation for the abbrev_offset memory location that
1747         refers to the .debug_abbrev section symbol.
1748
1749 2001-08-07  H.J. Lu  <hjl@gnu.org>
1750
1751         * readelf.c (process_file): Return 0 if OK, otherwise return 1.
1752         (main): Return process_file ().
1753
1754 2001-08-05  Philip Blundell  <philb@gnu.org>
1755
1756         * doc/binutils.texi: Use "Thumb" not "THUMB".
1757
1758 2001-08-03  John Healy  <jhealy@redhat.com>
1759
1760         Patch suggested by Frank Eigler <fche@redhat.com>.
1761         * objdump.c (disassemble_data): Fill in section member of the
1762         disasm_info structure.
1763
1764 2001-08-03  Tom Walsh  <tom@cyberiansoftware.com>
1765
1766         * configure.in: Added --with-windres option.
1767         * configure: Regenerated.
1768
1769 2001-07-11  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1770
1771         * doc/binutils.texi: Use @command{name} for commands;
1772         use @option{-opt} for options; use @table @env for list of options;
1773         remove spaces arround [ | ] in synopsis.
1774
1775         * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
1776         center title.
1777
1778 2001-07-31  Nick Clifton  <nickc@cambridge.redhat.com>
1779
1780         * objcopy.c: Fix formatting.
1781         (section_rename): New structure.
1782         (OPTION_RENAME_SECTION): New switch.
1783         (copy_usage): Document new switch.
1784         (add_section_rename): New function: Add a node to the section
1785         rename list.
1786         (find_section_rename): New function: Find the new name and
1787         flags for a section.
1788         (setup_section): Call find_section_name to determine the name
1789         of the output section.
1790         (copy_main): Handle OPTION_RENAME_SECTION.
1791         * binutils.texi: Document new switch.
1792         * NEWS: Mention new switch.
1793
1794 2001-07-30  Nick Clifton  <nickc@cambridge.redhat.com>
1795
1796         * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
1797         * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
1798         bug-binutils@gcc.org.
1799
1800 2001-07-28  Matthias Kramm  <kramm@quiss.org>
1801
1802         * bucomm.c (list_supported_architectures): New function.
1803         * bucomm.h (list_supported_architectures): Declare.
1804         * objdump.c (usage): Call the above.
1805
1806 2001-07-25  Dave Brolley  <brolley@redhat.com>
1807
1808         * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
1809         (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
1810
1811 2001-07-19  Nick Clifton  <nickc@cambridge.redhat.com>
1812
1813         * README: Update for 2.11.  Change bug reporting email address.
1814         * MAINTAINERS: Tidy up.  Change bug reporting email address.
1815
1816 2001-07-16  DJ Delorie  <dj@redhat.com>
1817
1818         * resres.c (write_res_header): Align header size.
1819         (res_align_file): Calculate alignment correctly.
1820
1821         * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
1822         correct 10).
1823         * resrc.c (write_rc_resource): Likewise.
1824         * windres.h (SUBLANG_SHIFT): Define - as 10.
1825
1826 2001-07-15  Nick Clifton  <nickc@cambridge.redhat.com>
1827
1828         * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
1829
1830 2001-07-11  Nick Clifton  <nickc@cambridge.redhat.com>
1831
1832         * MAINTAINERS: Add notes about branch checkins.
1833
1834 2001-07-05  Daniel Berlin  <dan@cgsoftware.com>
1835
1836         * readelf.c (display_debug_macinfo): New function, display
1837         .debug_macinfo section.
1838         (do_debug_macinfo): New variable.
1839         (parse_args): Handle "-w[mM]" to mean display macro info.
1840         (process_section_headers): Handle debug_macinfo.
1841         (debug_displays): Replace unsupported function with macinfo
1842         function for .debug_macinfo display.
1843         * doc/binutils.texi: Document new command line switch.
1844         * NEWS: Document new feature of readelf.
1845
1846 2001-07-05  H.J. Lu  <hjl@gnu.org>
1847
1848         * objcopy.c (filter_symbols): Don't turn undefined symbols
1849         into local.
1850
1851 2001-07-03  H.J. Lu <hjl@gnu.org>
1852
1853         * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
1854         $@.pod.
1855         (ar.1): Likewise.
1856         (dlltool.1): Likewise.
1857         (nlmconv.1): Likewise.
1858         (nm.1): Likewise.
1859         (objcopy.1): Likewise.
1860         (objdump.1): Likewise.
1861         (ranlib.1): Likewise.
1862         (readelf.1): Likewise.
1863         (size.1): Likewise.
1864         (strings.1): Likewise.
1865         (strip.1): Likewise.
1866         (windres.1): Likewise.
1867         (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
1868         ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
1869         $(DEMANGLER_NAME).
1870         (as.1): Removed.
1871         * doc/Makefile.in: Regenerated.
1872
1873 2001-07-03  Nick Clifton  <nickc@cambridge.redhat.com>
1874
1875         * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
1876
1877 2001-07-01  Daniel Berlin  <dan@cgsoftware.com>
1878
1879         * readelf.c: Support DWARF 2.1 tags, encodings, languages.
1880
1881 2001-06-29  James Cownie <jcownie@etnus.com>
1882
1883         * readelf.c: Support DWARF 2.1 attributes.
1884
1885 2001-06-28  Alan Modra  <amodra@bigpond.net.au>
1886
1887         * readelf.c (GET_DATA_ALLOC): Remove.
1888         (GET_DATA): Remove.
1889         (get_data): New function combining above macros, with an extra
1890         test for zero size.
1891         (slurp_rela_relocs): Use get_data, and catch error return.
1892         (slurp_rel_relocs): Likewise.
1893         (get_32bit_program_headers): Likewise.
1894         (get_64bit_program_headers): Likewise.
1895         (get_32bit_section_headers): Likewise.
1896         (get_64bit_section_headers): Likewise.
1897         (get_32bit_elf_symbols): Likewise.
1898         (get_64bit_elf_symbols): Likewise.
1899         (process_section_headers): Likewise.
1900         (process_relocs): Likewise.
1901         (slurp_ia64_unwind_table): Likewise.
1902         (process_unwind): Likewise.
1903         (get_32bit_dynamic_segment): Likewise.
1904         (get_64bit_dynamic_segment): Likewise.
1905         (process_dynamic_segment): Likewise.
1906         (process_version_sections): Likewise.
1907         (process_symbol_table): Likewise.
1908         (dump_section): Likewise.
1909         (display_debug_info): Likewise.
1910         (display_debug_section): Likewise.
1911         (process_section_contents): Likewise.
1912         (process_corefile_note_segment): Likewise.
1913         (process_mips_specific): Likewise.  Also free econf32, econf64.
1914
1915 2001-06-25  Alan Modra  <amodra@bigpond.net.au>
1916
1917         * readelf.c (dump_relocations): Print "bad symbol index" if
1918         symtab == NULL with non-zero symtab_index.
1919         (process_relocs): Don't bomb if reloc section has no symsec.
1920
1921 2001-06-24  H.J. Lu  <hjl@gnu.org>
1922
1923         * objcopy.c (strip_main): Revert the change made on 2001-05-30
1924         by accident.
1925         (copy_main): Apply the the change made to strip_main on
1926         2001-05-30 by accident.
1927
1928 2001-06-23  Andreas Jaeger  <aj@suse.de>
1929
1930         * unwind-ia64.c (unw_decode_x1): Add unused attribute for
1931         parameter 'code'.
1932         (unw_decode_x2): Likewise.
1933         (unw_decode_x3): Likewise.
1934         (unw_decode_x4): Likewise.
1935
1936 2001-06-23  Ben Elliston  <bje@redhat.com>
1937
1938         * MAINTAINERS: Add myself as M88k maintainer.
1939
1940 2001-06-22  Jocelyn Mayer  <jocelyn.mayer@netgem.com>
1941
1942         * objcopy.c (strip_main): Support -o or --output-file command lien
1943         switch.
1944
1945 2001-06-19  H.J. Lu <hjl@gnu.org>
1946
1947         * doc/Makefile.in: Regenerated.
1948
1949 2001-06-19  Nick Clifton  <nickc@cambridge.redhat.com>
1950
1951         * readelf.c: Restore formatting.
1952
1953 2001-06-18  H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
1954
1955         * Makefile.am: Move documentation into doc subdirectory.
1956         * Makefile.in: Regenerated.
1957         * binutils.texi: Move into doc subdirectory.
1958         * addr2line.1: Removed.
1959         * ar.1: Likewise.
1960         * dlltool.1: Likewise.
1961         * nlmconv.1: Likewise.
1962         * nm.1: Likewise.
1963         * objcopy.1: Likewise.
1964         * objdump.1: Likewise.
1965         * ranlib.1: Likewise.
1966         * readelf.1: Likewise.
1967         * size.1: Likewise.
1968         * strings.1: Likewise.
1969         * strip.1: Likewise.
1970         * windres.1: Likewise.
1971         * cxxfilt.man: Likewise.
1972         * doc: New Directory.
1973         * doc/Makefile.am: New file.
1974         * doc/Makefile.in: Generate.
1975
1976 2001-06-09  Alan Modra  <amodra@bigpond.net.au>
1977
1978         * NEWS: Fix a typo.  Mention hppa64-elf.  Add binutils-2.11 marker.
1979
1980 2001-06-01  Alan Modra  <amodra@bigpond.net.au>
1981
1982         * MAINTAINERS: Update my email address.
1983
1984 2001-05-30  Honda Hiroki  <hhonda@kobe-catv.ne.jp>
1985
1986         * objcopy.c: Add new switches: --keep-global-symbol,
1987         --keep-symbols, --localize-symbols, --keep-global-symbols and
1988         --weaken-symbols.
1989         * binutils.texi: Document new switches.
1990         * objcopy.1: Regenerate.
1991         * NEWS: Announce new feature.
1992
1993 2001-05-28  Andreas Jaeger  <aj@suse.de>
1994
1995         * readelf.c (display_debug_frames): Fix warnings: Remove unused
1996         variables, fix format strings.
1997
1998 2001-05-28  Nick Clifton  <nickc@cambridge.redhat.com>
1999
2000         * objdump.c (disassemble_bytes): Remove section VMA adjustment
2001         when computing the address of the line to show.
2002
2003 2001-05-16  Richard Henderson  <rth@redhat.com>
2004
2005         * readelf.c (do_debug_frames_interp): New.
2006         (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
2007         (byte_get_big_endian): Likewise.
2008         (parse_args) ['F']: Set do_debug_frames_interp.
2009         (Frame_Chunk): Make data_factor signed, add fde_encoding.
2010         (frame_display_row): Don't trunc pc_begin to int.
2011         (size_of_encoded_value): New.
2012         (display_debug_frames): Handle 64-bit targets.  Print raw data
2013         unless do_debug_frames_interp.
2014         (debug_displays): Remove duplicate .debug_frame.
2015
2016 2001-05-15  Ralf Baechle  <ralf@gnu.org>
2017
2018         * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
2019         The former constant was never in active use and is used otherwise
2020         by the ABI.
2021
2022 2001-05-11  Jakub Jelinek  <jakub@redhat.com>
2023
2024         * readelf.c (process_unwind): Print all unwind sections, not just
2025         one.
2026
2027 2001-05-07  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2028
2029         * readelf.c (process_unwind): Remove const specifier.
2030
2031 2001-04-27  Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
2032
2033         * strings.c (isgraphic): Do not use isascii() unless it is needed
2034         for isprint() to work.
2035         (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
2036
2037 2001-04-27  Johan Rydberg  <jrydberg@opencores.org>
2038
2039         * NEWS: Announce support for OpenRISC.
2040
2041 2001-04-17  Danny Smith  <dannysmith@users.sourceforge.net>
2042
2043         * dlltool.c (do_default_excludes): Initialise to true.
2044
2045 2001-04-10  Alan Modra  <amodra@one.net.au>
2046
2047         * MAINTAINERS: Update my email address
2048         * nm.c (print_symbol_info_bsd): Use a simple printf string.
2049
2050 2001-04-05  Hans-Peter Nilsson  <hp@axis.com>
2051
2052         * readelf.c (display_debug_lines): Fix typo for "Prologue".
2053
2054 2001-03-30  H.J. Lu  <hjl@gnu.org>
2055
2056         * readelf.c (process_unwind): Just return if do_unwind is 0.
2057
2058 2001-03-28  Roger Sayle  <roger@metaphorics.com>
2059
2060         * dlltool.c (make_one_lib_file): Fix section flags for
2061         .text, .data and .bss in stub ds*.o files to match those
2062         generated by gas.
2063
2064 2001-03-29  H.J. Lu  <hjl@gnu.org>
2065
2066         * readelf.c (process_unwind): Only do unwind sections for
2067         IA64.
2068
2069 2001-03-28  H.J. Lu  <hjl@gnu.org>
2070
2071         * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
2072         * Makefile.in: Regenerate.
2073
2074 2001-03-26  Andreas Jaeger  <aj@suse.de>
2075
2076         * binutils.texi (nm): Fix texi syntax.
2077
2078 2001-03-25  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2079
2080         * binutils.texi: Put @c man begin and @c man end indications
2081         to generate man pages using texi2pod and pod2man. Put @c man title
2082         to identify each man. Add SEEALSO entries.
2083         * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
2084         (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
2085         sort the list.
2086         (*.1): Build the man pages from binutils.texi.
2087         * Makefile.in: Regenerate.
2088
2089 2001-03-13  Eric Kohl  <ekohl@rz-online.de>
2090
2091         * defparse.y (opt_equal_name): allow "." in name.
2092         * dlltool.c (def_exports): Added ability to generate forwarded exports.
2093         (gen_exp_file): Likewise.
2094
2095 2001-03-12  Stefan Geuken <mail@stefan-geuken.de>
2096
2097         * NEWS: Document addition of -B switch to objcopy.
2098         * binutils.texi:  Document addition of -B switch to objcopy.
2099         * objcopy.c: (copy_options): Add --binary-architecture.
2100         (copy_usage): Document -B/--binary-architecture.
2101         (copy_main): Support -B/--binary-architecture.  Set
2102         bfd_external_binary_architecture.
2103
2104 2001-03-11  Andreas Jaeger  <aj@suse.de>
2105
2106         * readelf.c (guess_is_rela): Handle EM_S390_OLD.
2107         (dump_relocations): Likewise.
2108         (get_machine_name): Likewise.
2109
2110 2001-02-28  Nick Clifton  <nickc@redhat.com>
2111
2112         * readelf.c: (struct unw_aux_info): Remove const modifier for
2113         'strtab' field.
2114         (process_unwind): Remove non-K&R compliant LHS type cast in call
2115         to GET_DATA_ALLOC macro.
2116
2117 2001-02-28  Philip Blundell  <pb@futuretv.com>
2118
2119         * readelf.c (decode_ARM_machine_flags): Explicitly mention which
2120         ABI is in use; remove ambiguity between the "unknown" EABI and
2121         unrecognised ABIs.  Handle version 2 ARM EABI.  Update uses of
2122         renamed EF_xx constants.
2123
2124 2001-02-27  Alan Modra  <alan@linuxcare.com.au>
2125
2126         * configure.in (BFD_VERSION): New.
2127         (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
2128         * configure: Regenerate.
2129         * Makefile.am: Run "make dep-am"
2130         * Makefile.in: Regenerate.
2131
2132 2001-02-14  Nick Clifton  <nickc@redhat.com>
2133
2134         * MAINTAINERS: Add "Obvious Fix" rule.
2135
2136 2001-02-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
2137
2138         * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
2139         literal concatenation.
2140
2141 2001-02-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
2142
2143         * readelf.c (struct unw_aux_info): Remove const from the info member.
2144         (process_unwind): Don't type-cast the third argument to the
2145         GET_DATA_ALLOC macro.
2146
2147 2001-02-11  Nick Clifton  <nickc@redhat.com>
2148
2149         * readelf.c (dump_relocations): Free corrected allocated
2150         array.
2151         (process_unwind): Fix compile time warning.
2152
2153 2001-02-10  Nick Clifton  <nickc@redhat.com>
2154
2155         * binutils.texi: Document new --unwind option to readelf.
2156
2157 2001-02-09  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2158
2159         * readelf.c: Add linux target for S/390.
2160
2161 2001-02-10  Alan Modra  <alan@linuxcare.com.au>
2162
2163         * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
2164         printf is a macro.
2165
2166 2001-02-08  Hans-Peter Nilsson  <hp@bitrange.com>
2167
2168         * acinclude.m4 (AM_PROG_LEX): Override installed definition.
2169         * aclocal.m4: Regenerate.
2170         * configure: Regenerate.
2171
2172 2001-02-07  Todd Vierling  <tv@wasabisystems.com>
2173
2174         * bucomm.c (bfd_target_vector): Change extern array to pointer.
2175         * objdump.c (bfd_target_vector): Likewise.
2176
2177 2001-02-07  David Mosberger  <davidm@hpl.hp.com>
2178
2179         * readelf.c (process_unwind): New function.
2180         (slurp_ia64_unwind_table): Ditto.
2181         (dump_ia64_unwind): Ditto.
2182         (find_symbol_for_address): Ditto.
2183         (slurp_rela_relocs): New function (split off from dump_relocations()).
2184         (slurp_rel_relocs): Ditto.
2185         (parse_args): Handle '-u' option.
2186
2187         * unwind-ia64.c: New file.
2188         * unwind-ia64.h: New file.
2189         * Makefile.am: Include unwind-ia64.c in readelf build.
2190         * Makefile.in: Regenerate.
2191         * po/binutils.pot: Regenerate.
2192
2193 2001-02-04  Philip Blundell  <philb@gnu.org>
2194
2195         * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
2196         * configure: Regenerate.
2197
2198 2001-01-31  Steve deRosier  <sderosier@vari-lite.com>
2199
2200         * ieee.c (ieee_add_bb11): Don't check for backslashes
2201         unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
2202
2203 2001-01-24  Mark Elbrecht  <snowball3@bigfoot.com>
2204
2205         * ieee.c: Update copyright.
2206         (ieee_start_compilation_unit): Don't check for backslashes
2207         unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
2208
2209         * stabs.c: Update copyright. Include "filenames.h".
2210         (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
2211
2212 2001-01-23  Jakub Jelinek  <jakub@redhat.com>
2213
2214         * readelf.c (process_version_sections): Check if VERDEF or VERNEED
2215         sections are present before using them.  Remove code duplication.
2216         (process_symbol_table): Check if VERDEF or VERNEED sections are
2217         present before using them.
2218
2219 2001-01-17  Nick Clifton  <nickc@redhat.com>
2220
2221         * objcopy.c (copy_object): Fail if attempting to convert the
2222         endianness of the input object file.
2223
2224         * binutils.texi: Explain that objcopy cannot convert endianness.
2225
2226 2001-01-16  Nick Clifton  <nickc@redhat.com>
2227
2228         * readelf.c (string_table_length): New variable.
2229         (SECTION_NAME): Catch out of range indices and missing section
2230         pointers.
2231         (process_section_headers): Delete useless local variable
2232         string_table_offset.  Set the value of string_table_length
2233         after loading the string table.
2234         (process_mips_specific): Use SECTION_NAME macro.
2235         (process_file): Set string_table_length to 0 when it is freed.
2236
2237 2001-01-12  Nick Clifton  <nickc@redhat.com>
2238
2239         * version.c (print_version): Update copyright date.
2240
2241 2001-01-11  Peter Targett  <peter.targett@arccores.com>
2242
2243         * readelf.c (dump_relocations): Include selection with EM_ARC.
2244         (get_machine_name) Update name to "ARC".
2245
2246 2001-01-09  Nick Clifton  <nickc@redhat.com>
2247
2248         * Makefile.am: Add rule to build objdump.o from objdump.c and
2249         using OBJDUMP_DEFS.
2250         * Makefile.in: Regenerate.
2251
2252         * configure.in: Define OBJDUMP_DEFS.  Default to empty.
2253         (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
2254         -DDISASSEMBLER_NEEDS_RELOCS.
2255         * configure: Regenerate.
2256
2257         * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
2258         is defined read in the relocs even if dump_reloc_info is
2259         false.
2260
2261 2001-01-07  Philip Blundell  <philb@gnu.org>
2262
2263         * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
2264         `bug-binutils'.
2265         * README: Likewise.
2266
2267 2000-12-19  Nick Clifton  <nickc@redhat.com>
2268
2269         * dlltool.c: Add missing support for arm-epoc-pe.
2270         * configure.in: Add missing support for arm-epoc-pe.
2271         * configure: Regenerate.
2272
2273 2000-12-15  Nick Clifton  <nickc@redhat.com>
2274
2275         * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
2276         Mode parts of the x86 port.
2277
2278 2000-12-04  Andreas Jaeger  <aj@suse.de>
2279
2280         * readelf.c (guess_is_rela): Add EM_X86_64.
2281         (dump_relocations): Add EM_X86_64.
2282         (get_machine_name): Add EM_X86_64.
2283         Include "elf/x86-64.h".
2284
2285 2000-12-12  Nick Clifton  <nickc@redhat.com>
2286
2287         * readelf.c: Fix formatting.
2288
2289 2000-12-11  Jan Hubicka  <jh@suse.cz>
2290
2291         * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
2292
2293 2000-12-07  Andrew Haley  <aph@redhat.com>
2294
2295         * readelf.c (display_debug_frames): Only display columns that are
2296         referenced by the frame debug info.
2297
2298 2000-12-05  Nick Clifton  <nickc@redhat.com>
2299
2300         * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
2301
2302 2000-12-04  Jason Merrill  <jason@redhat.com>
2303
2304         * readelf.c (process_section_headers): Handle linkonce.wi sections.
2305         (display_debug_section): Likewise.
2306         (display_debug_info): Display CU header before bailing.
2307
2308 2000-12-01  Chris Demetriou  <cgd@sibyte.com>
2309
2310         * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
2311         EF_MIPS_ARCH.  Replace use of E_MIPS_MACH_MIPS32 with
2312         E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
2313
2314         * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
2315         and E_MIPS_ARCH_64.
2316
2317         * readelf.c (get_machine_flags): Add case for
2318         E_MIPS_MACH_SB1.
2319
2320 2000-11-30  Richard Earnshaw  <rearnsha@arm.com>
2321
2322         * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
2323
2324 2000-11-28  Hans-Peter Nilsson  <hp@bitrange.com>
2325
2326         * MAINTAINERS: Add J\81örn Rennecke and self as SH maintainers.
2327         Change sourceware.cygnus.com to sources.redhat.com.
2328         Fix typo for "amongst".
2329
2330 2000-11-28  Nick Clifton  <nickc@redhat.com>
2331
2332         * strip.1 (COPYING): Mention that the GNU Free Documentation
2333         License is present in the sources, but not the output, and
2334         also available from the GNU website.
2335         (GNU Free Documentation License): Comment out this section.
2336         * strings.1: Ditto.
2337         * size.1: Ditto.
2338         * ranlib.1: Ditto.
2339         * objdump.1: Ditto.
2340         * objcopy.1: Ditto.
2341         * nm.1: Ditto.
2342         * nlmconv.1: Ditto.
2343         * ar.1: Ditto.
2344         * addr2line.1: Ditto.
2345
2346 2000-11-27  DJ Delorie  <dj@redhat.com>
2347
2348         * readelf.c (usage): Add -wf (--debug-dump=frames) option.
2349         (parse_args): Support -wf option.
2350         (process_section_headers): Ditto.
2351         (debug_displays): Ditto.
2352         (display_debug_frames): New, dump *_frame sections.
2353         (frame_need_space): Support for above.
2354         (frame_display_row): Ditto.
2355         * binutils.texi: Document it.
2356
2357 2000-11-24  Nick Clifton  <nickc@redhat.com>
2358
2359         * NEWS: Announce support for v5t, v5te and XScale.
2360
2361 2000-11-22  Nick Clifton  <nickc@redhat.com>
2362
2363         * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
2364         EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
2365         (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
2366         (get_elf_section_flags: Add SHF_GROUP.
2367         (process_section_headers): Adjust output for 32-bit binaries
2368         to look nice on an 80 column terminal.
2369
2370 2000-11-20  H.J. Lu  <hjl@gnu.org>
2371
2372         * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
2373         ELFOSABI_AIX.
2374
2375 2000-11-17  Richard Henderson  <rth@redhat.com>
2376
2377         * readelf.c (display_debug_lines): Adjust last change to
2378         use sizeof (external->li_length).
2379
2380 2000-11-17  Richard Henderson  <rth@redhat.com>
2381
2382         * readelf.c (display_debug_lines): Fix section length check
2383         and end_of_sequence computation.
2384
2385 2000-11-06  Nick Clifton  <nickc@redhat.com>
2386
2387         * binutils.texi: Add GNU Free Documentation License.
2388         * objcopy.1: Add GNU Free Documentation License.
2389         * objdump.1: Add GNU Free Documentation License.
2390         * addr2line.1: Add GNU Free Documentation License.
2391         * ar.1: Add GNU Free Documentation License.
2392         * nlmconv.1: Add GNU Free Documentation License.
2393         * nm.1: Add GNU Free Documentation License.
2394         * ranlib.1: Add GNU Free Documentation License.
2395         * size.1: Add GNU Free Documentation License.
2396         * strings.1: Add GNU Free Documentation License.
2397         * strip.1: Add GNU Free Documentation License.
2398
2399 2000-10-06  Luciano Gemme <ishitawa@yahoo.com>
2400
2401         * objcopy.c (--srec-len=nn): New parameter to set the
2402         maximum length of generated Srecords.
2403         (--srec-forceS3): New parameter that restricts the generation of
2404         Srecords to type S3 only.
2405         * binutils.texi: Document new command line switches.
2406         * objcopy.1: Docuemnt the new command line switches.
2407         * NEWS: Announce the existence of the new command line switches.
2408
2409 2000-10-31  Nick Clifton  <nickc@redhat.com>
2410
2411         * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
2412         code.  Add Eric Chrisopher as maintainer of MN10300 port.
2413
2414 2000-10-12  Roger Sayle  <roger@metaphorics.com>
2415
2416         * Make comma after string after icon/control optional.
2417
2418 2000-09-13  Anders Norlander  <anorland@acc.umu.se>
2419
2420         * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
2421
2422         * NEWS: Mention support for MIPS32.
2423
2424 2000-09-08  Nick Clifton  <nickc@redhat.com>
2425
2426         * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
2427
2428 2000-09-07  H.J. Lu  <hjl@gnu.org>
2429
2430         * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
2431         * configure: Rebuild.
2432
2433 2000-09-06  Alexandre Oliva  <aoliva@redhat.com>
2434
2435         * configure: Rebuilt with new libtool.m4.
2436
2437 2000-09-05  Nick Clifton  <nickc@redhat.com>
2438
2439         * aclocal.m4: Regenerate.
2440         * config.in: Regenerate.
2441         * configure: Regenerate.
2442
2443 2000-09-04  Todd Vierling  <tv@wasabisystems.com>
2444
2445         * strip.1: Fix stray '\' in -o formatting.
2446
2447 2000-09-02  Nick Clifton  <nickc@redhat.com>
2448
2449         * configure.in: Increase version number to 2.10.91.
2450         * configure: Regenerate.
2451         * aclocal.m4: Regenerate.
2452         * config.in: Regenerate.
2453         * po/binutils.pot: Regenerate.
2454
2455 2000-08-31  Alexandre Oliva  <aoliva@redhat.com>
2456
2457         * acinclude.m4: Include libtool and gettext macros from the
2458         top level.
2459         * aclocal.m4, configure: Rebuilt.
2460
2461 2000-08-30  Jamie Guinan  <guinan@bluebutton.com>
2462
2463         * resrc.c (close_input_stream): Delete extraneous logic
2464
2465 2000-08-24  Hans-Peter Nilsson  <hp@axis.com>
2466
2467         * NEWS: Mention support for CRIS.
2468
2469 2000-08-21  Nick Clifton  <nickc@redhat.com>
2470
2471         * addr2line.c: Changed email address for Ulrich Lauther.
2472
2473 2000-08-17  Christopher C. Chimelis <chris@debian.org>
2474
2475         * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
2476
2477 2000-08-17  Nick Clifton  <nickc@redhat.com>
2478
2479         * readelf.c (display_debug_pubnames): Only issue warning
2480         message once.  Terminate message with a new line.
2481         (display_debug_aranges): Only display version 2 debug info.
2482
2483 2000-08-14  Todd Vierling <tv@wasabisystems.com>
2484
2485         * objcopy.c (strip_main): Silently accept -d as an alias for -g
2486         for compatability with old BSD systems.
2487
2488 2000-08-14  Jason Eckhardt  <jle@cygnus.com>
2489
2490         * NEWS: Mention i860 support.
2491
2492 2000-08-11  Carlo Wood <carlo@alinoe.com>
2493
2494         * addr2line.c (main): Add const to char *.
2495
2496 2000-08-11  Geoff Keating  <geoffk@cygnus.com>
2497
2498         * ar.c (main): Don't crash if called with no arguments
2499         or only '-X32_64' as an argument.
2500
2501 2000-08-08  DJ Delorie  <dj@redhat.com>
2502
2503         * resrc.c: use "gcc -xc" instead of -xc-header
2504
2505 2000-08-05  Jason Eckhardt  <jle@cygnus.com>
2506
2507         * readelf.c (elf/i860.h): Include.
2508         (dump_relocations): Add recognition of i860 architecture.
2509         (guess_is_rela): Add recognition of i860 architecture.
2510
2511 2000-08-03  Nick Clifton  <nickc@cygnus.com>
2512
2513         * MAINTAINERS: Add information about CGEN maintainers.
2514
2515 2000-07-26  Geoff Keating  <geoffk@cygnus.com>
2516
2517         * nm.c (main): Ignore '-X32_64' as an option.
2518         * ar.c (main): Likewise.
2519         * binutils.texi (nm): Document new option.
2520         (ar): Likewise.
2521
2522 2000-07-23  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
2523
2524         * rdcoff.c (external_coff_symbol_p): K&R-ise.
2525
2526 2000-07-20  H.J. Lu  <hjl@gnu.org>
2527
2528         * binutils.texi: Put back "@end table" deleted by
2529         accident.
2530
2531 2000-07-05  Kenneth Block  <krblock@computer.org>
2532
2533         * nm.c: Add optional style to demangle switch.
2534         * objdump.c: Add optional style to demangle switch.
2535         * addr2line.c: Add optional style to demangle switch.
2536         * binutils.texi: Document optional style to demangle
2537         switch.
2538
2539 2000-07-20  Hans-Peter Nilsson  <hp@axis.com>
2540
2541         * MAINTAINERS: Add self as CRIS port maintainer.
2542         * readelf.c: Include elf/cris.h.
2543         (guess_is_rela): Handle EM_CRIS.
2544         (dump_relocations): Ditto.
2545         (get_machine_name): Ditto.
2546         * Makefile.am: Rebuild dependencies.
2547         * Makefile.in: Regenerate.
2548         * po/binutils.pot: Regenerate.
2549
2550 2000-07-19  H.J. Lu  <hjl@gnu.org>
2551
2552         * readelf.c (get_dynamic_type): Change "AUXILARY" to
2553         "AUXILIARY".
2554         (process_dynamic_segment): Print out strings for DT_CONFIG,
2555         DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
2556
2557 2000-07-19  Mark Kettenis  <kettenis@gnu.org>
2558
2559         * nm.c (usage): Change output of `nm --help' to include a
2560         description of the purpose of the program and a detailed
2561         description of the accepted options.
2562
2563 2000-07-19  H.J. Lu  <hjl@gnu.org>
2564
2565         * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
2566         to DF_1_NODEFLIB.
2567
2568 2000-07-19  H.J. Lu  <hjl@gnu.org>
2569
2570         * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
2571
2572 2000-07-19  H.J. Lu  <hjl@gnu.org>
2573
2574         * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
2575         DT_FEATURE.
2576         (process_dynamic_segment): Likewise.
2577
2578         * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
2579         DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
2580         (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
2581         DF_1_NODUMP and DF_1_CONLFAT.
2582
2583 2000-07-18  Nick Clifton  <nickc@cygnus.com>
2584
2585         * binutils.texi (readelf): Fix spelling typo.
2586
2587 2000-07-11  Mark Kettenis  <kettenis@gnu.org>
2588
2589         * objdump.c (usage): Make output of `objdump --help' more
2590         consistent with the rest of the GNU world.  Add a line describing
2591         the purpose of the program.
2592
2593 2000-07-10  David Huggins-Daines  <dhd@linuxcare.com>
2594
2595         * stabs.c (parse_stab_range_type): Cast to proper type to fix
2596         warning.
2597
2598 2000-07-10  Ryan Bradetich  <rbradetich@uswest.net>
2599
2600         * readelf.c (get_dynamic_data): Add casts and use unsigned chars
2601         to fix warnings.
2602         (process_symbol_table): Ditto.
2603         (procesS_extended_line_op): Ditto.
2604         (display_debug_lines): Ditto.
2605         (display_debug_pubnames): Ditto.
2606         (read_and_display_attr): Ditto.
2607
2608 2000-07-09  Nick Clifton  <nickc@cygnus.com>
2609
2610         * MAINTAINERS: Add several more port specific maintainers.
2611
2612 2000-07-05  Nick Clifton  <nickc@cygnus.com>
2613
2614         * MAINTAINERS: Add blanket write privs for Michael Meissner.
2615
2616 2000-06-05  DJ Delorie  <dj@redhat.com>
2617
2618         * MAINTAINERS: New.
2619
2620 2000-07-01  Eric Fifer  <EFifer@sanwaint.com>
2621
2622         * dllwrap.c: Changed mistaken dyn_string_append() calls
2623         to dyn_string_append_cstr().
2624
2625 2000-07-01  Alexander Aganichev <AAganichev@hypercom.com>
2626
2627         * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
2628         struct debug_type stores size in bytes.
2629
2630 2000-07-01  Alan Modra  <alan@linuxcare.com.au>
2631
2632         * Makefile.am (DEP): Fix 2000-06-22.  grep after running dep.sed
2633         (CLEANFILES): Add DEPA.
2634         * Makefile.in: Regenerate.
2635
2636 2000-06-27  Alan Modra  <alan@linuxcare.com.au>
2637
2638         * ar.c: Revert incorrect 2000-06-25 patch.
2639         * bucomm.c: Likewise.
2640
2641 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
2642
2643         * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
2644         (external_coff_symbol_p): New function.
2645         (parse_coff): Use it.
2646
2647 2000-06-25  Alexander Aganichev <AAganichev@hypercom.com>
2648
2649         * ar.c (normalize): Advance past both characters in a DOS based
2650         <letter>: filepath prefix.
2651         (main): Likewise.
2652         * bucomm.c (make_tempname): Likewise.
2653
2654 2000-06-24  Nick Clifton  <nickc@cygnus.com>
2655
2656         * objdump.c (usage): Fix description of --stabs switch.
2657
2658 2000-06-22  Alan Modra  <alan@linuxcare.com.au>
2659
2660         * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
2661         find one.
2662         * Makefile.in: Regenerate.
2663
2664 2000-06-20  Alexander Aganichev <AAganichev@hypercom.com>
2665
2666         * ar.c (normalize): Correct pointer comparison when checking for
2667         backslashes.
2668         (main): Likewise.
2669         * bucomm.c (make_tempname): Likewise.
2670
2671         * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
2672         and search for backslashes in the original pathname.
2673         (ieee_add_bb11): Likewise.
2674
2675 2000-06-18  Nick Clifton  <nickc@redhat.com>
2676
2677         * ar.c (print_contents): Improve verbose message.
2678
2679 2000-06-15  H.J. Lu  <hjl@gnu.org>
2680
2681         * dyn-string.c: Removed. Not needed with dyn-string.c in
2682         libiberty.
2683         * dyn-string.h: Likewise.
2684
2685         * Makefile.am: Remove references to dyn-string.c and
2686         dyn-string.h. Rebuild dependency.
2687         * Makefile.in: Rebuild.
2688
2689 2000-06-15  H.J. Lu  <hjl@gnu.org>
2690
2691         * binutils.texi: Put a warning on copying relocatable object
2692         files between two different formats.
2693
2694 2000-06-13  DJ Delorie  <dj@cygnus.com>
2695
2696         * rcparse.y (control): ICON controls take an id as the first
2697         parameter, not an optional string.  Also, call new convenience
2698         function that takes res_id's.
2699         * resrc.c (define_control): missing text means zero-length string,
2700         not zero ID.
2701         (define_icon_control): New.
2702         * windres.h: declare define_icon_control.
2703
2704 2000-06-13  H.J. Lu  <hjl@gnu.org>
2705
2706         * configure: Regenerate.
2707
2708 2000-06-08  David O'Brien  <obrien@FreeBSD.org>
2709
2710         * configure.in (VERSION): Update to show this is the CVS mainline.
2711
2712 2000-06-02  David O'Brien  <obrien@FreeBSD.org>
2713
2714         * strings.c (isgraphic): Interpret <TAB> as a printable character,
2715         analogous to <SPACE>.
2716
2717 2000-05-30  Alan Modra  <alan@linuxcare.com.au>
2718
2719         * objdump.c (display_target_list): Use bfd_close_all_done, not
2720         bfd_close to fix crash caused by 2000-05-24 change.
2721
2722 2000-05-25  DJ Delorie  <dj@cygnus.com>
2723
2724         * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
2725
2726 2000-05-26  Alan Modra  <alan@linuxcare.com.au>
2727
2728         * Makefile.am: Update dependencies with "make dep-am"
2729         * Makefile.in: Regenerate.
2730
2731 2000-05-26  Eli Zaretskii  <eliz@is.elta.co.il>
2732
2733         * ar.c: Include filenames.h.
2734         (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
2735         and drive letters in file names.
2736         (main): Support backslashes and drive letters in argv[0].  Drop
2737         the .exe suffix, if any, in argv[0] if is_ranlib is negative.  Use
2738         FILENAME_CMP instead of strcmp to compare file names.
2739         (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
2740         DJGPP v2.
2741         (do_quick_append) [__GO32__]: Ditto.
2742         (get_pos_bfd, delete_members, move_members, replace_members):
2743         Compare file names with FILENAME_CMP.
2744
2745         * bucomm.c: Include filenames.h.
2746         (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
2747         forward/backward slashes and drive letters in file names.
2748
2749         * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
2750         mixed forward/backward slashes and drive letters in file names.
2751
2752         * strings.c (O_BINARY, setmode, SET_BINARY): Define.
2753         (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
2754         mode.
2755
2756         * objcopy.c: Include filenames.h.
2757         (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
2758         before comparing to "strip".
2759         Use FILENAME_CMP to compare file names.
2760
2761         * arsup.c: Include filenames.h.
2762         (map_over_list, ar_delete, ar_replace, ar_extract): Use
2763         FILENAME_CMP to compare file names.
2764         (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
2765         the temporary file name.
2766
2767         * configure.in: Check for setmode.
2768         * configure: Regenerate.
2769
2770 2000-05-24  Alan Modra  <alan@linuxcare.com.au>
2771
2772         * objdump.c (display_target_list): Close the bfd.
2773         (display_info_table): Likewise.
2774
2775 2000-05-14  H.J. Lu  (hjl@gnu.org)
2776
2777         * objcopy.c (filter_symbols): Don't strip global symbols in
2778         relocatable object files.
2779
2780 2000-05-14  Alan Modra  <alan@linuxcare.com.au>
2781
2782         * size.c (usage): Associate short options with corresponding long
2783         option to give a clue as to their function.
2784
2785 2000-05-14  Philippe De Muyter  <phdm@macqel.be>
2786
2787         * size.c (main): Accept and ignore `-f' option.
2788
2789 2000-05-13  Alan Modra  <alan@linuxcare.com.au>
2790
2791         * bucomm.h (gettext, dgettext, dcgettext, textdomain,
2792         bindtextdomain): Replace defines with those from intl/libgettext.h
2793         to quieten gcc warnings.
2794
2795 2000-05-12  H.J. Lu  <hjl@gnu.org>
2796
2797         * nlmconv.c (temp_filename): Removed.
2798
2799         * nlmconv.c (link_inputs): Use make_temp_file () instead of
2800         choose_temp_base ().
2801         * objdump.c (display_target_list): Likewise.
2802         (display_info_table): Likewise.
2803
2804 2000-05-08  Alan Modra  <alan@linuxcare.com.au>
2805
2806         * objcopy.c (setup_section): Add const and gettext calls for err.
2807
2808 2000-05-02  H.J. Lu  <hjl@gnu.org>
2809
2810         * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
2811         ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
2812         ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
2813         ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
2814         and ELFOSABI_OPENBSD.
2815
2816 2000-05-02  Kazu Hirata  <kazu@hxi.com>
2817
2818         * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
2819         * srconv.c: Likewise.
2820         * sysdump.c: Likewise.
2821
2822 2000-04-23  Denis Chertykov  <denisc@overta.ru>
2823
2824         * readelf.c (guess_is_rela): AVR uses RELA relocations.
2825         (get_machine_name): machine name for EM_AVR added.
2826
2827 2000-04-21  Richard Henderson  <rth@cygnus.com>
2828             David Mosberger  <davidm@hpl.hp.com>
2829
2830         * Makefile.am (readelf.o): Add elf/ia64.h.
2831         * Makefile.in: Rebuild.
2832         * readelf.c: Include elf/ia64.h.
2833         (guess_is_rela, dump_relocations): Handle EM_IA_64.
2834
2835 2000-04-17  Timothy Wall  <twall@cygnus.com>
2836
2837         * objdump.c (disassemble_data): Set octets per byte *after*
2838         resolving arch/mach for binary files.
2839
2840 2000-04-14  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
2841
2842         * arlex.l: Add directives to increase lex buffer size.
2843
2844         * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
2845         already included by bucomm.h.
2846
2847 2000-04-10  Philippe De Muyter  <phdm@macqel.be>
2848
2849         * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
2850         `strftime' since strftime is not available on all systems.
2851         (process_mips_specific): Ditto.
2852
2853 2000-04-07  Andrew Cagney  <cagney@b1.cygnus.com>
2854
2855         * configure.in (WARN_CFLAGS): Set to -W -Wall by default.  Add
2856         --enable-build-warnings option.
2857         * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
2858         * Makefile.in, configure: Re-generate.
2859
2860 2000-04-06  Alan Modra  <alan@linuxcare.com.au>
2861
2862         * addr2line.c: Update copyright.
2863         * objcopy.1: Likewise, and title.
2864         * strings.1: Likewise.
2865
2866         * version.c (print_version): Add 2000.
2867
2868         * rddbg.c (read_section_stabs_debugging_info): Don't use
2869         bfd_size_type for strx to avoid printf problems if BFD64.
2870
2871         * bucomm.c: (report): Remove `static'.
2872         Move inclusion of stdarg.h/vararg.h from here.
2873         * bucomm.h: To here.
2874         (CONST): Change all occurences to const.
2875         (report): Declare it.
2876         (bfd_fatal): Add ATTRIBUTE_NORETURN.
2877         (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
2878         (non_fatal): Add ATTRIBUTE_PRINTF_1.
2879
2880         * ar.c (main): Use fatal or non_fatal instead of fprintf.
2881         Correct a typo in an error message.
2882         (do_quick_append): Use non_fatal instead of fprintf.
2883         (move_members): Use fatal instead of fprintf, exit.
2884         * coffdump.c (main): Same here.
2885
2886         * dlltool.c (display): Delete.
2887         (warn): Delete.
2888         (inform): Use `report' instead of `display'.
2889         (rvaafter): Remove trailing \n from fatal error msg.
2890         (rvabefore): Ditto.
2891         (asm_prefix): Ditto.
2892         (yyerror): Replace `warn' with `non_fatal', and remove \n.
2893         (def_name): Likewise.
2894         (run): Likewise.
2895         (scan_all_symbols): Likewise.
2896         (gen_lib_file): Likewise.
2897         (def_library): Likewise.  Remove extra program_name too.
2898         (run): Remove \n from inform strings.
2899         (scan_drectve_symbols): Likewise.
2900         (add_excludes): Likewise.
2901         (scan_open_obj_file): Likewise.
2902         (gen_exp_file): Likewise.
2903         (gen_lib_file): Likewise.
2904         (process_duplicates): Likewise.
2905
2906         * Makefile.am (dllwrap_SOURCES): Add version.c.
2907         * dllwrap.c (program_version): Delete.
2908         (print_version): Delete.
2909         (display): Always print trailing \n.
2910         (warn): New.
2911         (delete_temp_files): Use warn instead of fprintf.  Use gettext.
2912         (run): Here too.
2913         (main): And here.
2914         (usage): gettext'ify.
2915         (long_options): Add missing initialisers.
2916
2917         * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
2918         (select_output_format): Likewise.
2919         (powerpc_mangle_relocs): Likewise.
2920         (link_inputs): Likewise.
2921
2922         * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
2923         (set_output_format): Likewise.
2924         (main): Use non_fatal instead of fprintf.
2925         (display_rel_file): Likewise.
2926
2927         * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
2928         (slurp_dynamic_symtab): Same here.
2929         (disassemble_data): And here.
2930         (read_section_stabs): And here.
2931         (read_section_stabs): And here.
2932         (dump_bfd): And here.
2933         (main): And here.
2934         (objdump_sprintf): Use fatal instead of fprintf, exit.
2935         (disassemble_data): Same here.
2936
2937         * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
2938         (parse_coff_struct_type): Same here.
2939         (parse_coff_enum_type): And here.
2940         (parse_coff): And here.
2941         * rddbg.c (read_debugging_info): And here.
2942         * size.c (main): And here.
2943         * windres.c (format_from_name): And here.
2944         * wrstabs.c (stab_write_symbol): Here too.
2945         (write_stabs_in_sections_debugging_info): And here.
2946         (stab_int_type): And here.
2947         (stab_struct_field): And here.
2948         (stab_typdef): And here.
2949
2950         * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
2951         * srconv.c (main): Same here.
2952         * strings.c (main): And here.
2953         (integer_arg): And here.
2954         * sysdump.c (main): And here.
2955
2956 2000-04-06  Timothy Wall  <twall@cygnus.com>
2957
2958         * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
2959
2960 2000-04-06  Jason Merrill  <jason@yorick.cygnus.com>
2961
2962         * readelf.c (decode_location_expression): Loop through multiple
2963         operations.
2964         (read_and_display_attr): Pass in length.
2965
2966         * readelf.c (read_and_display_attr): Add CU offset to references.
2967         (display_debug_info): Pass it in.
2968
2969 2000-04-06  Nick Clifton  <nickc@cygnus.com>
2970
2971         * readelf.c (decode_ARM_machine_flags): New function.
2972         (get_machine_flags): Call decode_ARM_machine_flags for ARM
2973         targets.
2974
2975         (get_machine_name): Catch EM_AVR
2976
2977 2000-04-05  Alan Modra  <alan@linuxcare.com.au>
2978
2979         * binutils.texi: Remove optional `=' from long options that have
2980         an `=' in the argument.
2981         * objcopy.1: Here too.  Remove extra space on discard-all.
2982
2983         * binutils.texi (objcopy): Mention --redefine-sym.
2984         * objcopy.1: Here too.
2985         * NEWS: And here.
2986
2987         * objcopy.c (parse_flags): Split off flag names from error message
2988         gettext as they are not translated.
2989         (copy_main): Similarly split off option name for --add-section,
2990         --set-section-flags, --change-section-vma, --change-section-lma
2991         error messages.
2992         Some white space changes.
2993
2994         from Matthew Benjamin <matt@linuxbox.nu>
2995         * objcopy.c (struct redefine_node): New.
2996         (redefine_sym_list): New.
2997         (redefine_list_append): New.
2998         (lookup_sym_redefinition): New.
2999         (OPTION_REDEFINE_SYM): New.
3000         (copy_options): Add --redefine-sym option.
3001         (copy_usage): Mention it.
3002         (filter_symbols): Rename symbols on redefine_sym_list.
3003         (copy_object): Call filter_symbols if redefine_sym_list != NULL.
3004         (copy_main): Handle OPTION_REDEFINE_SYM.
3005
3006 2000-04-04  H.J. Lu  <hjl@gnu.org>
3007
3008         * readelf.c (process_symbol_table): Correctly read in symbol
3009         versioning information.
3010
3011 2000-04-04  Alan Modra  <alan@linuxcare.com.au>
3012
3013         * po/binutils.pot: Regenerate.
3014
3015         * addr2line.c (usage): Restore translated part of bug string.
3016         * ar.c (usage): Likewise.
3017         * nlmconv.c (show_usage): Likewise.
3018         * nm.c (usage): Likewise.
3019         * objcopy.c (copy_usage): Likewise.
3020         (strip_usage): Likewise.
3021         * objdump.c (usage): Likewise.
3022         * readelf.c (usage): Likewise.
3023         * size.c (usage): Likewise.
3024         * strings.c (usage): Likewise.
3025         * windres.c (usage): Likewise.
3026
3027         * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
3028         (DEP): Quote when passing vars to sub-make.  Add warning
3029         message to end.
3030         (DEP1): Rewrite for "gcc -MM".
3031         (CLEANFILES): Add DEP2.
3032         Update dependencies.
3033         * Makefile.in: Regenerate.
3034
3035 2000-04-04  H.J. Lu  <hjl@gnu.org>
3036
3037         * Makefile.am (GENERATED_HFILES): Add rcparse.h
3038         (arparse.h): Depend on arparse.c
3039         (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
3040
3041 2000-04-03  H.J. Lu  (hjl@gnu.org)
3042
3043         * size.c (usage): Use REPORT_BUGS_TO.
3044
3045 2000-04-03  Alan Modra  <alan@linuxcare.com.au>
3046
3047         * bucomm.h: #include "bin-bugs.h"
3048         * addr2line.c (usage): Use REPORT_BUGS_TO.
3049         * ar.c (usage): Likewise.
3050         * nlmconv.c (show_usage): Likewise.
3051         * nm.c (usage): Likewise.
3052         (OPTION_TARGET): Define.
3053         (long_options): Use OPTION_TARGET rather than 200.
3054         (main): Likewise.
3055
3056         * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
3057         (strip_usage): Likewise.
3058         * objdump.c (usage): Likewise.
3059         * readelf.c (usage): Likewise.
3060         * strings.c (usage): Likewise.
3061         * windres.c (usage): Likewise.
3062
3063 2000-03-31  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3064
3065         * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
3066
3067 2000-03-27  Nick Clifton  <nickc@cygnus.com>
3068
3069         * rddbg.c (read_section_stabs_debugging_info): Catch out of range
3070         string offsets in corrupt stabs entries.
3071
3072 2000-03-27  Alan Modra  <alan@linuxcare.com.au>
3073
3074         * readelf.c: Include elf/avr.h
3075         (dump_relocations): Add EM_AVR case.
3076
3077 2000-03-09  Tim Waugh  <twaugh@redhat.com>
3078
3079         * strings.1: Correct '-bytes' to '--bytes'.
3080
3081 2000-03-08  H.J. Lu  <hjl@gnu.org>
3082
3083         * Makefile.am (install-exec-local): Depend on
3084         install-binPROGRAMS for parallel make.
3085         * Makefile.in: Regenerated.
3086
3087 2000-02-27  Ian Lance Taylor  <ian@zembu.com>
3088
3089         From Brad Lucier <lucier@math.purdue.edu>:
3090         * readelf.c (process_dynamic_segment): Add cast to make sure
3091         argument to %* is int.
3092
3093 2000-02-25  H.J. Lu  <hjl@gnu.org>
3094
3095         * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
3096
3097 2000-02-24  Nick Clifton  <nickc@cygnus.com>
3098
3099         * configure.in: Add arm-wince, mips-pe and sh-pe targets.
3100         * configure: Regenerate.
3101
3102         * dlltool.c: Add support for sh-pe and mips-pe targets.
3103         * rescoff.c: Add support for sh-pe and mips-pe targets.
3104
3105 2000-02-23  H.J. Lu  <hjl@gnu.org>
3106
3107         * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
3108
3109 2000-02-22  Nick Clifton  <nickc@cygnus.com>
3110
3111         * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
3112
3113 2000-02-22  Ian Lance Taylor  <ian@zembu.com>
3114
3115         From Brad Lucier <lucier@math.purdue.edu>:
3116         * readelf.c (process_version_sections): Add casts to make sure
3117         argument to %* is an int.
3118         (process_mips_specific): Add casts to make printf arguments match
3119         format.
3120
3121 2000-02-21  Alan Modra  <alan@spri.levels.unisa.edu.au>
3122
3123         * objdump.c (dump_section_header): Change `opb' to unsigned.
3124         (find_symbol_for_address): Same here.
3125         (disassemble_data): And here.  Change `addr_offset',
3126         `stop_offset', `nextstop_offset' to unsigned long.
3127         (dump_data): Change opb to unsigned.
3128
3129 2000-02-18  Frank Ch. Eigler  <fche@redhat.com>
3130
3131         * resrc.c: Remove unmatched #if for cygwin.
3132
3133 2000-02-14  Fernando Nasser  <fnasser@totem.to.cygnus.com>
3134
3135         * binutils.texi: Document the change of flavor name from atpcs-special
3136         to special-atpcs to prevent name conflict in gdb.
3137
3138 2000-02-08  Timothy Wall  <twall@redhat.com>
3139
3140         * objdump.c (show_line): Fix bug preventing printing of the very
3141         first line (line zero) of a file when interlisting source and
3142         assembly.  Added option to print entire context from start of file
3143         when the first line from that file is encountered.
3144
3145 2000-02-03  Timothy Wall <twall@redhat.com>
3146
3147         * objdump.c (dump_section_header, find_symbol_for_address,
3148         show_line, disassemble_bytes, disassemble_data, dump_data):
3149         distinguish between octets and bytes.
3150
3151 2000-01-27  Thomas de Lellis  <tdel@windriver.com>
3152
3153         * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
3154         check to unresolved symbols.
3155         (print_symbol_info_sysv):  Ditto.
3156         (print_symbol_info_posix):  Ditto.
3157
3158         * binutils.texi: Document new 'V' symclass flag for nm.
3159
3160 2000-01-27  Nick Clifton  <nickc@redhat.com>
3161
3162         * binutils.texi (objdump): Document new ARM specific
3163         disassembler options.
3164
3165         * objdump.c (usage): Call disassembler_usage().
3166
3167 2000-01-27  Alan Modra  <alan@spri.levels.unisa.edu.au>
3168
3169         * readelf.c (get_dynamic_flags): Return buff.
3170         (process_dynamic_segment): Don't pass error strings to printf
3171         as format arg.
3172         (read_and_display_attr): Use lx and ld to print longs.
3173         (process_corefile_note_segment): Cast bfd_vma to unsigned long
3174         before printing.
3175         Update copyright.
3176
3177 2000-01-17  Nick Clifton  <nickc@cygnus.com>
3178
3179         * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
3180
3181 2000-01-15  Alan Modra  <alan@spri.levels.unisa.edu.au>
3182
3183         * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
3184         false.
3185         (debug_tag_type): Here too.
3186         * ieee.c (ieee_builtin_type): And here.
3187         * stabs.c (parse_stab_type, parse_stab_array_type): And here.
3188
3189 2000-01-13  Nick Clifton  <nickc@cygnus.com>
3190
3191         * readelf.c (get_machine_name): Change EM_S370 to return "IBM
3192         System/370".
3193
3194 2000-01-11  Nick Clifton  <nickc@cygnus.com>
3195
3196         * readelf.c (get_dynamic_type): Remove DT_ENCODING.
3197
3198 2000-01-10  Nick Clifton  <nickc@cygnus.com>
3199
3200         * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
3201
3202 2000-01-07  Mumit Khan  <khan@xraylith.wisc.edu>
3203
3204         * windres.c (long_options): Add --use-temp-file and
3205         --no-use-temp-file options.
3206         (usage): Document.
3207         (main): Handle.
3208
3209         * windres.h: Update read_rc_file prototype.
3210
3211         * resrc.c (cpp_temp_file): New static variable.
3212         (istream_type): New static variable.
3213         (close_pipe): Delete function.
3214         (run_cmd): New static function.
3215         (open_input_stream): New static function.
3216         (close_input_stream): New static function.
3217         (look_for_default): Handle DOS directory separator. Use
3218         open_input_stream instead of popen.
3219         (read_rc_file): Likewise.
3220
3221         * binutils.texi: Document --use-temp-file, --no-use-temp-file
3222         options.
3223
3224 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
3225
3226         * dlltool.c (create_compat_implib): New variable.
3227         (gen_exp_file): Use.
3228         (make_one_lib_file): Use.
3229         (long_options): Add --compat-implib option.
3230         (usage): Handle.
3231         (main): Handle.
3232
3233         * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
3234         (main): Use. Don't look for "32" in cygwin and mingw target names.
3235
3236 2000-01-03  Nick Clifton  <nickc@cygnus.com>
3237
3238         * binutils.texi: Document new, ARM specific disassembler
3239         command line switch "-M force-thumb".
3240
3241 For older changes see ChangeLog-9899
3242 \f
3243 Local Variables:
3244 mode: change-log
3245 left-margin: 8
3246 fill-column: 74
3247 version-control: never
3248 End: