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