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