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