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