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