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