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