OSDN Git Service

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