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