daily update
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
effb0601
DJ
12002-03-07 Daniel Jacobowitz <drow@mvista.com>
2
3 * README: Update some version numbers.
4
a65688ab
DJ
52002-03-07 Daniel Jacobowitz <drow@mvista.com>
6
7 * doc/binutils.texi (Target Selection): Fix LD crossreferences.
8 (Architecture Selection): Likewise.
9
f3f7fbb2
NC
102002-03-01 Dmitry Timoshkov <dmitry@baikal.ru>
11
12 * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
13 generating .exp file.
14
25345be5
NC
152002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
16
17 * readelf.c (dump_relocations): Fix typo.
18
9a66911f
NC
192002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
20
21 * NEWS: Mark 2.12 branch.
22
2c71103e
NC
232002-02-18 Timothy Daly <remote_bob@yahoo.com>
24
25 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
26 types for 64-bit MIPS. Narrow some fields for 80-char
27 output.
28 (dump_relocations): Change spelling from 'unrecognised'
29 to 'unrecognized'.
30 (decode_ARM_machine_flags): Likewise.
31 (parse_args): Likewise.
32 (read_and_display_attr_value): Likewise.
33 (display_debug_section): Likewise.
34
49fda6c8
HPN
352002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
36
37 * NEWS: Mention support for MMIX.
38
76f57f3a
JT
392002-02-13 Matt Fredette <fredette@netbsd.org>
40
41 * readelf.c (get_machine_flags): Recognize EF_M68000.
42
d36ca9c2
AO
432002-02-12 Alexandre Oliva <aoliva@redhat.com>
44
45 * MAINTAINERS: Added self as MN10300 co-maintainer.
46
19397422
AM
472002-02-12 Alan Modra <amodra@bigpond.net.au>
48
49 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
50 DT_PPC64_OPDSZ.
51
d434e574
DJ
522002-02-11 Daniel Jacobowitz <drow@mvista.com>
53
54 * MAINTAINERS: List myself as branch maintainer.
55
12b87c89
AM
562002-02-11 Alan Modra <amodra@bigpond.net.au>
57
58 * configure: Regenerate.
59 * objcopy.c: Update copyright date.
60 * doc/Makefile.in: Regenerate.
61
8d037c5c
DJ
622002-02-10 Daniel Jacobowitz <drow@mvista.com>
63
64 * nlmconv.c: Back out localtime PARAMS change.
65
4c168fa3
AM
662002-02-11 Alan Modra <amodra@bigpond.net.au>
67
68 * objcopy.c (MKDIR): Define.
69 (copy_archive): Make name_list.name const. Use MKDIR.
70 Handle duplicate files in archives by making more temp dirs.
71
408f8db1
DJ
722002-02-10 Daniel Jacobowitz <drow@mvista.com>
73
74 * coffdump.c: Include "getopt.h" after "bucomm.h"
75 so that macros are defined correctly.
76 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
77 prototype. Prototype main.
78 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
79
9f77fa06
AO
802002-02-06 Alexandre Oliva <aoliva@redhat.com>
81
82 * MAINTAINERS: Added self as SH co-maintainer.
83
82f6addb
NC
842002-02-05 Nick Clifton <nickc@redhat.com>
85
86 * po/tr.po: Updated translation.
87
ba323545
AM
882002-02-01 Alan Modra <amodra@bigpond.net.au>
89
90 * Makefile.am: Run "make dep-am"
91 * Makefile.in: Regenerate.
92
3deb89d3
DJ
932002-01-29 Daniel Jacobowitz <drow@mvista.com>
94
95 * nm.c (print_value): Mark abfd unused.
96
a0e9c55f
DJ
972002-01-29 Daniel Jacobowitz <drow@mvista.com>
98
99 * unwind-ia64.c (unw_decoder): Change second argument
100 to unsigned int, to match function prototypes.
101
d7a283d4
DJ
1022002-01-29 Daniel Jacobowitz <drow@mvista.com>
103
104 * objdump.c: Include "getopt.h" after "bucomm.h" so that
105 __GNU_LIBRARY__ will be defined.
106 * size.c: Likewise.
107
4867be41
DJ
1082002-01-27 Daniel Jacobowitz <drow@mvista.com>
109
110 * configure: Regenerated.
111
7562a296
HPN
1122002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
113
114 * doc/Makefile.am (install): Depend on install-info.
115 * doc/Makefile.in: Regenerate.
116
15c82623
NC
1172002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
118
119 * objcopy.c (strip_usage): Document -d as an alias
120 --strip-debug.
121
122 * size.c (usage): Document [-t | --totals] options.
123 (long_options): Add --totals option.
124 (main): If the [-t | --totals] option is specified and
125 the output format is Berkeley-style, print the total
126 text, data, and bss sizes of all objects listed.
127 (print_berkeley_format): If the [-t | --totals] option
128 is specified, track the total text, data, and bss
129 sizes.
130 * doc/binutils.texi (size): Document [-t | --totals] options.
131 (strip): Document -d as an alias for --strip-debug.
132 * NEWS: Mention new feature of size.
133
00ea8601 1342002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
b85cedd7 135
1ddbd152
NC
136 * po/fr.po: Updated version.
137 * po/es.po: Updated version.
b85cedd7 138
8b53311e
NC
1392002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
140
141 * addr2line.c (usage): Update text to provide verbose
142 description of the command line options.
143 * ar.c (usage): Update text to provide verbose
144 description of the command line options.
145 (main): Accept -h and -H when running as ranlib.
146 * coffdump.c (show_usage): Update text to provide verbose
147 description of the command line options.
148 * dlltool.c (main): Accept -H as an alias for --help.
149 * nlmconv.c (show_usage): Update text to provide verbose
150 description of the command line options.
151 * nm.c (usage): Replace OPTIONS with option(s).
152 (main): Accept -H as an alias for --help.
153 * objcopy.c (strip_main): Accept -H as an alias for --help.
154 * objdump.c (main): Accept -v as an alias for --verbose.
155 * readelf.c (usage): Adjust format to match style used in
156 other binutils.
157 * size.c (usage): Update text to provide verbose description
158 of the command line options.
159 (main): Accept -v, -h and -H as command line options.
160 * srconv.c (show_usage): Update text to provide verbose
161 description of the command line options.
162 * strings.c (main): Accept -H and -v as command line options.
163 (usage): Update text to provide verbose description of the
164 command line options.
165 * sysdump.c (show_usage): Update text to provide verbose
166 description of the command line options.
167 * windres.c (usage): Adjust format to match style used in
168 other binutils.
169
170 * coffdump.c: Fix formatting.
171 * nlmconv.c: Fix formatting.
172 * srconv.c: Fix formatting.
173 * sysdump.c: Fix formatting.
174
c46f0c34
AM
1752002-01-22 Alan Modra <amodra@bigpond.net.au>
176
177 * Makefile.am: Run "make dep-am".
178 * Makefile.in: Regenerate.
179
2a538ba5
AJ
1802002-01-18 Andreas Jaeger <aj@suse.de>
181
182 * version.c (print_version): Update year.
183
285d1771
AM
1842002-01-17 Alan Modra <amodra@bigpond.net.au>
185
186 * readelf.c (get_machine_name): Handle EM_PPC64.
187 (guess_is_rela): Here too.
188
328577ad
NC
1892002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
190
191 * po/binutils.pot: Regenerate.
192 * po/fr.po: Regenerate.
193 * po/tr.po: Regenerate.
194
af3ae48d
NC
1952002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
196
197 * po/tr.po: Import new version.
198
f1cb7e17
AM
1992002-01-16 Alan Modra <amodra@bigpond.net.au>
200
201 * readelf.c (get_ppc64_dynamic_type): New.
202 (get_dynamic_type): Call it.
203
6364e0b4
NC
2042002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
205
3ab9460d
NC
206 * objcopy.c (copy_usage): Use "options" instead of "switches".
207 (strip_usage): Use "options" instead of "switches".
208 * doc/binutils.texi (dlltool): Refer to "options" instead of
209 "switches".
6364e0b4 210
3a7e524e
RE
2112002-01-14 Richard Earnshaw <rearnsha@arm.com>
212
213 * MAINTAINERS: Add self as co-maintainer for the ARM code.
214
1209e219
NC
2152001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
216
217 * po/es.po: Import from translation project.
218 * configure.in (ALL_LINGUAS): Add es.
219 * configure: Regenerate.
220
b4db1224
JT
2212002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
222
223 * readelf.c (get_netbsd_elfcore_note_type): Use
224 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
225
9437c45b
JT
2262002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
227
228 * readelf.c: Update copyright years.
229 (get_note_type): Return a const char *.
230 (get_netbsd_elfcore_note_type): New function.
231 (process_note): Use get_netbsd_elfcore_note_type to get
232 the note type string for NetBSD ELF core files.
233
00428cca
AM
2342002-01-06 Steve Ellcey <sje@cup.hp.com>
235
236 * readelf.c (get_ia64_segment_type): Add support for macros.
237 (get_segment_type): Add support for IA64 specific macros.
238
31104126
NC
2392001-12-20 Julian v. Bock <julian@wongr.net>
240
241 * readelf.c (print_symbol): New function: Print a formatted symbol
242 name. If --wide is specified do not truncate it.
243 (dump_relocations): Use print_symbol() to print symbol names.
244 (process_symbol_table): Likewise.
245 (process_syminfo): Likewise.
246 (process_mips_specific): Likewise.
247 (usage): Document new feature of --wide switch.
248 * doc/binutils.texi (objdump): Document additional behaviour of
249 --wide.
2a538ba5 250
4dd67f29
MS
2512001-12-18 Michael Snyder <msnyder@redhat.com>
252
253 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
254 (copy_object): Don't set the start address or flags of a core file.
255 (copy_section): Don't relocate a core file. Don't copy contents
256 if the input section has the contents flag set, but the output
257 section does not (which happens with the fake 'note' pseudo-
258 sections that BFD creates for corefiles).
259
43521d43
TS
2602001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
261
262 * readelf.c (get_machine_flags): Recognize header flags for ABI and
263 ASE extensions. More robust code for ISA checking. Ignore empty fields
264 in header flags for GNU extensions.
265
b667df2e
AM
2662001-12-18 Alan Modra <amodra@bigpond.net.au>
267
268 * objcopy.c (copy_archive): Set output bfd format outside the loop.
269
17a5a5c3
NC
2702001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
271
272 * po/ja.po: Import from translation project.
273 * configure.in (ALL_LINGUAS): Add ja.
274 * configure: Regenerate.
275
65de42c0
TS
2762001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
277
278 * addr2line.c (main): Protoype.
279 * ar.c (main): Protoype.
280 * nm.c (main): Protoype.
281 * objcopy.c (main): Protoype.
282 * objdump.c (main): Protoype.
283 * size.c (main): Protoype.
284 * strings.c (main): Protoype.
285
9ad5cbcf
AM
2862001-12-17 Alan Modra <amodra@bigpond.net.au>
287
288 * readelf.c (symtab_shndx_hdr): New global.
289 (SECTION_HEADER_INDEX): Define.
290 (SECTION_HEADER_NUM): Define.
291 (SECTION_HEADER): Define.
292 (GET_ELF_SYMBOLS): Pass two params rather than three.
293 (get_32bit_elf_symbols): Take file and section args. Read and
294 use SHT_SYMTAB_SHNDX.
295 (get_64bit_elf_symbols): Likewise.
296 (dump_relocations): Use SECTION_HEADER to index "section_headers".
297 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
298 Remember symtab_shdx_hdr.
299 (process_program_headers): Scan from index 1 for segment map.
300 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
301 "section_headers".
302 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
303 (process_unwind): Likewise.
304 (process_version_sections): Likewise.
305 (process_symbol_table): Likewise.
306 (display_debug_info): Likewise.
307 (process_dynamic_segment): Fake up a symtab section for changed
308 GET_ELF_SYMBOLS.
309 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
310 (process_program_headers): Kill signed/unsigned warning.
311 (load_debug_str): Likewise.
312 (display_debug_info): Likewise.
313
65765700
JJ
3142001-12-13 Jakub Jelinek <jakub@redhat.com>
315
316 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
317
560f3c1c
AM
3182001-12-11 Alan Modra <amodra@bigpond.net.au>
319
320 * readelf.c (process_file_header): Print extended e_shnum and
321 e_shdtrndx values. Set elf_header values for same.
322 (get_32bit_section_headers): Add "num" arg to read "num" headers.
323 (get_64bit_section_headers): Likewise.
324 (process_section_headers): Update calls.
325 (get_file_header): Call get_32bit_section_headers or 64bit variant.
326
bc408b8a
JJ
3272001-12-10 Jakub Jelinek <jakub@redhat.com>
328
329 * objcopy.c (setup_section): Copy entsize.
330
93fbbb04
GK
3312001-12-07 Geoffrey Keating <geoffk@redhat.com>
332
333 * readelf.c (guess_is_rela): Add support for stormy16.
334 (dump_relocations): Likewise.
335 (get_machine_name): Likewise.
336
e3c8793a
NC
3372001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
338
339 * dllwrap.c (main) Replace multiple strings describing a
340 single error with a single, newline escaped sentence to permit
341 better translation into foreign languages.
342
343 * readelf.c (get_elf_class): Remove internalionalisation of ELF
344 class names.
345
956cd1d6
TS
3462001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
347
348 * strings.c (get_char): Initialize value.
349
956c53ee
TS
3502001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
351
352 * arlex.l: Silence compile warnings.
353 * arsup.h: Likewise. Fix formatting.
354
cedd9a58
JJ
3552001-12-04 Jakub Jelinek <jakub@redhat.com>
356
357 * strings.c: Include config.h before bfd.h.
358 (file_off): New type.
359 (file_open): Define.
360 (print_strings): Use file_off instead of file_ptr. Print addresses
361 which don't fit into long correctly.
362 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
363 available.
364 (strings_file): Use file_off instead of file_ptr. Use file_open.
365 * configure.in: Check for getc_unlocked.
366 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
367 be defined for it.
368 * configure: Rebuilt.
369 * config.h.in: Rebuilt.
370
af667503
L
3712001-11-29 H.J. Lu <hjl@gnu.org>
372
373 * bucomm.c (make_tempname): Revert the changes made on
374 2001-11-14 and 2001-11-12. They won't work with directories.
375
16474668
NC
3762001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
377
378 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
379 CFLAGS_FOR_TARGET to runtest in environment.
380 * Makefile.in: Rebuild.
381 * doc/Makefile.in: Rebuild.
382
17978339
MS
3832001-11-28 Mike Stump <mrs@wrs.com>
384
385 * objcopy.c (setup_section): Preserve SEC_RELOC when
386 --set-section-flags is used.
387
261a45ad
NC
3882001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
389
390 * readelf.c (do_debug_str): New variable.
391 (display_debug_str): New function: Display the contents of a
392 .debug_str section.
393 (load_debug_str): New function: Load in the contents of a
394 .debug_str section.
395 (free_debug_str): New function: Free the memory used by
396 load_debug_str().
397 (fetch_indirect_string): Retrieve a string from the .debug_str
398 section.
399 (usage): Add -ws.
400 (parse_args): Accept -ws.
401 (process_section_headers): Allow the display of the .debug_str
402 section.
403 (read_and_display_attr_value): Use fetch_indirect_string. Show
404 offset into .debug_str section.
405 (display_debug_info): Use load_debug_str and free_debug_str.
406 (debug_displays): Add .debug_str.
407 * doc/binutils.texi: Document -ws.
408
b8908f93
AJ
4092001-11-19 Andreas Jaeger <aj@suse.de>
410
411 * testsuite/binutils-all/objdump.exp: Add x86-64.
412
e5fb9629
AS
4132001-11-15 Andreas Schwab <schwab@suse.de>
414
415 * readelf.c: Fix warnings without terminating newline.
416
802a735e
AM
4172001-11-15 Alan Modra <amodra@bigpond.net.au>
418
419 * doc/binutils.texi (objdump): Document ppc -M options.
420
b89e9eae
AJ
4212001-11-14 Andreas Jaeger <aj@suse.de>
422
423 * doc/binutils.texi (objdump): Fix description to use x86-64.
424
a6a25652
NC
4252001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
426
427 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
428 not all systems provide mkstemp.
429
e396998b
AM
4302001-11-14 Alan Modra <amodra@bigpond.net.au>
431
432 * doc/binutils.texi (objdump): Document x86 -M options.
433
81766fca
RH
4342001-11-13 Keith Walker <keith.walker@arm.com>
435
436 * readelf.c (read_and_display_attr_value): New function to
437 handle DW_FORM_indirect.
438 (read_and_display_attr): Use it.
439
1a509dcc
GK
4402001-11-13 Geoffrey Keating <geoffk@redhat.com>
441
442 * readelf.c (display_debug_lines): Deal with unknown standard
443 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
444 DW_LNS_set_isa.
445
6e917903 4462001-11-13 Timothy Wall <twall@alum.mit.edu>
1a509dcc 447
6e917903
TW
448 * MAINTAINERS: Add self as tic54x maintainer. This target
449 includes the IBM C54XDSP clone.
7559e86e 450
6e917903 4512001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
1a509dcc 452
7559e86e
NC
453 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
454
4552001-11-09 Jeffrey A Law (law@cygnus.com)
91770270 456
ecdadc4a
JL
457 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
458 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
459 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
460 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
461 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
462 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
463 (unw_decode_b2, unw_decode_b3_b4): Likewise.
464
91770270
JL
465 * readelf.c (get_elf_class): Fix ISO portability glitch.
466 (get_data_encoding, get_osabi_name, request_dump): Likewise.
467
ef5cdfc7
JJ
4682001-11-07 Jakub Jelinek <jakub@redhat.com>
469
470 * readelf.c (debug_str, debug_str_size): New.
471 (display_debug_abbrev): If no abbrevs were read, skip the CU.
472 Call free_abbrevs.
473 (read_and_display_addr): Handle DW_FORM_strp.
474 (display_debug_info): Read .debug_str section if present,
475 so that DW_FORM_strp can be handled.
476 Fix test for non-existant .debug_abbrev section.
477
5e9520c8
JJ
4782001-11-05 Jakub Jelinek <jakub@redhat.com>
479
480 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
481
482 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
483
54589086
MS
4842001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
485
486 * MAINTAINERS: Add self as s390/s390x maintainer.
487
c05b685b
TR
4882001-11-02 Tom Rix <trix@bluey.cygnus.com>
489
490 * MAINTAINERS: Add self as PPC XCOFF maintainer.
491
3c62831e
NC
4922001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
493
494 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
495 * configure: Regernate.
496 * po/fr.po: New file.
497 * po/tr.po: New file.
498
3c3bdf30
NC
4992001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
500
9b19141a 501 * MAINTAINERS: Add self as MMIX port maintainer.
3c3bdf30
NC
502 * readelf.c: Include elf/mmix.h.
503 (guess_is_rela): MMIX is RELA.
504 (dump_relocations): Handle MMIX relocations.
505 * Makefile.am: Regenerate dependencies.
506 * Makefile.in: Regenerate.
507
f662939a
NC
5082001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
509
510 * readelf.c (parse_args): Handle multiple options to the -w
511 switch.
512
c91d0dfb
JJ
5132001-10-12 Jakub Jelinek <jakub@redhat.com>
514
515 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
516 LOPROC, LOOS and LOUSER.
517
7559e86e 5182001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
d1b67f3c
JR
519
520 * MAINTAINERS: Update my email address.
521
fcd8210c
AM
5222001-10-03 Alan Modra <amodra@bigpond.net.au>
523
524 * doc/Makefile.in: Regenerate.
525 * configure: Regenerate.
526
428409d5
NC
5272001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
528
529 * readelf.c (display_debug_line, display_debug_pubnames,
530 display_debug_info, display_debug_frames): Detect and warn
531 about 64-bit format entries.
532 (display_debug_aranges): Reword 64-bit warning.
533 (debug_displays): Add .debug_pubtypes as a known, but not yet
534 supported, debug section.
535
6a8c2b0d
AM
5362001-10-02 Alan Modra <amodra@bigpond.net.au>
537
538 * coffdump.c (PROGRAM_VERSION): Delete.
539 (main <'V'>): Call print_version.
540 * srconv.c: Likewise.
541 * sysdump.c: Likewise.
542 * version.c (program_version): Remove.
543 (print_version): Use BFD_VERSION_STRING. Just print the current
544 year in copyright message.
545 * addr2line.c (program_version): Remove unused declaration.
546 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
547 place of BFD_VERSION.
548 * Makefile.am (Makefile): Depend on bfd/configure.in.
549 (cplus-dem.o): Depend on Makefile.
550 Run "make dep-am".
551 * Makefile.in: Regenerate.
552
e414a165
NC
5532001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
554
555 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
556 format .debug_arange sections.
557 (main): Add missing prototype.
b8908f93 558
efc3ee7f
HPN
5592001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
560
561 * Makefile.am: Update dependencies with "make dep-am".
562 * Makefile.in: Regenerate.
563
9e85c2a0
RH
5642001-09-28 Richard Henderson <rth@redhat.com>
565
566 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
567
451dad9c
AM
5682001-09-26 Alan Modra <amodra@bigpond.net.au>
569
570 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
571 VA_CLOSE.
572 (non_fatal): Likewise.
573 * objdump.c (objdump_sprintf): Likewise.
574 * readelf.c (error): Likewise.
575 (warn): Likewise.
576
d974e256
JJ
5772001-09-25 Jakub Jelinek <jakub@redhat.com>
578
579 * readelf.c (do_wide): New.
580 (options): Add --wide.
581 (usage, parse_args): Likewise.
582 (process_program_headers): Put each segment on a single line if
583 --wide is given.
584 (process_section_headers): Put each section on a single line if
585 --wide is given.
586 * doc/binutils.texi: Document it.
587 * NEWS: Likewise.
588
2f11c261
AM
5892001-09-25 Alan Modra <amodra@bigpond.net.au>
590
591 * readelf.c (print_vma): Print 8 digits of low hex value.
592
1d50f91e
AJ
5932001-09-24 Andreas Jaeger <aj@suse.de>
594
595 * nlmconv.c: Fix warnings about unused attributes and function
596 prototypes.
597
598 * strings.c: Add prototype for get_char.
599
38131e67
L
6002000-09-19 H.J. Lu <hjl@gnu.org>
601
602 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
603 $(srcdir)/cxxfilt.man.
604 * doc/Makefile.in: Rebuild.
605
3bcfb3e4
AM
6062001-09-19 Alan Modra <amodra@bigpond.net.au>
607
608 * objcopy.c (copy_main): Correct rename-section string parsing.
609 Consolidate new_name parsing, and error messages.
610
3882b010
L
6112001-09-18 Bruno Haible <haible@clisp.cons.org>
612
613 * addr2line.c: Don't include <ctype.h>.
614 (main): For gettext, also set the LC_CTYPE locate facet.
615 * ar.c (main): Likewise.
616 * coffdump.c (main): Likewise.
617 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
618 (main): For gettext, also set the LC_CTYPE locate facet.
619 Use ISALNUM instead of isalpha/isdigit.
620 * dllwrap.c: Don't include <ctype.h>.
621 (main): For gettext, also set the LC_CTYPE locate facet.
622 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
623 (main): For gettext, also set the LC_CTYPE locate facet.
624 Use TOUPPER instead of islower/toupper.
625 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
626 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
627 Use TOUPPER instead of islower/toupper.
628 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
629 * objcopy.c (main): Likewise.
630 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
631 (disassemble_bytes): Use ISPRINT instead of isprint.
632 (dump_section_stabs): Use ISDIGIT instead of isdigit.
633 (dump_data): Use ISPRINT instead of isprint.
634 (main): For gettext, also set the LC_CTYPE locate facet.
635 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
636 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
637 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
638 Use TOUPPER instead of islower/toupper.
639 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
640 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
641 (write_rc_accelerators): Use ISPRINT instead of isprint.
642 (write_rc_rcdata): Likewise.
643 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
644 * srconv.c (main): Likewise.
645 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
646 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
647 isdigit/isupper/islower.
648 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
649 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
650 stab_demangle_prefix, stab_demangle_qualified,
651 stab_demangle_template, stab_demangle_type,
652 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
653 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
654 (isgraphic): Use ISPRINT instead of isascii/isprint.
655 (main): Remove HAVE_LC_MESSAGES dependency.
656 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
657 (pbarray): Use ISPRINT instead of isprint.
658 (main): For gettext, also set the LC_CTYPE locate facet.
659 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
660 (format_from_filename): Use ISPRINT instead of isprint.
661 (main): For gettext, also set the LC_CTYPE locate facet.
662 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
663 (unicode_print): Use ISPRINT instead of isprint.
664 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
665 (stab_variable): Use ISDIGIT instead of isdigit.
666
e59b4dfb
AM
6672001-09-18 Alan Modra <amodra@bigpond.net.au>
668
669 * ar.c (print_contents): Cast args of bfd_seek to the right types.
670 Replace bfd_read call with call to bfd_bread.
671 (extract_file): Likewise.
672
673 * objdump.c (dump_section_header): Cast section->filepos to
674 unsigned long to suit printf format string.
675 * readelf.c (process_section_headers): Similarly for sh_offset.
676 (process_unwind): Likewise.
677
d132876a
NC
6782001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
679
680 * strings.c (encoding, encoding_bytes): New variables.
681 (long_options): Add --encoding.
682 (main): Accept -e and --encoding.
683 (get_char): New function. Read a, possibly wide, character from
684 the input stream.
685 (print_strings): Use get_char().
686 (usage): Document new command line option.
687 * doc/binutils.texi: Document new command line option.
688 * NEWS: Announce new command line option.
689
7559e86e 6902001-09-12 Alexandre Oliva <aoliva@redhat.com>
2b0337b0
AO
691
692 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
693 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
694 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
695 Removed EM_CYGNUS_ARC.
696
7559e86e 6972001-09-04 Jeffrey A Law (law@cygnus.com)
b8720f9d
JL
698
699 * readelf.c: Include elf/h8 for H8 series definitions.
700 (guess_is_rela): H8 series if RELA.
701 (dump_relocations): Handle H8 series relocations.
702
0823fbca
EC
7032001-08-31 Eric Christopher <echristo@redhat.com>
704
705 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
706
8db76d70
PT
7072001-08-29 Peter Targett <peter.targett@arccores.com>
708
709 * MAINTAINERS: Include ARC Maintainer.
710
d81d6584
BE
7112001-08-29 Ben Elliston <bje@redhat.com>
712
713 * stabs.c (stab_demangle_template): Initialise s4.
714
25a1ff5b
AM
7152001-08-27 Alan Modra <amodra@bigpond.net.au>
716
717 * readelf.c (dump_relocations): Recognise EM_PPC64.
718
a5d22d2a
TS
7192001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
720
721 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
722
62a5a82d
L
7232001-08-25 H.J. Lu <hjl@gnu.org>
724
725 * nm.c (print_width): New.
726 (display_rel_file): Set `print_width' according to
727 bfd_sprintf_vma.
728 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
729
1ae8b3d2
AO
7302001-08-24 Alexandre Oliva <aoliva@redhat.com>
731
732 * objcopy.c (use_alt_mach_code): New variable.
733 (OPTION_ALT_MACH_CODE): Define.
734 (copy_options): Added --alt-machine-code.
735 (copy_main): Handle it.
736 (copy_object): Switch to alternate machine code if requested.
737 * doc/binutils.texi: Document new option.
738 * NEWS: Likewise.
739
d1bdd336
TS
7402001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
741
742 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
743
410f7a12
L
7442001-08-21 H.J. Lu <hjl@gnu.org>
745
746 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
747 (display_debug_info): Cast for 64bit hosts.
748 (display_debug_frames): Likewise.
749 (process_mips_specific): Likewise.
750
c32144ff
AJ
7512001-08-21 Andreas Jaeger <aj@suse.de>
752
753 * coffgrok.h: Add missing parameter for prototype of coff_grok.
754
755 * sysdump.c: Add missing prototypes.
756 * srconv.c: Likewise.
757 * unwind-ia64.c: Likewise.
758 * coffdump.c: Likewise.
759
760 * sysinfo.y: Print prototypes, include <ansidecl.h>.
761
762 * coffgrok.c: Add missing prototypes, include libiberty.h instead
763 of declaring xcalloc.
764
d8180c76
L
7652001-08-10 H.J. Lu <hjl@gnu.org>
766
767 * nm.c (print_value): Add one arg, bfd *.
768 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
769 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
770 (print_symbol_info_sysv): Likewise.
771 (print_symbol_info_posix): Likewise.
772
773 * objdump.c (dump_section_header): Replace printf_vma with
774 bfd_printf_vma.
775 (print_section_stabs): Likewise.
776 (dump_bfd_header): Likewise.
777 (objdump_print_value): Replace sprintf_vma with
778 bfd_sprintf_vma.
779 (disassemble_bytes): Likewise.
780 (dump_reloc_set): Likewise.
781
0218d1e4
AJ
7822001-08-10 Andreas Jaeger <aj@suse.de>
783
784 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
785 to build warnings.
786 * configure: Regenerate.
787
2863d58a
AM
7882001-08-09 Alan Modra <amodra@bigpond.net.au>
789
790 * readelf.c: Add missing prototypes.
791 * objdump.c: Likewise. Format existing prototypes.
792
c0e047e0
AO
7932001-08-08 Alexandre Oliva <aoliva@redhat.com>
794
795 * readelf.c (display_debug_info): Add to abbrev_offset the addend
796 of any RELA relocation for the abbrev_offset memory location that
797 refers to the .debug_abbrev section symbol.
798
ff78d6d6
L
7992001-08-07 H.J. Lu <hjl@gnu.org>
800
801 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
802 (main): Return process_file ().
803
c36774d6
PB
8042001-08-05 Philip Blundell <philb@gnu.org>
805
806 * doc/binutils.texi: Use "Thumb" not "THUMB".
807
8f9d9bd9
JH
8082001-08-03 John Healy <jhealy@redhat.com>
809
810 Patch suggested by Frank Eigler <fche@redhat.com>.
811 * objdump.c (disassemble_data): Fill in section member of the
812 disasm_info structure.
813
c918cb96
DD
8142001-08-03 Tom Walsh <tom@cyberiansoftware.com>
815
816 * configure.in: Added --with-windres option.
817 * configure: Regenerated.
818
c7c55b78
NC
8192001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
820
821 * doc/binutils.texi: Use @command{name} for commands;
822 use @option{-opt} for options; use @table @env for list of options;
823 remove spaces arround [ | ] in synopsis.
824
825 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
826 center title.
827
594ef5db
NC
8282001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
829
830 * objcopy.c: Fix formatting.
831 (section_rename): New structure.
832 (OPTION_RENAME_SECTION): New switch.
833 (copy_usage): Document new switch.
834 (add_section_rename): New function: Add a node to the section
835 rename list.
836 (find_section_rename): New function: Find the new name and
837 flags for a section.
838 (setup_section): Call find_section_name to determine the name
839 of the output section.
840 (copy_main): Handle OPTION_RENAME_SECTION.
841 * binutils.texi: Document new switch.
842 * NEWS: Mention new switch.
843
1f554c69
NC
8442001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
845
846 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
847 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
848 bug-binutils@gcc.org.
849
2f83960e
AM
8502001-07-28 Matthias Kramm <kramm@quiss.org>
851
852 * bucomm.c (list_supported_architectures): New function.
853 * bucomm.h (list_supported_architectures): Declare.
854 * objdump.c (usage): Call the above.
855
20fe0649
DB
8562001-07-25 Dave Brolley <brolley@redhat.com>
857
858 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
859 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
860
1b577b00
NC
8612001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
862
863 * README: Update for 2.11. Change bug reporting email address.
864 * MAINTAINERS: Tidy up. Change bug reporting email address.
865
95fd336c
DD
8662001-07-16 DJ Delorie <dj@redhat.com>
867
5f16d855
DD
868 * resres.c (write_res_header): Align header size.
869 (res_align_file): Calculate alignment correctly.
870
95fd336c
DD
871 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
872 correct 10).
873 * resrc.c (write_rc_resource): Likewise.
874 * windres.h (SUBLANG_SHIFT): Define - as 10.
875
ed8fee27
NC
8762001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
877
878 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
879
90ab7e9a
NC
8802001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
881
882 * MAINTAINERS: Add notes about branch checkins.
883
e0c60db2
NC
8842001-07-05 Daniel Berlin <dan@cgsoftware.com>
885
886 * readelf.c (display_debug_macinfo): New function, display
887 .debug_macinfo section.
888 (do_debug_macinfo): New variable.
889 (parse_args): Handle "-w[mM]" to mean display macro info.
890 (process_section_headers): Handle debug_macinfo.
891 (debug_displays): Replace unsupported function with macinfo
0218d1e4 892 function for .debug_macinfo display.
e0c60db2
NC
893 * doc/binutils.texi: Document new command line switch.
894 * NEWS: Document new feature of readelf.
0218d1e4 895
24e01a36
L
8962001-07-05 H.J. Lu <hjl@gnu.org>
897
898 * objcopy.c (filter_symbols): Don't turn undefined symbols
899 into local.
900
4258bf4d
L
9012001-07-03 H.J. Lu <hjl@gnu.org>
902
903 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
904 $@.pod.
905 (ar.1): Likewise.
906 (dlltool.1): Likewise.
907 (nlmconv.1): Likewise.
908 (nm.1): Likewise.
909 (objcopy.1): Likewise.
910 (objdump.1): Likewise.
911 (ranlib.1): Likewise.
912 (readelf.1): Likewise.
913 (size.1): Likewise.
914 (strings.1): Likewise.
915 (strip.1): Likewise.
916 (windres.1): Likewise.
917 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
918 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
919 $(DEMANGLER_NAME).
920 (as.1): Removed.
921 * doc/Makefile.in: Regenerated.
922
7014bc31
NC
9232001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
924
925 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
926
b811889f
NC
9272001-07-01 Daniel Berlin <dan@cgsoftware.com>
928
929 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
930
12ab83a9
NC
9312001-06-29 James Cownie <jcownie@etnus.com>
932
933 * readelf.c: Support DWARF 2.1 attributes.
934
a6e9f9df
AM
9352001-06-28 Alan Modra <amodra@bigpond.net.au>
936
937 * readelf.c (GET_DATA_ALLOC): Remove.
938 (GET_DATA): Remove.
939 (get_data): New function combining above macros, with an extra
940 test for zero size.
941 (slurp_rela_relocs): Use get_data, and catch error return.
942 (slurp_rel_relocs): Likewise.
943 (get_32bit_program_headers): Likewise.
944 (get_64bit_program_headers): Likewise.
945 (get_32bit_section_headers): Likewise.
946 (get_64bit_section_headers): Likewise.
947 (get_32bit_elf_symbols): Likewise.
948 (get_64bit_elf_symbols): Likewise.
949 (process_section_headers): Likewise.
950 (process_relocs): Likewise.
951 (slurp_ia64_unwind_table): Likewise.
952 (process_unwind): Likewise.
953 (get_32bit_dynamic_segment): Likewise.
954 (get_64bit_dynamic_segment): Likewise.
955 (process_dynamic_segment): Likewise.
956 (process_version_sections): Likewise.
957 (process_symbol_table): Likewise.
958 (dump_section): Likewise.
959 (display_debug_info): Likewise.
960 (display_debug_section): Likewise.
961 (process_section_contents): Likewise.
962 (process_corefile_note_segment): Likewise.
963 (process_mips_specific): Likewise. Also free econf32, econf64.
964
af3fc3bc
AM
9652001-06-25 Alan Modra <amodra@bigpond.net.au>
966
967 * readelf.c (dump_relocations): Print "bad symbol index" if
968 symtab == NULL with non-zero symtab_index.
969 (process_relocs): Don't bomb if reloc section has no symsec.
970
6d900bf6
L
9712001-06-24 H.J. Lu <hjl@gnu.org>
972
973 * objcopy.c (strip_main): Revert the change made on 2001-05-30
974 by accident.
975 (copy_main): Apply the the change made to strip_main on
976 2001-05-30 by accident.
977
49b4e386
AJ
9782001-06-23 Andreas Jaeger <aj@suse.de>
979
980 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
981 parameter 'code'.
982 (unw_decode_x2): Likewise.
983 (unw_decode_x3): Likewise.
984 (unw_decode_x4): Likewise.
985
d8dc71e3
BE
9862001-06-23 Ben Elliston <bje@redhat.com>
987
988 * MAINTAINERS: Add myself as M88k maintainer.
989
af3bdff7
NC
9902001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
991
992 * objcopy.c (strip_main): Support -o or --output-file command lien
993 switch.
994
105e7211
L
9952001-06-19 H.J. Lu <hjl@gnu.org>
996
997 * doc/Makefile.in: Regenerated.
998
c45021f2
NC
9992001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
1000
1001 * readelf.c: Restore formatting.
1002
10032001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
1004
1005 * Makefile.am: Move documentation into doc subdirectory.
1006 * Makefile.in: Regenerated.
1007 * binutils.texi: Move into doc subdirectory.
1008 * addr2line.1: Removed.
1009 * ar.1: Likewise.
1010 * dlltool.1: Likewise.
1011 * nlmconv.1: Likewise.
1012 * nm.1: Likewise.
1013 * objcopy.1: Likewise.
1014 * objdump.1: Likewise.
1015 * ranlib.1: Likewise.
1016 * readelf.1: Likewise.
1017 * size.1: Likewise.
1018 * strings.1: Likewise.
1019 * strip.1: Likewise.
1020 * windres.1: Likewise.
1021 * cxxfilt.man: Likewise.
1022 * doc: New Directory.
1023 * doc/Makefile.am: New file.
1024 * doc/Makefile.in: Generate.
1025
09ad7db3
AM
10262001-06-09 Alan Modra <amodra@bigpond.net.au>
1027
1028 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
1029
936260fe
AM
10302001-06-01 Alan Modra <amodra@bigpond.net.au>
1031
1032 * MAINTAINERS: Update my email address.
1033
16b2b71c
NC
10342001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
1035
1036 * objcopy.c: Add new switches: --keep-global-symbol,
1037 --keep-symbols, --localize-symbols, --keep-global-symbols and
1038 --weaken-symbols.
1039 * binutils.texi: Document new switches.
1040 * objcopy.1: Regenerate.
1041 * NEWS: Announce new feature.
1042
7036c0e1
AJ
10432001-05-28 Andreas Jaeger <aj@suse.de>
1044
1045 * readelf.c (display_debug_frames): Fix warnings: Remove unused
1046 variables, fix format strings.
1047
76a406e5
NC
10482001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
1049
1050 * objdump.c (disassemble_bytes): Remove section VMA adjustment
1051 when computing the address of the line to show.
1052
31b6fca6
RH
10532001-05-16 Richard Henderson <rth@redhat.com>
1054
1055 * readelf.c (do_debug_frames_interp): New.
1056 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
1057 (byte_get_big_endian): Likewise.
1058 (parse_args) ['F']: Set do_debug_frames_interp.
1059 (Frame_Chunk): Make data_factor signed, add fde_encoding.
1060 (frame_display_row): Don't trunc pc_begin to int.
1061 (size_of_encoded_value): New.
1062 (display_debug_frames): Handle 64-bit targets. Print raw data
1063 unless do_debug_frames_interp.
1064 (debug_displays): Remove duplicate .debug_frame.
1065
4fe85591
NC
10662001-05-15 Ralf Baechle <ralf@gnu.org>
1067
1068 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
1069 The former constant was never in active use and is used otherwise
1070 by the ABI.
1071
579f31ac
JJ
10722001-05-11 Jakub Jelinek <jakub@redhat.com>
1073
1074 * readelf.c (process_unwind): Print all unwind sections, not just
1075 one.
1076
78f4a3f7
AM
10772001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1078
1079 * readelf.c (process_unwind): Remove const specifier.
1080
1c529ca6
NC
10812001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
1082
1083 * strings.c (isgraphic): Do not use isascii() unless it is needed
1084 for isprint() to work.
1085 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
1086
87e6d782
NC
10872001-04-27 Johan Rydberg <jrydberg@opencores.org>
1088
1089 * NEWS: Announce support for OpenRISC.
1090
4bd3d870 10912001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
49b4e386
AJ
1092
1093 * dlltool.c (do_default_excludes): Initialise to true.
1094
21211521
AM
10952001-04-10 Alan Modra <amodra@one.net.au>
1096
1097 * MAINTAINERS: Update my email address
1098 * nm.c (print_symbol_info_bsd): Use a simple printf string.
1099
0c66b61e 11002001-04-05 Hans-Peter Nilsson <hp@axis.com>
ff94ebf2
HPN
1101
1102 * readelf.c (display_debug_lines): Fix typo for "Prologue".
1103
e58d53af
L
11042001-03-30 H.J. Lu <hjl@gnu.org>
1105
1106 * readelf.c (process_unwind): Just return if do_unwind is 0.
1107
bee72332
DD
11082001-03-28 Roger Sayle <roger@metaphorics.com>
1109
1110 * dlltool.c (make_one_lib_file): Fix section flags for
1111 .text, .data and .bss in stub ds*.o files to match those
1112 generated by gas.
1113
f1467e33
L
11142001-03-29 H.J. Lu <hjl@gnu.org>
1115
1116 * readelf.c (process_unwind): Only do unwind sections for
1117 IA64.
1118
1c6fb4fe
L
11192001-03-28 H.J. Lu <hjl@gnu.org>
1120
1121 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
1122 * Makefile.in: Regenerate.
1123
0879a67a
AJ
11242001-03-26 Andreas Jaeger <aj@suse.de>
1125
1126 * binutils.texi (nm): Fix texi syntax.
1127
0285c67d
NC
11282001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1129
1130 * binutils.texi: Put @c man begin and @c man end indications
1131 to generate man pages using texi2pod and pod2man. Put @c man title
1132 to identify each man. Add SEEALSO entries.
1133 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
1134 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
1135 sort the list.
1136 (*.1): Build the man pages from binutils.texi.
1137 * Makefile.in: Regenerate.
1138
04847a4d
CF
11392001-03-13 Eric Kohl <ekohl@rz-online.de>
1140
1141 * defparse.y (opt_equal_name): allow "." in name.
1142 * dlltool.c (def_exports): Added ability to generate forwarded exports.
1143 (gen_exp_file): Likewise.
1144
43a0748c
NC
11452001-03-12 Stefan Geuken <mail@stefan-geuken.de>
1146
1147 * NEWS: Document addition of -B switch to objcopy.
1148 * binutils.texi: Document addition of -B switch to objcopy.
1149 * objcopy.c: (copy_options): Add --binary-architecture.
1150 (copy_usage): Document -B/--binary-architecture.
1151 (copy_main): Support -B/--binary-architecture. Set
1152 bfd_external_binary_architecture.
0879a67a 1153
b7498e0e
NC
11542001-03-11 Andreas Jaeger <aj@suse.de>
1155
1156 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
1157 (dump_relocations): Likewise.
1158 (get_machine_name): Likewise.
1159
a59e3bd7
NC
11602001-02-28 Nick Clifton <nickc@redhat.com>
1161
1162 * readelf.c: (struct unw_aux_info): Remove const modifier for
1163 'strtab' field.
1164 (process_unwind): Remove non-K&R compliant LHS type cast in call
1165 to GET_DATA_ALLOC macro.
1166
a5bcd848
PB
11672001-02-28 Philip Blundell <pb@futuretv.com>
1168
1169 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
1170 ABI is in use; remove ambiguity between the "unknown" EABI and
1171 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
1172 renamed EF_xx constants.
1173
27b7e12d
AM
11742001-02-27 Alan Modra <alan@linuxcare.com.au>
1175
1176 * configure.in (BFD_VERSION): New.
1177 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
1178 * configure: Regenerate.
1179 * Makefile.am: Run "make dep-am"
1180 * Makefile.in: Regenerate.
1181
a9f10786
NC
11822001-02-14 Nick Clifton <nickc@redhat.com>
1183
1184 * MAINTAINERS: Add "Obvious Fix" rule.
1185
3c44da9a
MS
11862001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1187
1188 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
1189 literal concatenation.
1190
ecd03389
MS
11912001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1192
1193 * readelf.c (struct unw_aux_info): Remove const from the info member.
1194 (process_unwind): Don't type-cast the third argument to the
1195 GET_DATA_ALLOC macro.
1196
88ec60c7
NC
11972001-02-11 Nick Clifton <nickc@redhat.com>
1198
1199 * readelf.c (dump_relocations): Free corrected allocated
1200 array.
1201 (process_unwind): Fix compile time warning.
1202
f5e21966
NC
12032001-02-10 Nick Clifton <nickc@redhat.com>
1204
1205 * binutils.texi: Document new --unwind option to readelf.
1206
a85d7ed0
NC
12072001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
1208
1209 * readelf.c: Add linux target for S/390.
1210
7bb10502
AM
12112001-02-10 Alan Modra <alan@linuxcare.com.au>
1212
1213 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
1214 printf is a macro.
1215
8ca8f343
HPN
12162001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
1217
1218 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
1219 * aclocal.m4: Regenerate.
1220 * configure: Regenerate.
1221
7340082d
NC
12222001-02-07 Todd Vierling <tv@wasabisystems.com>
1223
1224 * bucomm.c (bfd_target_vector): Change extern array to pointer.
1225 * objdump.c (bfd_target_vector): Likewise.
1226
4d6ed7c8
NC
12272001-02-07 David Mosberger <davidm@hpl.hp.com>
1228
1229 * readelf.c (process_unwind): New function.
1230 (slurp_ia64_unwind_table): Ditto.
1231 (dump_ia64_unwind): Ditto.
1232 (find_symbol_for_address): Ditto.
1233 (slurp_rela_relocs): New function (split off from dump_relocations()).
1234 (slurp_rel_relocs): Ditto.
1235 (parse_args): Handle '-u' option.
1236
1237 * unwind-ia64.c: New file.
1238 * unwind-ia64.h: New file.
1239 * Makefile.am: Include unwind-ia64.c in readelf build.
1240 * Makefile.in: Regenerate.
7340082d 1241 * po/binutils.pot: Regenerate.
4d6ed7c8 1242
c7217458
PB
12432001-02-04 Philip Blundell <philb@gnu.org>
1244
1245 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
1246 * configure: Regenerate.
1247
956eedd4
AM
12482001-01-31 Steve deRosier <sderosier@vari-lite.com>
1249
1250 * ieee.c (ieee_add_bb11): Don't check for backslashes
1251 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1252
8855cbca
AM
12532001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
1254
c7f2731e
AM
1255 * ieee.c: Update copyright.
1256 (ieee_start_compilation_unit): Don't check for backslashes
1257 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1258
8855cbca
AM
1259 * stabs.c: Update copyright. Include "filenames.h".
1260 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
1261
329de803 12622001-01-23 Jakub Jelinek <jakub@redhat.com>
00d93f34
JJ
1263
1264 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
1265 sections are present before using them. Remove code duplication.
1266 (process_symbol_table): Check if VERDEF or VERNEED sections are
1267 present before using them.
1268
23719f39
NC
12692001-01-17 Nick Clifton <nickc@redhat.com>
1270
1271 * objcopy.c (copy_object): Fail if attempting to convert the
1272 endianness of the input object file.
1273
1274 * binutils.texi: Explain that objcopy cannot convert endianness.
c7f2731e 1275
f726e849
NC
12762001-01-16 Nick Clifton <nickc@redhat.com>
1277
1278 * readelf.c (string_table_length): New variable.
1279 (SECTION_NAME): Catch out of range indices and missing section
1280 pointers.
1281 (process_section_headers): Delete useless local variable
1282 string_table_offset. Set the value of string_table_length
1283 after loading the string table.
1284 (process_mips_specific): Use SECTION_NAME macro.
1285 (process_file): Set string_table_length to 0 when it is freed.
1286
d0398d6a
NC
12872001-01-12 Nick Clifton <nickc@redhat.com>
1288
1289 * version.c (print_version): Update copyright date.
1290
0d2bcfaf
NC
12912001-01-11 Peter Targett <peter.targett@arccores.com>
1292
1293 * readelf.c (dump_relocations): Include selection with EM_ARC.
1294 (get_machine_name) Update name to "ARC".
1295
8b1e6df3
NC
12962001-01-09 Nick Clifton <nickc@redhat.com>
1297
1298 * Makefile.am: Add rule to build objdump.o from objdump.c and
1299 using OBJDUMP_DEFS.
1300 * Makefile.in: Regenerate.
1301
1302 * configure.in: Define OBJDUMP_DEFS. Default to empty.
1303 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
1304 -DDISASSEMBLER_NEEDS_RELOCS.
34cc70e3 1305 * configure: Regenerate.
8b1e6df3
NC
1306
1307 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
1308 is defined read in the relocs even if dump_reloc_info is
1309 false.
1310
2f952d20
PB
13112001-01-07 Philip Blundell <philb@gnu.org>
1312
1313 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
1314 `bug-binutils'.
1315 * README: Likewise.
1316
a8c548cb
NC
13172000-12-19 Nick Clifton <nickc@redhat.com>
1318
1319 * dlltool.c: Add missing support for arm-epoc-pe.
1320 * configure.in: Add missing support for arm-epoc-pe.
1321 * configure: Regenerate.
1322
cc5fda35
NC
13232000-12-15 Nick Clifton <nickc@redhat.com>
1324
1325 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
1326 Mode parts of the x86 port.
1327
bcedfee6
NC
13282000-12-04 Andreas Jaeger <aj@suse.de>
1329
1330 * readelf.c (guess_is_rela): Add EM_X86_64.
1331 (dump_relocations): Add EM_X86_64.
1332 (get_machine_name): Add EM_X86_64.
1333 Include "elf/x86-64.h".
1334
584da044
NC
13352000-12-12 Nick Clifton <nickc@redhat.com>
1336
1337 * readelf.c: Fix formatting.
1338
7559e86e 13392000-12-11 Jan Hubicka <jh@suse.cz>
b8355149
JH
1340
1341 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
1342
a98cc2b2
AH
13432000-12-07 Andrew Haley <aph@redhat.com>
1344
1345 * readelf.c (display_debug_frames): Only display columns that are
1346 referenced by the frame debug info.
1347
c7987a69
NC
13482000-12-05 Nick Clifton <nickc@redhat.com>
1349
1350 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
1351
09fd7e38
JM
13522000-12-04 Jason Merrill <jason@redhat.com>
1353
1354 * readelf.c (process_section_headers): Handle linkonce.wi sections.
1355 (display_debug_section): Likewise.
1356 (display_debug_info): Display CU header before bailing.
1357
e7af610e
NC
13582000-12-01 Chris Demetriou <cgd@sibyte.com>
1359
09fd7e38
JM
1360 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
1361 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
1362 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
e7af610e 1363
09fd7e38
JM
1364 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
1365 and E_MIPS_ARCH_64.
84ea6cf2 1366
09fd7e38
JM
1367 * readelf.c (get_machine_flags): Add case for
1368 E_MIPS_MACH_SB1.
c6c98b38 1369
75066968
DD
13702000-11-30 Richard Earnshaw <rearnsha@arm.com>
1371
1372 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
1373
5c4666ea
HPN
13742000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
1375