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