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