Add AIX 64 shared library support and emulation layer for binutils
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
eb1e0e80
NC
12002-03-18 Tom Rix <trix@redhat.com>
2
3 * Makefile.am: Add binutils emulation support.
4 * configure.in: Same.
5 * configure.tgt: New file. Same.
6 * ar.c (main): Use ar_emul_parse_arg.
7 (usage): Use ar_emul_usage.
8 (replace_members): Use ar_emul_replace, ar_emul_append.
9 * binemul.c: New file. Define the binutils emulation
10 layer. Define default methods.
11 * binemul.h: New file. Binutils emulation layer header file.
12 * emul_aix.c: New file. AIX binutils emulation.
13 * emul_vanilla.c: New file. Default binutils emulation.
14 * Makefile.in: Regenerate.
15 * configure: Same.
16
a1c259a1
NC
172002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
18
19 * po/fr.po: Updated version.
20
9ce88e60
NC
212002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
22
23 * po/fr.po: Updated version.
24
effb0601
DJ
252002-03-07 Daniel Jacobowitz <drow@mvista.com>
26
27 * README: Update some version numbers.
28
a65688ab
DJ
292002-03-07 Daniel Jacobowitz <drow@mvista.com>
30
31 * doc/binutils.texi (Target Selection): Fix LD crossreferences.
32 (Architecture Selection): Likewise.
33
f3f7fbb2
NC
342002-03-01 Dmitry Timoshkov <dmitry@baikal.ru>
35
36 * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
37 generating .exp file.
38
25345be5
NC
392002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
40
41 * readelf.c (dump_relocations): Fix typo.
42
9a66911f
NC
432002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
44
45 * NEWS: Mark 2.12 branch.
46
2c71103e
NC
472002-02-18 Timothy Daly <remote_bob@yahoo.com>
48
49 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
50 types for 64-bit MIPS. Narrow some fields for 80-char
51 output.
52 (dump_relocations): Change spelling from 'unrecognised'
53 to 'unrecognized'.
54 (decode_ARM_machine_flags): Likewise.
55 (parse_args): Likewise.
56 (read_and_display_attr_value): Likewise.
57 (display_debug_section): Likewise.
58
49fda6c8
HPN
592002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
60
61 * NEWS: Mention support for MMIX.
62
76f57f3a
JT
632002-02-13 Matt Fredette <fredette@netbsd.org>
64
65 * readelf.c (get_machine_flags): Recognize EF_M68000.
66
d36ca9c2
AO
672002-02-12 Alexandre Oliva <aoliva@redhat.com>
68
69 * MAINTAINERS: Added self as MN10300 co-maintainer.
70
19397422
AM
712002-02-12 Alan Modra <amodra@bigpond.net.au>
72
73 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
74 DT_PPC64_OPDSZ.
75
d434e574
DJ
762002-02-11 Daniel Jacobowitz <drow@mvista.com>
77
78 * MAINTAINERS: List myself as branch maintainer.
79
12b87c89
AM
802002-02-11 Alan Modra <amodra@bigpond.net.au>
81
82 * configure: Regenerate.
83 * objcopy.c: Update copyright date.
84 * doc/Makefile.in: Regenerate.
85
8d037c5c
DJ
862002-02-10 Daniel Jacobowitz <drow@mvista.com>
87
88 * nlmconv.c: Back out localtime PARAMS change.
89
4c168fa3
AM
902002-02-11 Alan Modra <amodra@bigpond.net.au>
91
92 * objcopy.c (MKDIR): Define.
93 (copy_archive): Make name_list.name const. Use MKDIR.
94 Handle duplicate files in archives by making more temp dirs.
95
408f8db1
DJ
962002-02-10 Daniel Jacobowitz <drow@mvista.com>
97
98 * coffdump.c: Include "getopt.h" after "bucomm.h"
99 so that macros are defined correctly.
100 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
101 prototype. Prototype main.
102 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
103
9f77fa06
AO
1042002-02-06 Alexandre Oliva <aoliva@redhat.com>
105
106 * MAINTAINERS: Added self as SH co-maintainer.
107
82f6addb
NC
1082002-02-05 Nick Clifton <nickc@redhat.com>
109
110 * po/tr.po: Updated translation.
111
ba323545
AM
1122002-02-01 Alan Modra <amodra@bigpond.net.au>
113
114 * Makefile.am: Run "make dep-am"
115 * Makefile.in: Regenerate.
116
3deb89d3
DJ
1172002-01-29 Daniel Jacobowitz <drow@mvista.com>
118
119 * nm.c (print_value): Mark abfd unused.
120
a0e9c55f
DJ
1212002-01-29 Daniel Jacobowitz <drow@mvista.com>
122
123 * unwind-ia64.c (unw_decoder): Change second argument
124 to unsigned int, to match function prototypes.
125
d7a283d4
DJ
1262002-01-29 Daniel Jacobowitz <drow@mvista.com>
127
128 * objdump.c: Include "getopt.h" after "bucomm.h" so that
129 __GNU_LIBRARY__ will be defined.
130 * size.c: Likewise.
131
4867be41
DJ
1322002-01-27 Daniel Jacobowitz <drow@mvista.com>
133
134 * configure: Regenerated.
135
7562a296
HPN
1362002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
137
138 * doc/Makefile.am (install): Depend on install-info.
139 * doc/Makefile.in: Regenerate.
140
15c82623
NC
1412002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
142
143 * objcopy.c (strip_usage): Document -d as an alias
144 --strip-debug.
145
146 * size.c (usage): Document [-t | --totals] options.
147 (long_options): Add --totals option.
148 (main): If the [-t | --totals] option is specified and
149 the output format is Berkeley-style, print the total
150 text, data, and bss sizes of all objects listed.
151 (print_berkeley_format): If the [-t | --totals] option
152 is specified, track the total text, data, and bss
153 sizes.
154 * doc/binutils.texi (size): Document [-t | --totals] options.
155 (strip): Document -d as an alias for --strip-debug.
156 * NEWS: Mention new feature of size.
157
00ea8601 1582002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
b85cedd7 159
1ddbd152
NC
160 * po/fr.po: Updated version.
161 * po/es.po: Updated version.
b85cedd7 162
8b53311e
NC
1632002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
164
165 * addr2line.c (usage): Update text to provide verbose
166 description of the command line options.
167 * ar.c (usage): Update text to provide verbose
168 description of the command line options.
169 (main): Accept -h and -H when running as ranlib.
170 * coffdump.c (show_usage): Update text to provide verbose
171 description of the command line options.
172 * dlltool.c (main): Accept -H as an alias for --help.
173 * nlmconv.c (show_usage): Update text to provide verbose
174 description of the command line options.
175 * nm.c (usage): Replace OPTIONS with option(s).
176 (main): Accept -H as an alias for --help.
177 * objcopy.c (strip_main): Accept -H as an alias for --help.
178 * objdump.c (main): Accept -v as an alias for --verbose.
179 * readelf.c (usage): Adjust format to match style used in
180 other binutils.
181 * size.c (usage): Update text to provide verbose description
182 of the command line options.
183 (main): Accept -v, -h and -H as command line options.
184 * srconv.c (show_usage): Update text to provide verbose
185 description of the command line options.
186 * strings.c (main): Accept -H and -v as command line options.
187 (usage): Update text to provide verbose description of the
188 command line options.
189 * sysdump.c (show_usage): Update text to provide verbose
190 description of the command line options.
191 * windres.c (usage): Adjust format to match style used in
192 other binutils.
193
194 * coffdump.c: Fix formatting.
195 * nlmconv.c: Fix formatting.
196 * srconv.c: Fix formatting.
197 * sysdump.c: Fix formatting.
198
c46f0c34
AM
1992002-01-22 Alan Modra <amodra@bigpond.net.au>
200
201 * Makefile.am: Run "make dep-am".
202 * Makefile.in: Regenerate.
203
2a538ba5
AJ
2042002-01-18 Andreas Jaeger <aj@suse.de>
205
206 * version.c (print_version): Update year.
207
285d1771
AM
2082002-01-17 Alan Modra <amodra@bigpond.net.au>
209
210 * readelf.c (get_machine_name): Handle EM_PPC64.
211 (guess_is_rela): Here too.
212
328577ad
NC
2132002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
214
215 * po/binutils.pot: Regenerate.
216 * po/fr.po: Regenerate.
217 * po/tr.po: Regenerate.
218
af3ae48d
NC
2192002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
220
221 * po/tr.po: Import new version.
222
f1cb7e17
AM
2232002-01-16 Alan Modra <amodra@bigpond.net.au>
224
225 * readelf.c (get_ppc64_dynamic_type): New.
226 (get_dynamic_type): Call it.
227
6364e0b4
NC
2282002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
229
3ab9460d
NC
230 * objcopy.c (copy_usage): Use "options" instead of "switches".
231 (strip_usage): Use "options" instead of "switches".
232 * doc/binutils.texi (dlltool): Refer to "options" instead of
233 "switches".
6364e0b4 234
3a7e524e
RE
2352002-01-14 Richard Earnshaw <rearnsha@arm.com>
236
237 * MAINTAINERS: Add self as co-maintainer for the ARM code.
238
1209e219
NC
2392001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
240
241 * po/es.po: Import from translation project.
242 * configure.in (ALL_LINGUAS): Add es.
243 * configure: Regenerate.
244
b4db1224
JT
2452002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
246
247 * readelf.c (get_netbsd_elfcore_note_type): Use
248 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
249
9437c45b
JT
2502002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
251
252 * readelf.c: Update copyright years.
253 (get_note_type): Return a const char *.
254 (get_netbsd_elfcore_note_type): New function.
255 (process_note): Use get_netbsd_elfcore_note_type to get
256 the note type string for NetBSD ELF core files.
257
00428cca
AM
2582002-01-06 Steve Ellcey <sje@cup.hp.com>
259
260 * readelf.c (get_ia64_segment_type): Add support for macros.
261 (get_segment_type): Add support for IA64 specific macros.
262
31104126
NC
2632001-12-20 Julian v. Bock <julian@wongr.net>
264
265 * readelf.c (print_symbol): New function: Print a formatted symbol
266 name. If --wide is specified do not truncate it.
267 (dump_relocations): Use print_symbol() to print symbol names.
268 (process_symbol_table): Likewise.
269 (process_syminfo): Likewise.
270 (process_mips_specific): Likewise.
271 (usage): Document new feature of --wide switch.
272 * doc/binutils.texi (objdump): Document additional behaviour of
273 --wide.
2a538ba5 274
4dd67f29
MS
2752001-12-18 Michael Snyder <msnyder@redhat.com>
276
277 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
278 (copy_object): Don't set the start address or flags of a core file.
279 (copy_section): Don't relocate a core file. Don't copy contents
280 if the input section has the contents flag set, but the output
281 section does not (which happens with the fake 'note' pseudo-
282 sections that BFD creates for corefiles).
283
43521d43
TS
2842001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
285
286 * readelf.c (get_machine_flags): Recognize header flags for ABI and
287 ASE extensions. More robust code for ISA checking. Ignore empty fields
288 in header flags for GNU extensions.
289
b667df2e
AM
2902001-12-18 Alan Modra <amodra@bigpond.net.au>
291
292 * objcopy.c (copy_archive): Set output bfd format outside the loop.
293
17a5a5c3
NC
2942001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
295
296 * po/ja.po: Import from translation project.
297 * configure.in (ALL_LINGUAS): Add ja.
298 * configure: Regenerate.
299
65de42c0
TS
3002001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
301
302 * addr2line.c (main): Protoype.
303 * ar.c (main): Protoype.
304 * nm.c (main): Protoype.
305 * objcopy.c (main): Protoype.
306 * objdump.c (main): Protoype.
307 * size.c (main): Protoype.
308 * strings.c (main): Protoype.
309
9ad5cbcf
AM
3102001-12-17 Alan Modra <amodra@bigpond.net.au>
311
312 * readelf.c (symtab_shndx_hdr): New global.
313 (SECTION_HEADER_INDEX): Define.
314 (SECTION_HEADER_NUM): Define.
315 (SECTION_HEADER): Define.
316 (GET_ELF_SYMBOLS): Pass two params rather than three.
317 (get_32bit_elf_symbols): Take file and section args. Read and
318 use SHT_SYMTAB_SHNDX.
319 (get_64bit_elf_symbols): Likewise.
320 (dump_relocations): Use SECTION_HEADER to index "section_headers".
321 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
322 Remember symtab_shdx_hdr.
323 (process_program_headers): Scan from index 1 for segment map.
324 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
325 "section_headers".
326 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
327 (process_unwind): Likewise.
328 (process_version_sections): Likewise.
329 (process_symbol_table): Likewise.
330 (display_debug_info): Likewise.
331 (process_dynamic_segment): Fake up a symtab section for changed
332 GET_ELF_SYMBOLS.
333 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
334 (process_program_headers): Kill signed/unsigned warning.
335 (load_debug_str): Likewise.
336 (display_debug_info): Likewise.
337
65765700
JJ
3382001-12-13 Jakub Jelinek <jakub@redhat.com>
339
340 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
341
560f3c1c
AM
3422001-12-11 Alan Modra <amodra@bigpond.net.au>
343
344 * readelf.c (process_file_header): Print extended e_shnum and
345 e_shdtrndx values. Set elf_header values for same.
346 (get_32bit_section_headers): Add "num" arg to read "num" headers.
347 (get_64bit_section_headers): Likewise.
348 (process_section_headers): Update calls.
349 (get_file_header): Call get_32bit_section_headers or 64bit variant.
350
bc408b8a
JJ
3512001-12-10 Jakub Jelinek <jakub@redhat.com>
352
353 * objcopy.c (setup_section): Copy entsize.
354
93fbbb04
GK
3552001-12-07 Geoffrey Keating <geoffk@redhat.com>
356
357 * readelf.c (guess_is_rela): Add support for stormy16.
358 (dump_relocations): Likewise.
359 (get_machine_name): Likewise.
360
e3c8793a
NC
3612001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
362
363 * dllwrap.c (main) Replace multiple strings describing a
364 single error with a single, newline escaped sentence to permit
365 better translation into foreign languages.
366
367 * readelf.c (get_elf_class): Remove internalionalisation of ELF
368 class names.
369
956cd1d6
TS
3702001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
371
372 * strings.c (get_char): Initialize value.
373
956c53ee
TS
3742001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
375
376 * arlex.l: Silence compile warnings.
377 * arsup.h: Likewise. Fix formatting.
378
cedd9a58
JJ
3792001-12-04 Jakub Jelinek <jakub@redhat.com>
380
381 * strings.c: Include config.h before bfd.h.
382 (file_off): New type.
383 (file_open): Define.
384 (print_strings): Use file_off instead of file_ptr. Print addresses
385 which don't fit into long correctly.
386 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
387 available.
388 (strings_file): Use file_off instead of file_ptr. Use file_open.
389 * configure.in: Check for getc_unlocked.
390 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
391 be defined for it.
392 * configure: Rebuilt.
393 * config.h.in: Rebuilt.
394
af667503
L
3952001-11-29 H.J. Lu <hjl@gnu.org>
396
397 * bucomm.c (make_tempname): Revert the changes made on
398 2001-11-14 and 2001-11-12. They won't work with directories.
399
16474668
NC
4002001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
401
402 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
403 CFLAGS_FOR_TARGET to runtest in environment.
404 * Makefile.in: Rebuild.
405 * doc/Makefile.in: Rebuild.
406
17978339
MS
4072001-11-28 Mike Stump <mrs@wrs.com>
408
409 * objcopy.c (setup_section): Preserve SEC_RELOC when
410 --set-section-flags is used.
411
261a45ad
NC
4122001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
413
414 * readelf.c (do_debug_str): New variable.
415 (display_debug_str): New function: Display the contents of a
416 .debug_str section.
417 (load_debug_str): New function: Load in the contents of a
418 .debug_str section.
419 (free_debug_str): New function: Free the memory used by
420 load_debug_str().
421 (fetch_indirect_string): Retrieve a string from the .debug_str
422 section.
423 (usage): Add -ws.
424 (parse_args): Accept -ws.
425 (process_section_headers): Allow the display of the .debug_str
426 section.
427 (read_and_display_attr_value): Use fetch_indirect_string. Show
428 offset into .debug_str section.
429 (display_debug_info): Use load_debug_str and free_debug_str.
430 (debug_displays): Add .debug_str.
431 * doc/binutils.texi: Document -ws.
432
b8908f93
AJ
4332001-11-19 Andreas Jaeger <aj@suse.de>
434
435 * testsuite/binutils-all/objdump.exp: Add x86-64.
436
e5fb9629
AS
4372001-11-15 Andreas Schwab <schwab@suse.de>
438
439 * readelf.c: Fix warnings without terminating newline.
440
802a735e
AM
4412001-11-15 Alan Modra <amodra@bigpond.net.au>
442
443 * doc/binutils.texi (objdump): Document ppc -M options.
444
b89e9eae
AJ
4452001-11-14 Andreas Jaeger <aj@suse.de>
446
447 * doc/binutils.texi (objdump): Fix description to use x86-64.
448
a6a25652
NC
4492001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
450
451 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
452 not all systems provide mkstemp.
453
e396998b
AM
4542001-11-14 Alan Modra <amodra@bigpond.net.au>
455
456 * doc/binutils.texi (objdump): Document x86 -M options.
457
81766fca
RH
4582001-11-13 Keith Walker <keith.walker@arm.com>
459
460 * readelf.c (read_and_display_attr_value): New function to
461 handle DW_FORM_indirect.
462 (read_and_display_attr): Use it.
463
1a509dcc
GK
4642001-11-13 Geoffrey Keating <geoffk@redhat.com>
465
466 * readelf.c (display_debug_lines): Deal with unknown standard
467 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
468 DW_LNS_set_isa.
469
6e917903 4702001-11-13 Timothy Wall <twall@alum.mit.edu>
1a509dcc 471
6e917903
TW
472 * MAINTAINERS: Add self as tic54x maintainer. This target
473 includes the IBM C54XDSP clone.
7559e86e 474
6e917903 4752001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
1a509dcc 476
7559e86e
NC
477 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
478
4792001-11-09 Jeffrey A Law (law@cygnus.com)
91770270 480
ecdadc4a
JL
481 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
482 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
483 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
484 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
485 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
486 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
487 (unw_decode_b2, unw_decode_b3_b4): Likewise.
488
91770270
JL
489 * readelf.c (get_elf_class): Fix ISO portability glitch.
490 (get_data_encoding, get_osabi_name, request_dump): Likewise.
491
ef5cdfc7
JJ
4922001-11-07 Jakub Jelinek <jakub@redhat.com>
493
494 * readelf.c (debug_str, debug_str_size): New.
495 (display_debug_abbrev): If no abbrevs were read, skip the CU.
496 Call free_abbrevs.
497 (read_and_display_addr): Handle DW_FORM_strp.
498 (display_debug_info): Read .debug_str section if present,
499 so that DW_FORM_strp can be handled.
500 Fix test for non-existant .debug_abbrev section.
501
5e9520c8
JJ
5022001-11-05 Jakub Jelinek <jakub@redhat.com>
503
504 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
505
506 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
507
54589086
MS
5082001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
509
510 * MAINTAINERS: Add self as s390/s390x maintainer.
511
c05b685b
TR
5122001-11-02 Tom Rix <trix@bluey.cygnus.com>
513
514 * MAINTAINERS: Add self as PPC XCOFF maintainer.
515
3c62831e
NC
5162001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
517
518 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
519 * configure: Regernate.
520 * po/fr.po: New file.
521 * po/tr.po: New file.
522
3c3bdf30
NC
5232001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
524
9b19141a 525 * MAINTAINERS: Add self as MMIX port maintainer.
3c3bdf30
NC
526 * readelf.c: Include elf/mmix.h.
527 (guess_is_rela): MMIX is RELA.
528 (dump_relocations): Handle MMIX relocations.
529 * Makefile.am: Regenerate dependencies.
530 * Makefile.in: Regenerate.
531
f662939a
NC
5322001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
533
534 * readelf.c (parse_args): Handle multiple options to the -w
535 switch.
536
c91d0dfb
JJ
5372001-10-12 Jakub Jelinek <jakub@redhat.com>
538
539 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
540 LOPROC, LOOS and LOUSER.
541
7559e86e 5422001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
d1b67f3c
JR
543
544 * MAINTAINERS: Update my email address.
545
fcd8210c
AM
5462001-10-03 Alan Modra <amodra@bigpond.net.au>
547
548 * doc/Makefile.in: Regenerate.
549 * configure: Regenerate.
550
428409d5
NC
5512001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
552
553 * readelf.c (display_debug_line, display_debug_pubnames,
554 display_debug_info, display_debug_frames): Detect and warn
555 about 64-bit format entries.
556 (display_debug_aranges): Reword 64-bit warning.
557 (debug_displays): Add .debug_pubtypes as a known, but not yet
558 supported, debug section.
559
6a8c2b0d
AM
5602001-10-02 Alan Modra <amodra@bigpond.net.au>
561
562 * coffdump.c (PROGRAM_VERSION): Delete.
563 (main <'V'>): Call print_version.
564 * srconv.c: Likewise.
565 * sysdump.c: Likewise.
566 * version.c (program_version): Remove.
567 (print_version): Use BFD_VERSION_STRING. Just print the current
568 year in copyright message.
569 * addr2line.c (program_version): Remove unused declaration.
570 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
571 place of BFD_VERSION.
572 * Makefile.am (Makefile): Depend on bfd/configure.in.
573 (cplus-dem.o): Depend on Makefile.
574 Run "make dep-am".
575 * Makefile.in: Regenerate.
576
e414a165
NC
5772001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
578
579 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
580 format .debug_arange sections.
581 (main): Add missing prototype.
b8908f93 582
efc3ee7f
HPN
5832001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
584
585 * Makefile.am: Update dependencies with "make dep-am".
586 * Makefile.in: Regenerate.
587
9e85c2a0
RH
5882001-09-28 Richard Henderson <rth@redhat.com>
589
590 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
591
451dad9c
AM
5922001-09-26 Alan Modra <amodra@bigpond.net.au>
593
594 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
595 VA_CLOSE.
596 (non_fatal): Likewise.
597 * objdump.c (objdump_sprintf): Likewise.
598 * readelf.c (error): Likewise.
599 (warn): Likewise.
600
d974e256
JJ
6012001-09-25 Jakub Jelinek <jakub@redhat.com>
602
603 * readelf.c (do_wide): New.
604 (options): Add --wide.
605 (usage, parse_args): Likewise.
606 (process_program_headers): Put each segment on a single line if
607 --wide is given.
608 (process_section_headers): Put each section on a single line if
609 --wide is given.
610 * doc/binutils.texi: Document it.
611 * NEWS: Likewise.
612
2f11c261
AM
6132001-09-25 Alan Modra <amodra@bigpond.net.au>
614
615 * readelf.c (print_vma): Print 8 digits of low hex value.
616
1d50f91e
AJ
6172001-09-24 Andreas Jaeger <aj@suse.de>
618
619 * nlmconv.c: Fix warnings about unused attributes and function
620 prototypes.
621
622 * strings.c: Add prototype for get_char.
623
38131e67
L
6242000-09-19 H.J. Lu <hjl@gnu.org>
625
626 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
627 $(srcdir)/cxxfilt.man.
628 * doc/Makefile.in: Rebuild.
629
3bcfb3e4
AM
6302001-09-19 Alan Modra <amodra@bigpond.net.au>
631
632 * objcopy.c (copy_main): Correct rename-section string parsing.
633 Consolidate new_name parsing, and error messages.
634
3882b010
L
6352001-09-18 Bruno Haible <haible@clisp.cons.org>
636
637 * addr2line.c: Don't include <ctype.h>.
638 (main): For gettext, also set the LC_CTYPE locate facet.
639 * ar.c (main): Likewise.
640 * coffdump.c (main): Likewise.
641 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
642 (main): For gettext, also set the LC_CTYPE locate facet.
643 Use ISALNUM instead of isalpha/isdigit.
644 * dllwrap.c: Don't include <ctype.h>.
645 (main): For gettext, also set the LC_CTYPE locate facet.
646 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
647 (main): For gettext, also set the LC_CTYPE locate facet.
648 Use TOUPPER instead of islower/toupper.
649 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
650 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
651 Use TOUPPER instead of islower/toupper.
652 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
653 * objcopy.c (main): Likewise.
654 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
655 (disassemble_bytes): Use ISPRINT instead of isprint.
656 (dump_section_stabs): Use ISDIGIT instead of isdigit.
657 (dump_data): Use ISPRINT instead of isprint.
658 (main): For gettext, also set the LC_CTYPE locate facet.
659 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
660 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
661 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
662 Use TOUPPER instead of islower/toupper.
663 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
664 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
665 (write_rc_accelerators): Use ISPRINT instead of isprint.
666 (write_rc_rcdata): Likewise.
667 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
668 * srconv.c (main): Likewise.
669 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
670 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
671 isdigit/isupper/islower.
672 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
673 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
674 stab_demangle_prefix, stab_demangle_qualified,
675 stab_demangle_template, stab_demangle_type,
676 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
677 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
678 (isgraphic): Use ISPRINT instead of isascii/isprint.
679 (main): Remove HAVE_LC_MESSAGES dependency.
680 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
681 (pbarray): Use ISPRINT instead of isprint.
682 (main): For gettext, also set the LC_CTYPE locate facet.
683 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
684 (format_from_filename): Use ISPRINT instead of isprint.
685 (main): For gettext, also set the LC_CTYPE locate facet.
686 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
687 (unicode_print): Use ISPRINT instead of isprint.
688 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
689 (stab_variable): Use ISDIGIT instead of isdigit.
690
e59b4dfb
AM
6912001-09-18 Alan Modra <amodra@bigpond.net.au>
692
693 * ar.c (print_contents): Cast args of bfd_seek to the right types.
694 Replace bfd_read call with call to bfd_bread.
695 (extract_file): Likewise.
696
697 * objdump.c (dump_section_header): Cast section->filepos to
698 unsigned long to suit printf format string.
699 * readelf.c (process_section_headers): Similarly for sh_offset.
700 (process_unwind): Likewise.
701
d132876a
NC
7022001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
703
704 * strings.c (encoding, encoding_bytes): New variables.
705 (long_options): Add --encoding.
706 (main): Accept -e and --encoding.
707 (get_char): New function. Read a, possibly wide, character from
708 the input stream.
709 (print_strings): Use get_char().
710 (usage): Document new command line option.
711 * doc/binutils.texi: Document new command line option.
712 * NEWS: Announce new command line option.
713
7559e86e 7142001-09-12 Alexandre Oliva <aoliva@redhat.com>
2b0337b0
AO
715
716 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
717 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
718 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
719 Removed EM_CYGNUS_ARC.
720
7559e86e 7212001-09-04 Jeffrey A Law (law@cygnus.com)
b8720f9d
JL
722
723 * readelf.c: Include elf/h8 for H8 series definitions.
724 (guess_is_rela): H8 series if RELA.
725 (dump_relocations): Handle H8 series relocations.
726
0823fbca
EC
7272001-08-31 Eric Christopher <echristo@redhat.com>
728
729 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
730
8db76d70
PT
7312001-08-29 Peter Targett <peter.targett@arccores.com>
732
733 * MAINTAINERS: Include ARC Maintainer.
734
d81d6584
BE
7352001-08-29 Ben Elliston <bje@redhat.com>
736
737 * stabs.c (stab_demangle_template): Initialise s4.
738
25a1ff5b
AM
7392001-08-27 Alan Modra <amodra@bigpond.net.au>
740
741 * readelf.c (dump_relocations): Recognise EM_PPC64.
742
a5d22d2a
TS
7432001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
744
745 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
746
62a5a82d
L
7472001-08-25 H.J. Lu <hjl@gnu.org>
748
749 * nm.c (print_width): New.
750 (display_rel_file): Set `print_width' according to
751 bfd_sprintf_vma.
752 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
753
1ae8b3d2
AO
7542001-08-24 Alexandre Oliva <aoliva@redhat.com>
755
756 * objcopy.c (use_alt_mach_code): New variable.
757 (OPTION_ALT_MACH_CODE): Define.
758 (copy_options): Added --alt-machine-code.
759 (copy_main): Handle it.
760 (copy_object): Switch to alternate machine code if requested.
761 * doc/binutils.texi: Document new option.
762 * NEWS: Likewise.
763
d1bdd336
TS
7642001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
765
766 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
767
410f7a12
L
7682001-08-21 H.J. Lu <hjl@gnu.org>
769
770 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
771 (display_debug_info): Cast for 64bit hosts.
772 (display_debug_frames): Likewise.
773 (process_mips_specific): Likewise.
774
c32144ff
AJ
7752001-08-21 Andreas Jaeger <aj@suse.de>
776
777 * coffgrok.h: Add missing parameter for prototype of coff_grok.
778
779 * sysdump.c: Add missing prototypes.
780 * srconv.c: Likewise.
781 * unwind-ia64.c: Likewise.
782 * coffdump.c: Likewise.
783
784 * sysinfo.y: Print prototypes, include <ansidecl.h>.
785
786 * coffgrok.c: Add missing prototypes, include libiberty.h instead
787 of declaring xcalloc.
788
d8180c76
L
7892001-08-10 H.J. Lu <hjl@gnu.org>
790
791 * nm.c (print_value): Add one arg, bfd *.
792 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
793 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
794 (print_symbol_info_sysv): Likewise.
795 (print_symbol_info_posix): Likewise.
796
797 * objdump.c (dump_section_header): Replace printf_vma with
798 bfd_printf_vma.
799 (print_section_stabs): Likewise.
800 (dump_bfd_header): Likewise.
801 (objdump_print_value): Replace sprintf_vma with
802 bfd_sprintf_vma.
803 (disassemble_bytes): Likewise.
804 (dump_reloc_set): Likewise.
805
0218d1e4
AJ
8062001-08-10 Andreas Jaeger <aj@suse.de>
807
808 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
809 to build warnings.
810 * configure: Regenerate.
811
2863d58a
AM
8122001-08-09 Alan Modra <amodra@bigpond.net.au>
813
814 * readelf.c: Add missing prototypes.
815 * objdump.c: Likewise. Format existing prototypes.
816
c0e047e0
AO
8172001-08-08 Alexandre Oliva <aoliva@redhat.com>
818
819 * readelf.c (display_debug_info): Add to abbrev_offset the addend
820 of any RELA relocation for the abbrev_offset memory location that
821 refers to the .debug_abbrev section symbol.
822
ff78d6d6
L
8232001-08-07 H.J. Lu <hjl@gnu.org>
824
825 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
826 (main): Return process_file ().
827
c36774d6
PB
8282001-08-05 Philip Blundell <philb@gnu.org>
829
830 * doc/binutils.texi: Use "Thumb" not "THUMB".
831
8f9d9bd9
JH
8322001-08-03 John Healy <jhealy@redhat.com>
833
834 Patch suggested by Frank Eigler <fche@redhat.com>.
835 * objdump.c (disassemble_data): Fill in section member of the
836 disasm_info structure.
837
c918cb96
DD
8382001-08-03 Tom Walsh <tom@cyberiansoftware.com>
839
840 * configure.in: Added --with-windres option.
841 * configure: Regenerated.
842
c7c55b78
NC
8432001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
844
845 * doc/binutils.texi: Use @command{name} for commands;
846 use @option{-opt} for options; use @table @env for list of options;
847 remove spaces arround [ | ] in synopsis.
848
849 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
850 center title.
851
594ef5db
NC
8522001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
853
854 * objcopy.c: Fix formatting.
855 (section_rename): New structure.
856 (OPTION_RENAME_SECTION): New switch.
857 (copy_usage): Document new switch.
858 (add_section_rename): New function: Add a node to the section
859 rename list.
860 (find_section_rename): New function: Find the new name and
861 flags for a section.
862 (setup_section): Call find_section_name to determine the name
863 of the output section.
864 (copy_main): Handle OPTION_RENAME_SECTION.
865 * binutils.texi: Document new switch.
866 * NEWS: Mention new switch.
867
1f554c69
NC
8682001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
869
870 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
871 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
872 bug-binutils@gcc.org.
873
2f83960e
AM
8742001-07-28 Matthias Kramm <kramm@quiss.org>
875
876 * bucomm.c (list_supported_architectures): New function.
877 * bucomm.h (list_supported_architectures): Declare.
878 * objdump.c (usage): Call the above.
879
20fe0649
DB
8802001-07-25 Dave Brolley <brolley@redhat.com>
881
882 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
883 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
884
1b577b00
NC
8852001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
886
887 * README: Update for 2.11. Change bug reporting email address.
888 * MAINTAINERS: Tidy up. Change bug reporting email address.
889
95fd336c
DD
8902001-07-16 DJ Delorie <dj@redhat.com>
891
5f16d855
DD
892 * resres.c (write_res_header): Align header size.
893 (res_align_file): Calculate alignment correctly.
894
95fd336c
DD
895 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
896 correct 10).
897 * resrc.c (write_rc_resource): Likewise.
898 * windres.h (SUBLANG_SHIFT): Define - as 10.
899
ed8fee27
NC
9002001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
901
902 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
903
90ab7e9a
NC
9042001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
905
906 * MAINTAINERS: Add notes about branch checkins.
907
e0c60db2
NC
9082001-07-05 Daniel Berlin <dan@cgsoftware.com>
909
910 * readelf.c (display_debug_macinfo): New function, display
911 .debug_macinfo section.
912 (do_debug_macinfo): New variable.
913 (parse_args): Handle "-w[mM]" to mean display macro info.
914 (process_section_headers): Handle debug_macinfo.
915 (debug_displays): Replace unsupported function with macinfo
0218d1e4 916 function for .debug_macinfo display.
e0c60db2
NC
917 * doc/binutils.texi: Document new command line switch.
918 * NEWS: Document new feature of readelf.
0218d1e4 919
24e01a36
L
9202001-07-05 H.J. Lu <hjl@gnu.org>
921
922 * objcopy.c (filter_symbols): Don't turn undefined symbols
923 into local.
924
4258bf4d
L
9252001-07-03 H.J. Lu <hjl@gnu.org>
926
927 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
928 $@.pod.
929 (ar.1): Likewise.
930 (dlltool.1): Likewise.
931 (nlmconv.1): Likewise.
932 (nm.1): Likewise.
933 (objcopy.1): Likewise.
934 (objdump.1): Likewise.
935 (ranlib.1): Likewise.
936 (readelf.1): Likewise.
937 (size.1): Likewise.
938 (strings.1): Likewise.
939 (strip.1): Likewise.
940 (windres.1): Likewise.
941 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
942 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
943 $(DEMANGLER_NAME).
944 (as.1): Removed.
945 * doc/Makefile.in: Regenerated.
946
7014bc31
NC
9472001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
948
949 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
950
b811889f
NC
9512001-07-01 Daniel Berlin <dan@cgsoftware.com>
952
953 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
954
12ab83a9
NC
9552001-06-29 James Cownie <jcownie@etnus.com>
956
957 * readelf.c: Support DWARF 2.1 attributes.
958
a6e9f9df
AM
9592001-06-28 Alan Modra <amodra@bigpond.net.au>
960
961 * readelf.c (GET_DATA_ALLOC): Remove.
962 (GET_DATA): Remove.
963 (get_data): New function combining above macros, with an extra
964 test for zero size.
965 (slurp_rela_relocs): Use get_data, and catch error return.
966 (slurp_rel_relocs): Likewise.
967 (get_32bit_program_headers): Likewise.
968 (get_64bit_program_headers): Likewise.
969 (get_32bit_section_headers): Likewise.
970 (get_64bit_section_headers): Likewise.
971 (get_32bit_elf_symbols): Likewise.
972 (get_64bit_elf_symbols): Likewise.
973 (process_section_headers): Likewise.
974 (process_relocs): Likewise.
975 (slurp_ia64_unwind_table): Likewise.
976 (process_unwind): Likewise.
977 (get_32bit_dynamic_segment): Likewise.
978 (get_64bit_dynamic_segment): Likewise.
979 (process_dynamic_segment): Likewise.
980 (process_version_sections): Likewise.
981 (process_symbol_table): Likewise.
982 (dump_section): Likewise.
983 (display_debug_info): Likewise.
984 (display_debug_section): Likewise.
985 (process_section_contents): Likewise.
986 (process_corefile_note_segment): Likewise.
987 (process_mips_specific): Likewise. Also free econf32, econf64.
988
af3fc3bc
AM
9892001-06-25 Alan Modra <amodra@bigpond.net.au>
990
991 * readelf.c (dump_relocations): Print "bad symbol index" if
992 symtab == NULL with non-zero symtab_index.
993 (process_relocs): Don't bomb if reloc section has no symsec.
994
6d900bf6
L
9952001-06-24 H.J. Lu <hjl@gnu.org>
996
997 * objcopy.c (strip_main): Revert the change made on 2001-05-30
998 by accident.
999 (copy_main): Apply the the change made to strip_main on
1000 2001-05-30 by accident.
1001
49b4e386
AJ
10022001-06-23 Andreas Jaeger <aj@suse.de>
1003
1004 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
1005 parameter 'code'.
1006 (unw_decode_x2): Likewise.
1007 (unw_decode_x3): Likewise.
1008 (unw_decode_x4): Likewise.
1009
d8dc71e3
BE
10102001-06-23 Ben Elliston <bje@redhat.com>
1011
1012 * MAINTAINERS: Add myself as M88k maintainer.
1013
af3bdff7
NC
10142001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
1015
1016 * objcopy.c (strip_main): Support -o or --output-file command lien
1017 switch.
1018
105e7211
L
10192001-06-19 H.J. Lu <hjl@gnu.org>
1020
1021 * doc/Makefile.in: Regenerated.
1022
c45021f2
NC
10232001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
1024
1025 * readelf.c: Restore formatting.
1026
10272001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
1028
1029 * Makefile.am: Move documentation into doc subdirectory.
1030 * Makefile.in: Regenerated.
1031 * binutils.texi: Move into doc subdirectory.
1032 * addr2line.1: Removed.
1033 * ar.1: Likewise.
1034 * dlltool.1: Likewise.
1035 * nlmconv.1: Likewise.
1036 * nm.1: Likewise.
1037 * objcopy.1: Likewise.
1038 * objdump.1: Likewise.
1039 * ranlib.1: Likewise.
1040 * readelf.1: Likewise.
1041 * size.1: Likewise.
1042 * strings.1: Likewise.
1043 * strip.1: Likewise.
1044 * windres.1: Likewise.
1045 * cxxfilt.man: Likewise.
1046 * doc: New Directory.
1047 * doc/Makefile.am: New file.
1048 * doc/Makefile.in: Generate.
1049
09ad7db3
AM
10502001-06-09 Alan Modra <amodra@bigpond.net.au>
1051
1052 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
1053
936260fe
AM
10542001-06-01 Alan Modra <amodra@bigpond.net.au>
1055
1056 * MAINTAINERS: Update my email address.
1057
16b2b71c
NC
10582001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
1059
1060 * objcopy.c: Add new switches: --keep-global-symbol,
1061 --keep-symbols, --localize-symbols, --keep-global-symbols and
1062 --weaken-symbols.
1063 * binutils.texi: Document new switches.
1064 * objcopy.1: Regenerate.
1065 * NEWS: Announce new feature.
1066
7036c0e1
AJ
10672001-05-28 Andreas Jaeger <aj@suse.de>
1068
1069 * readelf.c (display_debug_frames): Fix warnings: Remove unused
1070 variables, fix format strings.
1071
76a406e5
NC
10722001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
1073
1074 * objdump.c (disassemble_bytes): Remove section VMA adjustment
1075 when computing the address of the line to show.
1076
31b6fca6
RH
10772001-05-16 Richard Henderson <rth@redhat.com>
1078
1079 * readelf.c (do_debug_frames_interp): New.
1080 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
1081 (byte_get_big_endian): Likewise.
1082 (parse_args) ['F']: Set do_debug_frames_interp.
1083 (Frame_Chunk): Make data_factor signed, add fde_encoding.
1084 (frame_display_row): Don't trunc pc_begin to int.
1085 (size_of_encoded_value): New.
1086 (display_debug_frames): Handle 64-bit targets. Print raw data
1087 unless do_debug_frames_interp.
1088 (debug_displays): Remove duplicate .debug_frame.
1089
4fe85591
NC
10902001-05-15 Ralf Baechle <ralf@gnu.org>
1091
1092 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
1093 The former constant was never in active use and is used otherwise
1094 by the ABI.
1095
579f31ac
JJ
10962001-05-11 Jakub Jelinek <jakub@redhat.com>
1097
1098 * readelf.c (process_unwind): Print all unwind sections, not just
1099 one.
1100
78f4a3f7
AM
11012001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1102
1103 * readelf.c (process_unwind): Remove const specifier.
1104
1c529ca6
NC
11052001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
1106
1107 * strings.c (isgraphic): Do not use isascii() unless it is needed
1108 for isprint() to work.
1109 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
1110
87e6d782
NC
11112001-04-27 Johan Rydberg <jrydberg@opencores.org>
1112
1113 * NEWS: Announce support for OpenRISC.
1114
4bd3d870 11152001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
49b4e386
AJ
1116
1117 * dlltool.c (do_default_excludes): Initialise to true.
1118
21211521
AM
11192001-04-10 Alan Modra <amodra@one.net.au>
1120
1121 * MAINTAINERS: Update my email address
1122 * nm.c (print_symbol_info_bsd): Use a simple printf string.
1123
0c66b61e 11242001-04-05 Hans-Peter Nilsson <hp@axis.com>
ff94ebf2
HPN
1125
1126 * readelf.c (display_debug_lines): Fix typo for "Prologue".
1127
e58d53af
L
11282001-03-30 H.J. Lu <hjl@gnu.org>
1129
1130 * readelf.c (process_unwind): Just return if do_unwind is 0.
1131
bee72332
DD
11322001-03-28 Roger Sayle <roger@metaphorics.com>
1133
1134 * dlltool.c (make_one_lib_file): Fix section flags for
1135 .text, .data and .bss in stub ds*.o files to match those
1136 generated by gas.
1137
f1467e33
L
11382001-03-29 H.J. Lu <hjl@gnu.org>
1139
1140 * readelf.c (process_unwind): Only do unwind sections for
1141 IA64.
1142
1c6fb4fe
L
11432001-03-28 H.J. Lu <hjl@gnu.org>
1144
1145 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
1146 * Makefile.in: Regenerate.
1147
0879a67a
AJ
11482001-03-26 Andreas Jaeger <aj@suse.de>
1149
1150 * binutils.texi (nm): Fix texi syntax.
1151
0285c67d
NC
11522001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1153
1154 * binutils.texi: Put @c man begin and @c man end indications
1155 to generate man pages using texi2pod and pod2man. Put @c man title
1156 to identify each man. Add SEEALSO entries.
1157 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
1158 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
1159 sort the list.
1160 (*.1): Build the man pages from binutils.texi.
1161 * Makefile.in: Regenerate.
1162
04847a4d
CF
11632001-03-13 Eric Kohl <ekohl@rz-online.de>
1164
1165 * defparse.y (opt_equal_name): allow "." in name.
1166 * dlltool.c (def_exports): Added ability to generate forwarded exports.
1167 (gen_exp_file): Likewise.
1168
43a0748c
NC
11692001-03-12 Stefan Geuken <mail@stefan-geuken.de>
1170
1171 * NEWS: Document addition of -B switch to objcopy.
1172 * binutils.texi: Document addition of -B switch to objcopy.
1173 * objcopy.c: (copy_options): Add --binary-architecture.
1174 (copy_usage): Document -B/--binary-architecture.
1175 (copy_main): Support -B/--binary-architecture. Set
1176 bfd_external_binary_architecture.
0879a67a 1177
b7498e0e
NC
11782001-03-11 Andreas Jaeger <aj@suse.de>
1179
1180 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
1181 (dump_relocations): Likewise.
1182 (get_machine_name): Likewise.
1183
a59e3bd7
NC
11842001-02-28 Nick Clifton <nickc@redhat.com>
1185
1186 * readelf.c: (struct unw_aux_info): Remove const modifier for
1187 'strtab' field.
1188 (process_unwind): Remove non-K&R compliant LHS type cast in call
1189 to GET_DATA_ALLOC macro.
1190
a5bcd848
PB
11912001-02-28 Philip Blundell <pb@futuretv.com>
1192
1193 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
1194 ABI is in use; remove ambiguity between the "unknown" EABI and
1195 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
1196 renamed EF_xx constants.
1197
27b7e12d
AM
11982001-02-27 Alan Modra <alan@linuxcare.com.au>
1199
1200 * configure.in (BFD_VERSION): New.
1201 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
1202 * configure: Regenerate.
1203 * Makefile.am: Run "make dep-am"
1204 * Makefile.in: Regenerate.
1205
a9f10786
NC
12062001-02-14 Nick Clifton <nickc@redhat.com>
1207
1208 * MAINTAINERS: Add "Obvious Fix" rule.
1209
3c44da9a
MS
12102001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1211
1212 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
1213 literal concatenation.
1214
ecd03389
MS
12152001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1216
1217 * readelf.c (struct unw_aux_info): Remove const from the info member.
1218 (process_unwind): Don't type-cast the third argument to the
1219 GET_DATA_ALLOC macro.
1220
88ec60c7
NC
12212001-02-11 Nick Clifton <nickc@redhat.com>
1222
1223 * readelf.c (dump_relocations): Free corrected allocated
1224 array.
1225 (process_unwind): Fix compile time warning.
1226
f5e21966
NC
12272001-02-10 Nick Clifton <nickc@redhat.com>
1228
1229 * binutils.texi: Document new --unwind option to readelf.
1230
a85d7ed0
NC
12312001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
1232
1233 * readelf.c: Add linux target for S/390.
1234
7bb10502
AM
12352001-02-10 Alan Modra <alan@linuxcare.com.au>
1236
1237 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
1238 printf is a macro.
1239
8ca8f343
HPN
12402001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
1241
1242 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
1243 * aclocal.m4: Regenerate.
1244 * configure: Regenerate.
1245
7340082d
NC
12462001-02-07 Todd Vierling <tv@wasabisystems.com>
1247
1248 * bucomm.c (bfd_target_vector): Change extern array to pointer.
1249 * objdump.c (bfd_target_vector): Likewise.
1250
4d6ed7c8
NC
12512001-02-07 David Mosberger <davidm@hpl.hp.com>
1252
1253 * readelf.c (process_unwind): New function.
1254 (slurp_ia64_unwind_table): Ditto.
1255 (dump_ia64_unwind): Ditto.
1256 (find_symbol_for_address): Ditto.
1257 (slurp_rela_relocs): New function (split off from dump_relocations()).
1258 (slurp_rel_relocs): Ditto.
1259 (parse_args): Handle '-u' option.
1260
1261 * unwind-ia64.c: New file.
1262 * unwind-ia64.h: New file.
1263 * Makefile.am: Include unwind-ia64.c in readelf build.
1264 * Makefile.in: Regenerate.
7340082d 1265 * po/binutils.pot: Regenerate.
4d6ed7c8 1266
c7217458
PB
12672001-02-04 Philip Blundell <philb@gnu.org>
1268
1269 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
1270 * configure: Regenerate.
1271
956eedd4
AM
12722001-01-31 Steve deRosier <sderosier@vari-lite.com>
1273
1274 * ieee.c (ieee_add_bb11): Don't check for backslashes
1275 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1276
8855cbca
AM
12772001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
1278
c7f2731e
AM
1279 * ieee.c: Update copyright.
1280 (ieee_start_compilation_unit): Don't check for backslashes
1281 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1282
8855cbca
AM
1283 * stabs.c: Update copyright. Include "filenames.h".
1284 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
1285
329de803 12862001-01-23 Jakub Jelinek <jakub@redhat.com>
00d93f34
JJ
1287
1288 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
1289 sections are present before using them. Remove code duplication.
1290 (process_symbol_table): Check if VERDEF or VERNEED sections are
1291 present before using them.
1292
23719f39
NC
12932001-01-17 Nick Clifton <nickc@redhat.com>
1294
1295 * objcopy.c (copy_object): Fail if attempting to convert the
1296 endianness of the input object file.
1297
1298 * binutils.texi: Explain that objcopy cannot convert endianness.
c7f2731e 1299
f726e849
NC
13002001-01-16 Nick Clifton <nickc@redhat.com>
1301
1302 * readelf.c (string_table_length): New variable.
1303 (SECTION_NAME): Catch out of range indices and missing section
1304 pointers.
1305 (process_section_headers): Delete useless local variable
1306 string_table_offset. Set the value of string_table_length
1307 after loading the string table.
1308 (process_mips_specific): Use SECTION_NAME macro.
1309 (process_file): Set string_table_length to 0 when it is freed.
1310
d0398d6a
NC
13112001-01-12 Nick Clifton <nickc@redhat.com>
1312
1313 * version.c (print_version): Update copyright date.
1314
0d2bcfaf
NC
13152001-01-11 Peter Targett <peter.targett@arccores.com>
1316
1317 * readelf.c (dump_relocations): Include selection with EM_ARC.
1318 (get_machine_name) Update name to "ARC".
1319
8b1e6df3
NC
13202001-01-09 Nick Clifton <nickc@redhat.com>
1321
1322 * Makefile.am: Add rule to build objdump.o from objdump.c and
1323 using OBJDUMP_DEFS.
1324 * Makefile.in: Regenerate.
1325
1326 * configure.in: Define OBJDUMP_DEFS. Default to empty.
1327 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
1328 -DDISASSEMBLER_NEEDS_RELOCS.
34cc70e3 1329 * configure: Regenerate.
8b1e6df3
NC
1330
1331 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
1332 is defined read in the relocs even if dump_reloc_info is
1333 false.
1334
2f952d20
PB
13352001-01-07 Philip Blundell <philb@gnu.org>
1336
1337 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
1338 `bug-binutils'.
1339 * README: Likewise.
1340
a8c548cb
NC
13412000-12-19 Nick Clifton <nickc@redhat.com>
1342
1343 * dlltool.c: Add missing support for arm-epoc-pe.
1344 * configure.in: Add missing support for arm-epoc-pe.
1345 * configure: Regenerate.
1346
cc5fda35
NC
13472000-12-15 Nick Clifton <nickc@redhat.com>
1348
1349 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
1350 Mode parts of the x86 port.
1351
bcedfee6
NC
13522000-12-04 Andreas Jaeger <aj@suse.de>
1353
1354 * readelf.c (guess_is_rela): Add EM_X86_64.
1355 (dump_relocations): Add EM_X86_64.
1356 (get_machine_name): Add EM_X86_64.
1357 Include "elf/x86-64.h".
1358
584da044
NC
13592000-12-12 Nick Clifton <nickc@redhat.com>
1360
1361 * readelf.c: Fix formatting.
1362
7559e86e 13632000-12-11 Jan Hubicka <jh@suse.cz>
b8355149
JH
1364
1365 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
1366
a98cc2b2
AH
13672000-12-07 Andrew Haley <aph@redhat.com>
1368
1369 * readelf.c (display_debug_frames): Only display columns that are
1370 referenced by the frame debug info.
1371
c7987a69
NC
13722000-12-05 Nick Clifton <nickc@redhat.com>
1373
1374 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
1375
09fd7e38
JM
13762000-12-04 Jason Merrill <jason@redhat.com>
1377
1378 * readelf.c (process_section_headers): Handle linkonce.wi sections.
1379 (display_debug_section): Likewise.
1380 (display_debug_info): Display CU header before bailing.
1381
e7af610e
NC
13822000-12-01 Chris Demetriou <cgd@sibyte.com>
1383
09fd7e38
JM
1384 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
1385 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
1386 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
e7af610e 1387
09fd7e38
JM
1388 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
1389 and E_MIPS_ARCH_64.
84ea6cf2 1390
09fd7e38
JM
1391 * readelf.c (get_machine_flags): Add case for
1392 E_MIPS_MACH_SB1.
c6c98b38 1393
75066968
DD
13942000-11-30 Richard Earnshaw <rearnsha@arm.com>
1395
1396 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
1397
5c4666ea
HPN
13982000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
1399