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