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