OSDN Git Service

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