2002-01-29 Daniel Jacobowitz <drow@mvista.com>
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
a0e9c55f
DJ
12002-01-29 Daniel Jacobowitz <drow@mvista.com>
2
3 * unwind-ia64.c (unw_decoder): Change second argument
4 to unsigned int, to match function prototypes.
5
d7a283d4
DJ
62002-01-29 Daniel Jacobowitz <drow@mvista.com>
7
8 * objdump.c: Include "getopt.h" after "bucomm.h" so that
9 __GNU_LIBRARY__ will be defined.
10 * size.c: Likewise.
11
4867be41
DJ
122002-01-27 Daniel Jacobowitz <drow@mvista.com>
13
14 * configure: Regenerated.
15
7562a296
HPN
162002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
17
18 * doc/Makefile.am (install): Depend on install-info.
19 * doc/Makefile.in: Regenerate.
20
15c82623
NC
212002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
22
23 * objcopy.c (strip_usage): Document -d as an alias
24 --strip-debug.
25
26 * size.c (usage): Document [-t | --totals] options.
27 (long_options): Add --totals option.
28 (main): If the [-t | --totals] option is specified and
29 the output format is Berkeley-style, print the total
30 text, data, and bss sizes of all objects listed.
31 (print_berkeley_format): If the [-t | --totals] option
32 is specified, track the total text, data, and bss
33 sizes.
34 * doc/binutils.texi (size): Document [-t | --totals] options.
35 (strip): Document -d as an alias for --strip-debug.
36 * NEWS: Mention new feature of size.
37
00ea8601 382002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
b85cedd7 39
1ddbd152
NC
40 * po/fr.po: Updated version.
41 * po/es.po: Updated version.
b85cedd7 42
8b53311e
NC
432002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
44
45 * addr2line.c (usage): Update text to provide verbose
46 description of the command line options.
47 * ar.c (usage): Update text to provide verbose
48 description of the command line options.
49 (main): Accept -h and -H when running as ranlib.
50 * coffdump.c (show_usage): Update text to provide verbose
51 description of the command line options.
52 * dlltool.c (main): Accept -H as an alias for --help.
53 * nlmconv.c (show_usage): Update text to provide verbose
54 description of the command line options.
55 * nm.c (usage): Replace OPTIONS with option(s).
56 (main): Accept -H as an alias for --help.
57 * objcopy.c (strip_main): Accept -H as an alias for --help.
58 * objdump.c (main): Accept -v as an alias for --verbose.
59 * readelf.c (usage): Adjust format to match style used in
60 other binutils.
61 * size.c (usage): Update text to provide verbose description
62 of the command line options.
63 (main): Accept -v, -h and -H as command line options.
64 * srconv.c (show_usage): Update text to provide verbose
65 description of the command line options.
66 * strings.c (main): Accept -H and -v as command line options.
67 (usage): Update text to provide verbose description of the
68 command line options.
69 * sysdump.c (show_usage): Update text to provide verbose
70 description of the command line options.
71 * windres.c (usage): Adjust format to match style used in
72 other binutils.
73
74 * coffdump.c: Fix formatting.
75 * nlmconv.c: Fix formatting.
76 * srconv.c: Fix formatting.
77 * sysdump.c: Fix formatting.
78
c46f0c34
AM
792002-01-22 Alan Modra <amodra@bigpond.net.au>
80
81 * Makefile.am: Run "make dep-am".
82 * Makefile.in: Regenerate.
83
2a538ba5
AJ
842002-01-18 Andreas Jaeger <aj@suse.de>
85
86 * version.c (print_version): Update year.
87
285d1771
AM
882002-01-17 Alan Modra <amodra@bigpond.net.au>
89
90 * readelf.c (get_machine_name): Handle EM_PPC64.
91 (guess_is_rela): Here too.
92
328577ad
NC
932002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
94
95 * po/binutils.pot: Regenerate.
96 * po/fr.po: Regenerate.
97 * po/tr.po: Regenerate.
98
af3ae48d
NC
992002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
100
101 * po/tr.po: Import new version.
102
f1cb7e17
AM
1032002-01-16 Alan Modra <amodra@bigpond.net.au>
104
105 * readelf.c (get_ppc64_dynamic_type): New.
106 (get_dynamic_type): Call it.
107
6364e0b4
NC
1082002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
109
3ab9460d
NC
110 * objcopy.c (copy_usage): Use "options" instead of "switches".
111 (strip_usage): Use "options" instead of "switches".
112 * doc/binutils.texi (dlltool): Refer to "options" instead of
113 "switches".
6364e0b4 114
3a7e524e
RE
1152002-01-14 Richard Earnshaw <rearnsha@arm.com>
116
117 * MAINTAINERS: Add self as co-maintainer for the ARM code.
118
1209e219
NC
1192001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
120
121 * po/es.po: Import from translation project.
122 * configure.in (ALL_LINGUAS): Add es.
123 * configure: Regenerate.
124
b4db1224
JT
1252002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
126
127 * readelf.c (get_netbsd_elfcore_note_type): Use
128 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
129
9437c45b
JT
1302002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
131
132 * readelf.c: Update copyright years.
133 (get_note_type): Return a const char *.
134 (get_netbsd_elfcore_note_type): New function.
135 (process_note): Use get_netbsd_elfcore_note_type to get
136 the note type string for NetBSD ELF core files.
137
00428cca
AM
1382002-01-06 Steve Ellcey <sje@cup.hp.com>
139
140 * readelf.c (get_ia64_segment_type): Add support for macros.
141 (get_segment_type): Add support for IA64 specific macros.
142
31104126
NC
1432001-12-20 Julian v. Bock <julian@wongr.net>
144
145 * readelf.c (print_symbol): New function: Print a formatted symbol
146 name. If --wide is specified do not truncate it.
147 (dump_relocations): Use print_symbol() to print symbol names.
148 (process_symbol_table): Likewise.
149 (process_syminfo): Likewise.
150 (process_mips_specific): Likewise.
151 (usage): Document new feature of --wide switch.
152 * doc/binutils.texi (objdump): Document additional behaviour of
153 --wide.
2a538ba5 154
4dd67f29
MS
1552001-12-18 Michael Snyder <msnyder@redhat.com>
156
157 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
158 (copy_object): Don't set the start address or flags of a core file.
159 (copy_section): Don't relocate a core file. Don't copy contents
160 if the input section has the contents flag set, but the output
161 section does not (which happens with the fake 'note' pseudo-
162 sections that BFD creates for corefiles).
163
43521d43
TS
1642001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
165
166 * readelf.c (get_machine_flags): Recognize header flags for ABI and
167 ASE extensions. More robust code for ISA checking. Ignore empty fields
168 in header flags for GNU extensions.
169
b667df2e
AM
1702001-12-18 Alan Modra <amodra@bigpond.net.au>
171
172 * objcopy.c (copy_archive): Set output bfd format outside the loop.
173
17a5a5c3
NC
1742001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
175
176 * po/ja.po: Import from translation project.
177 * configure.in (ALL_LINGUAS): Add ja.
178 * configure: Regenerate.
179
65de42c0
TS
1802001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
181
182 * addr2line.c (main): Protoype.
183 * ar.c (main): Protoype.
184 * nm.c (main): Protoype.
185 * objcopy.c (main): Protoype.
186 * objdump.c (main): Protoype.
187 * size.c (main): Protoype.
188 * strings.c (main): Protoype.
189
9ad5cbcf
AM
1902001-12-17 Alan Modra <amodra@bigpond.net.au>
191
192 * readelf.c (symtab_shndx_hdr): New global.
193 (SECTION_HEADER_INDEX): Define.
194 (SECTION_HEADER_NUM): Define.
195 (SECTION_HEADER): Define.
196 (GET_ELF_SYMBOLS): Pass two params rather than three.
197 (get_32bit_elf_symbols): Take file and section args. Read and
198 use SHT_SYMTAB_SHNDX.
199 (get_64bit_elf_symbols): Likewise.
200 (dump_relocations): Use SECTION_HEADER to index "section_headers".
201 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
202 Remember symtab_shdx_hdr.
203 (process_program_headers): Scan from index 1 for segment map.
204 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
205 "section_headers".
206 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
207 (process_unwind): Likewise.
208 (process_version_sections): Likewise.
209 (process_symbol_table): Likewise.
210 (display_debug_info): Likewise.
211 (process_dynamic_segment): Fake up a symtab section for changed
212 GET_ELF_SYMBOLS.
213 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
214 (process_program_headers): Kill signed/unsigned warning.
215 (load_debug_str): Likewise.
216 (display_debug_info): Likewise.
217
65765700
JJ
2182001-12-13 Jakub Jelinek <jakub@redhat.com>
219
220 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
221
560f3c1c
AM
2222001-12-11 Alan Modra <amodra@bigpond.net.au>
223
224 * readelf.c (process_file_header): Print extended e_shnum and
225 e_shdtrndx values. Set elf_header values for same.
226 (get_32bit_section_headers): Add "num" arg to read "num" headers.
227 (get_64bit_section_headers): Likewise.
228 (process_section_headers): Update calls.
229 (get_file_header): Call get_32bit_section_headers or 64bit variant.
230
bc408b8a
JJ
2312001-12-10 Jakub Jelinek <jakub@redhat.com>
232
233 * objcopy.c (setup_section): Copy entsize.
234
93fbbb04
GK
2352001-12-07 Geoffrey Keating <geoffk@redhat.com>
236
237 * readelf.c (guess_is_rela): Add support for stormy16.
238 (dump_relocations): Likewise.
239 (get_machine_name): Likewise.
240
e3c8793a
NC
2412001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
242
243 * dllwrap.c (main) Replace multiple strings describing a
244 single error with a single, newline escaped sentence to permit
245 better translation into foreign languages.
246
247 * readelf.c (get_elf_class): Remove internalionalisation of ELF
248 class names.
249
956cd1d6
TS
2502001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
251
252 * strings.c (get_char): Initialize value.
253
956c53ee
TS
2542001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
255
256 * arlex.l: Silence compile warnings.
257 * arsup.h: Likewise. Fix formatting.
258
cedd9a58
JJ
2592001-12-04 Jakub Jelinek <jakub@redhat.com>
260
261 * strings.c: Include config.h before bfd.h.
262 (file_off): New type.
263 (file_open): Define.
264 (print_strings): Use file_off instead of file_ptr. Print addresses
265 which don't fit into long correctly.
266 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
267 available.
268 (strings_file): Use file_off instead of file_ptr. Use file_open.
269 * configure.in: Check for getc_unlocked.
270 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
271 be defined for it.
272 * configure: Rebuilt.
273 * config.h.in: Rebuilt.
274
af667503
L
2752001-11-29 H.J. Lu <hjl@gnu.org>
276
277 * bucomm.c (make_tempname): Revert the changes made on
278 2001-11-14 and 2001-11-12. They won't work with directories.
279
16474668
NC
2802001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
281
282 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
283 CFLAGS_FOR_TARGET to runtest in environment.
284 * Makefile.in: Rebuild.
285 * doc/Makefile.in: Rebuild.
286
17978339
MS
2872001-11-28 Mike Stump <mrs@wrs.com>
288
289 * objcopy.c (setup_section): Preserve SEC_RELOC when
290 --set-section-flags is used.
291
261a45ad
NC
2922001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
293
294 * readelf.c (do_debug_str): New variable.
295 (display_debug_str): New function: Display the contents of a
296 .debug_str section.
297 (load_debug_str): New function: Load in the contents of a
298 .debug_str section.
299 (free_debug_str): New function: Free the memory used by
300 load_debug_str().
301 (fetch_indirect_string): Retrieve a string from the .debug_str
302 section.
303 (usage): Add -ws.
304 (parse_args): Accept -ws.
305 (process_section_headers): Allow the display of the .debug_str
306 section.
307 (read_and_display_attr_value): Use fetch_indirect_string. Show
308 offset into .debug_str section.
309 (display_debug_info): Use load_debug_str and free_debug_str.
310 (debug_displays): Add .debug_str.
311 * doc/binutils.texi: Document -ws.
312
b8908f93
AJ
3132001-11-19 Andreas Jaeger <aj@suse.de>
314
315 * testsuite/binutils-all/objdump.exp: Add x86-64.
316
e5fb9629
AS
3172001-11-15 Andreas Schwab <schwab@suse.de>
318
319 * readelf.c: Fix warnings without terminating newline.
320
802a735e
AM
3212001-11-15 Alan Modra <amodra@bigpond.net.au>
322
323 * doc/binutils.texi (objdump): Document ppc -M options.
324
b89e9eae
AJ
3252001-11-14 Andreas Jaeger <aj@suse.de>
326
327 * doc/binutils.texi (objdump): Fix description to use x86-64.
328
a6a25652
NC
3292001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
330
331 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
332 not all systems provide mkstemp.
333
e396998b
AM
3342001-11-14 Alan Modra <amodra@bigpond.net.au>
335
336 * doc/binutils.texi (objdump): Document x86 -M options.
337
81766fca
RH
3382001-11-13 Keith Walker <keith.walker@arm.com>
339
340 * readelf.c (read_and_display_attr_value): New function to
341 handle DW_FORM_indirect.
342 (read_and_display_attr): Use it.
343
1a509dcc
GK
3442001-11-13 Geoffrey Keating <geoffk@redhat.com>
345
346 * readelf.c (display_debug_lines): Deal with unknown standard
347 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
348 DW_LNS_set_isa.
349
6e917903 3502001-11-13 Timothy Wall <twall@alum.mit.edu>
1a509dcc 351
6e917903
TW
352 * MAINTAINERS: Add self as tic54x maintainer. This target
353 includes the IBM C54XDSP clone.
7559e86e 354
6e917903 3552001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
1a509dcc 356
7559e86e
NC
357 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
358
3592001-11-09 Jeffrey A Law (law@cygnus.com)
91770270 360
ecdadc4a
JL
361 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
362 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
363 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
364 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
365 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
366 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
367 (unw_decode_b2, unw_decode_b3_b4): Likewise.
368
91770270
JL
369 * readelf.c (get_elf_class): Fix ISO portability glitch.
370 (get_data_encoding, get_osabi_name, request_dump): Likewise.
371
ef5cdfc7
JJ
3722001-11-07 Jakub Jelinek <jakub@redhat.com>
373
374 * readelf.c (debug_str, debug_str_size): New.
375 (display_debug_abbrev): If no abbrevs were read, skip the CU.
376 Call free_abbrevs.
377 (read_and_display_addr): Handle DW_FORM_strp.
378 (display_debug_info): Read .debug_str section if present,
379 so that DW_FORM_strp can be handled.
380 Fix test for non-existant .debug_abbrev section.
381
5e9520c8
JJ
3822001-11-05 Jakub Jelinek <jakub@redhat.com>
383
384 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
385
386 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
387
54589086
MS
3882001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
389
390 * MAINTAINERS: Add self as s390/s390x maintainer.
391
c05b685b
TR
3922001-11-02 Tom Rix <trix@bluey.cygnus.com>
393
394 * MAINTAINERS: Add self as PPC XCOFF maintainer.
395
3c62831e
NC
3962001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
397
398 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
399 * configure: Regernate.
400 * po/fr.po: New file.
401 * po/tr.po: New file.
402
3c3bdf30
NC
4032001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
404
9b19141a 405 * MAINTAINERS: Add self as MMIX port maintainer.
3c3bdf30
NC
406 * readelf.c: Include elf/mmix.h.
407 (guess_is_rela): MMIX is RELA.
408 (dump_relocations): Handle MMIX relocations.
409 * Makefile.am: Regenerate dependencies.
410 * Makefile.in: Regenerate.
411
f662939a
NC
4122001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
413
414 * readelf.c (parse_args): Handle multiple options to the -w
415 switch.
416
c91d0dfb
JJ
4172001-10-12 Jakub Jelinek <jakub@redhat.com>
418
419 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
420 LOPROC, LOOS and LOUSER.
421
7559e86e 4222001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
d1b67f3c
JR
423
424 * MAINTAINERS: Update my email address.
425
fcd8210c
AM
4262001-10-03 Alan Modra <amodra@bigpond.net.au>
427
428 * doc/Makefile.in: Regenerate.
429 * configure: Regenerate.
430
428409d5
NC
4312001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
432
433 * readelf.c (display_debug_line, display_debug_pubnames,
434 display_debug_info, display_debug_frames): Detect and warn
435 about 64-bit format entries.
436 (display_debug_aranges): Reword 64-bit warning.
437 (debug_displays): Add .debug_pubtypes as a known, but not yet
438 supported, debug section.
439
6a8c2b0d
AM
4402001-10-02 Alan Modra <amodra@bigpond.net.au>
441
442 * coffdump.c (PROGRAM_VERSION): Delete.
443 (main <'V'>): Call print_version.
444 * srconv.c: Likewise.
445 * sysdump.c: Likewise.
446 * version.c (program_version): Remove.
447 (print_version): Use BFD_VERSION_STRING. Just print the current
448 year in copyright message.
449 * addr2line.c (program_version): Remove unused declaration.
450 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
451 place of BFD_VERSION.
452 * Makefile.am (Makefile): Depend on bfd/configure.in.
453 (cplus-dem.o): Depend on Makefile.
454 Run "make dep-am".
455 * Makefile.in: Regenerate.
456
e414a165
NC
4572001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
458
459 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
460 format .debug_arange sections.
461 (main): Add missing prototype.
b8908f93 462
efc3ee7f
HPN
4632001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
464
465 * Makefile.am: Update dependencies with "make dep-am".
466 * Makefile.in: Regenerate.
467
9e85c2a0
RH
4682001-09-28 Richard Henderson <rth@redhat.com>
469
470 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
471
451dad9c
AM
4722001-09-26 Alan Modra <amodra@bigpond.net.au>
473
474 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
475 VA_CLOSE.
476 (non_fatal): Likewise.
477 * objdump.c (objdump_sprintf): Likewise.
478 * readelf.c (error): Likewise.
479 (warn): Likewise.
480
d974e256
JJ
4812001-09-25 Jakub Jelinek <jakub@redhat.com>
482
483 * readelf.c (do_wide): New.
484 (options): Add --wide.
485 (usage, parse_args): Likewise.
486 (process_program_headers): Put each segment on a single line if
487 --wide is given.
488 (process_section_headers): Put each section on a single line if
489 --wide is given.
490 * doc/binutils.texi: Document it.
491 * NEWS: Likewise.
492
2f11c261
AM
4932001-09-25 Alan Modra <amodra@bigpond.net.au>
494
495 * readelf.c (print_vma): Print 8 digits of low hex value.
496
1d50f91e
AJ
4972001-09-24 Andreas Jaeger <aj@suse.de>
498
499 * nlmconv.c: Fix warnings about unused attributes and function
500 prototypes.
501
502 * strings.c: Add prototype for get_char.
503
38131e67
L
5042000-09-19 H.J. Lu <hjl@gnu.org>
505
506 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
507 $(srcdir)/cxxfilt.man.
508 * doc/Makefile.in: Rebuild.
509
3bcfb3e4
AM
5102001-09-19 Alan Modra <amodra@bigpond.net.au>
511
512 * objcopy.c (copy_main): Correct rename-section string parsing.
513 Consolidate new_name parsing, and error messages.
514
3882b010
L
5152001-09-18 Bruno Haible <haible@clisp.cons.org>
516
517 * addr2line.c: Don't include <ctype.h>.
518 (main): For gettext, also set the LC_CTYPE locate facet.
519 * ar.c (main): Likewise.
520 * coffdump.c (main): Likewise.
521 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
522 (main): For gettext, also set the LC_CTYPE locate facet.
523 Use ISALNUM instead of isalpha/isdigit.
524 * dllwrap.c: Don't include <ctype.h>.
525 (main): For gettext, also set the LC_CTYPE locate facet.
526 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
527 (main): For gettext, also set the LC_CTYPE locate facet.
528 Use TOUPPER instead of islower/toupper.
529 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
530 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
531 Use TOUPPER instead of islower/toupper.
532 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
533 * objcopy.c (main): Likewise.
534 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
535 (disassemble_bytes): Use ISPRINT instead of isprint.
536 (dump_section_stabs): Use ISDIGIT instead of isdigit.
537 (dump_data): Use ISPRINT instead of isprint.
538 (main): For gettext, also set the LC_CTYPE locate facet.
539 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
540 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
541 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
542 Use TOUPPER instead of islower/toupper.
543 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
544 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
545 (write_rc_accelerators): Use ISPRINT instead of isprint.
546 (write_rc_rcdata): Likewise.
547 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
548 * srconv.c (main): Likewise.
549 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
550 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
551 isdigit/isupper/islower.
552 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
553 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
554 stab_demangle_prefix, stab_demangle_qualified,
555 stab_demangle_template, stab_demangle_type,
556 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
557 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
558 (isgraphic): Use ISPRINT instead of isascii/isprint.
559 (main): Remove HAVE_LC_MESSAGES dependency.
560 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
561 (pbarray): Use ISPRINT instead of isprint.
562 (main): For gettext, also set the LC_CTYPE locate facet.
563 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
564 (format_from_filename): Use ISPRINT instead of isprint.
565 (main): For gettext, also set the LC_CTYPE locate facet.
566 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
567 (unicode_print): Use ISPRINT instead of isprint.
568 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
569 (stab_variable): Use ISDIGIT instead of isdigit.
570
e59b4dfb
AM
5712001-09-18 Alan Modra <amodra@bigpond.net.au>
572
573 * ar.c (print_contents): Cast args of bfd_seek to the right types.
574 Replace bfd_read call with call to bfd_bread.
575 (extract_file): Likewise.
576
577 * objdump.c (dump_section_header): Cast section->filepos to
578 unsigned long to suit printf format string.
579 * readelf.c (process_section_headers): Similarly for sh_offset.
580 (process_unwind): Likewise.
581
d132876a
NC
5822001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
583
584 * strings.c (encoding, encoding_bytes): New variables.
585 (long_options): Add --encoding.
586 (main): Accept -e and --encoding.
587 (get_char): New function. Read a, possibly wide, character from
588 the input stream.
589 (print_strings): Use get_char().
590 (usage): Document new command line option.
591 * doc/binutils.texi: Document new command line option.
592 * NEWS: Announce new command line option.
593
7559e86e 5942001-09-12 Alexandre Oliva <aoliva@redhat.com>
2b0337b0
AO
595
596 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
597 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
598 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
599 Removed EM_CYGNUS_ARC.
600
7559e86e 6012001-09-04 Jeffrey A Law (law@cygnus.com)
b8720f9d
JL
602
603 * readelf.c: Include elf/h8 for H8 series definitions.
604 (guess_is_rela): H8 series if RELA.
605 (dump_relocations): Handle H8 series relocations.
606
0823fbca
EC
6072001-08-31 Eric Christopher <echristo@redhat.com>
608
609 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
610
8db76d70
PT
6112001-08-29 Peter Targett <peter.targett@arccores.com>
612
613 * MAINTAINERS: Include ARC Maintainer.
614
d81d6584
BE
6152001-08-29 Ben Elliston <bje@redhat.com>
616
617 * stabs.c (stab_demangle_template): Initialise s4.
618
25a1ff5b
AM
6192001-08-27 Alan Modra <amodra@bigpond.net.au>
620
621 * readelf.c (dump_relocations): Recognise EM_PPC64.
622
a5d22d2a
TS
6232001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
624
625 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
626
62a5a82d
L
6272001-08-25 H.J. Lu <hjl@gnu.org>
628
629 * nm.c (print_width): New.
630 (display_rel_file): Set `print_width' according to
631 bfd_sprintf_vma.
632 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
633
1ae8b3d2
AO
6342001-08-24 Alexandre Oliva <aoliva@redhat.com>
635
636 * objcopy.c (use_alt_mach_code): New variable.
637 (OPTION_ALT_MACH_CODE): Define.
638 (copy_options): Added --alt-machine-code.
639 (copy_main): Handle it.
640 (copy_object): Switch to alternate machine code if requested.
641 * doc/binutils.texi: Document new option.
642 * NEWS: Likewise.
643
d1bdd336
TS
6442001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
645
646 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
647
410f7a12
L
6482001-08-21 H.J. Lu <hjl@gnu.org>
649
650 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
651 (display_debug_info): Cast for 64bit hosts.
652 (display_debug_frames): Likewise.
653 (process_mips_specific): Likewise.
654
c32144ff
AJ
6552001-08-21 Andreas Jaeger <aj@suse.de>
656
657 * coffgrok.h: Add missing parameter for prototype of coff_grok.
658
659 * sysdump.c: Add missing prototypes.
660 * srconv.c: Likewise.
661 * unwind-ia64.c: Likewise.
662 * coffdump.c: Likewise.
663
664 * sysinfo.y: Print prototypes, include <ansidecl.h>.
665
666 * coffgrok.c: Add missing prototypes, include libiberty.h instead
667 of declaring xcalloc.
668
d8180c76
L
6692001-08-10 H.J. Lu <hjl@gnu.org>
670
671 * nm.c (print_value): Add one arg, bfd *.
672 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
673 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
674 (print_symbol_info_sysv): Likewise.
675 (print_symbol_info_posix): Likewise.
676
677 * objdump.c (dump_section_header): Replace printf_vma with
678 bfd_printf_vma.
679 (print_section_stabs): Likewise.
680 (dump_bfd_header): Likewise.
681 (objdump_print_value): Replace sprintf_vma with
682 bfd_sprintf_vma.
683 (disassemble_bytes): Likewise.
684 (dump_reloc_set): Likewise.
685
0218d1e4
AJ
6862001-08-10 Andreas Jaeger <aj@suse.de>
687
688 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
689 to build warnings.
690 * configure: Regenerate.
691
2863d58a
AM
6922001-08-09 Alan Modra <amodra@bigpond.net.au>
693
694 * readelf.c: Add missing prototypes.
695 * objdump.c: Likewise. Format existing prototypes.
696
c0e047e0
AO
6972001-08-08 Alexandre Oliva <aoliva@redhat.com>
698
699 * readelf.c (display_debug_info): Add to abbrev_offset the addend
700 of any RELA relocation for the abbrev_offset memory location that
701 refers to the .debug_abbrev section symbol.
702
ff78d6d6
L
7032001-08-07 H.J. Lu <hjl@gnu.org>
704
705 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
706 (main): Return process_file ().
707
c36774d6
PB
7082001-08-05 Philip Blundell <philb@gnu.org>
709
710 * doc/binutils.texi: Use "Thumb" not "THUMB".
711
8f9d9bd9
JH
7122001-08-03 John Healy <jhealy@redhat.com>
713
714 Patch suggested by Frank Eigler <fche@redhat.com>.
715 * objdump.c (disassemble_data): Fill in section member of the
716 disasm_info structure.
717
c918cb96
DD
7182001-08-03 Tom Walsh <tom@cyberiansoftware.com>
719
720 * configure.in: Added --with-windres option.
721 * configure: Regenerated.
722
c7c55b78
NC
7232001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
724
725 * doc/binutils.texi: Use @command{name} for commands;
726 use @option{-opt} for options; use @table @env for list of options;
727 remove spaces arround [ | ] in synopsis.
728
729 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
730 center title.
731
594ef5db
NC
7322001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
733
734 * objcopy.c: Fix formatting.
735 (section_rename): New structure.
736 (OPTION_RENAME_SECTION): New switch.
737 (copy_usage): Document new switch.
738 (add_section_rename): New function: Add a node to the section
739 rename list.
740 (find_section_rename): New function: Find the new name and
741 flags for a section.
742 (setup_section): Call find_section_name to determine the name
743 of the output section.
744 (copy_main): Handle OPTION_RENAME_SECTION.
745 * binutils.texi: Document new switch.
746 * NEWS: Mention new switch.
747
1f554c69
NC
7482001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
749
750 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
751 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
752 bug-binutils@gcc.org.
753
2f83960e
AM
7542001-07-28 Matthias Kramm <kramm@quiss.org>
755
756 * bucomm.c (list_supported_architectures): New function.
757 * bucomm.h (list_supported_architectures): Declare.
758 * objdump.c (usage): Call the above.
759
20fe0649
DB
7602001-07-25 Dave Brolley <brolley@redhat.com>
761
762 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
763 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
764
1b577b00
NC
7652001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
766
767 * README: Update for 2.11. Change bug reporting email address.
768 * MAINTAINERS: Tidy up. Change bug reporting email address.
769
95fd336c
DD
7702001-07-16 DJ Delorie <dj@redhat.com>
771
5f16d855
DD
772 * resres.c (write_res_header): Align header size.
773 (res_align_file): Calculate alignment correctly.
774
95fd336c
DD
775 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
776 correct 10).
777 * resrc.c (write_rc_resource): Likewise.
778 * windres.h (SUBLANG_SHIFT): Define - as 10.
779
ed8fee27
NC
7802001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
781
782 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
783
90ab7e9a
NC
7842001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
785
786 * MAINTAINERS: Add notes about branch checkins.
787
e0c60db2
NC
7882001-07-05 Daniel Berlin <dan@cgsoftware.com>
789
790 * readelf.c (display_debug_macinfo): New function, display
791 .debug_macinfo section.
792 (do_debug_macinfo): New variable.
793 (parse_args): Handle "-w[mM]" to mean display macro info.
794 (process_section_headers): Handle debug_macinfo.
795 (debug_displays): Replace unsupported function with macinfo
0218d1e4 796 function for .debug_macinfo display.
e0c60db2
NC
797 * doc/binutils.texi: Document new command line switch.
798 * NEWS: Document new feature of readelf.
0218d1e4 799
24e01a36
L
8002001-07-05 H.J. Lu <hjl@gnu.org>
801
802 * objcopy.c (filter_symbols): Don't turn undefined symbols
803 into local.
804
4258bf4d
L
8052001-07-03 H.J. Lu <hjl@gnu.org>
806
807 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
808 $@.pod.
809 (ar.1): Likewise.
810 (dlltool.1): Likewise.
811 (nlmconv.1): Likewise.
812 (nm.1): Likewise.
813 (objcopy.1): Likewise.
814 (objdump.1): Likewise.
815 (ranlib.1): Likewise.
816 (readelf.1): Likewise.
817 (size.1): Likewise.
818 (strings.1): Likewise.
819 (strip.1): Likewise.
820 (windres.1): Likewise.
821 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
822 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
823 $(DEMANGLER_NAME).
824 (as.1): Removed.
825 * doc/Makefile.in: Regenerated.
826
7014bc31
NC
8272001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
828
829 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
830
b811889f
NC
8312001-07-01 Daniel Berlin <dan@cgsoftware.com>
832
833 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
834
12ab83a9
NC
8352001-06-29 James Cownie <jcownie@etnus.com>
836
837 * readelf.c: Support DWARF 2.1 attributes.
838
a6e9f9df
AM
8392001-06-28 Alan Modra <amodra@bigpond.net.au>
840
841 * readelf.c (GET_DATA_ALLOC): Remove.
842 (GET_DATA): Remove.
843 (get_data): New function combining above macros, with an extra
844 test for zero size.
845 (slurp_rela_relocs): Use get_data, and catch error return.
846 (slurp_rel_relocs): Likewise.
847 (get_32bit_program_headers): Likewise.
848 (get_64bit_program_headers): Likewise.
849 (get_32bit_section_headers): Likewise.
850 (get_64bit_section_headers): Likewise.
851 (get_32bit_elf_symbols): Likewise.
852 (get_64bit_elf_symbols): Likewise.
853 (process_section_headers): Likewise.
854 (process_relocs): Likewise.
855 (slurp_ia64_unwind_table): Likewise.
856 (process_unwind): Likewise.
857 (get_32bit_dynamic_segment): Likewise.
858 (get_64bit_dynamic_segment): Likewise.
859 (process_dynamic_segment): Likewise.
860 (process_version_sections): Likewise.
861 (process_symbol_table): Likewise.
862 (dump_section): Likewise.
863 (display_debug_info): Likewise.
864 (display_debug_section): Likewise.
865 (process_section_contents): Likewise.
866 (process_corefile_note_segment): Likewise.
867 (process_mips_specific): Likewise. Also free econf32, econf64.
868
af3fc3bc
AM
8692001-06-25 Alan Modra <amodra@bigpond.net.au>
870
871 * readelf.c (dump_relocations): Print "bad symbol index" if
872 symtab == NULL with non-zero symtab_index.
873 (process_relocs): Don't bomb if reloc section has no symsec.
874
6d900bf6
L
8752001-06-24 H.J. Lu <hjl@gnu.org>
876
877 * objcopy.c (strip_main): Revert the change made on 2001-05-30
878 by accident.
879 (copy_main): Apply the the change made to strip_main on
880 2001-05-30 by accident.
881
49b4e386
AJ
8822001-06-23 Andreas Jaeger <aj@suse.de>
883
884 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
885 parameter 'code'.
886 (unw_decode_x2): Likewise.
887 (unw_decode_x3): Likewise.
888 (unw_decode_x4): Likewise.
889
d8dc71e3
BE
8902001-06-23 Ben Elliston <bje@redhat.com>
891
892 * MAINTAINERS: Add myself as M88k maintainer.
893
af3bdff7
NC
8942001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
895
896 * objcopy.c (strip_main): Support -o or --output-file command lien
897 switch.
898
105e7211
L
8992001-06-19 H.J. Lu <hjl@gnu.org>
900
901 * doc/Makefile.in: Regenerated.
902
c45021f2
NC
9032001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
904
905 * readelf.c: Restore formatting.
906
9072001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
908
909 * Makefile.am: Move documentation into doc subdirectory.
910 * Makefile.in: Regenerated.
911 * binutils.texi: Move into doc subdirectory.
912 * addr2line.1: Removed.
913 * ar.1: Likewise.
914 * dlltool.1: Likewise.
915 * nlmconv.1: Likewise.
916 * nm.1: Likewise.
917 * objcopy.1: Likewise.
918 * objdump.1: Likewise.
919 * ranlib.1: Likewise.
920 * readelf.1: Likewise.
921 * size.1: Likewise.
922 * strings.1: Likewise.
923 * strip.1: Likewise.
924 * windres.1: Likewise.
925 * cxxfilt.man: Likewise.
926 * doc: New Directory.
927 * doc/Makefile.am: New file.
928 * doc/Makefile.in: Generate.
929
09ad7db3
AM
9302001-06-09 Alan Modra <amodra@bigpond.net.au>
931
932 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
933
936260fe
AM
9342001-06-01 Alan Modra <amodra@bigpond.net.au>
935
936 * MAINTAINERS: Update my email address.
937
16b2b71c
NC
9382001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
939
940 * objcopy.c: Add new switches: --keep-global-symbol,
941 --keep-symbols, --localize-symbols, --keep-global-symbols and
942 --weaken-symbols.
943 * binutils.texi: Document new switches.
944 * objcopy.1: Regenerate.
945 * NEWS: Announce new feature.
946
7036c0e1
AJ
9472001-05-28 Andreas Jaeger <aj@suse.de>
948
949 * readelf.c (display_debug_frames): Fix warnings: Remove unused
950 variables, fix format strings.
951
76a406e5
NC
9522001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
953
954 * objdump.c (disassemble_bytes): Remove section VMA adjustment
955 when computing the address of the line to show.
956
31b6fca6
RH
9572001-05-16 Richard Henderson <rth@redhat.com>
958
959 * readelf.c (do_debug_frames_interp): New.
960 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
961 (byte_get_big_endian): Likewise.
962 (parse_args) ['F']: Set do_debug_frames_interp.
963 (Frame_Chunk): Make data_factor signed, add fde_encoding.
964 (frame_display_row): Don't trunc pc_begin to int.
965 (size_of_encoded_value): New.
966 (display_debug_frames): Handle 64-bit targets. Print raw data
967 unless do_debug_frames_interp.
968 (debug_displays): Remove duplicate .debug_frame.
969
4fe85591
NC
9702001-05-15 Ralf Baechle <ralf@gnu.org>
971
972 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
973 The former constant was never in active use and is used otherwise
974 by the ABI.
975
579f31ac
JJ
9762001-05-11 Jakub Jelinek <jakub@redhat.com>
977
978 * readelf.c (process_unwind): Print all unwind sections, not just
979 one.
980
78f4a3f7
AM
9812001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
982
983 * readelf.c (process_unwind): Remove const specifier.
984
1c529ca6
NC
9852001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
986
987 * strings.c (isgraphic): Do not use isascii() unless it is needed
988 for isprint() to work.
989 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
990
87e6d782
NC
9912001-04-27 Johan Rydberg <jrydberg@opencores.org>
992
993 * NEWS: Announce support for OpenRISC.
994
4bd3d870 9952001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
49b4e386
AJ
996
997 * dlltool.c (do_default_excludes): Initialise to true.
998
21211521
AM
9992001-04-10 Alan Modra <amodra@one.net.au>
1000
1001 * MAINTAINERS: Update my email address
1002 * nm.c (print_symbol_info_bsd): Use a simple printf string.
1003
0c66b61e 10042001-04-05 Hans-Peter Nilsson <hp@axis.com>
ff94ebf2
HPN
1005
1006 * readelf.c (display_debug_lines): Fix typo for "Prologue".
1007
e58d53af
L
10082001-03-30 H.J. Lu <hjl@gnu.org>
1009
1010 * readelf.c (process_unwind): Just return if do_unwind is 0.
1011
bee72332
DD
10122001-03-28 Roger Sayle <roger@metaphorics.com>
1013
1014 * dlltool.c (make_one_lib_file): Fix section flags for
1015 .text, .data and .bss in stub ds*.o files to match those
1016 generated by gas.
1017
f1467e33
L
10182001-03-29 H.J. Lu <hjl@gnu.org>
1019
1020 * readelf.c (process_unwind): Only do unwind sections for
1021 IA64.
1022
1c6fb4fe
L
10232001-03-28 H.J. Lu <hjl@gnu.org>
1024
1025 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
1026 * Makefile.in: Regenerate.
1027
0879a67a
AJ
10282001-03-26 Andreas Jaeger <aj@suse.de>
1029
1030 * binutils.texi (nm): Fix texi syntax.
1031
0285c67d
NC
10322001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1033
1034 * binutils.texi: Put @c man begin and @c man end indications
1035 to generate man pages using texi2pod and pod2man. Put @c man title
1036 to identify each man. Add SEEALSO entries.
1037 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
1038 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
1039 sort the list.
1040 (*.1): Build the man pages from binutils.texi.
1041 * Makefile.in: Regenerate.
1042
04847a4d
CF
10432001-03-13 Eric Kohl <ekohl@rz-online.de>
1044
1045 * defparse.y (opt_equal_name): allow "." in name.
1046 * dlltool.c (def_exports): Added ability to generate forwarded exports.
1047 (gen_exp_file): Likewise.
1048
43a0748c
NC
10492001-03-12 Stefan Geuken <mail@stefan-geuken.de>
1050
1051 * NEWS: Document addition of -B switch to objcopy.
1052 * binutils.texi: Document addition of -B switch to objcopy.
1053 * objcopy.c: (copy_options): Add --binary-architecture.
1054 (copy_usage): Document -B/--binary-architecture.
1055 (copy_main): Support -B/--binary-architecture. Set
1056 bfd_external_binary_architecture.
0879a67a 1057
b7498e0e
NC
10582001-03-11 Andreas Jaeger <aj@suse.de>
1059
1060 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
1061 (dump_relocations): Likewise.
1062 (get_machine_name): Likewise.
1063
a59e3bd7
NC
10642001-02-28 Nick Clifton <nickc@redhat.com>
1065
1066 * readelf.c: (struct unw_aux_info): Remove const modifier for
1067 'strtab' field.
1068 (process_unwind): Remove non-K&R compliant LHS type cast in call
1069 to GET_DATA_ALLOC macro.
1070
a5bcd848
PB
10712001-02-28 Philip Blundell <pb@futuretv.com>
1072
1073 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
1074 ABI is in use; remove ambiguity between the "unknown" EABI and
1075 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
1076 renamed EF_xx constants.
1077
27b7e12d
AM
10782001-02-27 Alan Modra <alan@linuxcare.com.au>
1079
1080 * configure.in (BFD_VERSION): New.
1081 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
1082 * configure: Regenerate.
1083 * Makefile.am: Run "make dep-am"
1084 * Makefile.in: Regenerate.
1085
a9f10786
NC
10862001-02-14 Nick Clifton <nickc@redhat.com>
1087
1088 * MAINTAINERS: Add "Obvious Fix" rule.
1089
3c44da9a
MS
10902001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1091
1092 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
1093 literal concatenation.
1094
ecd03389
MS
10952001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1096
1097 * readelf.c (struct unw_aux_info): Remove const from the info member.
1098 (process_unwind): Don't type-cast the third argument to the
1099 GET_DATA_ALLOC macro.
1100
88ec60c7
NC
11012001-02-11 Nick Clifton <nickc@redhat.com>
1102
1103 * readelf.c (dump_relocations): Free corrected allocated
1104 array.
1105 (process_unwind): Fix compile time warning.
1106
f5e21966
NC
11072001-02-10 Nick Clifton <nickc@redhat.com>
1108
1109 * binutils.texi: Document new --unwind option to readelf.
1110
a85d7ed0
NC
11112001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
1112
1113 * readelf.c: Add linux target for S/390.
1114
7bb10502
AM
11152001-02-10 Alan Modra <alan@linuxcare.com.au>
1116
1117 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
1118 printf is a macro.
1119
8ca8f343
HPN
11202001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
1121
1122 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
1123 * aclocal.m4: Regenerate.
1124 * configure: Regenerate.
1125
7340082d
NC
11262001-02-07 Todd Vierling <tv@wasabisystems.com>
1127
1128 * bucomm.c (bfd_target_vector): Change extern array to pointer.
1129 * objdump.c (bfd_target_vector): Likewise.
1130
4d6ed7c8
NC
11312001-02-07 David Mosberger <davidm@hpl.hp.com>
1132
1133 * readelf.c (process_unwind): New function.
1134 (slurp_ia64_unwind_table): Ditto.
1135 (dump_ia64_unwind): Ditto.
1136 (find_symbol_for_address): Ditto.
1137 (slurp_rela_relocs): New function (split off from dump_relocations()).
1138 (slurp_rel_relocs): Ditto.
1139 (parse_args): Handle '-u' option.
1140
1141 * unwind-ia64.c: New file.
1142 * unwind-ia64.h: New file.
1143 * Makefile.am: Include unwind-ia64.c in readelf build.
1144 * Makefile.in: Regenerate.
7340082d 1145 * po/binutils.pot: Regenerate.
4d6ed7c8 1146
c7217458
PB
11472001-02-04 Philip Blundell <philb@gnu.org>
1148
1149 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
1150 * configure: Regenerate.
1151
956eedd4
AM
11522001-01-31 Steve deRosier <sderosier@vari-lite.com>
1153
1154 * ieee.c (ieee_add_bb11): Don't check for backslashes
1155 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1156
8855cbca
AM
11572001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
1158
c7f2731e
AM
1159 * ieee.c: Update copyright.
1160 (ieee_start_compilation_unit): Don't check for backslashes
1161 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1162
8855cbca
AM
1163 * stabs.c: Update copyright. Include "filenames.h".
1164 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
1165
329de803 11662001-01-23 Jakub Jelinek <jakub@redhat.com>
00d93f34
JJ
1167
1168 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
1169 sections are present before using them. Remove code duplication.
1170 (process_symbol_table): Check if VERDEF or VERNEED sections are
1171 present before using them.
1172
23719f39
NC
11732001-01-17 Nick Clifton <nickc@redhat.com>
1174
1175 * objcopy.c (copy_object): Fail if attempting to convert the
1176 endianness of the input object file.
1177
1178 * binutils.texi: Explain that objcopy cannot convert endianness.
c7f2731e 1179
f726e849
NC
11802001-01-16 Nick Clifton <nickc@redhat.com>
1181
1182 * readelf.c (string_table_length): New variable.
1183 (SECTION_NAME): Catch out of range indices and missing section
1184 pointers.
1185 (process_section_headers): Delete useless local variable
1186 string_table_offset. Set the value of string_table_length
1187 after loading the string table.
1188 (process_mips_specific): Use SECTION_NAME macro.
1189 (process_file): Set string_table_length to 0 when it is freed.
1190
d0398d6a
NC
11912001-01-12 Nick Clifton <nickc@redhat.com>
1192
1193 * version.c (print_version): Update copyright date.
1194
0d2bcfaf
NC
11952001-01-11 Peter Targett <peter.targett@arccores.com>
1196
1197 * readelf.c (dump_relocations): Include selection with EM_ARC.
1198 (get_machine_name) Update name to "ARC".
1199
8b1e6df3
NC
12002001-01-09 Nick Clifton <nickc@redhat.com>
1201
1202 * Makefile.am: Add rule to build objdump.o from objdump.c and
1203 using OBJDUMP_DEFS.
1204 * Makefile.in: Regenerate.
1205
1206 * configure.in: Define OBJDUMP_DEFS. Default to empty.
1207 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
1208 -DDISASSEMBLER_NEEDS_RELOCS.
34cc70e3 1209 * configure: Regenerate.
8b1e6df3
NC
1210
1211 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
1212 is defined read in the relocs even if dump_reloc_info is
1213 false.
1214
2f952d20
PB
12152001-01-07 Philip Blundell <philb@gnu.org>
1216
1217 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
1218 `bug-binutils'.
1219 * README: Likewise.
1220
a8c548cb
NC
12212000-12-19 Nick Clifton <nickc@redhat.com>
1222
1223 * dlltool.c: Add missing support for arm-epoc-pe.
1224 * configure.in: Add missing support for arm-epoc-pe.
1225 * configure: Regenerate.
1226
cc5fda35
NC
12272000-12-15 Nick Clifton <nickc@redhat.com>
1228
1229 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
1230 Mode parts of the x86 port.
1231
bcedfee6
NC
12322000-12-04 Andreas Jaeger <aj@suse.de>
1233
1234 * readelf.c (guess_is_rela): Add EM_X86_64.
1235 (dump_relocations): Add EM_X86_64.
1236 (get_machine_name): Add EM_X86_64.
1237 Include "elf/x86-64.h".
1238
584da044
NC
12392000-12-12 Nick Clifton <nickc@redhat.com>
1240
1241 * readelf.c: Fix formatting.
1242
7559e86e 12432000-12-11 Jan Hubicka <jh@suse.cz>
b8355149
JH
1244
1245 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
1246
a98cc2b2
AH
12472000-12-07 Andrew Haley <aph@redhat.com>
1248
1249 * readelf.c (display_debug_frames): Only display columns that are
1250 referenced by the frame debug info.
1251
c7987a69
NC
12522000-12-05 Nick Clifton <nickc@redhat.com>
1253
1254 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
1255
09fd7e38
JM
12562000-12-04 Jason Merrill <jason@redhat.com>
1257
1258 * readelf.c (process_section_headers): Handle linkonce.wi sections.
1259 (display_debug_section): Likewise.
1260 (display_debug_info): Display CU header before bailing.
1261
e7af610e
NC
12622000-12-01 Chris Demetriou <cgd@sibyte.com>
1263
09fd7e38
JM
1264 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
1265 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
1266 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
e7af610e 1267
09fd7e38
JM
1268 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
1269 and E_MIPS_ARCH_64.
84ea6cf2 1270
09fd7e38
JM
1271 * readelf.c (get_machine_flags): Add case for
1272 E_MIPS_MACH_SB1.
c6c98b38 1273
75066968
DD
12742000-11-30 Richard Earnshaw <rearnsha@arm.com>
1275
1276 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
1277
5c4666ea
HPN
12782000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
1279