OSDN Git Service

Support for more than 64k ELF sections.
[pf3gnuchains/pf3gnuchains3x.git] / binutils / ChangeLog
1 2001-12-17  Alan Modra  <amodra@bigpond.net.au>
2
3         * readelf.c (symtab_shndx_hdr): New global.
4         (SECTION_HEADER_INDEX): Define.
5         (SECTION_HEADER_NUM): Define.
6         (SECTION_HEADER): Define.
7         (GET_ELF_SYMBOLS): Pass two params rather than three.
8         (get_32bit_elf_symbols): Take file and section args.  Read and
9         use SHT_SYMTAB_SHNDX.
10         (get_64bit_elf_symbols): Likewise.
11         (dump_relocations): Use SECTION_HEADER to index "section_headers".
12         (process_section_headers): Likewise.  Use SECTION_HEADER_NUM too.
13         Remember symtab_shdx_hdr.
14         (process_program_headers): Scan from index 1 for segment map.
15         (slurp_ia64_unwind_table): Use SECTION_HEADER to index
16         "section_headers".
17         (process_relocs): Likewise.  Also adjust call to GET_ELF_SYMBOLS.
18         (process_unwind): Likewise.
19         (process_version_sections): Likewise.
20         (process_symbol_table): Likewise.
21         (display_debug_info): Likewise.
22         (process_dynamic_segment): Fake up a symtab section for changed
23         GET_ELF_SYMBOLS.
24         (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
25         (process_program_headers): Kill signed/unsigned warning.
26         (load_debug_str): Likewise.
27         (display_debug_info): Likewise.
28
29 2001-12-13  Jakub Jelinek  <jakub@redhat.com>
30
31         * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
32
33 2001-12-11  Alan Modra  <amodra@bigpond.net.au>
34
35         * readelf.c (process_file_header): Print extended e_shnum and
36         e_shdtrndx values.  Set elf_header values for same.
37         (get_32bit_section_headers): Add "num" arg to read "num" headers.
38         (get_64bit_section_headers): Likewise.
39         (process_section_headers): Update calls.
40         (get_file_header): Call get_32bit_section_headers or 64bit variant.
41
42 2001-12-10  Jakub Jelinek  <jakub@redhat.com>
43
44         * objcopy.c (setup_section): Copy entsize.
45
46 2001-12-07  Geoffrey Keating  <geoffk@redhat.com>
47
48         * readelf.c (guess_is_rela): Add support for stormy16.
49         (dump_relocations): Likewise.
50         (get_machine_name): Likewise.
51
52 2001-12-05  Nick Clifton  <nickc@cambridge.redhat.com>
53
54         * dllwrap.c (main) Replace multiple strings describing a
55         single error with a single, newline escaped sentence to permit
56         better translation into foreign languages.
57
58         * readelf.c (get_elf_class): Remove internalionalisation of ELF
59         class names.
60
61 2001-12-04  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
62
63         * strings.c (get_char): Initialize value.
64
65 2001-12-04  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
66
67         * arlex.l: Silence compile warnings.
68         * arsup.h: Likewise. Fix formatting.
69
70 2001-12-04  Jakub Jelinek  <jakub@redhat.com>
71
72         * strings.c: Include config.h before bfd.h.
73         (file_off): New type.
74         (file_open): Define.
75         (print_strings): Use file_off instead of file_ptr.  Print addresses
76         which don't fit into long correctly.
77         (get_char): Use file_off instead of file_ptr.  Use getc_unlocked if
78         available.
79         (strings_file): Use file_off instead of file_ptr.  Use file_open.
80         * configure.in: Check for getc_unlocked.
81         Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
82         be defined for it.
83         * configure: Rebuilt.
84         * config.h.in: Rebuilt.
85
86 2001-11-29  H.J. Lu <hjl@gnu.org>
87
88         * bucomm.c (make_tempname): Revert the changes made on
89         2001-11-14 and 2001-11-12. They won't work with directories.
90
91 2001-11-23  John David Anglin  <dave@hiauly1.hia.nrc.ca>
92
93         * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
94         CFLAGS_FOR_TARGET to runtest in environment.
95         * Makefile.in: Rebuild.
96         * doc/Makefile.in: Rebuild.
97
98 2001-11-28  Mike Stump  <mrs@wrs.com>
99
100         * objcopy.c (setup_section): Preserve SEC_RELOC when
101         --set-section-flags is used.
102
103 2001-11-19  Nick Clifton  <nickc@cambridge.redhat.com>
104
105         * readelf.c (do_debug_str): New variable.
106         (display_debug_str): New function: Display the contents of a
107         .debug_str section.
108         (load_debug_str): New function: Load in the contents of a
109         .debug_str section.
110         (free_debug_str): New function: Free the memory used by
111         load_debug_str().
112         (fetch_indirect_string): Retrieve a string from the .debug_str
113         section.
114         (usage): Add -ws.
115         (parse_args): Accept -ws.
116         (process_section_headers): Allow the display of the .debug_str
117         section.
118         (read_and_display_attr_value): Use fetch_indirect_string.  Show
119         offset into .debug_str section.
120         (display_debug_info): Use load_debug_str and free_debug_str.
121         (debug_displays): Add .debug_str.
122         * doc/binutils.texi: Document -ws.
123
124 2001-11-19  Andreas Jaeger  <aj@suse.de>
125
126         * testsuite/binutils-all/objdump.exp: Add x86-64.
127
128 2001-11-15  Andreas Schwab  <schwab@suse.de>
129
130         * readelf.c: Fix warnings without terminating newline.
131
132 2001-11-15  Alan Modra  <amodra@bigpond.net.au>
133
134         * doc/binutils.texi (objdump): Document ppc -M options.
135
136 2001-11-14  Andreas Jaeger  <aj@suse.de>
137
138         * doc/binutils.texi (objdump): Fix description to use x86-64.
139
140 2001-11-14  Nick Clifton  <nickc@cambridge.redhat.com>
141
142         * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
143         not all systems provide mkstemp.
144
145 2001-11-14  Alan Modra  <amodra@bigpond.net.au>
146
147         * doc/binutils.texi (objdump): Document x86 -M options.
148
149 2001-11-13  Keith Walker <keith.walker@arm.com>
150
151         * readelf.c (read_and_display_attr_value): New function to
152         handle DW_FORM_indirect.
153         (read_and_display_attr): Use it.
154
155 2001-11-13  Geoffrey Keating  <geoffk@redhat.com>
156
157         * readelf.c (display_debug_lines): Deal with unknown standard
158         opcodes.  Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
159         DW_LNS_set_isa.
160
161 2001-11-13  Timothy Wall  <twall@alum.mit.edu>
162
163         * MAINTAINERS: Add self as tic54x maintainer.  This target
164         includes the IBM C54XDSP clone.
165
166 2001-11-12  * Steven J. Hill <sjhill@realitydiluted.com>
167
168         * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
169
170 2001-11-09  Jeffrey A Law  (law@cygnus.com)
171
172         * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
173         (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
174         (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
175         (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
176         (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
177         (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
178         (unw_decode_b2, unw_decode_b3_b4): Likewise.
179
180         * readelf.c (get_elf_class): Fix ISO portability glitch.
181         (get_data_encoding, get_osabi_name, request_dump): Likewise.
182
183 2001-11-07  Jakub Jelinek  <jakub@redhat.com>
184
185         * readelf.c (debug_str, debug_str_size): New.
186         (display_debug_abbrev): If no abbrevs were read, skip the CU.
187         Call free_abbrevs.
188         (read_and_display_addr): Handle DW_FORM_strp.
189         (display_debug_info): Read .debug_str section if present,
190         so that DW_FORM_strp can be handled.
191         Fix test for non-existant .debug_abbrev section.
192
193 2001-11-05  Jakub Jelinek  <jakub@redhat.com>
194
195         * arlex.l: Accept `\' in filenames.  Patch by <earl_chew@agilent.com>.
196
197         * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
198
199 2001-11-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
200
201         * MAINTAINERS: Add self as s390/s390x maintainer.
202
203 2001-11-02  Tom Rix  <trix@bluey.cygnus.com>
204
205         * MAINTAINERS: Add self as PPC XCOFF maintainer.
206
207 2001-11-02  Nick Clifton  <nickc@cambridge.redhat.com>
208
209         * configure.in (ALL_LINGUAS): Add "fr" and "tr".
210         * configure: Regernate.
211         * po/fr.po: New file.
212         * po/tr.po: New file.
213
214 2001-10-30  Hans-Peter Nilsson  <hp@bitrange.com>
215
216         * MAINTAINERS: Add self as MMIX port maintainer.
217         * readelf.c: Include elf/mmix.h.
218         (guess_is_rela): MMIX is RELA.
219         (dump_relocations): Handle MMIX relocations.
220         * Makefile.am: Regenerate dependencies.
221         * Makefile.in: Regenerate.
222
223 2001-10-13  Nick Clifton  <nickc@cambridge.redhat.com>
224
225         * readelf.c (parse_args): Handle multiple options to the -w
226         switch.
227
228 2001-10-12  Jakub Jelinek  <jakub@redhat.com>
229
230         * readelf.c (get_section_type_name): Don't print SHT_ prefix for
231         LOPROC, LOOS and LOUSER.
232
233 2001-10-11  J"orn Rennecke <amylaar@onetel.net.uk>
234
235         * MAINTAINERS: Update my email address.
236
237 2001-10-03  Alan Modra  <amodra@bigpond.net.au>
238
239         * doc/Makefile.in: Regenerate.
240         * configure: Regenerate.
241
242 2001-10-02  Nick Clifton  <nickc@cambridge.redhat.com>
243
244         * readelf.c (display_debug_line, display_debug_pubnames,
245         display_debug_info, display_debug_frames): Detect and warn
246         about 64-bit format entries.
247         (display_debug_aranges): Reword 64-bit warning.
248         (debug_displays): Add .debug_pubtypes as a known, but not yet
249         supported, debug section.
250
251 2001-10-02  Alan Modra  <amodra@bigpond.net.au>
252
253         * coffdump.c (PROGRAM_VERSION): Delete.
254         (main <'V'>): Call print_version.
255         * srconv.c: Likewise.
256         * sysdump.c: Likewise.
257         * version.c (program_version): Remove.
258         (print_version): Use BFD_VERSION_STRING.  Just print the current
259         year in copyright message.
260         * addr2line.c (program_version): Remove unused declaration.
261         * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
262         place of BFD_VERSION.
263         * Makefile.am (Makefile): Depend on bfd/configure.in.
264         (cplus-dem.o): Depend on Makefile.
265         Run "make dep-am".
266         * Makefile.in: Regenerate.
267
268 2001-10-01  Nick Clifton  <nickc@cambridge.redhat.com>
269
270         * readelf.c (display_debug_aranges): Detect and warn about DWARF64
271         format .debug_arange sections.
272         (main): Add missing prototype.
273
274 2001-09-30  Hans-Peter Nilsson  <hp@bitrange.com>
275
276         * Makefile.am: Update dependencies with "make dep-am".
277         * Makefile.in: Regenerate.
278
279 2001-09-28  Richard Henderson  <rth@redhat.com>
280
281         * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
282
283 2001-09-26  Alan Modra  <amodra@bigpond.net.au>
284
285         * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
286         VA_CLOSE.
287         (non_fatal): Likewise.
288         * objdump.c (objdump_sprintf): Likewise.
289         * readelf.c (error): Likewise.
290         (warn): Likewise.
291
292 2001-09-25  Jakub Jelinek  <jakub@redhat.com>
293
294         * readelf.c (do_wide): New.
295         (options): Add --wide.
296         (usage, parse_args): Likewise.
297         (process_program_headers): Put each segment on a single line if
298         --wide is given.
299         (process_section_headers): Put each section on a single line if
300         --wide is given.
301         * doc/binutils.texi: Document it.
302         * NEWS: Likewise.
303
304 2001-09-25  Alan Modra  <amodra@bigpond.net.au>
305
306         * readelf.c (print_vma): Print 8 digits of low hex value.
307
308 2001-09-24  Andreas Jaeger  <aj@suse.de>
309
310         * nlmconv.c: Fix warnings about unused attributes and function
311         prototypes.
312
313         * strings.c: Add prototype for get_char.
314
315 2000-09-19  H.J. Lu  <hjl@gnu.org>
316
317         * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
318         $(srcdir)/cxxfilt.man.
319         * doc/Makefile.in: Rebuild.
320
321 2001-09-19  Alan Modra  <amodra@bigpond.net.au>
322
323         * objcopy.c (copy_main): Correct rename-section string parsing.
324         Consolidate new_name parsing, and error messages.
325
326 2001-09-18  Bruno Haible  <haible@clisp.cons.org>
327
328         * addr2line.c: Don't include <ctype.h>.
329         (main): For gettext, also set the LC_CTYPE locate facet.
330         * ar.c (main): Likewise.
331         * coffdump.c (main): Likewise.
332         * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
333         (main): For gettext, also set the LC_CTYPE locate facet.
334         Use ISALNUM instead of isalpha/isdigit.
335         * dllwrap.c: Don't include <ctype.h>.
336         (main): For gettext, also set the LC_CTYPE locate facet.
337         * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
338         (main): For gettext, also set the LC_CTYPE locate facet.
339         Use TOUPPER instead of islower/toupper.
340         * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
341         (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
342         Use TOUPPER instead of islower/toupper.
343         * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
344         * objcopy.c (main): Likewise.
345         * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
346         (disassemble_bytes): Use ISPRINT instead of isprint.
347         (dump_section_stabs): Use ISDIGIT instead of isdigit.
348         (dump_data): Use ISPRINT instead of isprint.
349         (main): For gettext, also set the LC_CTYPE locate facet.
350         * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
351         (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
352         * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
353         Use TOUPPER instead of islower/toupper.
354         * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
355         * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
356         (write_rc_accelerators): Use ISPRINT instead of isprint.
357         (write_rc_rcdata): Likewise.
358         * size.c (main): For gettext, also set the LC_CTYPE locate facet.
359         * srconv.c (main): Likewise.
360         * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
361         (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
362         isdigit/isupper/islower.
363         (parse_stab_string, parse_stab_type, parse_stab_argtypes,
364         parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
365         stab_demangle_prefix, stab_demangle_qualified,
366         stab_demangle_template, stab_demangle_type,
367         stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
368         * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
369         (isgraphic): Use ISPRINT instead of isascii/isprint.
370         (main): Remove HAVE_LC_MESSAGES dependency.
371         * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
372         (pbarray): Use ISPRINT instead of isprint.
373         (main): For gettext, also set the LC_CTYPE locate facet.
374         * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
375         (format_from_filename): Use ISPRINT instead of isprint.
376         (main): For gettext, also set the LC_CTYPE locate facet.
377         * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
378         (unicode_print): Use ISPRINT instead of isprint.
379         * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
380         (stab_variable): Use ISDIGIT instead of isdigit.
381
382 2001-09-18  Alan Modra  <amodra@bigpond.net.au>
383
384         * ar.c (print_contents): Cast args of bfd_seek to the right types.
385         Replace bfd_read call with call to bfd_bread.
386         (extract_file): Likewise.
387
388         * objdump.c (dump_section_header): Cast section->filepos to
389         unsigned long to suit printf format string.
390         * readelf.c (process_section_headers): Similarly for sh_offset.
391         (process_unwind): Likewise.
392
393 2001-09-14  Nick Clifton  <nickc@cambridge.redhat.com>
394
395         * strings.c (encoding, encoding_bytes): New variables.
396         (long_options): Add --encoding.
397         (main): Accept -e and --encoding.
398         (get_char): New function.  Read a, possibly wide, character from
399         the input stream.
400         (print_strings): Use get_char().
401         (usage): Document new command line option.
402         * doc/binutils.texi: Document new command line option.
403         * NEWS: Announce new command line option.
404
405 2001-09-12  Alexandre Oliva  <aoliva@redhat.com>
406
407         * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
408         get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
409         EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
410         Removed EM_CYGNUS_ARC.
411
412 2001-09-04  Jeffrey A Law  (law@cygnus.com)
413
414         * readelf.c: Include elf/h8 for H8 series definitions.
415         (guess_is_rela): H8 series if RELA.
416         (dump_relocations): Handle H8 series relocations.
417
418 2001-08-31  Eric Christopher  <echristo@redhat.com>
419
420         * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
421
422 2001-08-29  Peter Targett  <peter.targett@arccores.com>
423
424         * MAINTAINERS: Include ARC Maintainer.
425
426 2001-08-29  Ben Elliston  <bje@redhat.com>
427
428         * stabs.c (stab_demangle_template): Initialise s4.
429
430 2001-08-27  Alan Modra  <amodra@bigpond.net.au>
431
432         * readelf.c (dump_relocations): Recognise EM_PPC64.
433
434 2001-08-26  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
435
436         * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
437
438 2001-08-25  H.J. Lu  <hjl@gnu.org>
439
440         * nm.c (print_width): New.
441         (display_rel_file): Set `print_width' according to
442         bfd_sprintf_vma.
443         (print_symbol_info_bsd): Check `print_width' instead of BFD64.
444
445 2001-08-24  Alexandre Oliva  <aoliva@redhat.com>
446
447         * objcopy.c (use_alt_mach_code): New variable.
448         (OPTION_ALT_MACH_CODE): Define.
449         (copy_options): Added --alt-machine-code.
450         (copy_main): Handle it.
451         (copy_object): Switch to alternate machine code if requested.
452         * doc/binutils.texi: Document new option.
453         * NEWS: Likewise.
454
455 2001-08-22  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
456
457         * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
458
459 2001-08-21  H.J. Lu  <hjl@gnu.org>
460
461         * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
462         (display_debug_info): Cast for 64bit hosts.
463         (display_debug_frames): Likewise.
464         (process_mips_specific): Likewise.
465
466 2001-08-21  Andreas Jaeger  <aj@suse.de>
467
468         * coffgrok.h: Add missing parameter for prototype of coff_grok.
469
470         * sysdump.c: Add missing prototypes.
471         * srconv.c: Likewise.
472         * unwind-ia64.c: Likewise.
473         * coffdump.c: Likewise.
474
475         * sysinfo.y: Print prototypes, include <ansidecl.h>.
476
477         * coffgrok.c: Add missing prototypes, include libiberty.h instead
478         of declaring xcalloc.
479
480 2001-08-10  H.J. Lu  <hjl@gnu.org>
481
482         * nm.c (print_value): Add one arg, bfd *.
483         (print_value): Replace fprintf_vma with bfd_fprintf_vma.
484         (print_symbol_info_bsd): Also pass `abfd' to print_value ().
485         (print_symbol_info_sysv): Likewise.
486         (print_symbol_info_posix): Likewise.
487
488         * objdump.c (dump_section_header): Replace printf_vma with
489         bfd_printf_vma.
490         (print_section_stabs): Likewise.
491         (dump_bfd_header): Likewise.
492         (objdump_print_value): Replace sprintf_vma with
493         bfd_sprintf_vma.
494         (disassemble_bytes): Likewise.
495         (dump_reloc_set): Likewise.
496
497 2001-08-10  Andreas Jaeger  <aj@suse.de>
498
499         * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
500         to build warnings.
501         * configure: Regenerate.
502
503 2001-08-09  Alan Modra  <amodra@bigpond.net.au>
504
505         * readelf.c: Add missing prototypes.
506         * objdump.c: Likewise.  Format existing prototypes.
507
508 2001-08-08  Alexandre Oliva  <aoliva@redhat.com>
509
510         * readelf.c (display_debug_info): Add to abbrev_offset the addend
511         of any RELA relocation for the abbrev_offset memory location that
512         refers to the .debug_abbrev section symbol.
513
514 2001-08-07  H.J. Lu  <hjl@gnu.org>
515
516         * readelf.c (process_file): Return 0 if OK, otherwise return 1.
517         (main): Return process_file ().
518
519 2001-08-05  Philip Blundell  <philb@gnu.org>
520
521         * doc/binutils.texi: Use "Thumb" not "THUMB".
522
523 2001-08-03  John Healy  <jhealy@redhat.com>
524
525         Patch suggested by Frank Eigler <fche@redhat.com>.
526         * objdump.c (disassemble_data): Fill in section member of the
527         disasm_info structure.
528
529 2001-08-03  Tom Walsh  <tom@cyberiansoftware.com>
530
531         * configure.in: Added --with-windres option.
532         * configure: Regenerated.
533
534 2001-07-11  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
535
536         * doc/binutils.texi: Use @command{name} for commands;
537         use @option{-opt} for options; use @table @env for list of options;
538         remove spaces arround [ | ] in synopsis.
539
540         * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
541         center title.
542
543 2001-07-31  Nick Clifton  <nickc@cambridge.redhat.com>
544
545         * objcopy.c: Fix formatting.
546         (section_rename): New structure.
547         (OPTION_RENAME_SECTION): New switch.
548         (copy_usage): Document new switch.
549         (add_section_rename): New function: Add a node to the section
550         rename list.
551         (find_section_rename): New function: Find the new name and
552         flags for a section.
553         (setup_section): Call find_section_name to determine the name
554         of the output section.
555         (copy_main): Handle OPTION_RENAME_SECTION.
556         * binutils.texi: Document new switch.
557         * NEWS: Mention new switch.
558
559 2001-07-30  Nick Clifton  <nickc@cambridge.redhat.com>
560
561         * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
562         * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
563         bug-binutils@gcc.org.
564
565 2001-07-28  Matthias Kramm  <kramm@quiss.org>
566
567         * bucomm.c (list_supported_architectures): New function.
568         * bucomm.h (list_supported_architectures): Declare.
569         * objdump.c (usage): Call the above.
570
571 2001-07-25  Dave Brolley  <brolley@redhat.com>
572
573         * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
574         (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
575
576 2001-07-19  Nick Clifton  <nickc@cambridge.redhat.com>
577
578         * README: Update for 2.11.  Change bug reporting email address.
579         * MAINTAINERS: Tidy up.  Change bug reporting email address.
580
581 2001-07-16  DJ Delorie  <dj@redhat.com>
582
583         * resres.c (write_res_header): Align header size.
584         (res_align_file): Calculate alignment correctly.
585
586         * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
587         correct 10).
588         * resrc.c (write_rc_resource): Likewise.
589         * windres.h (SUBLANG_SHIFT): Define - as 10.
590
591 2001-07-15  Nick Clifton  <nickc@cambridge.redhat.com>
592
593         * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
594
595 2001-07-11  Nick Clifton  <nickc@cambridge.redhat.com>
596
597         * MAINTAINERS: Add notes about branch checkins.
598
599 2001-07-05  Daniel Berlin  <dan@cgsoftware.com>
600
601         * readelf.c (display_debug_macinfo): New function, display
602         .debug_macinfo section.
603         (do_debug_macinfo): New variable.
604         (parse_args): Handle "-w[mM]" to mean display macro info.
605         (process_section_headers): Handle debug_macinfo.
606         (debug_displays): Replace unsupported function with macinfo
607         function for .debug_macinfo display.
608         * doc/binutils.texi: Document new command line switch.
609         * NEWS: Document new feature of readelf.
610
611 2001-07-05  H.J. Lu  <hjl@gnu.org>
612
613         * objcopy.c (filter_symbols): Don't turn undefined symbols
614         into local.
615
616 2001-07-03  H.J. Lu <hjl@gnu.org>
617
618         * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
619         $@.pod.
620         (ar.1): Likewise.
621         (dlltool.1): Likewise.
622         (nlmconv.1): Likewise.
623         (nm.1): Likewise.
624         (objcopy.1): Likewise.
625         (objdump.1): Likewise.
626         (ranlib.1): Likewise.
627         (readelf.1): Likewise.
628         (size.1): Likewise.
629         (strings.1): Likewise.
630         (strip.1): Likewise.
631         (windres.1): Likewise.
632         (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
633         ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
634         $(DEMANGLER_NAME).
635         (as.1): Removed.
636         * doc/Makefile.in: Regenerated.
637
638 2001-07-03  Nick Clifton  <nickc@cambridge.redhat.com>
639
640         * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
641
642 2001-07-01  Daniel Berlin  <dan@cgsoftware.com>
643
644         * readelf.c: Support DWARF 2.1 tags, encodings, languages.
645
646 2001-06-29  James Cownie <jcownie@etnus.com>
647
648         * readelf.c: Support DWARF 2.1 attributes.
649
650 2001-06-28  Alan Modra  <amodra@bigpond.net.au>
651
652         * readelf.c (GET_DATA_ALLOC): Remove.
653         (GET_DATA): Remove.
654         (get_data): New function combining above macros, with an extra
655         test for zero size.
656         (slurp_rela_relocs): Use get_data, and catch error return.
657         (slurp_rel_relocs): Likewise.
658         (get_32bit_program_headers): Likewise.
659         (get_64bit_program_headers): Likewise.
660         (get_32bit_section_headers): Likewise.
661         (get_64bit_section_headers): Likewise.
662         (get_32bit_elf_symbols): Likewise.
663         (get_64bit_elf_symbols): Likewise.
664         (process_section_headers): Likewise.
665         (process_relocs): Likewise.
666         (slurp_ia64_unwind_table): Likewise.
667         (process_unwind): Likewise.
668         (get_32bit_dynamic_segment): Likewise.
669         (get_64bit_dynamic_segment): Likewise.
670         (process_dynamic_segment): Likewise.
671         (process_version_sections): Likewise.
672         (process_symbol_table): Likewise.
673         (dump_section): Likewise.
674         (display_debug_info): Likewise.
675         (display_debug_section): Likewise.
676         (process_section_contents): Likewise.
677         (process_corefile_note_segment): Likewise.
678         (process_mips_specific): Likewise.  Also free econf32, econf64.
679
680 2001-06-25  Alan Modra  <amodra@bigpond.net.au>
681
682         * readelf.c (dump_relocations): Print "bad symbol index" if
683         symtab == NULL with non-zero symtab_index.
684         (process_relocs): Don't bomb if reloc section has no symsec.
685
686 2001-06-24  H.J. Lu  <hjl@gnu.org>
687
688         * objcopy.c (strip_main): Revert the change made on 2001-05-30
689         by accident.
690         (copy_main): Apply the the change made to strip_main on
691         2001-05-30 by accident.
692
693 2001-06-23  Andreas Jaeger  <aj@suse.de>
694
695         * unwind-ia64.c (unw_decode_x1): Add unused attribute for
696         parameter 'code'.
697         (unw_decode_x2): Likewise.
698         (unw_decode_x3): Likewise.
699         (unw_decode_x4): Likewise.
700
701 2001-06-23  Ben Elliston  <bje@redhat.com>
702
703         * MAINTAINERS: Add myself as M88k maintainer.
704
705 2001-06-22  Jocelyn Mayer  <jocelyn.mayer@netgem.com>
706
707         * objcopy.c (strip_main): Support -o or --output-file command lien
708         switch.
709
710 2001-06-19  H.J. Lu <hjl@gnu.org>
711
712         * doc/Makefile.in: Regenerated.
713
714 2001-06-19  Nick Clifton  <nickc@cambridge.redhat.com>
715
716         * readelf.c: Restore formatting.
717
718 2001-06-18  H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
719
720         * Makefile.am: Move documentation into doc subdirectory.
721         * Makefile.in: Regenerated.
722         * binutils.texi: Move into doc subdirectory.
723         * addr2line.1: Removed.
724         * ar.1: Likewise.
725         * dlltool.1: Likewise.
726         * nlmconv.1: Likewise.
727         * nm.1: Likewise.
728         * objcopy.1: Likewise.
729         * objdump.1: Likewise.
730         * ranlib.1: Likewise.
731         * readelf.1: Likewise.
732         * size.1: Likewise.
733         * strings.1: Likewise.
734         * strip.1: Likewise.
735         * windres.1: Likewise.
736         * cxxfilt.man: Likewise.
737         * doc: New Directory.
738         * doc/Makefile.am: New file.
739         * doc/Makefile.in: Generate.
740
741 2001-06-09  Alan Modra  <amodra@bigpond.net.au>
742
743         * NEWS: Fix a typo.  Mention hppa64-elf.  Add binutils-2.11 marker.
744
745 2001-06-01  Alan Modra  <amodra@bigpond.net.au>
746
747         * MAINTAINERS: Update my email address.
748
749 2001-05-30  Honda Hiroki  <hhonda@kobe-catv.ne.jp>
750
751         * objcopy.c: Add new switches: --keep-global-symbol,
752         --keep-symbols, --localize-symbols, --keep-global-symbols and
753         --weaken-symbols.
754         * binutils.texi: Document new switches.
755         * objcopy.1: Regenerate.
756         * NEWS: Announce new feature.
757
758 2001-05-28  Andreas Jaeger  <aj@suse.de>
759
760         * readelf.c (display_debug_frames): Fix warnings: Remove unused
761         variables, fix format strings.
762
763 2001-05-28  Nick Clifton  <nickc@cambridge.redhat.com>
764
765         * objdump.c (disassemble_bytes): Remove section VMA adjustment
766         when computing the address of the line to show.
767
768 2001-05-16  Richard Henderson  <rth@redhat.com>
769
770         * readelf.c (do_debug_frames_interp): New.
771         (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
772         (byte_get_big_endian): Likewise.
773         (parse_args) ['F']: Set do_debug_frames_interp.
774         (Frame_Chunk): Make data_factor signed, add fde_encoding.
775         (frame_display_row): Don't trunc pc_begin to int.
776         (size_of_encoded_value): New.
777         (display_debug_frames): Handle 64-bit targets.  Print raw data
778         unless do_debug_frames_interp.
779         (debug_displays): Remove duplicate .debug_frame.
780
781 2001-05-15  Ralf Baechle  <ralf@gnu.org>
782
783         * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
784         The former constant was never in active use and is used otherwise
785         by the ABI.
786
787 2001-05-11  Jakub Jelinek  <jakub@redhat.com>
788
789         * readelf.c (process_unwind): Print all unwind sections, not just
790         one.
791
792 2001-05-07  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
793
794         * readelf.c (process_unwind): Remove const specifier.
795
796 2001-04-27  Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
797
798         * strings.c (isgraphic): Do not use isascii() unless it is needed
799         for isprint() to work.
800         (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
801
802 2001-04-27  Johan Rydberg  <jrydberg@opencores.org>
803
804         * NEWS: Announce support for OpenRISC.
805
806 2001-04-17  Danny Smith  <dannysmith@users.sourceforge.net>
807
808         * dlltool.c (do_default_excludes): Initialise to true.
809
810 2001-04-10  Alan Modra  <amodra@one.net.au>
811
812         * MAINTAINERS: Update my email address
813         * nm.c (print_symbol_info_bsd): Use a simple printf string.
814
815 2001-04-05  Hans-Peter Nilsson  <hp@axis.com>
816
817         * readelf.c (display_debug_lines): Fix typo for "Prologue".
818
819 2001-03-30  H.J. Lu  <hjl@gnu.org>
820
821         * readelf.c (process_unwind): Just return if do_unwind is 0.
822
823 2001-03-28  Roger Sayle  <roger@metaphorics.com>
824
825         * dlltool.c (make_one_lib_file): Fix section flags for
826         .text, .data and .bss in stub ds*.o files to match those
827         generated by gas.
828
829 2001-03-29  H.J. Lu  <hjl@gnu.org>
830
831         * readelf.c (process_unwind): Only do unwind sections for
832         IA64.
833
834 2001-03-28  H.J. Lu  <hjl@gnu.org>
835
836         * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
837         * Makefile.in: Regenerate.
838
839 2001-03-26  Andreas Jaeger  <aj@suse.de>
840
841         * binutils.texi (nm): Fix texi syntax.
842
843 2001-03-25  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
844
845         * binutils.texi: Put @c man begin and @c man end indications
846         to generate man pages using texi2pod and pod2man. Put @c man title
847         to identify each man. Add SEEALSO entries.
848         * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
849         (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
850         sort the list.
851         (*.1): Build the man pages from binutils.texi.
852         * Makefile.in: Regenerate.
853
854 2001-03-13  Eric Kohl  <ekohl@rz-online.de>
855
856         * defparse.y (opt_equal_name): allow "." in name.
857         * dlltool.c (def_exports): Added ability to generate forwarded exports.
858         (gen_exp_file): Likewise.
859
860 2001-03-12  Stefan Geuken <mail@stefan-geuken.de>
861
862         * NEWS: Document addition of -B switch to objcopy.
863         * binutils.texi:  Document addition of -B switch to objcopy.
864         * objcopy.c: (copy_options): Add --binary-architecture.
865         (copy_usage): Document -B/--binary-architecture.
866         (copy_main): Support -B/--binary-architecture.  Set
867         bfd_external_binary_architecture.
868
869 2001-03-11  Andreas Jaeger  <aj@suse.de>
870
871         * readelf.c (guess_is_rela): Handle EM_S390_OLD.
872         (dump_relocations): Likewise.
873         (get_machine_name): Likewise.
874
875 2001-02-28  Nick Clifton  <nickc@redhat.com>
876
877         * readelf.c: (struct unw_aux_info): Remove const modifier for
878         'strtab' field.
879         (process_unwind): Remove non-K&R compliant LHS type cast in call
880         to GET_DATA_ALLOC macro.
881
882 2001-02-28  Philip Blundell  <pb@futuretv.com>
883
884         * readelf.c (decode_ARM_machine_flags): Explicitly mention which
885         ABI is in use; remove ambiguity between the "unknown" EABI and
886         unrecognised ABIs.  Handle version 2 ARM EABI.  Update uses of
887         renamed EF_xx constants.
888
889 2001-02-27  Alan Modra  <alan@linuxcare.com.au>
890
891         * configure.in (BFD_VERSION): New.
892         (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
893         * configure: Regenerate.
894         * Makefile.am: Run "make dep-am"
895         * Makefile.in: Regenerate.
896
897 2001-02-14  Nick Clifton  <nickc@redhat.com>
898
899         * MAINTAINERS: Add "Obvious Fix" rule.
900
901 2001-02-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
902
903         * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
904         literal concatenation.
905
906 2001-02-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
907
908         * readelf.c (struct unw_aux_info): Remove const from the info member.
909         (process_unwind): Don't type-cast the third argument to the
910         GET_DATA_ALLOC macro.
911
912 2001-02-11  Nick Clifton  <nickc@redhat.com>
913
914         * readelf.c (dump_relocations): Free corrected allocated
915         array.
916         (process_unwind): Fix compile time warning.
917
918 2001-02-10  Nick Clifton  <nickc@redhat.com>
919
920         * binutils.texi: Document new --unwind option to readelf.
921
922 2001-02-09  Martin Schwidefsky  <schwidefsky@de.ibm.com>
923
924         * readelf.c: Add linux target for S/390.
925
926 2001-02-10  Alan Modra  <alan@linuxcare.com.au>
927
928         * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
929         printf is a macro.
930
931 2001-02-08  Hans-Peter Nilsson  <hp@bitrange.com>
932
933         * acinclude.m4 (AM_PROG_LEX): Override installed definition.
934         * aclocal.m4: Regenerate.
935         * configure: Regenerate.
936
937 2001-02-07  Todd Vierling  <tv@wasabisystems.com>
938
939         * bucomm.c (bfd_target_vector): Change extern array to pointer.
940         * objdump.c (bfd_target_vector): Likewise.
941
942 2001-02-07  David Mosberger  <davidm@hpl.hp.com>
943
944         * readelf.c (process_unwind): New function.
945         (slurp_ia64_unwind_table): Ditto.
946         (dump_ia64_unwind): Ditto.
947         (find_symbol_for_address): Ditto.
948         (slurp_rela_relocs): New function (split off from dump_relocations()).
949         (slurp_rel_relocs): Ditto.
950         (parse_args): Handle '-u' option.
951
952         * unwind-ia64.c: New file.
953         * unwind-ia64.h: New file.
954         * Makefile.am: Include unwind-ia64.c in readelf build.
955         * Makefile.in: Regenerate.
956         * po/binutils.pot: Regenerate.
957
958 2001-02-04  Philip Blundell  <philb@gnu.org>
959
960         * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
961         * configure: Regenerate.
962
963 2001-01-31  Steve deRosier  <sderosier@vari-lite.com>
964
965         * ieee.c (ieee_add_bb11): Don't check for backslashes
966         unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
967
968 2001-01-24  Mark Elbrecht  <snowball3@bigfoot.com>
969
970         * ieee.c: Update copyright.
971         (ieee_start_compilation_unit): Don't check for backslashes
972         unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
973
974         * stabs.c: Update copyright. Include "filenames.h".
975         (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
976
977 2001-01-23  Jakub Jelinek  <jakub@redhat.com>
978
979         * readelf.c (process_version_sections): Check if VERDEF or VERNEED
980         sections are present before using them.  Remove code duplication.
981         (process_symbol_table): Check if VERDEF or VERNEED sections are
982         present before using them.
983
984 2001-01-17  Nick Clifton  <nickc@redhat.com>
985
986         * objcopy.c (copy_object): Fail if attempting to convert the
987         endianness of the input object file.
988
989         * binutils.texi: Explain that objcopy cannot convert endianness.
990
991 2001-01-16  Nick Clifton  <nickc@redhat.com>
992
993         * readelf.c (string_table_length): New variable.
994         (SECTION_NAME): Catch out of range indices and missing section
995         pointers.
996         (process_section_headers): Delete useless local variable
997         string_table_offset.  Set the value of string_table_length
998         after loading the string table.
999         (process_mips_specific): Use SECTION_NAME macro.
1000         (process_file): Set string_table_length to 0 when it is freed.
1001
1002 2001-01-12  Nick Clifton  <nickc@redhat.com>
1003
1004         * version.c (print_version): Update copyright date.
1005
1006 2001-01-11  Peter Targett  <peter.targett@arccores.com>
1007
1008         * readelf.c (dump_relocations): Include selection with EM_ARC.
1009         (get_machine_name) Update name to "ARC".
1010
1011 2001-01-09  Nick Clifton  <nickc@redhat.com>
1012
1013         * Makefile.am: Add rule to build objdump.o from objdump.c and
1014         using OBJDUMP_DEFS.
1015         * Makefile.in: Regenerate.
1016
1017         * configure.in: Define OBJDUMP_DEFS.  Default to empty.
1018         (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
1019         -DDISASSEMBLER_NEEDS_RELOCS.
1020         * configure: Regenerate.
1021
1022         * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
1023         is defined read in the relocs even if dump_reloc_info is
1024         false.
1025
1026 2001-01-07  Philip Blundell  <philb@gnu.org>
1027
1028         * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
1029         `bug-binutils'.
1030         * README: Likewise.
1031
1032 2000-12-19  Nick Clifton  <nickc@redhat.com>
1033
1034         * dlltool.c: Add missing support for arm-epoc-pe.
1035         * configure.in: Add missing support for arm-epoc-pe.
1036         * configure: Regenerate.
1037
1038 2000-12-15  Nick Clifton  <nickc@redhat.com>
1039
1040         * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
1041         Mode parts of the x86 port.
1042
1043 2000-12-04  Andreas Jaeger  <aj@suse.de>
1044
1045         * readelf.c (guess_is_rela): Add EM_X86_64.
1046         (dump_relocations): Add EM_X86_64.
1047         (get_machine_name): Add EM_X86_64.
1048         Include "elf/x86-64.h".
1049
1050 2000-12-12  Nick Clifton  <nickc@redhat.com>
1051
1052         * readelf.c: Fix formatting.
1053
1054 2000-12-11  Jan Hubicka  <jh@suse.cz>
1055
1056         * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
1057
1058 2000-12-07  Andrew Haley  <aph@redhat.com>
1059
1060         * readelf.c (display_debug_frames): Only display columns that are
1061         referenced by the frame debug info.
1062
1063 2000-12-05  Nick Clifton  <nickc@redhat.com>
1064
1065         * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
1066
1067 2000-12-04  Jason Merrill  <jason@redhat.com>
1068
1069         * readelf.c (process_section_headers): Handle linkonce.wi sections.
1070         (display_debug_section): Likewise.
1071         (display_debug_info): Display CU header before bailing.
1072
1073 2000-12-01  Chris Demetriou  <cgd@sibyte.com>
1074
1075         * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
1076         EF_MIPS_ARCH.  Replace use of E_MIPS_MACH_MIPS32 with
1077         E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
1078
1079         * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
1080         and E_MIPS_ARCH_64.
1081
1082         * readelf.c (get_machine_flags): Add case for
1083         E_MIPS_MACH_SB1.
1084
1085 2000-11-30  Richard Earnshaw  <rearnsha@arm.com>
1086
1087         * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
1088
1089 2000-11-28  Hans-Peter Nilsson  <hp@bitrange.com>
1090
1091         * MAINTAINERS: Add J\81örn Rennecke and self as SH maintainers.
1092         Change sourceware.cygnus.com to sources.redhat.com.
1093         Fix typo for "amongst".
1094
1095 2000-11-28  Nick Clifton  <nickc@redhat.com>
1096
1097         * strip.1 (COPYING): Mention that the GNU Free Documentation
1098         License is present in the sources, but not the output, and
1099         also available from the GNU website.
1100         (GNU Free Documentation License): Comment out this section.
1101         * strings.1: Ditto.
1102         * size.1: Ditto.
1103         * ranlib.1: Ditto.
1104         * objdump.1: Ditto.
1105         * objcopy.1: Ditto.
1106         * nm.1: Ditto.
1107         * nlmconv.1: Ditto.
1108         * ar.1: Ditto.
1109         * addr2line.1: Ditto.
1110
1111 2000-11-27  DJ Delorie  <dj@redhat.com>
1112
1113         * readelf.c (usage): Add -wf (--debug-dump=frames) option.
1114         (parse_args): Support -wf option.
1115         (process_section_headers): Ditto.
1116         (debug_displays): Ditto.
1117         (display_debug_frames): New, dump *_frame sections.
1118         (frame_need_space): Support for above.
1119         (frame_display_row): Ditto.
1120         * binutils.texi: Document it.
1121
1122 2000-11-24  Nick Clifton  <nickc@redhat.com>
1123
1124         * NEWS: Announce support for v5t, v5te and XScale.
1125
1126 2000-11-22  Nick Clifton  <nickc@redhat.com>
1127
1128         * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
1129         EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
1130         (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
1131         (get_elf_section_flags: Add SHF_GROUP.
1132         (process_section_headers): Adjust output for 32-bit binaries
1133         to look nice on an 80 column terminal.
1134
1135 2000-11-20  H.J. Lu  <hjl@gnu.org>
1136
1137         * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
1138         ELFOSABI_AIX.
1139
1140 2000-11-17  Richard Henderson  <rth@redhat.com>
1141
1142         * readelf.c (display_debug_lines): Adjust last change to
1143         use sizeof (external->li_length).
1144
1145 2000-11-17  Richard Henderson  <rth@redhat.com>
1146
1147         * readelf.c (display_debug_lines): Fix section length check
1148         and end_of_sequence computation.
1149
1150 2000-11-06  Nick Clifton  <nickc@redhat.com>
1151
1152         * binutils.texi: Add GNU Free Documentation License.
1153         * objcopy.1: Add GNU Free Documentation License.
1154         * objdump.1: Add GNU Free Documentation License.
1155         * addr2line.1: Add GNU Free Documentation License.
1156         * ar.1: Add GNU Free Documentation License.
1157         * nlmconv.1: Add GNU Free Documentation License.
1158         * nm.1: Add GNU Free Documentation License.
1159         * ranlib.1: Add GNU Free Documentation License.
1160         * size.1: Add GNU Free Documentation License.
1161         * strings.1: Add GNU Free Documentation License.
1162         * strip.1: Add GNU Free Documentation License.
1163
1164 2000-10-06  Luciano Gemme <ishitawa@yahoo.com>
1165
1166         * objcopy.c (--srec-len=nn): New parameter to set the
1167         maximum length of generated Srecords.
1168         (--srec-forceS3): New parameter that restricts the generation of
1169         Srecords to type S3 only.
1170         * binutils.texi: Document new command line switches.
1171         * objcopy.1: Docuemnt the new command line switches.
1172         * NEWS: Announce the existence of the new command line switches.
1173
1174 2000-10-31  Nick Clifton  <nickc@redhat.com>
1175
1176         * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
1177         code.  Add Eric Chrisopher as maintainer of MN10300 port.
1178
1179 2000-10-12  Roger Sayle  <roger@metaphorics.com>
1180
1181         * Make comma after string after icon/control optional.
1182
1183 2000-09-13  Anders Norlander  <anorland@acc.umu.se>
1184
1185         * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
1186
1187         * NEWS: Mention support for MIPS32.
1188
1189 2000-09-08  Nick Clifton  <nickc@redhat.com>
1190
1191         * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
1192
1193 2000-09-07  H.J. Lu  <hjl@gnu.org>
1194
1195         * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
1196         * configure: Rebuild.
1197
1198 2000-09-06  Alexandre Oliva  <aoliva@redhat.com>
1199
1200         * configure: Rebuilt with new libtool.m4.
1201
1202 2000-09-05  Nick Clifton  <nickc@redhat.com>
1203
1204         * aclocal.m4: Regenerate.
1205         * config.in: Regenerate.
1206         * configure: Regenerate.
1207
1208 2000-09-04  Todd Vierling  <tv@wasabisystems.com>
1209
1210         * strip.1: Fix stray '\' in -o formatting.
1211
1212 2000-09-02  Nick Clifton  <nickc@redhat.com>
1213
1214         * configure.in: Increase version number to 2.10.91.
1215         * configure: Regenerate.
1216         * aclocal.m4: Regenerate.
1217         * config.in: Regenerate.
1218         * po/binutils.pot: Regenerate.
1219
1220 2000-08-31  Alexandre Oliva  <aoliva@redhat.com>
1221
1222         * acinclude.m4: Include libtool and gettext macros from the
1223         top level.
1224         * aclocal.m4, configure: Rebuilt.
1225
1226 2000-08-30  Jamie Guinan  <guinan@bluebutton.com>
1227
1228         * resrc.c (close_input_stream): Delete extraneous logic
1229
1230 2000-08-24  Hans-Peter Nilsson  <hp@axis.com>
1231
1232         * NEWS: Mention support for CRIS.
1233
1234 2000-08-21  Nick Clifton  <nickc@redhat.com>
1235
1236         * addr2line.c: Changed email address for Ulrich Lauther.
1237
1238 2000-08-17  Christopher C. Chimelis <chris@debian.org>
1239
1240         * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
1241
1242 2000-08-17  Nick Clifton  <nickc@redhat.com>
1243
1244         * readelf.c (display_debug_pubnames): Only issue warning
1245         message once.  Terminate message with a new line.
1246         (display_debug_aranges): Only display version 2 debug info.
1247
1248 2000-08-14  Todd Vierling <tv@wasabisystems.com>
1249
1250         * objcopy.c (strip_main): Silently accept -d as an alias for -g
1251         for compatability with old BSD systems.
1252
1253 2000-08-14  Jason Eckhardt  <jle@cygnus.com>
1254
1255         * NEWS: Mention i860 support.
1256
1257 2000-08-11  Carlo Wood <carlo@alinoe.com>
1258
1259         * addr2line.c (main): Add const to char *.
1260
1261 2000-08-11  Geoff Keating  <geoffk@cygnus.com>
1262
1263         * ar.c (main): Don't crash if called with no arguments
1264         or only '-X32_64' as an argument.
1265
1266 2000-08-08  DJ Delorie  <dj@redhat.com>
1267
1268         * resrc.c: use "gcc -xc" instead of -xc-header
1269
1270 2000-08-05  Jason Eckhardt  <jle@cygnus.com>
1271
1272         * readelf.c (elf/i860.h): Include.
1273         (dump_relocations): Add recognition of i860 architecture.
1274         (guess_is_rela): Add recognition of i860 architecture.
1275
1276 2000-08-03  Nick Clifton  <nickc@cygnus.com>
1277
1278         * MAINTAINERS: Add information about CGEN maintainers.
1279
1280 2000-07-26  Geoff Keating  <geoffk@cygnus.com>
1281
1282         * nm.c (main): Ignore '-X32_64' as an option.
1283         * ar.c (main): Likewise.
1284         * binutils.texi (nm): Document new option.
1285         (ar): Likewise.
1286
1287 2000-07-23  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
1288
1289         * rdcoff.c (external_coff_symbol_p): K&R-ise.
1290
1291 2000-07-20  H.J. Lu  <hjl@gnu.org>
1292
1293         * binutils.texi: Put back "@end table" deleted by
1294         accident.
1295
1296 2000-07-05  Kenneth Block  <krblock@computer.org>
1297
1298         * nm.c: Add optional style to demangle switch.
1299         * objdump.c: Add optional style to demangle switch.
1300         * addr2line.c: Add optional style to demangle switch.
1301         * binutils.texi: Document optional style to demangle
1302         switch.
1303
1304 2000-07-20  Hans-Peter Nilsson  <hp@axis.com>
1305
1306         * MAINTAINERS: Add self as CRIS port maintainer.
1307         * readelf.c: Include elf/cris.h.
1308         (guess_is_rela): Handle EM_CRIS.
1309         (dump_relocations): Ditto.
1310         (get_machine_name): Ditto.
1311         * Makefile.am: Rebuild dependencies.
1312         * Makefile.in: Regenerate.
1313         * po/binutils.pot: Regenerate.
1314
1315 2000-07-19  H.J. Lu  <hjl@gnu.org>
1316
1317         * readelf.c (get_dynamic_type): Change "AUXILARY" to
1318         "AUXILIARY".
1319         (process_dynamic_segment): Print out strings for DT_CONFIG,
1320         DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
1321
1322 2000-07-19  Mark Kettenis  <kettenis@gnu.org>
1323
1324         * nm.c (usage): Change output of `nm --help' to include a
1325         description of the purpose of the program and a detailed
1326         description of the accepted options.
1327
1328 2000-07-19  H.J. Lu  <hjl@gnu.org>
1329
1330         * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
1331         to DF_1_NODEFLIB.
1332
1333 2000-07-19  H.J. Lu  <hjl@gnu.org>
1334
1335         * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
1336
1337 2000-07-19  H.J. Lu  <hjl@gnu.org>
1338
1339         * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
1340         DT_FEATURE.
1341         (process_dynamic_segment): Likewise.
1342
1343         * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
1344         DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
1345         (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
1346         DF_1_NODUMP and DF_1_CONLFAT.
1347
1348 2000-07-18  Nick Clifton  <nickc@cygnus.com>
1349
1350         * binutils.texi (readelf): Fix spelling typo.
1351
1352 2000-07-11  Mark Kettenis  <kettenis@gnu.org>
1353
1354         * objdump.c (usage): Make output of `objdump --help' more
1355         consistent with the rest of the GNU world.  Add a line describing
1356         the purpose of the program.
1357
1358 2000-07-10  David Huggins-Daines  <dhd@linuxcare.com>
1359
1360         * stabs.c (parse_stab_range_type): Cast to proper type to fix
1361         warning.
1362
1363 2000-07-10  Ryan Bradetich  <rbradetich@uswest.net>
1364
1365         * readelf.c (get_dynamic_data): Add casts and use unsigned chars
1366         to fix warnings.
1367         (process_symbol_table): Ditto.
1368         (procesS_extended_line_op): Ditto.
1369         (display_debug_lines): Ditto.
1370         (display_debug_pubnames): Ditto.
1371         (read_and_display_attr): Ditto.
1372
1373 2000-07-09  Nick Clifton  <nickc@cygnus.com>
1374
1375         * MAINTAINERS: Add several more port specific maintainers.
1376
1377 2000-07-05  Nick Clifton  <nickc@cygnus.com>
1378
1379         * MAINTAINERS: Add blanket write privs for Michael Meissner.
1380
1381 2000-06-05  DJ Delorie  <dj@redhat.com>
1382
1383         * MAINTAINERS: New.
1384
1385 2000-07-01  Eric Fifer  <EFifer@sanwaint.com>
1386
1387         * dllwrap.c: Changed mistaken dyn_string_append() calls
1388         to dyn_string_append_cstr().
1389
1390 2000-07-01  Alexander Aganichev <AAganichev@hypercom.com>
1391
1392         * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
1393         struct debug_type stores size in bytes.
1394
1395 2000-07-01  Alan Modra  <alan@linuxcare.com.au>
1396
1397         * Makefile.am (DEP): Fix 2000-06-22.  grep after running dep.sed
1398         (CLEANFILES): Add DEPA.
1399         * Makefile.in: Regenerate.
1400
1401 2000-06-27  Alan Modra  <alan@linuxcare.com.au>
1402
1403         * ar.c: Revert incorrect 2000-06-25 patch.
1404         * bucomm.c: Likewise.
1405
1406 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
1407
1408         * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
1409         (external_coff_symbol_p): New function.
1410         (parse_coff): Use it.
1411
1412 2000-06-25  Alexander Aganichev <AAganichev@hypercom.com>
1413
1414         * ar.c (normalize): Advance past both characters in a DOS based
1415         <letter>: filepath prefix.
1416         (main): Likewise.
1417         * bucomm.c (make_tempname): Likewise.
1418
1419 2000-06-24  Nick Clifton  <nickc@cygnus.com>
1420
1421         * objdump.c (usage): Fix description of --stabs switch.
1422
1423 2000-06-22  Alan Modra  <alan@linuxcare.com.au>
1424
1425         * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
1426         find one.
1427         * Makefile.in: Regenerate.
1428
1429 2000-06-20  Alexander Aganichev <AAganichev@hypercom.com>
1430
1431         * ar.c (normalize): Correct pointer comparison when checking for
1432         backslashes.
1433         (main): Likewise.
1434         * bucomm.c (make_tempname): Likewise.
1435
1436         * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
1437         and search for backslashes in the original pathname.
1438         (ieee_add_bb11): Likewise.
1439
1440 2000-06-18  Nick Clifton  <nickc@redhat.com>
1441
1442         * ar.c (print_contents): Improve verbose message.
1443
1444 2000-06-15  H.J. Lu  <hjl@gnu.org>
1445
1446         * dyn-string.c: Removed. Not needed with dyn-string.c in
1447         libiberty.
1448         * dyn-string.h: Likewise.
1449
1450         * Makefile.am: Remove references to dyn-string.c and
1451         dyn-string.h. Rebuild dependency.
1452         * Makefile.in: Rebuild.
1453
1454 2000-06-15  H.J. Lu  <hjl@gnu.org>
1455
1456         * binutils.texi: Put a warning on copying relocatable object
1457         files between two different formats.
1458
1459 2000-06-13  DJ Delorie  <dj@cygnus.com>
1460
1461         * rcparse.y (control): ICON controls take an id as the first
1462         parameter, not an optional string.  Also, call new convenience
1463         function that takes res_id's.
1464         * resrc.c (define_control): missing text means zero-length string,
1465         not zero ID.
1466         (define_icon_control): New.
1467         * windres.h: declare define_icon_control.
1468
1469 2000-06-13  H.J. Lu  <hjl@gnu.org>
1470
1471         * configure: Regenerate.
1472
1473 2000-06-08  David O'Brien  <obrien@FreeBSD.org>
1474
1475         * configure.in (VERSION): Update to show this is the CVS mainline.
1476
1477 2000-06-02  David O'Brien  <obrien@FreeBSD.org>
1478
1479         * strings.c (isgraphic): Interpret <TAB> as a printable character,
1480         analogous to <SPACE>.
1481
1482 2000-05-30  Alan Modra  <alan@linuxcare.com.au>
1483
1484         * objdump.c (display_target_list): Use bfd_close_all_done, not
1485         bfd_close to fix crash caused by 2000-05-24 change.
1486
1487 2000-05-25  DJ Delorie  <dj@cygnus.com>
1488
1489         * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
1490
1491 2000-05-26  Alan Modra  <alan@linuxcare.com.au>
1492
1493         * Makefile.am: Update dependencies with "make dep-am"
1494         * Makefile.in: Regenerate.
1495
1496 2000-05-26  Eli Zaretskii  <eliz@is.elta.co.il>
1497
1498         * ar.c: Include filenames.h.
1499         (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
1500         and drive letters in file names.
1501         (main): Support backslashes and drive letters in argv[0].  Drop
1502         the .exe suffix, if any, in argv[0] if is_ranlib is negative.  Use
1503         FILENAME_CMP instead of strcmp to compare file names.
1504         (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
1505         DJGPP v2.
1506         (do_quick_append) [__GO32__]: Ditto.
1507         (get_pos_bfd, delete_members, move_members, replace_members):
1508         Compare file names with FILENAME_CMP.
1509
1510         * bucomm.c: Include filenames.h.
1511         (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
1512         forward/backward slashes and drive letters in file names.
1513
1514         * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
1515         mixed forward/backward slashes and drive letters in file names.
1516
1517         * strings.c (O_BINARY, setmode, SET_BINARY): Define.
1518         (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
1519         mode.
1520
1521         * objcopy.c: Include filenames.h.
1522         (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
1523         before comparing to "strip".
1524         Use FILENAME_CMP to compare file names.
1525
1526         * arsup.c: Include filenames.h.
1527         (map_over_list, ar_delete, ar_replace, ar_extract): Use
1528         FILENAME_CMP to compare file names.
1529         (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
1530         the temporary file name.
1531
1532         * configure.in: Check for setmode.
1533         * configure: Regenerate.
1534
1535 2000-05-24  Alan Modra  <alan@linuxcare.com.au>
1536
1537         * objdump.c (display_target_list): Close the bfd.
1538         (display_info_table): Likewise.
1539
1540 2000-05-14  H.J. Lu  (hjl@gnu.org)
1541
1542         * objcopy.c (filter_symbols): Don't strip global symbols in
1543         relocatable object files.
1544
1545 2000-05-14  Alan Modra  <alan@linuxcare.com.au>
1546
1547         * size.c (usage): Associate short options with corresponding long
1548         option to give a clue as to their function.
1549
1550 2000-05-14  Philippe De Muyter  <phdm@macqel.be>
1551
1552         * size.c (main): Accept and ignore `-f' option.
1553
1554 2000-05-13  Alan Modra  <alan@linuxcare.com.au>
1555
1556         * bucomm.h (gettext, dgettext, dcgettext, textdomain,
1557         bindtextdomain): Replace defines with those from intl/libgettext.h
1558         to quieten gcc warnings.
1559
1560 2000-05-12  H.J. Lu  <hjl@gnu.org>
1561
1562         * nlmconv.c (temp_filename): Removed.
1563
1564         * nlmconv.c (link_inputs): Use make_temp_file () instead of
1565         choose_temp_base ().
1566         * objdump.c (display_target_list): Likewise.
1567         (display_info_table): Likewise.
1568
1569 2000-05-08  Alan Modra  <alan@linuxcare.com.au>
1570
1571         * objcopy.c (setup_section): Add const and gettext calls for err.
1572
1573 2000-05-02  H.J. Lu  <hjl@gnu.org>
1574
1575         * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
1576         ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
1577         ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
1578         ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
1579         and ELFOSABI_OPENBSD.
1580
1581 2000-05-02  Kazu Hirata  <kazu@hxi.com>
1582
1583         * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
1584         * srconv.c: Likewise.
1585         * sysdump.c: Likewise.
1586
1587 2000-04-23  Denis Chertykov  <denisc@overta.ru>
1588
1589         * readelf.c (guess_is_rela): AVR uses RELA relocations.
1590         (get_machine_name): machine name for EM_AVR added.
1591
1592 2000-04-21  Richard Henderson  <rth@cygnus.com>
1593             David Mosberger  <davidm@hpl.hp.com>
1594
1595         * Makefile.am (readelf.o): Add elf/ia64.h.
1596         * Makefile.in: Rebuild.
1597         * readelf.c: Include elf/ia64.h.
1598         (guess_is_rela, dump_relocations): Handle EM_IA_64.
1599
1600 2000-04-17  Timothy Wall  <twall@cygnus.com>
1601
1602         * objdump.c (disassemble_data): Set octets per byte *after*
1603         resolving arch/mach for binary files.
1604
1605 2000-04-14  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
1606
1607         * arlex.l: Add directives to increase lex buffer size.
1608
1609         * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
1610         already included by bucomm.h.
1611
1612 2000-04-10  Philippe De Muyter  <phdm@macqel.be>
1613
1614         * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
1615         `strftime' since strftime is not available on all systems.
1616         (process_mips_specific): Ditto.
1617
1618 2000-04-07  Andrew Cagney  <cagney@b1.cygnus.com>
1619
1620         * configure.in (WARN_CFLAGS): Set to -W -Wall by default.  Add
1621         --enable-build-warnings option.
1622         * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
1623         * Makefile.in, configure: Re-generate.
1624
1625 2000-04-06  Alan Modra  <alan@linuxcare.com.au>
1626
1627         * addr2line.c: Update copyright.
1628         * objcopy.1: Likewise, and title.
1629         * strings.1: Likewise.
1630
1631         * version.c (print_version): Add 2000.
1632
1633         * rddbg.c (read_section_stabs_debugging_info): Don't use
1634         bfd_size_type for strx to avoid printf problems if BFD64.
1635
1636         * bucomm.c: (report): Remove `static'.
1637         Move inclusion of stdarg.h/vararg.h from here.
1638         * bucomm.h: To here.
1639         (CONST): Change all occurences to const.
1640         (report): Declare it.
1641         (bfd_fatal): Add ATTRIBUTE_NORETURN.
1642         (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
1643         (non_fatal): Add ATTRIBUTE_PRINTF_1.
1644
1645         * ar.c (main): Use fatal or non_fatal instead of fprintf.
1646         Correct a typo in an error message.
1647         (do_quick_append): Use non_fatal instead of fprintf.
1648         (move_members): Use fatal instead of fprintf, exit.
1649         * coffdump.c (main): Same here.
1650
1651         * dlltool.c (display): Delete.
1652         (warn): Delete.
1653         (inform): Use `report' instead of `display'.
1654         (rvaafter): Remove trailing \n from fatal error msg.
1655         (rvabefore): Ditto.
1656         (asm_prefix): Ditto.
1657         (yyerror): Replace `warn' with `non_fatal', and remove \n.
1658         (def_name): Likewise.
1659         (run): Likewise.
1660         (scan_all_symbols): Likewise.
1661         (gen_lib_file): Likewise.
1662         (def_library): Likewise.  Remove extra program_name too.
1663         (run): Remove \n from inform strings.
1664         (scan_drectve_symbols): Likewise.
1665         (add_excludes): Likewise.
1666         (scan_open_obj_file): Likewise.
1667         (gen_exp_file): Likewise.
1668         (gen_lib_file): Likewise.
1669         (process_duplicates): Likewise.
1670
1671         * Makefile.am (dllwrap_SOURCES): Add version.c.
1672         * dllwrap.c (program_version): Delete.
1673         (print_version): Delete.
1674         (display): Always print trailing \n.
1675         (warn): New.
1676         (delete_temp_files): Use warn instead of fprintf.  Use gettext.
1677         (run): Here too.
1678         (main): And here.
1679         (usage): gettext'ify.
1680         (long_options): Add missing initialisers.
1681
1682         * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
1683         (select_output_format): Likewise.
1684         (powerpc_mangle_relocs): Likewise.
1685         (link_inputs): Likewise.
1686
1687         * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
1688         (set_output_format): Likewise.
1689         (main): Use non_fatal instead of fprintf.
1690         (display_rel_file): Likewise.
1691
1692         * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
1693         (slurp_dynamic_symtab): Same here.
1694         (disassemble_data): And here.
1695         (read_section_stabs): And here.
1696         (read_section_stabs): And here.
1697         (dump_bfd): And here.
1698         (main): And here.
1699         (objdump_sprintf): Use fatal instead of fprintf, exit.
1700         (disassemble_data): Same here.
1701
1702         * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
1703         (parse_coff_struct_type): Same here.
1704         (parse_coff_enum_type): And here.
1705         (parse_coff): And here.
1706         * rddbg.c (read_debugging_info): And here.
1707         * size.c (main): And here.
1708         * windres.c (format_from_name): And here.
1709         * wrstabs.c (stab_write_symbol): Here too.
1710         (write_stabs_in_sections_debugging_info): And here.
1711         (stab_int_type): And here.
1712         (stab_struct_field): And here.
1713         (stab_typdef): And here.
1714
1715         * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
1716         * srconv.c (main): Same here.
1717         * strings.c (main): And here.
1718         (integer_arg): And here.
1719         * sysdump.c (main): And here.
1720
1721 2000-04-06  Timothy Wall  <twall@cygnus.com>
1722
1723         * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
1724
1725 2000-04-06  Jason Merrill  <jason@yorick.cygnus.com>
1726
1727         * readelf.c (decode_location_expression): Loop through multiple
1728         operations.
1729         (read_and_display_attr): Pass in length.
1730
1731         * readelf.c (read_and_display_attr): Add CU offset to references.
1732         (display_debug_info): Pass it in.
1733
1734 2000-04-06  Nick Clifton  <nickc@cygnus.com>
1735
1736         * readelf.c (decode_ARM_machine_flags): New function.
1737         (get_machine_flags): Call decode_ARM_machine_flags for ARM
1738         targets.
1739
1740         (get_machine_name): Catch EM_AVR
1741
1742 2000-04-05  Alan Modra  <alan@linuxcare.com.au>
1743
1744         * binutils.texi: Remove optional `=' from long options that have
1745         an `=' in the argument.
1746         * objcopy.1: Here too.  Remove extra space on discard-all.
1747
1748         * binutils.texi (objcopy): Mention --redefine-sym.
1749         * objcopy.1: Here too.
1750         * NEWS: And here.
1751
1752         * objcopy.c (parse_flags): Split off flag names from error message
1753         gettext as they are not translated.
1754         (copy_main): Similarly split off option name for --add-section,
1755         --set-section-flags, --change-section-vma, --change-section-lma
1756         error messages.
1757         Some white space changes.
1758
1759         from Matthew Benjamin <matt@linuxbox.nu>
1760         * objcopy.c (struct redefine_node): New.
1761         (redefine_sym_list): New.
1762         (redefine_list_append): New.
1763         (lookup_sym_redefinition): New.
1764         (OPTION_REDEFINE_SYM): New.
1765         (copy_options): Add --redefine-sym option.
1766         (copy_usage): Mention it.
1767         (filter_symbols): Rename symbols on redefine_sym_list.
1768         (copy_object): Call filter_symbols if redefine_sym_list != NULL.
1769         (copy_main): Handle OPTION_REDEFINE_SYM.
1770
1771 2000-04-04  H.J. Lu  <hjl@gnu.org>
1772
1773         * readelf.c (process_symbol_table): Correctly read in symbol
1774         versioning information.
1775
1776 2000-04-04  Alan Modra  <alan@linuxcare.com.au>
1777
1778         * po/binutils.pot: Regenerate.
1779
1780         * addr2line.c (usage): Restore translated part of bug string.
1781         * ar.c (usage): Likewise.
1782         * nlmconv.c (show_usage): Likewise.
1783         * nm.c (usage): Likewise.
1784         * objcopy.c (copy_usage): Likewise.
1785         (strip_usage): Likewise.
1786         * objdump.c (usage): Likewise.
1787         * readelf.c (usage): Likewise.
1788         * size.c (usage): Likewise.
1789         * strings.c (usage): Likewise.
1790         * windres.c (usage): Likewise.
1791
1792         * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
1793         (DEP): Quote when passing vars to sub-make.  Add warning
1794         message to end.
1795         (DEP1): Rewrite for "gcc -MM".
1796         (CLEANFILES): Add DEP2.
1797         Update dependencies.
1798         * Makefile.in: Regenerate.
1799
1800 2000-04-04  H.J. Lu  <hjl@gnu.org>
1801
1802         * Makefile.am (GENERATED_HFILES): Add rcparse.h
1803         (arparse.h): Depend on arparse.c
1804         (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
1805
1806 2000-04-03  H.J. Lu  (hjl@gnu.org)
1807
1808         * size.c (usage): Use REPORT_BUGS_TO.
1809
1810 2000-04-03  Alan Modra  <alan@linuxcare.com.au>
1811
1812         * bucomm.h: #include "bin-bugs.h"
1813         * addr2line.c (usage): Use REPORT_BUGS_TO.
1814         * ar.c (usage): Likewise.
1815         * nlmconv.c (show_usage): Likewise.
1816         * nm.c (usage): Likewise.
1817         (OPTION_TARGET): Define.
1818         (long_options): Use OPTION_TARGET rather than 200.
1819         (main): Likewise.
1820
1821         * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
1822         (strip_usage): Likewise.
1823         * objdump.c (usage): Likewise.
1824         * readelf.c (usage): Likewise.
1825         * strings.c (usage): Likewise.
1826         * windres.c (usage): Likewise.
1827
1828 2000-03-31  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1829
1830         * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
1831
1832 2000-03-27  Nick Clifton  <nickc@cygnus.com>
1833
1834         * rddbg.c (read_section_stabs_debugging_info): Catch out of range
1835         string offsets in corrupt stabs entries.
1836
1837 2000-03-27  Alan Modra  <alan@linuxcare.com.au>
1838
1839         * readelf.c: Include elf/avr.h
1840         (dump_relocations): Add EM_AVR case.
1841
1842 2000-03-09  Tim Waugh  <twaugh@redhat.com>
1843
1844         * strings.1: Correct '-bytes' to '--bytes'.
1845
1846 2000-03-08  H.J. Lu  <hjl@gnu.org>
1847
1848         * Makefile.am (install-exec-local): Depend on
1849         install-binPROGRAMS for parallel make.
1850         * Makefile.in: Regenerated.
1851
1852 2000-02-27  Ian Lance Taylor  <ian@zembu.com>
1853
1854         From Brad Lucier <lucier@math.purdue.edu>:
1855         * readelf.c (process_dynamic_segment): Add cast to make sure
1856         argument to %* is int.
1857
1858 2000-02-25  H.J. Lu  <hjl@gnu.org>
1859
1860         * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
1861
1862 2000-02-24  Nick Clifton  <nickc@cygnus.com>
1863
1864         * configure.in: Add arm-wince, mips-pe and sh-pe targets.
1865         * configure: Regenerate.
1866
1867         * dlltool.c: Add support for sh-pe and mips-pe targets.
1868         * rescoff.c: Add support for sh-pe and mips-pe targets.
1869
1870 2000-02-23  H.J. Lu  <hjl@gnu.org>
1871
1872         * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
1873
1874 2000-02-22  Nick Clifton  <nickc@cygnus.com>
1875
1876         * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
1877
1878 2000-02-22  Ian Lance Taylor  <ian@zembu.com>
1879
1880         From Brad Lucier <lucier@math.purdue.edu>:
1881         * readelf.c (process_version_sections): Add casts to make sure
1882         argument to %* is an int.
1883         (process_mips_specific): Add casts to make printf arguments match
1884         format.
1885
1886 2000-02-21  Alan Modra  <alan@spri.levels.unisa.edu.au>
1887
1888         * objdump.c (dump_section_header): Change `opb' to unsigned.
1889         (find_symbol_for_address): Same here.
1890         (disassemble_data): And here.  Change `addr_offset',
1891         `stop_offset', `nextstop_offset' to unsigned long.
1892         (dump_data): Change opb to unsigned.
1893
1894 2000-02-18  Frank Ch. Eigler  <fche@redhat.com>
1895
1896         * resrc.c: Remove unmatched #if for cygwin.
1897
1898 2000-02-14  Fernando Nasser  <fnasser@totem.to.cygnus.com>
1899
1900         * binutils.texi: Document the change of flavor name from atpcs-special
1901         to special-atpcs to prevent name conflict in gdb.
1902
1903 2000-02-08  Timothy Wall  <twall@redhat.com>
1904
1905         * objdump.c (show_line): Fix bug preventing printing of the very
1906         first line (line zero) of a file when interlisting source and
1907         assembly.  Added option to print entire context from start of file
1908         when the first line from that file is encountered.
1909
1910 2000-02-03  Timothy Wall <twall@redhat.com>
1911
1912         * objdump.c (dump_section_header, find_symbol_for_address,
1913         show_line, disassemble_bytes, disassemble_data, dump_data):
1914         distinguish between octets and bytes.
1915
1916 2000-01-27  Thomas de Lellis  <tdel@windriver.com>
1917
1918         * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
1919         check to unresolved symbols.
1920         (print_symbol_info_sysv):  Ditto.
1921         (print_symbol_info_posix):  Ditto.
1922
1923         * binutils.texi: Document new 'V' symclass flag for nm.
1924
1925 2000-01-27  Nick Clifton  <nickc@redhat.com>
1926
1927         * binutils.texi (objdump): Document new ARM specific
1928         disassembler options.
1929
1930         * objdump.c (usage): Call disassembler_usage().
1931
1932 2000-01-27  Alan Modra  <alan@spri.levels.unisa.edu.au>
1933
1934         * readelf.c (get_dynamic_flags): Return buff.
1935         (process_dynamic_segment): Don't pass error strings to printf
1936         as format arg.
1937         (read_and_display_attr): Use lx and ld to print longs.
1938         (process_corefile_note_segment): Cast bfd_vma to unsigned long
1939         before printing.
1940         Update copyright.
1941
1942 2000-01-17  Nick Clifton  <nickc@cygnus.com>
1943
1944         * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
1945
1946 2000-01-15  Alan Modra  <alan@spri.levels.unisa.edu.au>
1947
1948         * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
1949         false.
1950         (debug_tag_type): Here too.
1951         * ieee.c (ieee_builtin_type): And here.
1952         * stabs.c (parse_stab_type, parse_stab_array_type): And here.
1953
1954 2000-01-13  Nick Clifton  <nickc@cygnus.com>
1955
1956         * readelf.c (get_machine_name): Change EM_S370 to return "IBM
1957         System/370".
1958
1959 2000-01-11  Nick Clifton  <nickc@cygnus.com>
1960
1961         * readelf.c (get_dynamic_type): Remove DT_ENCODING.
1962
1963 2000-01-10  Nick Clifton  <nickc@cygnus.com>
1964
1965         * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
1966
1967 2000-01-07  Mumit Khan  <khan@xraylith.wisc.edu>
1968
1969         * windres.c (long_options): Add --use-temp-file and
1970         --no-use-temp-file options.
1971         (usage): Document.
1972         (main): Handle.
1973
1974         * windres.h: Update read_rc_file prototype.
1975
1976         * resrc.c (cpp_temp_file): New static variable.
1977         (istream_type): New static variable.
1978         (close_pipe): Delete function.
1979         (run_cmd): New static function.
1980         (open_input_stream): New static function.
1981         (close_input_stream): New static function.
1982         (look_for_default): Handle DOS directory separator. Use
1983         open_input_stream instead of popen.
1984         (read_rc_file): Likewise.
1985
1986         * binutils.texi: Document --use-temp-file, --no-use-temp-file
1987         options.
1988
1989 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
1990
1991         * dlltool.c (create_compat_implib): New variable.
1992         (gen_exp_file): Use.
1993         (make_one_lib_file): Use.
1994         (long_options): Add --compat-implib option.
1995         (usage): Handle.
1996         (main): Handle.
1997
1998         * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
1999         (main): Use. Don't look for "32" in cygwin and mingw target names.
2000
2001 2000-01-03  Nick Clifton  <nickc@cygnus.com>
2002
2003         * binutils.texi: Document new, ARM specific disassembler
2004         command line switch "-M force-thumb".
2005
2006 For older changes see ChangeLog-9899
2007 \f
2008 Local Variables:
2009 mode: change-log
2010 left-margin: 8
2011 fill-column: 74
2012 version-control: never
2013 End: