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