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