* dlltool.c (gen_def_file): Put demangled name comments on
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
2630b4ca
DS
12003-03-22 Danny Smith <dannysmith@users.sourceforge,net>
2
3 * dlltool.c (gen_def_file): Put demangled name comments on
4 own line preceding export name.
5
98a91d6a
NC
62003-03-17 Nick Clifton <nickc@redhat.com>
7
8 * objdump.c (disassemble_data): Use disasm_info.fprintf_func not
9 printf for emitting new lines.
10
06a30c77
NC
112003-03-16 Elias Athanasopoulos <elathan@phys.uoa.gr>
12
13 * nm.c (print_symbol_info_bsd): Print the symbol's size instead of
14 the symbol's value when --size-sort is used, unless -S is used.
15 doc/binutils.texi (--size-sort): For non-bsd formats both the
16 value and size of the symbols are displayed.
17
ab829d36
NC
182003-03-13 Nick Clifton <nickc@redhat.com>
19
20 * po/da.po: Update.
21
634847c9
NC
222003-03-12 Nick Clifton <nickc@redhat.com>
23
24 * MAINTAINERS: Remove Peter Targett as ARC maintainer.
25
3889f9eb
BE
262003-03-10 Ben Elliston <bje@wasabisystems.com>
27
28 * MAINTAINERS: Update my mail address.
29
7eb5191a
NC
302003-03-06 Elias Athanasopoulos <elathan@phys.uoa.gr>
31
32 * stabs.c (BYTES_IN_WORD): Remove definition.
33 * wrstabs.c (BYTES_IN_WORD): Likewise.
34
e3b83c8f
NC
352003-03-04 Nick Clifton <nickc@redhat.com>
36
37 * nm.c (main): Print a warning message if --size-sort and
38 --undefined-only are used together.
39
402003-03-04 Elias Athanasopoulos <elathan@phys.uoa.gr>
41
42 * nm.c (print_symbol): Remove check for undefined_only.
43
a9d68a1e
NC
442003-03-03 Nick Clifton <nickc@redhat.com>
45
46 * po/da.po: Installed latest translation.
47
a99996bb
NC
482003-02-24 Nick Clifton <nickc@redhat.com>
49
50 * README: Update binutils references to 2.13.
51 Add paragraph about using --disable-nls.
52
76ed1927
NC
532003-02-24 Elias Athanasopoulos <elathan@phys.uoa.gr>
54
55 * doc/binutils.texi (nm --size-sort): Update.
56
0100f33b
JW
572003-02-21 James E Wilson <wilson@tuliptree.org>
58
59 * MAINTAINERS: Update email address.
60
ecc51f48
NC
612003-02-21 Ian Wienand <ianw@gelato.unsw.edu.au>
62
63 * readelf.c (get_ia64_dynamic_type): New function.
64 (dynamic_segment_ia64_val): New function.
65 (get_dynamic_type): If machine type is EM_IA_64 call
66 get_ia64_dynamic_val.
67 (get_ia64_section_type_name): Handle sections with types in the
68 SHT_IA_64_LOPSREG to SHT_IA_64_HIPSREG range.
69 (get_dynamic_flags): If machine type is EM_IA_64 call
70 dynamic_segment_ia64_val.
71
947ed062
NC
722003-02-21 Bob Wilson <bob.wilson@acm.org>
73
74 * doc/binutils.texi: Fix typos and obvious texinfo mistakes. Make
75 section title capitalization more consistent. Update descriptions
76 of various options to be consistent with the code. Fix errors and
77 incomplete list in the description of c++filt format options. Remove
78 information about the linker. Change to be more polite about poor
79 bug reports. Replace FDL appendix with include of fdl.texi.
80 * doc/fdl.texi: New file.
81
66491ebc
AM
822003-02-21 Roger Sayle <roger@eyesopen.com>
83
84 * objcopy.c (filter_symbols): Fix compilation problems with
85 HP-UX's C compiler.
86
0e11a9e9
CF
872003-02-19 Christopher Faylor <cgf@redhat.com>
88
89 * rclex.l (handle_quotes): Fix minor formatting problems introduced in
90 previous change.
91
6e5f5201
CF
922003-02-19 Mark Blackburn <marklist@fangorn.ca>
93
0e11a9e9 94 * rclex.l (handle_quotes): Handle strings spanning more than one line.
6e5f5201 95
f0c8c24a
NC
962003-02-12 Bob Wilson <bob.wilson@acm.org>
97
98 * nm.c (usage): Add `java' and `gnat' demangle styles and make
99 quotes consistent.
100 * objdump.c (usage): Ditto. Also fix some typos.
101
d3c543fd
NC
102 * readelf.c (parse_args): Include 'H' option in call to getopt_long.
103
fe2c4142
NC
104 * debug.c (debug_record_variable): Handle global register variables.
105
6de15b9e
NC
106 * stabs.c (parse_stab): For N_SLINE only include
107 function_start_offset if the symbol is within a function;
108 otherwise, the value is absolute.
109
fde78edd
NC
1102003-02-10 Nick Clifton <nickc@redhat.com>
111
112 * readelf.c (decode_ARM_machine_flags): Handle the
113 EF_ARM_MAVERICK_FLOAT flag.
114
22d82235
AS
1152003-02-04 Andreas Schwab <schwab@suse.de>
116
117 * rddbg.c (read_section_stabs_debugging_info): Cast ptrdiff_t to
118 long and use %ld in printf format.
119
1a677ea8
RS
1202003-01-28 Richard Sandiford <rsandifo@redhat.com>
121
122 * readelf.c (dump_relocations): Reorder the r_info field for
123 little-endian mips elf64. Move #ifdef BFD64 to cover the new code.
124
8dde85fc
NC
1252003-01-21 Daniel Berlin <dan@dberlin.org>
126
127 * readelf.c (display_debug_loc): Skip address base changes.
128
c6f8bb1e
AM
1292003-01-17 Fabio Alemagna <falemagn@aros.org>
130
131 * readelf.c (get_osabi_name): Handle ELFOSABI_AROS, ELFOSABI_OPENVMS
132 and ELFOSABI_NSK.
133
c833c019
AM
1342003-01-16 Alan Modra <amodra@bigpond.net.au>
135
136 * readelf.c: Include elf/ppc64.h.
137 (dump_relocations <EM_PPC64>): Use elf_ppc64_reloc_type.
138 * Makefile.am: Run "make dep-am".
139 * Makefile.in: Regenerate.
140
3b36097d
SC
1412003-01-02 Ben Elliston <bje@redhat.com>
142
143 * readelf.c (guess_is_rela): Handle EM_IQ2000.
144 (get_machine_name): Likewise.
145 (dump_relocations): Likewise.
146 * NEWS: Mention IQ2000 support.
147
cb44e358
RS
1482003-01-02 Richard Sandiford <rsandifo@redhat.com>
149
150 * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_32R2.
151
af7ee8bf
CD
1522002-12-30 Chris Demetriou <cgd@broadcom.com>
153
154 * doc/binutils.texi (objdump): Note MIPS HWR (Hardware Register)
155 changes in MIPS -M options.
156
2469cfa2
NC
1572002-12-30 Dmitry Diky <diwil@mail.ru>
158
159 * Makefile.am: Add msp430 target.
160 * Makefile.in: Regenerate.
161 * readelf.c: Add support for msp430 target.
162
640c0ccd
CD
1632002-12-27 Chris Demetriou <cgd@broadcom.com>
164
165 * doc/binutils.texi (objdump): Document MIPS -M options.
166
59f14fc0
AS
1672002-12-23 Andreas Schwab <schwab@suse.de>
168
169 * readelf.c (main): Reset dump request after each file.
170
312b768e
NC
1712002-12-23 Nick Clifton <nickc@redhat.com>
172
173 * nlmconv.c (main): Pass TRUE as third argument to
174 bfd_arch_get_compatible.
175
8745eafa
NC
1762002-12-23 Nick Clifton <nickc@redhat.com>
177
178 * strings.c (isgraphic): Replace definition with STRING_ISGRAPHIC
179 macro. Handle 'S' encoding, accepting 8-bit characters.
180 (main): Parse 'S' encoding.
181 (get_char): Accept 'S' encoding.
182 (print_strings): Use STRING_ISGRAPHIC.
183 (usage): Document support of 'S' encoding.
184 * doc/binutils.texi: Document support of 'S' encoding/
185 * NEWS: Mention new feature.
186
08213ebb
AM
1872002-12-20 Alan Modra <amodra@bigpond.net.au>
188
189 * README <building ar>: Don't use libibery's needed_list or
190 required_list, instead link libiberty/*.o.
191
b9e5d8e5
KH
1922002-12-19 Kazu Hirata <kazu@cs.umass.edu>
193
194 * doc/binutils.texi: Fix typos.
195
c51238bc
DA
1962002-12-14 John David Anglin <dave@hiauly1.hia.nrc.ca>
197
198 * doc/binutils.texi: Add missing parenthesis.
199
d7fb0dd2
NC
2002002-12-15 Nick Kelsey <nickk@ubicom.com>
201
202 * objcopy.c: Add --prefix-symbols=<prefix> option to rename all
203 symbols by adding the given prefix to the begining of the symbol
204 name. This is useful to provide name space seperation regardless
205 of how the object file was created. Added --prefix-sections=
206 <prefix> and --prefix-alloc-sections=<prefix> options to rename all
207 sections (or all sections with the alloc flag set) by adding the given
208 prefix to the begining of the symbol name.
209 * NEWS: Mention this new feature.
210 * doc/binutils.texi: Document this new feature.
211
55b9cdf1
AM
2122002-12-13 Alan Modra <amodra@bigpond.net.au>
213
214 * dlltool.c (mcore_elf_gen_out_file): Replace all occurrences of
215 dyn_string_append with dyn_string_append_cstr.
216
217 * emul_aix.c (ar_emul_aix_create): Remove unused function.
218
84ad6ede
NC
2192002-12-10 James Cownie <jcownie@etnus.com>
220
221 * readelf.h (get_TAG_name, get_AT_name,
704afb58 222 read_and_display_attr_value): Add support for UPC extensions to
84ad6ede
NC
223 DWARF2 spec.
224 * NEWS: Mention this new support.
225
7d036af2
AM
2262002-12-08 Alan Modra <amodra@bigpond.net.au>
227
228 * NEWS: Mention that bfd no longer declares a "boolean" type.
229
3e8bba36
AM
2302002-12-07 Alan Modra <amodra@bigpond.net.au>
231
232 * readelf.c (process_program_headers): When setting loadaddr, don't
233 assume segment size is 4k. Use p_align instead.
234 (loadaddr): Change from int to long.
235 (dynamic_addr, dynamic_info, version_info): Likewise.
236 (process_dynamic_segment <syminsz>): Likewise.
237 (process_dynamic_segment): Adjust print format string.
238 (rela_addr, rela_size): Delete.
239 (process_relocs): Formatting.
240
d070dab9
JW
2412002-12-05 Jim Wilson <wilson@redhat.com>
242
243 * configure.in (OBJDUMP_DEFS): Define SKIP_ZEROES as 16 for IA-64.
244 * configure: Regenerate.
245
45bcbdb1
ILT
2462002-12-04 Ian Lance Taylor <ian@airs.com>
247
248 * MAINTAINERS: Change e-mail address back to airs.com.
249
42ea8716
AH
2502002-12-04 Aldy Hernandez <aldyh@redhat.com>
251
252 * MAINTAINERS: Add self.
253
b34976b6
AM
2542002-11-30 Alan Modra <amodra@bigpond.net.au>
255
256 * addr2line.c, ar.c, arsup.c, binemul.c, binemul.h, bucomm.c, bucomm.h,
257 budbg.h, debug.c, debug.h, dlltool.c, emul_aix.c, ieee.c, nlmconv.c,
258 nlmconv.h, nlmheader.y, nm.c, objcopy.c, objdump.c, prdbg.c, rdcoff.c,
259 rddbg.c, readelf.c, rename.c, size.c, stabs.c, strings.c,
260 unwind-ia64.h, wrstabs.c: Replace boolean with bfd_boolean, true with
261 TRUE, false with FALSE. Simplify comparisons of bfd_boolean vars
262 with TRUE/FALSE. Formatting.
263
c8286bd1
JJ
2642002-11-29 Jakub Jelinek <jakub@redhat.com>
265
266 * readelf.c Replace occurrences of Elf32_Internal_* and
267 Elf64_Internal_* with Elf_Internal_*.
268 (slurp_rel_relocs): Change Elf_Internal_Rel to Elf_Internal_Rela.
269 Zero r_addend fields.
270 (dump_relocations): Remove relas variable, change Elf_Internal_Rel to
271 Elf_Internal_Rela.
272
92acdfaf
NC
2732002-11-23 Nick Clifton <nickc@redhat.com>
274
275 * size.c (usage): Fix typo describing switch for hex format.
276
48c5eb8a
SS
2772002-11-18 Svein E. Seldal <Svein.Seldal@solidas.com>
278
279 * testsuite/binutils-all/objcopy.exp: Disable tic4x from test
280 * testsuite/binutils-all/objdump.exp: Setup proper values for tic4x
281 testcase
282
2f62977e
NC
2832002-11-14 Nick Clifton <nickc@redhat.com>
284
285 * readelf.c (process_program_headers): Add comment about return
286 value. Ensure that 0 is returned if the headers are not loaded.
287 (process_file): If process_section_headers failed to load the
288 headers disable any tests that rely upon them. Similarly for
289 process_program_headers.
290
cd24c222
NC
2912002-11-12 Nick Clifton <nickc@redhat.com>
292
293 * po/da.po: Updated Danish translation.
294
f3931575
AM
2952002-11-12 Klee Dienes <kdienes@apple.com>
296
297 * rddbg.c (read_section_stabs_debugging_info): Also recognize
298 LC_SYMTAB.stab/LC_SYMTAB.stabstr as a valid pair of sections.
299
b54e7460
CF
3002002-11-11 Christopher Faylor <cgf@redhat.com>
301
302 * MAINTAINERS: Reinstate DJ Delorie as COFF maintainer. Drop COFF from
303 cgf maintainership.
304
4f17cc13
CF
3052002-11-11 Christopher Faylor <cgf@redhat.com>
306
307 * MAINTAINERS: Replace DJ Delorie as PE/COFF maintainer.
308
232e7cb8
NC
3092002-11-07 Nick Clifton <nickc@redhat.com>
310
cd24c222 311 * configure.in (ALL_LINGUAS): Add 'da'.
235c4794
NC
312 * configure: Regenerate.
313 * po/da.po: New Danish translation.
314
232e7cb8
NC
315 * readelf.c (get_symbol_index_type): Revert part of previous
316 patch: Display unknown symbol types in decimal, not hex.
317
c9e38879
NC
3182002-11-07 Danny Smith <dannysmith@users.sourceforge.net>
319
320 * dlltool.c (add_excludes): Don't prefix excluded fastcall
321 symbols with underscore.
322 (xlate): Ignore add_underscore for decorated fastcall symbols.
323
3242002-11-07 Eric Kohl <ekohl@rz-online.de>
325
326 * deflex.l: Accept '@' as first character of an ID.
327 * dlltool.c (gen_exp_file): Use existing '@' prefix rather than
328 ASM_PREFIX for fastcall symbols.
329 (scan_drectve_symbols): Handle fastcall symbols when generating
330 undecorated aliases for symbols in drectve section.
331 (scan_filtered_symbols): Likewise, with export-all.
332 (xlate): Likewise, with --kill-at.
333 (make_imp_label): New function to handle fastcall symbols
334 correctly.
335 (make_one_lib_file): Use make_imp_label instead of make_label
336 for imp symbols.
337
a700dc3b
SS
3382002-11-06 Svein E. Seldal <Svein.Seldal@solidas.com>
339
340 * MAINTAINERS: Add self as TIC4X maintainer.
341
5cf1065c
NC
3422002-11-06 Hiroyuki Machida <machida@sm.sony.co.jp>
343
344 * readelf.c (get_symbol_index_type): Add hex number to
49814ed0
NC
345 PROCESSOR-specific, OS-specific, reserved and unknown symbol
346 types.
5cf1065c 347
f1ef08cb
AM
3482002-11-04 Alan Modra <amodra@bigpond.net.au>
349
350 * readelf.c (byte_get_little_endian): Comment typo fix.
351 (print_symbol): Constify "symbol" arg. Don't pass "symbol" to printf
352 as the format string.
353 (dump_relocations): Correct section sym names.
354 (process_section_headers): Clear symtab_shndx_hdr.
355 (read_and_display_attr_value): Don't pass indirect string to printf
356 as the format string.
357 (display_debug_frames): Indicate when zero terminator found. Decode
358 DW_EH_PE_pcrel addresses.
359
1a09a22c
NC
3602002-10-23 Svein E. Seldal <Svein.Seldal@solidas.com>
361
362 * configure.in: Define SKIP_ZEROES as 32 for tic4x target in
363 order to ensure proper disassembly of the valid 0-value opcode.
364 * configure: Regenerate.
365 * aclocal.m4: Regenerate.
366 * config.in: Regenerate.
367 * configure.in: Regenerate.
368 * doc/Makefile.in: Regenerate.
369 * po/binutils.pot: Regenerate.
370
c254c557
KK
3712002-10-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
372
373 * MAINTAINERS: Add self as SH maintainer.
374
aefbdd67
BE
3752002-10-23 Ben Elliston <bje@redhat.com>
376
377 * doc/binutils.texi (objdump): Document -z and move the entry for
378 --disassemble-zeroes to the end of the options section (for `z').
379
ab9bcc01
NC
3802002-10-21 Nick Clifton <nickc@redhat.com>
381
382 * MAINTAINERS: Discontinue Hans-Peter Nilsson as SH maintainer.
383
8ab56b6f
AM
3842002-10-21 Svein E. Seldal <Svein.Seldal@solidas.com>
385
386 * objdump.c (dump_data): Correct addr_offset for opb != 1.
387
49c12576
AM
3882002-10-15 Alan Modra <amodra@bigpond.net.au>
389
48417c1a
AM
390 * bucomm.c (list_supported_targets): Use bfd_target_list.
391
49c12576
AM
392 * objcopy.c (copy_file): Report ambiguous bfd_object matches, and
393 other object errors in preference to bfd_core errors.
394
6e1a7e9a
AM
3952002-10-14 Alan Modra <amodra@bigpond.net.au>
396
397 * Makefile.am: Run "make dep-am".
398 * objdump.c: #include "bfdver.h".
399 * version.c: Likewise.
400 * Makefile.in: Regenerate.
401 * config.in: Regenerate.
402 * configure: Regenerate.
403 * po/POTFILES.in: Regenerate.
404
09fc3b02
DJ
4052002-10-09 Daniel Jacobowitz <drow@mvista.com>
406
407 * readelf.c (display_debug_info): Ignore empty .rela.debug_info
408 sections. Allow relocations against the absolute symbol. Don't
409 use the value in compunit.cu_abbrev_offset if we found a RELA
8ab56b6f 410 relocation.
09fc3b02 411
f309035a
NC
4122002-10-07 Gordon Chaffee <chaffee@netvmg.com>
413
414 * addr2line.c (slurp_symtab): Read in dynamic symbols if no
415 ordinary ones are available.
416
810dfa6e
L
4172002-09-30 H.J. Lu <hjl@gnu.org>
418
419 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_4120,
420 E_MIPS_MACH_5400 and E_MIPS_MACH_5500.
421
bb279dc0
ZW
4222002-09-17 Zack Weinberg <zack@codesourcery.com>
423
424 * Makefile.am (CFILES): Add cxxfilt.c.
425 (cxxfilt_SOURCES): Now just cxxfilt.c $(BULIBS).
426 (cxxfilt_LDADD): Delete.
427 Remove all references to underscore.c.
428 Regen dependencies.
429 * configure.in: Define TARGET_PREPENDS_UNDERSCORE in
430 config.h from $UNDERSCORE, rather than AC_SUBSTing it.
431 * binutils/cxxfilt.c: Moved here from gcc/cp, minor
432 adjustments to fit into binutils framework.
433 * configure, config.in, Makefile.in, doc/Makefile.in: Regenerate.
434
065c959b
NC
4352002-09-12 Roland McGrath <roland@redhat.com>
436
437 * readelf.c (decode_location_expression): DW_OP_calli -> DW_OP_call_ref
438 Handle DW_OP_GNU_push_tls_address.
439
e09f4395
NC
4402002-09-11 Nick Clifton <nickc@redhat.com>
441
442 * po/tr.po: Updated Turkish translation.
443
873e0588
NC
4442002-09-10 Nick Clifton <nickc@redhat.com>
445
446 * MAINTAINERS: Add Ben Elliston as a maintainer for configure and
447 testsuite changes. Add paragraphs about testsuite and config
448 patches.
449
069fe61f
NC
4502002-08-29 Nick Clifton <nickc@redhat.com>
451
452 * readelf.c (get_machine_flags): Remove redundant reference to
453 E_V850EA_ARCH.
454
fe0507eb
AM
4552002-08-28 Alan Modra <amodra@bigpond.net.au>
456
457 * objdump.c (dump_bfd): Restore lines accidentally deleted in
458 last commit.
459
026df7c5
NC
4602002-08-28 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
461
bb279dc0 462 * objdump.c (dump_headers): Add printing of HAS_LOAD_PAGE flag.
026df7c5
NC
463 (dump_bfd_header): Likewise.
464
68a4c073
AM
4652002-08-27 Alan Modra <amodra@bigpond.net.au>
466
467 * nm.c: Revert last change.
468
a1df01d1
AM
4692002-08-26 Alan Modra <amodra@bigpond.net.au>
470
471 * nm.c (display_rel_file): Don't report "no symbols" as an error.
472 * objdump.c (slurp_symtab): Likewise.
473 (slurp_dynamic_symtab): Likewise.
474 (dump_symbols): Likewise. Do print "no symbols" to stdout.
475
a926ab2f
GK
4762002-08-24 Geoffrey Keating <geoffk@redhat.com>
477
478 * MAINTAINERS: Change my mailing address.
479
fcf62380
DA
4802002-08-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
481
482 * MAINTAINERS: Add Dave Anglin as HPPA co-maintainer.
483
51e28791
NC
4842002-08-22 Nick Clifton <nickc@redhat.com>
485
486 * MAINTAINERS: Add Jeff Law as (maintainance) maintainer for
487 HPPA.
488
c5b060ad
AM
4892002-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
490
491 * readelf.c (parse_args): Change debug_dump_opt to static.
492
4b73ca92
NC
4932002-08-16 Sivaguru Sankaridurg <siva@eternal-systems.com>
494
495 * stabs.c (parse_stab_argtype): Pass length of physname to
496 stab_demangle_argtypes.
497 (stab_demangle_argtypes): Add new parameter - length of physname.
498 Pass length of physname on to stab_demangle_prefix.
499 (stab_demangle_prefix): Add new parameter - length of physname.
500 Use length of physname (if supplied) to compute end of function
501 name.
502
35b1837e
AM
5032002-08-15 Alan Modra <amodra@bigpond.net.au>
504
505 * readelf.c: Include elf/i370.h.
506 (dump_relocations): Handle EM_S370.
507 (dynamic_segment_parisc_val): Print \n.
508 (process_dynamic_segment <DT_BIND_NOW>): Here too.
509
762baac5
NC
5102002-08-14 Nick Clifton <nickc@redhat.com>
511
512 * nm.c (usage): Change 'gnu-new-abi' to 'gnu-v3'.
513 * objdump.c (usage): Likewise.
514 * doc/binutils.texi: Likewise.
515
85c09e8a
NC
5162002-08-14 Luke Dunstan <infidel@users.sourceforge.net>
517
518 * rcparse.y (acc_entry): Don't warn about ALT use with
519 non-VIRTKEY.
520
212a3c4d
L
5212002-08-13 H.J. Lu <hjl@gnu.org>
522
523 * objcopy.c (copy_object): Don't warn about the unsupported
524 architecture unless the input target is defaulted or the
525 output architecture is different from the input.
526
2b692c59
NC
5272002-08-09 Nick Clifton <nickc@redhat.com>
528
529 * po/sv.po: Updated Swedish translation.
530
09de7a73
AM
5312002-08-05 Alan Modra <amodra@bigpond.net.au>
532
533 * prdbg.c (pr_fix_visibility): Remove assert.
534
47badb7b
NC
5352002-07-31 Nick Clifton <nickc@redhat.com>
536
537 * addr2line.c (process_file): Rename parameter 'filename' to
538 'file_name' in order to avoid shadowing global symbol of the
539 same name.
540 (main): Likewise.
541
2979dc34
JJ
5422002-07-30 Jakub Jelinek <jakub@redhat.com>
543
544 * readelf.c (OPTION_DEBUG_DUMP): Define.
545 (options): Use it.
546 (usage): Update help.
547 (parse_args): Handle --debug-dump separately from -w.
548 * doc/binutils.texi (readelf): Update documentation.
549
219576a4
NC
5502002-07-25 Nick Clifton <nickc@redhat.com>
551
552 * po/es.po: Updated Spanish translation.
553 * po/fr.po: Updated French translation.
554
bf4f22e6 5552002-07-24 Nick Clifton <nickc@redhat.com>
bb279dc0 556
bf4f22e6
NC
557 * po/es.po: Updated Spanish translation.
558
c5b3a82a
AM
5592002-07-23 Alan Modra <amodra@bigpond.net.au>
560
561 * Makefile.am: Run "make dep-am".
562 * Makefile.in: Regenerate.
563
0461a601
NC
5642002-07-23 Nick Clifton <nickc@redhat.com>
565
bf4f22e6 566 * po/fr.po: Updated French translation.
0461a601 567
bf44dd74
AM
5682002-07-23 Eric S. Raymond <esr@golux.thyrsus.com>
569
570 * doc/binutils.texi (addr2line <man synopsis>): Correct brackets.
571
2c205ff2
AM
5722002-07-20 Alan Modra <amodra@bigpond.net.au>
573
63eb0809 574 * budemang.c: Include config.h and string.h/strings.h.
2c205ff2 575
1e4cf259
NC
5762002-07-18 Denis Chertykov <denisc@overta.ru>
577 Frank Ch. Eigler <fche@redhat.com>
578
579 * readelf.c: Include "elf/ip2k.h".
580 (guess_is_rela): Add support for EM_IP2K and EM_IP2K_OLD.
581 (dump_relocations): Likewise.
582 (get_machine_name): Likewise.
583 * NEWS: Mention IP2K support.
584
2cbb2eef
NC
5852002-07-16 Nick Clifton <nickc@cambridge.redhat.com>
586
587 * NEWS: Add 'Changes in 2.13'.
588
047b2264
JJ
5892002-07-10 Jakub Jelinek <jakub@redhat.com>
590
591 * readelf.c (get_dynamic_type): Handle DT_GNU_PRELINKED,
592 DT_GNU_CONFLICT* and DT_GNU_LIBLISZ*.
593 (get_section_type_name): Handle SHT_GNU_LIBLIST.
594 (process_dynamic_segment): Handle DT_GNU_CONFLICTSZ,
595 DT_GNU_LIBLISTSZ and DT_GNU_PRELINKED.
596 (process_gnu_liblist): New.
597 (process_file): Call it.
598
97230b15
AM
5992002-07-03 Alan Modra <amodra@bigpond.net.au>
600
601 * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
602 * Makefile.in: Regenerate.
603
a6637ec0
AM
6042002-07-02 Alan Modra <amodra@bigpond.net.au>
605
606 * budemang.c: New file, "demangle" function.
607 * budemang.h: New file.
608 * addr2line.c (translate_addresses): Use "demangle".
609 * nm.c (print_symname): Likewise.
610 * objdump.c (objdump_print_symname): Likewise.
611 (dump_symbols): Likewise. Also, don't use bfd_asymbol_name macro
612 here since that obfuscates.
613 * rdcoff.c: Don't #include demangle.h.
614 * Makefile.am (CFILES): Add budemang.c, emul_aix.c,
615 emul_vanilla.c. Remove emul_$(EMULATION).c. Sort.
616 (HFILES): Add budemang.h. Sort.
617 (nm_new_SOURCES, objdump_SOURCES, addr2line_SOURCES): Add budemang.c.
618 Run "make dep-am".
619 * Makefile.in: Regenerate.
620
179d3252
JT
6212002-07-01 Matt Thomas <matt@3am-software.com>
622
623 * readelf.c: Include "elf/vax.h".
624 (guess_is_rela): Move EM_VAX from unknown to RELA case.
625 (dump_relocations): Handle VAX relocations.
626 (get_machine_flags): Handle VAX machine flags.
627
75751cd9
SC
6282002-06-29 Stephane Carrez <stcarrez@nerim.fr>
629
630 * readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.
631
e5851ab8
NC
6322002-06-26 Nick Clifton <nickc@cambridge.redhat.com>
633
634 * MAINTAINERS: Remove Tom Rix from d10v and pcc maintainerships.
635
eb3f2f5c
AM
6362002-06-26 Alan Modra <amodra@bigpond.net.au>
637
638 * nm.c (print_symname): When demangling, strip leading dots from
639 symbol names to avoid confusing the demangler.
640
a13a0de8
L
6412002-06-25 H.J. Lu <hjl@gnu.org>
642
643 * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
644 * Makefile.in: Regenerated.
645
6db7a086
AM
6462002-06-21 Igor Schein <igor@txc.com>
647
648 * configure.in: Quote bu_cv_have_fopen64.
649 * configure: Regenerate.
650
9710509e
AM
6512002-06-21 Mitsru Chinen <chinen@jp.ibm.com>
652
653 * configure.in: Check for strcoll.
654 * configure: Regenerate.
655 * config.in: Regenerate.
656 * nm.c (main): Set locale for LC_COLLATE category.
657 (non_numeric_forward): Use strcoll if available.
658
a9f0b5e7
DB
6592002-06-20 Dave Brolley <brolley@redhat.com>
660
661 * MAINTAINERS: Add self as fr30 and frv maintainer.
662
33f5f537
L
6632002-06-18 H.J. Lu (hjl@gnu.org)
664
665 * nm.c: Include "elf/common.h".
666 (extended_symbol_info): Add elfinfo, a pointer to
667 elf_symbol_type.
668 (SYM_SIZE): Use elfinfo if it is not NULL.
669 (get_symbol_type): New function.
670 (display_archive): Set print_width for each archive member.
671 (display_file): Likewise.
672 (display_rel_file): Don't set print_width here.
673 (print_object_filename_sysv): Handle print_width.
674 (print_archive_member_sysv): Likewise.
675 (print_symbols): Pass (bfd_vma) 0 to print_symbol.
676 (print_symbol): Set the elfinfo field in extended_symbol_info
677 for ELF.
678 (print_object_filename_sysv): Fix the output format.
679 (print_symbol_info_sysv): Print type and section for ELF.
680
6812002-06-18 Elias Athanasopoulos <eathan@otenet.gr>
682
683 * nm.c (print_size_symbols): Remove assignment, which makes
bb279dc0 684 the symbol's size equal to its value when --size-sort is
33f5f537
L
685 used.
686
5c70f934
DB
6872002-06-18 Dave Brolley <brolley@redhat.com>
688
689 From Catherine Moore:
690 * readelf.c (elf/frv.h): #include it.
691 (guess_is_rela): Support EM_CYGNUS_FRV.
692 (dump_relocations): Ditto.
693 (get_machine_name): Ditto.
694 * Makefile.am (readelf.o): add dependency on $(INCDIR)/elf/frv.h.
695
7ece0d85
JJ
6962002-06-18 Jakub Jelinek <jakub@redhat.com>
697
698 * readelf.c (get_file_header): Only read the first section header if
699 e_shoff is non-zero.
700
72797995
L
7012002-06-15 H.J. Lu (hjl@gnu.org)
702
703 * nm.c (print_size): New variable. Initialize to 0.
704 (long_options): Add 'S'/"print-size".
705 (main): Handle 'S'.
706 (print_symbol_info_bsd): Print size only if print_size is not
707 0.
708
709 * doc/binutils.texi: Document -S/--print-size.
710
977f7911
NC
7112002-6-13 Elias Athanasopoulos <eathan@otenet.gr>
712
713 * nm.c (struct extended_symbol_info): New strcuture: Add the size
714 of the symbols to the information provided by the symbol_info
715 structure.
716 (print_symbols): Pass the symbol size to print_symbol.
717 (print_size_symbols): Pass the symbol size to print_symbol.
718 (print_symbol): Extra argument: The size of the symbol. Store
719 this in the extended_symbol_info structure.
720 (print_symbol_info): Change type of info parameter to
721 extended_symbol_info. Display the size, if known.
722 (print_symbol_info_posix): Likewise.
723 (print_symbol_info_sysv): Likewise.
724
b1f88ebe
AM
7252002-06-08 Alan Modra <amodra@bigpond.net.au>
726
fa449227
AM
727 * Makefile.am: Run "make dep-am".
728 * Makefile.in: Regenerate.
729 * doc/Makefile.in: Regnerate.
730
b1f88ebe
AM
731 * bucomm.c: Replace CONST with const.
732 * nm.c: Likewise.
733 * objdump.c: Likewise.
734
91a106e6
L
7352002-06-07 H.J. Lu <hjl@gnu.org>
736
737 * readelf.c (DW_CFA_GNU_args_size): Don't define.
738 (DW_CFA_GNU_negative_offset_extended): Likewise.
739 (DW_CFA_GNU_window_save): Likewise.
740 (display_debug_frames): Handle DW_CFA_offset_extended_sf,
741 DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
742
6ab6b380 7432002-06-07 Elias Athanasopoulos <eathan@otenet.gr>
bb279dc0 744
6ab6b380
NC
745 * nm.c: When computing size of symbols for an ELF target use the
746 internal size field.
747
e28e05a3
JL
7482002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
749
750 * testsuite/binutils-all/objcopy.exp: clear xfail for
751 "hppa*64*-*-hpux*".
752 * testsuite/binutils-all/hppa/objdump.exp: Return if
753 "*64*-*-*".
754
dc156bc0
AM
7552002-06-05 Alan Modra <amodra@bigpond.net.au>
756
757 * objcopy.c (copy_section): Don't copy SEC_GROUP sections.
758
7592002-06-03 Elias Athanasopoulos <eathan@otenet.gr>
28b18af1
AM
760
761 * objdump.c: Fix formatting.
762
d79e4ea3
BE
7632002-05-29 Ben Elliston <bje@redhat.com>
764
765 * MAINTAINERS: Add self as M68k maintainer.
766
d172d4ba
NC
7672002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
768
769 * readelf.c: Modified/Added DLX elf support.
770
7edb8f29
NC
7712002-05-27 Nick Clifton <nickc@cambridge.redhat.com>
772
3a1a2036
NC
773 * arsup.c: Fix formatting.
774 * debug.c (debug_record_label): Add missing colon to error
775 message.
776 * ieee.c (parse_ieee_ty): Fix spelling typo.
777 * readelf.c (process_program_headers): Remove English assumption
778 about making a plural word.
779 (process_section_headers): Likewise.
780 (process_relocs): Allow quotes to be translated.
781 (process_unwind): Likewise,
782 (process_mips_specific): Improve error message.
783 (get_note_type): Fix spelling typo.
784
7edb8f29
NC
785 * configure.in (ALL_LINGUAS): Add sv
786 * po/sv.po: New file.
787
3eee1e9d
AM
7882002-05-27 Alan Modra <amodra@bigpond.net.au>
789
790 * unwind-ia64.c (unw_print_brmask): Don't use sprintf.
791 (unw_print_grmask): Likewise.
792 (unw_print_frmask): Likewise.
793
d43efbe3
KH
7942002-05-26 Kazu Hirata <kazu@cs.umass.edu>
795
796 * arsup.c: Remove ARGSUSED.
797 * debug.c: Likewise.
798 * ieee.c: Likewise.
799 * nlmconv.c: Likewise.
800 * prdbg.c: Likewise.
801 * stabs.c: Likewise.
802 * wrstabs.c: Likewise.
803
e9792343
AM
8042002-05-25 Alan Modra <amodra@bigpond.net.au>
805
806 * arlex.l: Use #include "" instead of <> for local header files.
807 * coffdump.c: Likewise.
808 * coffgrok.c: Likewise.
809 * nlmconv.c: Likewise.
810 * nlmheader.y: Likewise.
811 * srconv.c: Likewise.
812 * strings.c: Likewise.
813 * sysdump.c: Likewise.
814 * unwind-ia64.h: Likewise.
815 * windres.h: Likewise.
816 * winduni.h: Likewise.
817
d7e53452
TR
8182002-05-24 Tom Rix <trix@redhat.com>
819
820 * MAINTAINERS: Add self as the d10v maintainer.
821
436e8db0
NC
8222002-05-24 TAMURA Kent <kent@netbsd.org>
823
824 * configure.in: Builds dlltool for i386-netbsdpe.
825 * configure: Regenerate.
826
9f66665a
KH
8272002-05-23 Kazu Hirata <kazu@cs.umass.edu>
828
829 * size.c: Fix formatting.
830 * srconv.c: Likewise.
831 * stabs.c: Likewise.
832 * sysdump.c: Likewise.
833 * unwind-ia64.c: Likewise.
834 * wrstabs.c: Likewise.
835
13ae64f3
JJ
8362002-05-23 Jakub Jelinek <jakub@redhat.com>
837
838 * readelf.c (get_segment_type): Add PT_TLS.
839 (get_elf_section_flags): Add SHF_TLS.
840 (get_dynamic_flags): Optimize. Add DF_STATIC_TLS.
841 (process_dynamic_segment): Use puts instead of printf.
842 (get_symbol_type): Support STT_TLS.
843 * objdump.c (dump_section_header): Remove SEC_CONSTRUCTOR_TEXT,
844 SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS.
845 Add SEC_THREAD_LOCAL.
846
53c7db4b
KH
8472002-05-23 Kazu Hirata <kazu@cs.umass.edu>
848
849 * rdcoff.c: Fix formatting.
850 * rddbg.c: Likewise.
851 * readelf.c: Likewise.
852 * rename.c: Likewise.
853 * resbin.c: Likewise.
854 * resrc.c: Likewise.
855 * resres.c: Likewise.
856
0af11b59
KH
8572002-05-21 Kazu Hirata <kazu@cs.umass.edu>
858
859 * filemode.c: Fix formatting.
860 * ieee.c: Likewise.
861 * is-ranlib.c: Likewise.
862 * is-strip.c: Likewise.
863 * maybe-ranlib.c: Likewise.
864 * maybe-strip.c: Likewise.
865 * nlmconv.c: Likewise.
866 * nm.c: Likewise.
867 * not-ranlib.c: Likewise.
868 * not-strip.c: Likewise.
869 * objcopy.c: Likewise.
870 * objdump.c: Likewise.
871
21611032
TS
8722002-05-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
873
874 * objdump.c (dump_headers): Fix output formatting for ELF32
875 architectures in a BFD64 enabled toolchain.
876
26044998
KH
8772002-05-20 Kazu Hirata <kazu@cs.umass.edu>
878
879 * debug.c: Fix formatting.
880 * debug.h: Likewise.
881 * dlltool.c: Likewise.
882 * dllwrap.c: Likewise.
883 * emul_aix.c: Likewise.
884 * emul_vanilla.c: Likewise.
885
f462a9ea
KH
8862002-05-19 Kazu Hirata <kazu@cs.umass.edu>
887
888 * addr2line.c: Fix formatting.
889 * ar.c: Likewise.
890 * arsup.c: Likewise.
891 * arsup.h: Likewise.
892 * binemul.c: Likewise.
893 * binemul.h: Likewise.
894 * bucomm.c: Likewise.
895 * coffdump.c: Likewise.
896 * coffgrok.c: Likewise.
897 * coffgrok.h: Likewise.
898
e0159aa9
MM
8992002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
900
901 * MAINTAINERS: Add myself as the second AVR port maintainer.
902
074b403e
SC
9032002-05-16 Stephane Carrez <stcarrez@nerim.fr>
904
905 * MAINTAINERS: Update my email address.
906
2b9c8201
NC
9072002-05-09 Nick Clifton <nickc@cambridge.redhat.com>
908
909 * MAINTAINERS: Add Jason Thorpe as VAX maintainer.
910
e1d5b1e7
AM
9112002-05-09 Alan Modra <amodra@bigpond.net.au>
912
913 * configure.in: Replace `*pe' with `pe' throughout.
914 * configure: Regenerate.
915
d3d8a9ee
NC
9162002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
917
918 * Makefile.am: Honour DESTDIR.
919 * Makefile.in: Regenerate.
920
405c98a4
AM
9212002-05-06 Alan Modra <amodra@bigpond.net.au>
922
a02d5965
AM
923 * dlltool.c (process_def_file): Add missing prototype.
924 (new_directive, assemble_file, main): Likewise.
925 (process_def_file, new_directive): Make static.
926 (inform): Rewrite using VA_FIXEDARG.
927 * dllwrap.c (mybasename): Add missing prototype.
928 (strhash, main): Likewise.
929 (inform): Rewrite using VA_FIXEDARG.
930 (warn): Likewise.
931 (cleanup_and_exit): Use old style function definition.
932 (strhash): Likewise.
933 * windres.c (define_resource): Use one memset to clear all of
934 struct res_resource.
935
405c98a4 936 * rcparse.y: Remove newcmd rule. Move rcparse_discard_strings
a02d5965 937 call to rules that need no lookahead. Check for no lookahead.
405c98a4
AM
938
9392002-05-06 Borut Razem <borut.razem@siol.net>
940
941 * rclex.l (get_string): Correct "strings" list handling.
942 * resrc.c (read_rc_file): Discard strings.
943
91593c9d
AM
9442002-05-04 Alan Modra <amodra@bigpond.net.au>
945
e58a75dc
AM
946 * ar.c (replace_members): Remove unused var. Formatting fix.
947 * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
948
91593c9d
AM
949 * MAINTAINERS: Sort port maintainers by CPU.
950
6b52b824
AM
9512002-05-04 Bob Byrnes <byrnes@curl.com>
952
953 * size.c (display_archive): Add last_arfile and code to close archives.
954
dd70071f
AM
9552002-05-01 Alan Modra <amodra@bigpond.net.au>
956
957 * nm.c (print_symbol): Check returned filename from
958 bfd_find_nearest_line is non-NULL.
959
6c95717a 9602002-04-25 Elena Zannoni <ezannoni@redhat.com>
bb279dc0
ZW
961
962 * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
6c95717a 963
3c25c5f6
NC
9642002-04-24 Christian Groessler <chris@groessler.org>
965
966 * MAINTAINERS: Changed my email address.
967
944cd72c
TS
9682002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
969
970 * arparse.y: Fix syntax warning.
971
ea91f8bb
NC
9722002-04-16 Nick Clifton <nickc@cambridge.redhat.com>
973
3e55a963
NC
974 * readelf.c (fetch_location_list): Remove unused function.
975
976 * readelf.c (process_corefile_note_segment): Catch corrupt notes
977 and display a warning message, then exit the loop.
978
ea91f8bb
NC
979 * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
980
45b99827
NC
9812002-04-15 Nick Clifton <nickc@cambridge.redhat.com>
982
983 * resrc.c (write_rc_dialog): If charset is non-default value
984 display all of the DIALOGEX parameters.
985
9862002-04-15 Eric Kohl <ekohl@rz-online.de>
987
bb279dc0 988 * rcparse.y: Allow two to five parameter in FONT statement of
45b99827
NC
989 DIALOGEX resources.
990 * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
991 resource data.
bb279dc0 992 (res_to_bin_dialog): Likewise.
45b99827
NC
993 * windres.h: Added misssing charset variable to dialog_ex
994 structure.
995
acfbab8a
NC
9962002-04-10 Nick Clifton <nickc@cambridge.redhat.com>
997
998 * rcparse.y: Set MEMFLAG_PURE by default.
999
df3baf66
NC
10002002-04-09 Bernd Herd <info@herdsoft.com>
1001
bb279dc0 1002 * rcparse.y: CLASS definitions in DIALOG resources
df3baf66 1003 are quoted.
4c30641a 1004 Fix typo in BEDIT warning.
91eafb40 1005 Don't add default dialog style when explicit style specified.
b62a12ca 1006 Add WS_CAPTION dialog style if CAPTION is specified.
4c30641a 1007
b24eb5ac
NC
1008 * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
1009 (handle_quotes) "\a" escape (used for right justified key
1010 definitions in menus) is encodes as binary 8.
df3baf66 1011
b24eb5ac
NC
1012 * resrc.c (write_rc_dialog): Print style even if it is 0.
1013 (write_rc_directory): Fix overlooked sublang shift bug.
420380ba 1014 (bin_to_res_dialog): Don't print empty dialog caption.
7e8d45b7 1015
b24eb5ac
NC
1016 * resbin.c (bin_to_res_dialog): Use signature to identify
1017 DIALOGEX.
f7d63484 1018
b24eb5ac 1019 * windres.c (main): Set default LANGUAGE to english/us.
f7d63484 1020
df3baf66
NC
10212002-04-09 Gunnar Degnbol <degnbol@danbbs.dk>
1022
1023 * resrc.c: print CLASS names in quotes
1024
10252002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
9c5382a0
JR
1026
1027 * MAINTAINERS: Update my email address.
1028
8e42bcb6
AM
10292002-04-04 Alan Modra <amodra@bigpond.net.au>
1030
1031 * dep-in.sed: Cope with absolute paths.
1032 * Makefile.am (dep.sed): Subst TOPDIR.
1033 Run "make dep-am".
1034 * Makefile.in: Regenerate.
1035
96f959e5
PT
10362002-03-27 Peter Targett <peter.targett@arc.com>
1037
1038 * MAINTAINERS: Update my email address.
1039
1ea788ee
AM
10402002-03-21 Alan Modra <amodra@bigpond.net.au>
1041
1042 * Makefile.am: Run "make dep-am".
1043 * Makefile.in: Regenerate.
1044 * doc/Makefile.in: Regenerate.
1045 * po/POTFILES.in: Regenerate.
1046 * aclocal.m4: Regenerate.
1047 * config.in: Regenerate.
1048 * configure: Regenerate.
1049
a2f14207
DB
10502002-03-20 Daniel Berlin <dan@dberlin.org>
1051
1052 * readelf.c: Add support for displaying dwarf2 location lists.
1053 (do_debug_loc, debug_loc_section, debug_loc_size): New.
1054 (parse_args): Use 'O' as shorthand for displaying location list
1055 section.
1056 (process_section_headers): Handle debug_loc as well.
1057 (load_debug_loc): New.
1058 (free_debug_loc): New.
1059 (fetch_location_list): New.
1060 (display_debug_loc): New.
1061 (display_debug_info): Call load_debug_loc and free_debug_loc.
1062 (debug_displays): We can display .debug_loc now, too.
1063 (usage): Update usage string.
1064 (read_and_display_attr_value): Note location lists, but don't
1065 display them inline.
1066
eb1e0e80
NC
10672002-03-18 Tom Rix <trix@redhat.com>
1068
1069 * Makefile.am: Add binutils emulation support.
1070 * configure.in: Same.
1071 * configure.tgt: New file. Same.
1072 * ar.c (main): Use ar_emul_parse_arg.
1073 (usage): Use ar_emul_usage.
1074 (replace_members): Use ar_emul_replace, ar_emul_append.
1075 * binemul.c: New file. Define the binutils emulation
1076 layer. Define default methods.
1077 * binemul.h: New file. Binutils emulation layer header file.
1078 * emul_aix.c: New file. AIX binutils emulation.
1079 * emul_vanilla.c: New file. Default binutils emulation.
1080 * Makefile.in: Regenerate.
1081 * configure: Same.
1082
a1c259a1
NC
10832002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
1084
1085 * po/fr.po: Updated version.
1086
9ce88e60
NC
10872002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
1088
1089 * po/fr.po: Updated version.
1090
effb0601
DJ
10912002-03-07 Daniel Jacobowitz <drow@mvista.com>
1092
1093 * README: Update some version numbers.
1094
a65688ab
DJ
10952002-03-07 Daniel Jacobowitz <drow@mvista.com>
1096
1097 * doc/binutils.texi (Target Selection): Fix LD crossreferences.
1098 (Architecture Selection): Likewise.
1099
f3f7fbb2
NC
11002002-03-01 Dmitry Timoshkov <dmitry@baikal.ru>
1101
1102 * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
1103 generating .exp file.
1104
25345be5
NC
11052002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
1106
1107 * readelf.c (dump_relocations): Fix typo.
1108
9a66911f
NC
11092002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
1110
1111 * NEWS: Mark 2.12 branch.
1112
2c71103e
NC
11132002-02-18 Timothy Daly <remote_bob@yahoo.com>
1114
bb279dc0
ZW
1115 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
1116 types for 64-bit MIPS. Narrow some fields for 80-char
2c71103e 1117 output.
bb279dc0 1118 (dump_relocations): Change spelling from 'unrecognised'
2c71103e
NC
1119 to 'unrecognized'.
1120 (decode_ARM_machine_flags): Likewise.
1121 (parse_args): Likewise.
1122 (read_and_display_attr_value): Likewise.
1123 (display_debug_section): Likewise.
1124
49fda6c8
HPN
11252002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
1126
1127 * NEWS: Mention support for MMIX.
1128
76f57f3a
JT
11292002-02-13 Matt Fredette <fredette@netbsd.org>
1130
1131 * readelf.c (get_machine_flags): Recognize EF_M68000.
1132
d36ca9c2
AO
11332002-02-12 Alexandre Oliva <aoliva@redhat.com>
1134
1135 * MAINTAINERS: Added self as MN10300 co-maintainer.
1136
19397422
AM
11372002-02-12 Alan Modra <amodra@bigpond.net.au>
1138
1139 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
1140 DT_PPC64_OPDSZ.
1141
d434e574
DJ
11422002-02-11 Daniel Jacobowitz <drow@mvista.com>
1143
1144 * MAINTAINERS: List myself as branch maintainer.
1145
12b87c89
AM
11462002-02-11 Alan Modra <amodra@bigpond.net.au>
1147
1148 * configure: Regenerate.
1149 * objcopy.c: Update copyright date.
1150 * doc/Makefile.in: Regenerate.
1151
8d037c5c
DJ
11522002-02-10 Daniel Jacobowitz <drow@mvista.com>
1153
1154 * nlmconv.c: Back out localtime PARAMS change.
1155
4c168fa3
AM
11562002-02-11 Alan Modra <amodra@bigpond.net.au>
1157
1158 * objcopy.c (MKDIR): Define.
1159 (copy_archive): Make name_list.name const. Use MKDIR.
1160 Handle duplicate files in archives by making more temp dirs.
1161
408f8db1
DJ
11622002-02-10 Daniel Jacobowitz <drow@mvista.com>
1163
1164 * coffdump.c: Include "getopt.h" after "bucomm.h"
1165 so that macros are defined correctly.
1166 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
1167 prototype. Prototype main.
1168 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
1169
9f77fa06
AO
11702002-02-06 Alexandre Oliva <aoliva@redhat.com>
1171
1172 * MAINTAINERS: Added self as SH co-maintainer.
1173
82f6addb
NC
11742002-02-05 Nick Clifton <nickc@redhat.com>
1175
1176 * po/tr.po: Updated translation.
1177
ba323545
AM
11782002-02-01 Alan Modra <amodra@bigpond.net.au>
1179
1180 * Makefile.am: Run "make dep-am"
1181 * Makefile.in: Regenerate.
1182
3deb89d3
DJ
11832002-01-29 Daniel Jacobowitz <drow@mvista.com>
1184
1185 * nm.c (print_value): Mark abfd unused.
1186
a0e9c55f
DJ
11872002-01-29 Daniel Jacobowitz <drow@mvista.com>
1188
1189 * unwind-ia64.c (unw_decoder): Change second argument
1190 to unsigned int, to match function prototypes.
1191
d7a283d4
DJ
11922002-01-29 Daniel Jacobowitz <drow@mvista.com>
1193
1194 * objdump.c: Include "getopt.h" after "bucomm.h" so that
1195 __GNU_LIBRARY__ will be defined.
1196 * size.c: Likewise.
1197
4867be41
DJ
11982002-01-27 Daniel Jacobowitz <drow@mvista.com>
1199
1200 * configure: Regenerated.
1201
7562a296
HPN
12022002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
1203
1204 * doc/Makefile.am (install): Depend on install-info.
1205 * doc/Makefile.in: Regenerate.
1206
15c82623
NC
12072002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
1208
1209 * objcopy.c (strip_usage): Document -d as an alias
1210 --strip-debug.
1211
1212 * size.c (usage): Document [-t | --totals] options.
1213 (long_options): Add --totals option.
1214 (main): If the [-t | --totals] option is specified and
1215 the output format is Berkeley-style, print the total
1216 text, data, and bss sizes of all objects listed.
1217 (print_berkeley_format): If the [-t | --totals] option
1218 is specified, track the total text, data, and bss
1219 sizes.
1220 * doc/binutils.texi (size): Document [-t | --totals] options.
1221 (strip): Document -d as an alias for --strip-debug.
1222 * NEWS: Mention new feature of size.
1223
00ea8601 12242002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
b85cedd7 1225
1ddbd152
NC
1226 * po/fr.po: Updated version.
1227 * po/es.po: Updated version.
b85cedd7 1228
8b53311e
NC
12292002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
1230
1231 * addr2line.c (usage): Update text to provide verbose
1232 description of the command line options.
1233 * ar.c (usage): Update text to provide verbose
1234 description of the command line options.
1235 (main): Accept -h and -H when running as ranlib.
1236 * coffdump.c (show_usage): Update text to provide verbose
1237 description of the command line options.
1238 * dlltool.c (main): Accept -H as an alias for --help.
1239 * nlmconv.c (show_usage): Update text to provide verbose
1240 description of the command line options.
1241 * nm.c (usage): Replace OPTIONS with option(s).
1242 (main): Accept -H as an alias for --help.
1243 * objcopy.c (strip_main): Accept -H as an alias for --help.
1244 * objdump.c (main): Accept -v as an alias for --verbose.
bb279dc0 1245 * readelf.c (usage): Adjust format to match style used in
8b53311e
NC
1246 other binutils.
1247 * size.c (usage): Update text to provide verbose description
1248 of the command line options.
1249 (main): Accept -v, -h and -H as command line options.
1250 * srconv.c (show_usage): Update text to provide verbose
1251 description of the command line options.
1252 * strings.c (main): Accept -H and -v as command line options.
1253 (usage): Update text to provide verbose description of the
1254 command line options.
1255 * sysdump.c (show_usage): Update text to provide verbose
1256 description of the command line options.
1257 * windres.c (usage): Adjust format to match style used in
1258 other binutils.
1259
1260 * coffdump.c: Fix formatting.
1261 * nlmconv.c: Fix formatting.
1262 * srconv.c: Fix formatting.
1263 * sysdump.c: Fix formatting.
1264
c46f0c34
AM
12652002-01-22 Alan Modra <amodra@bigpond.net.au>
1266
1267 * Makefile.am: Run "make dep-am".
1268 * Makefile.in: Regenerate.
1269
2a538ba5
AJ
12702002-01-18 Andreas Jaeger <aj@suse.de>
1271
1272 * version.c (print_version): Update year.
1273
285d1771
AM
12742002-01-17 Alan Modra <amodra@bigpond.net.au>
1275
1276 * readelf.c (get_machine_name): Handle EM_PPC64.
1277 (guess_is_rela): Here too.
1278
328577ad
NC
12792002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
1280
1281 * po/binutils.pot: Regenerate.
1282 * po/fr.po: Regenerate.
1283 * po/tr.po: Regenerate.
1284
af3ae48d
NC
12852002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
1286
1287 * po/tr.po: Import new version.
1288
f1cb7e17
AM
12892002-01-16 Alan Modra <amodra@bigpond.net.au>
1290
1291 * readelf.c (get_ppc64_dynamic_type): New.
1292 (get_dynamic_type): Call it.
1293
6364e0b4
NC
12942002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
1295
3ab9460d 1296 * objcopy.c (copy_usage): Use "options" instead of "switches".
bb279dc0 1297 (strip_usage): Use "options" instead of "switches".
3ab9460d 1298 * doc/binutils.texi (dlltool): Refer to "options" instead of
bb279dc0 1299 "switches".
6364e0b4 1300
3a7e524e
RE
13012002-01-14 Richard Earnshaw <rearnsha@arm.com>
1302
1303 * MAINTAINERS: Add self as co-maintainer for the ARM code.
1304
1209e219
NC
13052001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
1306
1307 * po/es.po: Import from translation project.
1308 * configure.in (ALL_LINGUAS): Add es.
1309 * configure: Regenerate.
1310
b4db1224
JT
13112002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
1312
1313 * readelf.c (get_netbsd_elfcore_note_type): Use
1314 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
1315
9437c45b
JT
13162002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
1317
1318 * readelf.c: Update copyright years.
1319 (get_note_type): Return a const char *.
1320 (get_netbsd_elfcore_note_type): New function.
1321 (process_note): Use get_netbsd_elfcore_note_type to get
1322 the note type string for NetBSD ELF core files.
1323
00428cca
AM
13242002-01-06 Steve Ellcey <sje@cup.hp.com>
1325
1326 * readelf.c (get_ia64_segment_type): Add support for macros.
1327 (get_segment_type): Add support for IA64 specific macros.
1328
31104126
NC
13292001-12-20 Julian v. Bock <julian@wongr.net>
1330
1331 * readelf.c (print_symbol): New function: Print a formatted symbol
1332 name. If --wide is specified do not truncate it.
1333 (dump_relocations): Use print_symbol() to print symbol names.
1334 (process_symbol_table): Likewise.
1335 (process_syminfo): Likewise.
1336 (process_mips_specific): Likewise.
1337 (usage): Document new feature of --wide switch.
1338 * doc/binutils.texi (objdump): Document additional behaviour of
1339 --wide.
2a538ba5 1340
4dd67f29
MS
13412001-12-18 Michael Snyder <msnyder@redhat.com>
1342
1343 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
1344 (copy_object): Don't set the start address or flags of a core file.
1345 (copy_section): Don't relocate a core file. Don't copy contents
1346 if the input section has the contents flag set, but the output
1347 section does not (which happens with the fake 'note' pseudo-
1348 sections that BFD creates for corefiles).
1349
43521d43
TS
13502001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1351
1352 * readelf.c (get_machine_flags): Recognize header flags for ABI and
1353 ASE extensions. More robust code for ISA checking. Ignore empty fields
1354 in header flags for GNU extensions.
1355
b667df2e
AM
13562001-12-18 Alan Modra <amodra@bigpond.net.au>
1357
1358 * objcopy.c (copy_archive): Set output bfd format outside the loop.
1359
17a5a5c3
NC
13602001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
1361
1362 * po/ja.po: Import from translation project.
1363 * configure.in (ALL_LINGUAS): Add ja.
1364 * configure: Regenerate.
1365
65de42c0
TS
13662001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1367
1368 * addr2line.c (main): Protoype.
1369 * ar.c (main): Protoype.
1370 * nm.c (main): Protoype.
1371 * objcopy.c (main): Protoype.
1372 * objdump.c (main): Protoype.
1373 * size.c (main): Protoype.
1374 * strings.c (main): Protoype.
1375
9ad5cbcf
AM
13762001-12-17 Alan Modra <amodra@bigpond.net.au>
1377
1378 * readelf.c (symtab_shndx_hdr): New global.
1379 (SECTION_HEADER_INDEX): Define.
1380 (SECTION_HEADER_NUM): Define.
1381 (SECTION_HEADER): Define.
1382 (GET_ELF_SYMBOLS): Pass two params rather than three.
1383 (get_32bit_elf_symbols): Take file and section args. Read and
1384 use SHT_SYMTAB_SHNDX.
1385 (get_64bit_elf_symbols): Likewise.
1386 (dump_relocations): Use SECTION_HEADER to index "section_headers".
1387 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
1388 Remember symtab_shdx_hdr.
1389 (process_program_headers): Scan from index 1 for segment map.
1390 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
1391 "section_headers".
1392 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
1393 (process_unwind): Likewise.
1394 (process_version_sections): Likewise.
1395 (process_symbol_table): Likewise.
1396 (display_debug_info): Likewise.
1397 (process_dynamic_segment): Fake up a symtab section for changed
1398 GET_ELF_SYMBOLS.
1399 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
1400 (process_program_headers): Kill signed/unsigned warning.
1401 (load_debug_str): Likewise.
1402 (display_debug_info): Likewise.
1403
65765700
JJ
14042001-12-13 Jakub Jelinek <jakub@redhat.com>
1405
1406 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
1407
560f3c1c
AM
14082001-12-11 Alan Modra <amodra@bigpond.net.au>
1409
1410 * readelf.c (process_file_header): Print extended e_shnum and
1411 e_shdtrndx values. Set elf_header values for same.
1412 (get_32bit_section_headers): Add "num" arg to read "num" headers.
1413 (get_64bit_section_headers): Likewise.
1414 (process_section_headers): Update calls.
1415 (get_file_header): Call get_32bit_section_headers or 64bit variant.
1416
bc408b8a
JJ
14172001-12-10 Jakub Jelinek <jakub@redhat.com>
1418
1419 * objcopy.c (setup_section): Copy entsize.
1420
93fbbb04
GK
14212001-12-07 Geoffrey Keating <geoffk@redhat.com>
1422
1423 * readelf.c (guess_is_rela): Add support for stormy16.
1424 (dump_relocations): Likewise.
1425 (get_machine_name): Likewise.
1426
e3c8793a
NC
14272001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
1428
1429 * dllwrap.c (main) Replace multiple strings describing a
1430 single error with a single, newline escaped sentence to permit
1431 better translation into foreign languages.
1432
1433 * readelf.c (get_elf_class): Remove internalionalisation of ELF
1434 class names.
1435
956cd1d6
TS
14362001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1437
1438 * strings.c (get_char): Initialize value.
1439
956c53ee
TS
14402001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1441
1442 * arlex.l: Silence compile warnings.
1443 * arsup.h: Likewise. Fix formatting.
1444
cedd9a58
JJ
14452001-12-04 Jakub Jelinek <jakub@redhat.com>
1446
1447 * strings.c: Include config.h before bfd.h.
1448 (file_off): New type.
1449 (file_open): Define.
1450 (print_strings): Use file_off instead of file_ptr. Print addresses
1451 which don't fit into long correctly.
1452 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
1453 available.
1454 (strings_file): Use file_off instead of file_ptr. Use file_open.
1455 * configure.in: Check for getc_unlocked.
1456 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
1457 be defined for it.
1458 * configure: Rebuilt.
1459 * config.h.in: Rebuilt.
1460
af667503
L
14612001-11-29 H.J. Lu <hjl@gnu.org>
1462
1463 * bucomm.c (make_tempname): Revert the changes made on
1464 2001-11-14 and 2001-11-12. They won't work with directories.
1465
16474668
NC
14662001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
1467
1468 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
1469 CFLAGS_FOR_TARGET to runtest in environment.
1470 * Makefile.in: Rebuild.
1471 * doc/Makefile.in: Rebuild.
1472
17978339
MS
14732001-11-28 Mike Stump <mrs@wrs.com>
1474
1475 * objcopy.c (setup_section): Preserve SEC_RELOC when
1476 --set-section-flags is used.
1477
261a45ad
NC
14782001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
1479
1480 * readelf.c (do_debug_str): New variable.
1481 (display_debug_str): New function: Display the contents of a
1482 .debug_str section.
1483 (load_debug_str): New function: Load in the contents of a
1484 .debug_str section.
1485 (free_debug_str): New function: Free the memory used by
1486 load_debug_str().
1487 (fetch_indirect_string): Retrieve a string from the .debug_str
1488 section.
1489 (usage): Add -ws.
1490 (parse_args): Accept -ws.
1491 (process_section_headers): Allow the display of the .debug_str
1492 section.
1493 (read_and_display_attr_value): Use fetch_indirect_string. Show
1494 offset into .debug_str section.
1495 (display_debug_info): Use load_debug_str and free_debug_str.
1496 (debug_displays): Add .debug_str.
1497 * doc/binutils.texi: Document -ws.
1498
b8908f93
AJ
14992001-11-19 Andreas Jaeger <aj@suse.de>
1500
1501 * testsuite/binutils-all/objdump.exp: Add x86-64.
1502
e5fb9629
AS
15032001-11-15 Andreas Schwab <schwab@suse.de>
1504
1505 * readelf.c: Fix warnings without terminating newline.
1506
802a735e
AM
15072001-11-15 Alan Modra <amodra@bigpond.net.au>
1508
1509 * doc/binutils.texi (objdump): Document ppc -M options.
1510
b89e9eae
AJ
15112001-11-14 Andreas Jaeger <aj@suse.de>
1512
1513 * doc/binutils.texi (objdump): Fix description to use x86-64.
1514
a6a25652
NC
15152001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
1516
1517 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
1518 not all systems provide mkstemp.
1519
e396998b
AM
15202001-11-14 Alan Modra <amodra@bigpond.net.au>
1521
1522 * doc/binutils.texi (objdump): Document x86 -M options.
1523
81766fca
RH
15242001-11-13 Keith Walker <keith.walker@arm.com>
1525
1526 * readelf.c (read_and_display_attr_value): New function to
1527 handle DW_FORM_indirect.
1528 (read_and_display_attr): Use it.
1529
1a509dcc
GK
15302001-11-13 Geoffrey Keating <geoffk@redhat.com>
1531
1532 * readelf.c (display_debug_lines): Deal with unknown standard
1533 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
1534 DW_LNS_set_isa.
1535
6e917903 15362001-11-13 Timothy Wall <twall@alum.mit.edu>
1a509dcc 1537
6e917903
TW
1538 * MAINTAINERS: Add self as tic54x maintainer. This target
1539 includes the IBM C54XDSP clone.
7559e86e 1540
6e917903 15412001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
1a509dcc 1542
7559e86e
NC
1543 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
1544
15452001-11-09 Jeffrey A Law (law@cygnus.com)
91770270 1546
ecdadc4a
JL
1547 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
1548 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
1549 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
1550 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
1551 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
1552 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
1553 (unw_decode_b2, unw_decode_b3_b4): Likewise.
1554
91770270
JL
1555 * readelf.c (get_elf_class): Fix ISO portability glitch.
1556 (get_data_encoding, get_osabi_name, request_dump): Likewise.
1557
ef5cdfc7
JJ
15582001-11-07 Jakub Jelinek <jakub@redhat.com>
1559
1560 * readelf.c (debug_str, debug_str_size): New.
1561 (display_debug_abbrev): If no abbrevs were read, skip the CU.
1562 Call free_abbrevs.
1563 (read_and_display_addr): Handle DW_FORM_strp.
1564 (display_debug_info): Read .debug_str section if present,
1565 so that DW_FORM_strp can be handled.
1566 Fix test for non-existant .debug_abbrev section.
1567
5e9520c8
JJ
15682001-11-05 Jakub Jelinek <jakub@redhat.com>
1569
1570 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
1571
1572 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
1573
54589086
MS
15742001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
1575
1576 * MAINTAINERS: Add self as s390/s390x maintainer.
1577
c05b685b
TR
15782001-11-02 Tom Rix <trix@bluey.cygnus.com>
1579
1580 * MAINTAINERS: Add self as PPC XCOFF maintainer.
1581
3c62831e
NC
15822001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
1583
1584 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
1585 * configure: Regernate.
1586 * po/fr.po: New file.
1587 * po/tr.po: New file.
1588
3c3bdf30
NC
15892001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
1590
9b19141a 1591 * MAINTAINERS: Add self as MMIX port maintainer.
3c3bdf30
NC
1592 * readelf.c: Include elf/mmix.h.
1593 (guess_is_rela): MMIX is RELA.
1594 (dump_relocations): Handle MMIX relocations.
1595 * Makefile.am: Regenerate dependencies.
1596 * Makefile.in: Regenerate.
1597
f662939a
NC
15982001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
1599
1600 * readelf.c (parse_args): Handle multiple options to the -w
1601 switch.
1602
c91d0dfb
JJ
16032001-10-12 Jakub Jelinek <jakub@redhat.com>
1604
1605 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
1606 LOPROC, LOOS and LOUSER.
1607
7559e86e 16082001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
d1b67f3c
JR
1609
1610 * MAINTAINERS: Update my email address.
1611
fcd8210c
AM
16122001-10-03 Alan Modra <amodra@bigpond.net.au>
1613
1614 * doc/Makefile.in: Regenerate.
1615 * configure: Regenerate.
1616
428409d5
NC
16172001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
1618
1619 * readelf.c (display_debug_line, display_debug_pubnames,
1620 display_debug_info, display_debug_frames): Detect and warn
1621 about 64-bit format entries.
1622 (display_debug_aranges): Reword 64-bit warning.
1623 (debug_displays): Add .debug_pubtypes as a known, but not yet
1624 supported, debug section.
1625
6a8c2b0d
AM
16262001-10-02 Alan Modra <amodra@bigpond.net.au>
1627
1628 * coffdump.c (PROGRAM_VERSION): Delete.
1629 (main <'V'>): Call print_version.
1630 * srconv.c: Likewise.
1631 * sysdump.c: Likewise.
1632 * version.c (program_version): Remove.
1633 (print_version): Use BFD_VERSION_STRING. Just print the current
1634 year in copyright message.
1635 * addr2line.c (program_version): Remove unused declaration.
1636 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
1637 place of BFD_VERSION.
1638 * Makefile.am (Makefile): Depend on bfd/configure.in.
1639 (cplus-dem.o): Depend on Makefile.
1640 Run "make dep-am".
1641 * Makefile.in: Regenerate.
1642
e414a165
NC
16432001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
1644
1645 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
1646 format .debug_arange sections.
1647 (main): Add missing prototype.
b8908f93 1648
efc3ee7f
HPN
16492001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
1650
1651 * Makefile.am: Update dependencies with "make dep-am".
1652 * Makefile.in: Regenerate.
1653
9e85c2a0
RH
16542001-09-28 Richard Henderson <rth@redhat.com>
1655
1656 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
1657
451dad9c
AM
16582001-09-26 Alan Modra <amodra@bigpond.net.au>
1659
1660 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
1661 VA_CLOSE.
1662 (non_fatal): Likewise.
1663 * objdump.c (objdump_sprintf): Likewise.
1664 * readelf.c (error): Likewise.
1665 (warn): Likewise.
1666
d974e256
JJ
16672001-09-25 Jakub Jelinek <jakub@redhat.com>
1668
1669 * readelf.c (do_wide): New.
1670 (options): Add --wide.
1671 (usage, parse_args): Likewise.
1672 (process_program_headers): Put each segment on a single line if
1673 --wide is given.
1674 (process_section_headers): Put each section on a single line if
1675 --wide is given.
1676 * doc/binutils.texi: Document it.
1677 * NEWS: Likewise.
1678
2f11c261
AM
16792001-09-25 Alan Modra <amodra@bigpond.net.au>
1680
1681 * readelf.c (print_vma): Print 8 digits of low hex value.
1682
1d50f91e
AJ
16832001-09-24 Andreas Jaeger <aj@suse.de>
1684
1685 * nlmconv.c: Fix warnings about unused attributes and function
1686 prototypes.
1687
1688 * strings.c: Add prototype for get_char.
1689
38131e67
L
16902000-09-19 H.J. Lu <hjl@gnu.org>
1691
1692 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
1693 $(srcdir)/cxxfilt.man.
1694 * doc/Makefile.in: Rebuild.
1695
3bcfb3e4
AM
16962001-09-19 Alan Modra <amodra@bigpond.net.au>
1697
1698 * objcopy.c (copy_main): Correct rename-section string parsing.
1699 Consolidate new_name parsing, and error messages.
1700
3882b010
L
17012001-09-18 Bruno Haible <haible@clisp.cons.org>
1702
1703 * addr2line.c: Don't include <ctype.h>.
1704 (main): For gettext, also set the LC_CTYPE locate facet.
1705 * ar.c (main): Likewise.
1706 * coffdump.c (main): Likewise.
1707 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
1708 (main): For gettext, also set the LC_CTYPE locate facet.
1709 Use ISALNUM instead of isalpha/isdigit.
1710 * dllwrap.c: Don't include <ctype.h>.
1711 (main): For gettext, also set the LC_CTYPE locate facet.
1712 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
1713 (main): For gettext, also set the LC_CTYPE locate facet.
1714 Use TOUPPER instead of islower/toupper.
1715 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
1716 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
1717 Use TOUPPER instead of islower/toupper.
1718 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
1719 * objcopy.c (main): Likewise.
1720 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
1721 (disassemble_bytes): Use ISPRINT instead of isprint.
1722 (dump_section_stabs): Use ISDIGIT instead of isdigit.
1723 (dump_data): Use ISPRINT instead of isprint.
1724 (main): For gettext, also set the LC_CTYPE locate facet.
1725 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
1726 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
1727 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
1728 Use TOUPPER instead of islower/toupper.
1729 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
1730 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
1731 (write_rc_accelerators): Use ISPRINT instead of isprint.
1732 (write_rc_rcdata): Likewise.
1733 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
1734 * srconv.c (main): Likewise.
1735 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
1736 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
1737 isdigit/isupper/islower.
1738 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
1739 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
1740 stab_demangle_prefix, stab_demangle_qualified,
1741 stab_demangle_template, stab_demangle_type,
1742 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
1743 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
1744 (isgraphic): Use ISPRINT instead of isascii/isprint.
1745 (main): Remove HAVE_LC_MESSAGES dependency.
1746 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
1747 (pbarray): Use ISPRINT instead of isprint.
1748 (main): For gettext, also set the LC_CTYPE locate facet.
1749 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
1750 (format_from_filename): Use ISPRINT instead of isprint.
1751 (main): For gettext, also set the LC_CTYPE locate facet.
1752 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
1753 (unicode_print): Use ISPRINT instead of isprint.
1754 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
1755 (stab_variable): Use ISDIGIT instead of isdigit.
1756
e59b4dfb
AM
17572001-09-18 Alan Modra <amodra@bigpond.net.au>
1758
1759 * ar.c (print_contents): Cast args of bfd_seek to the right types.
1760 Replace bfd_read call with call to bfd_bread.
1761 (extract_file): Likewise.
1762
1763 * objdump.c (dump_section_header): Cast section->filepos to
1764 unsigned long to suit printf format string.
1765 * readelf.c (process_section_headers): Similarly for sh_offset.
1766 (process_unwind): Likewise.
1767
d132876a
NC
17682001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
1769
1770 * strings.c (encoding, encoding_bytes): New variables.
1771 (long_options): Add --encoding.
1772 (main): Accept -e and --encoding.
1773 (get_char): New function. Read a, possibly wide, character from
1774 the input stream.
1775 (print_strings): Use get_char().
1776 (usage): Document new command line option.
1777 * doc/binutils.texi: Document new command line option.
1778 * NEWS: Announce new command line option.
1779
7559e86e 17802001-09-12 Alexandre Oliva <aoliva@redhat.com>
2b0337b0
AO
1781
1782 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
1783 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
1784 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
1785 Removed EM_CYGNUS_ARC.
1786
7559e86e 17872001-09-04 Jeffrey A Law (law@cygnus.com)
b8720f9d
JL
1788
1789 * readelf.c: Include elf/h8 for H8 series definitions.
1790 (guess_is_rela): H8 series if RELA.
1791 (dump_relocations): Handle H8 series relocations.
1792
0823fbca
EC
17932001-08-31 Eric Christopher <echristo@redhat.com>
1794
1795 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
1796
8db76d70
PT
17972001-08-29 Peter Targett <peter.targett@arccores.com>
1798
1799 * MAINTAINERS: Include ARC Maintainer.
1800
d81d6584
BE
18012001-08-29 Ben Elliston <bje@redhat.com>
1802
1803 * stabs.c (stab_demangle_template): Initialise s4.
1804
25a1ff5b
AM
18052001-08-27 Alan Modra <amodra@bigpond.net.au>
1806
1807 * readelf.c (dump_relocations): Recognise EM_PPC64.
1808
a5d22d2a
TS
18092001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1810
1811 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
1812
62a5a82d
L
18132001-08-25 H.J. Lu <hjl@gnu.org>
1814
1815 * nm.c (print_width): New.
1816 (display_rel_file): Set `print_width' according to
1817 bfd_sprintf_vma.
1818 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
1819
1ae8b3d2
AO
18202001-08-24 Alexandre Oliva <aoliva@redhat.com>
1821
1822 * objcopy.c (use_alt_mach_code): New variable.
1823 (OPTION_ALT_MACH_CODE): Define.
1824 (copy_options): Added --alt-machine-code.
1825 (copy_main): Handle it.
1826 (copy_object): Switch to alternate machine code if requested.
1827 * doc/binutils.texi: Document new option.
1828 * NEWS: Likewise.
1829
d1bdd336
TS
18302001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1831
1832 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
1833
410f7a12
L
18342001-08-21 H.J. Lu <hjl@gnu.org>
1835
1836 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
1837 (display_debug_info): Cast for 64bit hosts.
1838 (display_debug_frames): Likewise.
1839 (process_mips_specific): Likewise.
1840
c32144ff
AJ
18412001-08-21 Andreas Jaeger <aj@suse.de>
1842
1843 * coffgrok.h: Add missing parameter for prototype of coff_grok.
1844
1845 * sysdump.c: Add missing prototypes.
1846 * srconv.c: Likewise.
1847 * unwind-ia64.c: Likewise.
1848 * coffdump.c: Likewise.
1849
1850 * sysinfo.y: Print prototypes, include <ansidecl.h>.
1851
1852 * coffgrok.c: Add missing prototypes, include libiberty.h instead
1853 of declaring xcalloc.
1854
d8180c76
L
18552001-08-10 H.J. Lu <hjl@gnu.org>
1856
1857 * nm.c (print_value): Add one arg, bfd *.
1858 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
1859 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
1860 (print_symbol_info_sysv): Likewise.
1861 (print_symbol_info_posix): Likewise.
1862
1863 * objdump.c (dump_section_header): Replace printf_vma with
1864 bfd_printf_vma.
1865 (print_section_stabs): Likewise.
1866 (dump_bfd_header): Likewise.
1867 (objdump_print_value): Replace sprintf_vma with
1868 bfd_sprintf_vma.
1869 (disassemble_bytes): Likewise.
1870 (dump_reloc_set): Likewise.
1871
0218d1e4
AJ
18722001-08-10 Andreas Jaeger <aj@suse.de>
1873
1874 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
1875 to build warnings.
1876 * configure: Regenerate.
1877
2863d58a
AM
18782001-08-09 Alan Modra <amodra@bigpond.net.au>
1879
1880 * readelf.c: Add missing prototypes.
1881 * objdump.c: Likewise. Format existing prototypes.
1882
c0e047e0
AO
18832001-08-08 Alexandre Oliva <aoliva@redhat.com>
1884
1885 * readelf.c (display_debug_info): Add to abbrev_offset the addend
1886 of any RELA relocation for the abbrev_offset memory location that
1887 refers to the .debug_abbrev section symbol.
1888
ff78d6d6
L
18892001-08-07 H.J. Lu <hjl@gnu.org>
1890
1891 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
1892 (main): Return process_file ().
1893
c36774d6
PB
18942001-08-05 Philip Blundell <philb@gnu.org>
1895
1896 * doc/binutils.texi: Use "Thumb" not "THUMB".
1897
8f9d9bd9
JH
18982001-08-03 John Healy <jhealy@redhat.com>
1899
bb279dc0
ZW
1900 Patch suggested by Frank Eigler <fche@redhat.com>.
1901 * objdump.c (disassemble_data): Fill in section member of the
1902 disasm_info structure.
8f9d9bd9 1903
c918cb96
DD
19042001-08-03 Tom Walsh <tom@cyberiansoftware.com>
1905
1906 * configure.in: Added --with-windres option.
1907 * configure: Regenerated.
1908
c7c55b78
NC
19092001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1910
1911 * doc/binutils.texi: Use @command{name} for commands;
1912 use @option{-opt} for options; use @table @env for list of options;
1913 remove spaces arround [ | ] in synopsis.
1914
1915 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
1916 center title.
1917
594ef5db
NC
19182001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
1919
bb279dc0
ZW
1920 * objcopy.c: Fix formatting.
1921 (section_rename): New structure.
1922 (OPTION_RENAME_SECTION): New switch.
1923 (copy_usage): Document new switch.
1924 (add_section_rename): New function: Add a node to the section
1925 rename list.
1926 (find_section_rename): New function: Find the new name and
1927 flags for a section.
1928 (setup_section): Call find_section_name to determine the name
1929 of the output section.
1930 (copy_main): Handle OPTION_RENAME_SECTION.
1931 * binutils.texi: Document new switch.
594ef5db
NC
1932 * NEWS: Mention new switch.
1933
1f554c69
NC
19342001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
1935
1936 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
1937 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
1938 bug-binutils@gcc.org.
1939
2f83960e
AM
19402001-07-28 Matthias Kramm <kramm@quiss.org>
1941
1942 * bucomm.c (list_supported_architectures): New function.
1943 * bucomm.h (list_supported_architectures): Declare.
1944 * objdump.c (usage): Call the above.
1945
20fe0649
DB
19462001-07-25 Dave Brolley <brolley@redhat.com>
1947
1948 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
1949 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
1950
1b577b00
NC
19512001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
1952
1953 * README: Update for 2.11. Change bug reporting email address.
1954 * MAINTAINERS: Tidy up. Change bug reporting email address.
1955
95fd336c
DD
19562001-07-16 DJ Delorie <dj@redhat.com>
1957
5f16d855
DD
1958 * resres.c (write_res_header): Align header size.
1959 (res_align_file): Calculate alignment correctly.
1960
95fd336c
DD
1961 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
1962 correct 10).
1963 * resrc.c (write_rc_resource): Likewise.
1964 * windres.h (SUBLANG_SHIFT): Define - as 10.
1965
ed8fee27
NC
19662001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
1967
1968 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
1969
90ab7e9a
NC
19702001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
1971
1972 * MAINTAINERS: Add notes about branch checkins.
1973
e0c60db2
NC
19742001-07-05 Daniel Berlin <dan@cgsoftware.com>
1975
1976 * readelf.c (display_debug_macinfo): New function, display
1977 .debug_macinfo section.
1978 (do_debug_macinfo): New variable.
1979 (parse_args): Handle "-w[mM]" to mean display macro info.
1980 (process_section_headers): Handle debug_macinfo.
1981 (debug_displays): Replace unsupported function with macinfo
0218d1e4 1982 function for .debug_macinfo display.
e0c60db2
NC
1983 * doc/binutils.texi: Document new command line switch.
1984 * NEWS: Document new feature of readelf.
0218d1e4 1985
24e01a36
L
19862001-07-05 H.J. Lu <hjl@gnu.org>
1987
1988 * objcopy.c (filter_symbols): Don't turn undefined symbols
1989 into local.
1990
4258bf4d
L
19912001-07-03 H.J. Lu <hjl@gnu.org>
1992
1993 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
1994 $@.pod.
1995 (ar.1): Likewise.
1996 (dlltool.1): Likewise.
1997 (nlmconv.1): Likewise.
1998 (nm.1): Likewise.
1999 (objcopy.1): Likewise.
2000 (objdump.1): Likewise.
2001 (ranlib.1): Likewise.
2002 (readelf.1): Likewise.
2003 (size.1): Likewise.
2004 (strings.1): Likewise.
2005 (strip.1): Likewise.
2006 (windres.1): Likewise.
2007 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
2008 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
2009 $(DEMANGLER_NAME).
2010 (as.1): Removed.
2011 * doc/Makefile.in: Regenerated.
2012
7014bc31
NC
20132001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
2014
2015 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
2016
b811889f
NC
20172001-07-01 Daniel Berlin <dan@cgsoftware.com>
2018
2019 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
2020
12ab83a9
NC
20212001-06-29 James Cownie <jcownie@etnus.com>
2022
2023 * readelf.c: Support DWARF 2.1 attributes.
2024
a6e9f9df
AM
20252001-06-28 Alan Modra <amodra@bigpond.net.au>
2026
2027 * readelf.c (GET_DATA_ALLOC): Remove.
2028 (GET_DATA): Remove.
2029 (get_data): New function combining above macros, with an extra
2030 test for zero size.
2031 (slurp_rela_relocs): Use get_data, and catch error return.
2032 (slurp_rel_relocs): Likewise.
2033 (get_32bit_program_headers): Likewise.
2034 (get_64bit_program_headers): Likewise.
2035 (get_32bit_section_headers): Likewise.
2036 (get_64bit_section_headers): Likewise.
2037 (get_32bit_elf_symbols): Likewise.
2038 (get_64bit_elf_symbols): Likewise.
2039 (process_section_headers): Likewise.
2040 (process_relocs): Likewise.
2041 (slurp_ia64_unwind_table): Likewise.
2042 (process_unwind): Likewise.
2043 (get_32bit_dynamic_segment): Likewise.
2044 (get_64bit_dynamic_segment): Likewise.
2045 (process_dynamic_segment): Likewise.
2046 (process_version_sections): Likewise.
2047 (process_symbol_table): Likewise.
2048 (dump_section): Likewise.
2049 (display_debug_info): Likewise.
2050 (display_debug_section): Likewise.
2051 (process_section_contents): Likewise.
2052 (process_corefile_note_segment): Likewise.
2053 (process_mips_specific): Likewise. Also free econf32, econf64.
2054
af3fc3bc
AM
20552001-06-25 Alan Modra <amodra@bigpond.net.au>
2056
2057 * readelf.c (dump_relocations): Print "bad symbol index" if
2058 symtab == NULL with non-zero symtab_index.
2059 (process_relocs): Don't bomb if reloc section has no symsec.
2060
6d900bf6
L
20612001-06-24 H.J. Lu <hjl@gnu.org>
2062
2063 * objcopy.c (strip_main): Revert the change made on 2001-05-30
2064 by accident.
2065 (copy_main): Apply the the change made to strip_main on
2066 2001-05-30 by accident.
2067
49b4e386
AJ
20682001-06-23 Andreas Jaeger <aj@suse.de>
2069
2070 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
2071 parameter 'code'.
2072 (unw_decode_x2): Likewise.
2073 (unw_decode_x3): Likewise.
2074 (unw_decode_x4): Likewise.
2075
d8dc71e3
BE
20762001-06-23 Ben Elliston <bje@redhat.com>
2077
2078 * MAINTAINERS: Add myself as M88k maintainer.
2079
af3bdff7
NC
20802001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
2081
2082 * objcopy.c (strip_main): Support -o or --output-file command lien
2083 switch.
2084
105e7211
L
20852001-06-19 H.J. Lu <hjl@gnu.org>
2086
2087 * doc/Makefile.in: Regenerated.
2088
c45021f2
NC
20892001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
2090
2091 * readelf.c: Restore formatting.
2092
20932001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
2094
bb279dc0
ZW
2095 * Makefile.am: Move documentation into doc subdirectory.
2096 * Makefile.in: Regenerated.
c45021f2 2097 * binutils.texi: Move into doc subdirectory.
bb279dc0
ZW
2098 * addr2line.1: Removed.
2099 * ar.1: Likewise.
2100 * dlltool.1: Likewise.
2101 * nlmconv.1: Likewise.
2102 * nm.1: Likewise.
2103 * objcopy.1: Likewise.
2104 * objdump.1: Likewise.
2105 * ranlib.1: Likewise.
2106 * readelf.1: Likewise.
2107 * size.1: Likewise.
2108 * strings.1: Likewise.
2109 * strip.1: Likewise.
2110 * windres.1: Likewise.
2111 * cxxfilt.man: Likewise.
c45021f2
NC
2112 * doc: New Directory.
2113 * doc/Makefile.am: New file.
2114 * doc/Makefile.in: Generate.
2115
09ad7db3
AM
21162001-06-09 Alan Modra <amodra@bigpond.net.au>
2117
2118 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
2119
936260fe
AM
21202001-06-01 Alan Modra <amodra@bigpond.net.au>
2121
2122 * MAINTAINERS: Update my email address.
2123
16b2b71c
NC
21242001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
2125
2126 * objcopy.c: Add new switches: --keep-global-symbol,
2127 --keep-symbols, --localize-symbols, --keep-global-symbols and
2128 --weaken-symbols.
2129 * binutils.texi: Document new switches.
2130 * objcopy.1: Regenerate.
2131 * NEWS: Announce new feature.
2132
7036c0e1
AJ
21332001-05-28 Andreas Jaeger <aj@suse.de>
2134
2135 * readelf.c (display_debug_frames): Fix warnings: Remove unused
2136 variables, fix format strings.
2137
76a406e5
NC
21382001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
2139
2140 * objdump.c (disassemble_bytes): Remove section VMA adjustment
2141 when computing the address of the line to show.
2142
31b6fca6
RH
21432001-05-16 Richard Henderson <rth@redhat.com>
2144
2145 * readelf.c (do_debug_frames_interp): New.
2146 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
2147 (byte_get_big_endian): Likewise.
2148 (parse_args) ['F']: Set do_debug_frames_interp.
2149 (Frame_Chunk): Make data_factor signed, add fde_encoding.
2150 (frame_display_row): Don't trunc pc_begin to int.
2151 (size_of_encoded_value): New.
2152 (display_debug_frames): Handle 64-bit targets. Print raw data
2153 unless do_debug_frames_interp.
2154 (debug_displays): Remove duplicate .debug_frame.
2155
4fe85591
NC
21562001-05-15 Ralf Baechle <ralf@gnu.org>
2157
2158 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
2159 The former constant was never in active use and is used otherwise
2160 by the ABI.
2161
579f31ac
JJ
21622001-05-11 Jakub Jelinek <jakub@redhat.com>
2163
2164 * readelf.c (process_unwind): Print all unwind sections, not just
2165 one.
2166
78f4a3f7
AM
21672001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2168
2169 * readelf.c (process_unwind): Remove const specifier.
2170
1c529ca6
NC
21712001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
2172
2173 * strings.c (isgraphic): Do not use isascii() unless it is needed
2174 for isprint() to work.
2175 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
2176
87e6d782
NC
21772001-04-27 Johan Rydberg <jrydberg@opencores.org>
2178
bb279dc0 2179 * NEWS: Announce support for OpenRISC.
87e6d782 2180
4bd3d870 21812001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
49b4e386
AJ
2182
2183 * dlltool.c (do_default_excludes): Initialise to true.
2184
21211521
AM
21852001-04-10 Alan Modra <amodra@one.net.au>
2186
2187 * MAINTAINERS: Update my email address
2188 * nm.c (print_symbol_info_bsd): Use a simple printf string.
2189
0c66b61e 21902001-04-05 Hans-Peter Nilsson <hp@axis.com>
ff94ebf2
HPN
2191
2192 * readelf.c (display_debug_lines): Fix typo for "Prologue".
2193
e58d53af
L
21942001-03-30 H.J. Lu <hjl@gnu.org>
2195
2196 * readelf.c (process_unwind): Just return if do_unwind is 0.
2197
bee72332
DD
21982001-03-28 Roger Sayle <roger@metaphorics.com>
2199
2200 * dlltool.c (make_one_lib_file): Fix section flags for
2201 .text, .data and .bss in stub ds*.o files to match those
2202 generated by gas.
2203
f1467e33
L
22042001-03-29 H.J. Lu <hjl@gnu.org>
2205
2206 * readelf.c (process_unwind): Only do unwind sections for
2207 IA64.
2208
1c6fb4fe
L
22092001-03-28 H.J. Lu <hjl@gnu.org>
2210
2211 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
2212 * Makefile.in: Regenerate.
2213
0879a67a
AJ
22142001-03-26 Andreas Jaeger <aj@suse.de>
2215
2216 * binutils.texi (nm): Fix texi syntax.
2217
0285c67d
NC
22182001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2219
2220 * binutils.texi: Put @c man begin and @c man end indications
2221 to generate man pages using texi2pod and pod2man. Put @c man title
2222 to identify each man. Add SEEALSO entries.
2223 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
2224 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
2225 sort the list.
2226 (*.1): Build the man pages from binutils.texi.
2227 * Makefile.in: Regenerate.
2228
04847a4d
CF
22292001-03-13 Eric Kohl <ekohl@rz-online.de>
2230
2231 * defparse.y (opt_equal_name): allow "." in name.
2232 * dlltool.c (def_exports): Added ability to generate forwarded exports.
2233 (gen_exp_file): Likewise.
2234
43a0748c
NC
22352001-03-12 Stefan Geuken <mail@stefan-geuken.de>
2236
2237 * NEWS: Document addition of -B switch to objcopy.
2238 * binutils.texi: Document addition of -B switch to objcopy.
2239 * objcopy.c: (copy_options): Add --binary-architecture.
2240 (copy_usage): Document -B/--binary-architecture.
2241 (copy_main): Support -B/--binary-architecture. Set
2242 bfd_external_binary_architecture.
0879a67a 2243
b7498e0e
NC
22442001-03-11 Andreas Jaeger <aj@suse.de>
2245
2246 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
2247 (dump_relocations): Likewise.
2248 (get_machine_name): Likewise.
2249
a59e3bd7
NC
22502001-02-28 Nick Clifton <nickc@redhat.com>
2251
2252 * readelf.c: (struct unw_aux_info): Remove const modifier for
2253 'strtab' field.
2254 (process_unwind): Remove non-K&R compliant LHS type cast in call
2255 to GET_DATA_ALLOC macro.
2256
a5bcd848
PB
22572001-02-28 Philip Blundell <pb@futuretv.com>
2258
2259 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
2260 ABI is in use; remove ambiguity between the "unknown" EABI and
2261 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
2262 renamed EF_xx constants.
2263
27b7e12d
AM
22642001-02-27 Alan Modra <alan@linuxcare.com.au>
2265
2266 * configure.in (BFD_VERSION): New.
2267 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
2268 * configure: Regenerate.
2269 * Makefile.am: Run "make dep-am"
2270 * Makefile.in: Regenerate.
2271
a9f10786
NC
22722001-02-14 Nick Clifton <nickc@redhat.com>
2273
2274 * MAINTAINERS: Add "Obvious Fix" rule.
2275
3c44da9a
MS
22762001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2277
2278 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
2279 literal concatenation.
2280
ecd03389
MS
22812001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2282
2283 * readelf.c (struct unw_aux_info): Remove const from the info member.
2284 (process_unwind): Don't type-cast the third argument to the
2285 GET_DATA_ALLOC macro.
2286
88ec60c7
NC
22872001-02-11 Nick Clifton <nickc@redhat.com>
2288
2289 * readelf.c (dump_relocations): Free corrected allocated
2290 array.
2291 (process_unwind): Fix compile time warning.
2292
f5e21966
NC
22932001-02-10 Nick Clifton <nickc@redhat.com>
2294
2295 * binutils.texi: Document new --unwind option to readelf.
2296
a85d7ed0
NC
22972001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
2298
2299 * readelf.c: Add linux target for S/390.
2300
7bb10502
AM
23012001-02-10 Alan Modra <alan@linuxcare.com.au>
2302
2303 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
2304 printf is a macro.
2305
8ca8f343
HPN
23062001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
2307
2308 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
2309 * aclocal.m4: Regenerate.
2310 * configure: Regenerate.
2311
7340082d
NC
23122001-02-07 Todd Vierling <tv@wasabisystems.com>
2313
2314 * bucomm.c (bfd_target_vector): Change extern array to pointer.
2315 * objdump.c (bfd_target_vector): Likewise.
2316
4d6ed7c8
NC
23172001-02-07 David Mosberger <davidm@hpl.hp.com>
2318
2319 * readelf.c (process_unwind): New function.
2320 (slurp_ia64_unwind_table): Ditto.
2321 (dump_ia64_unwind): Ditto.
2322 (find_symbol_for_address): Ditto.
2323 (slurp_rela_relocs): New function (split off from dump_relocations()).
2324 (slurp_rel_relocs): Ditto.
2325 (parse_args): Handle '-u' option.
2326
2327 * unwind-ia64.c: New file.
2328 * unwind-ia64.h: New file.
2329 * Makefile.am: Include unwind-ia64.c in readelf build.
2330 * Makefile.in: Regenerate.
7340082d 2331 * po/binutils.pot: Regenerate.
4d6ed7c8 2332
c7217458
PB
23332001-02-04 Philip Blundell <philb@gnu.org>
2334
2335 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
2336 * configure: Regenerate.
2337
956eedd4
AM
23382001-01-31 Steve deRosier <sderosier@vari-lite.com>
2339
2340 * ieee.c (ieee_add_bb11): Don't check for backslashes
2341 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
2342
8855cbca
AM
23432001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
2344
c7f2731e
AM
2345 * ieee.c: Update copyright.
2346 (ieee_start_compilation_unit): Don't check for backslashes
2347 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
2348
8855cbca
AM
2349 * stabs.c: Update copyright. Include "filenames.h".
2350 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
2351
329de803 23522001-01-23 Jakub Jelinek <jakub@redhat.com>
00d93f34
JJ
2353
2354 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
2355 sections are present before using them. Remove code duplication.
2356 (process_symbol_table): Check if VERDEF or VERNEED sections are
2357 present before using them.
2358
23719f39
NC
23592001-01-17 Nick Clifton <nickc@redhat.com>
2360
2361 * objcopy.c (copy_object): Fail if attempting to convert the
2362 endianness of the input object file.
2363
2364 * binutils.texi: Explain that objcopy cannot convert endianness.
c7f2731e 2365
f726e849
NC
23662001-01-16 Nick Clifton <nickc@redhat.com>
2367
2368 * readelf.c (string_table_length): New variable.
2369 (SECTION_NAME): Catch out of range indices and missing section
2370 pointers.
2371 (process_section_headers): Delete useless local variable
2372 string_table_offset. Set the value of string_table_length
2373 after loading the string table.
2374 (process_mips_specific): Use SECTION_NAME macro.
2375 (process_file): Set string_table_length to 0 when it is freed.
2376
d0398d6a
NC
23772001-01-12 Nick Clifton <nickc@redhat.com>
2378
2379 * version.c (print_version): Update copyright date.
2380
0d2bcfaf
NC
23812001-01-11 Peter Targett <peter.targett@arccores.com>
2382
2383 * readelf.c (dump_relocations): Include selection with EM_ARC.
2384 (get_machine_name) Update name to "ARC".
2385
8b1e6df3
NC
23862001-01-09 Nick Clifton <nickc@redhat.com>
2387
2388 * Makefile.am: Add rule to build objdump.o from objdump.c and
2389 using OBJDUMP_DEFS.
2390 * Makefile.in: Regenerate.
2391
2392 * configure.in: Define OBJDUMP_DEFS. Default to empty.
2393 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
2394 -DDISASSEMBLER_NEEDS_RELOCS.
34cc70e3 2395 * configure: Regenerate.
8b1e6df3
NC
2396
2397 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
2398 is defined read in the relocs even if dump_reloc_info is
2399 false.
2400
2f952d20
PB
24012001-01-07 Philip Blundell <philb@gnu.org>
2402
2403 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
2404 `bug-binutils'.
2405 * README: Likewise.
2406
a8c548cb
NC
24072000-12-19 Nick Clifton <nickc@redhat.com>
2408
2409 * dlltool.c: Add missing support for arm-epoc-pe.
2410 * configure.in: Add missing support for arm-epoc-pe.
2411 * configure: Regenerate.
2412
cc5fda35
NC
24132000-12-15 Nick Clifton <nickc@redhat.com>
2414
2415 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
2416 Mode parts of the x86 port.
2417
bcedfee6
NC
24182000-12-04 Andreas Jaeger <aj@suse.de>
2419
2420 * readelf.c (guess_is_rela): Add EM_X86_64.
2421 (dump_relocations): Add EM_X86_64.
2422 (get_machine_name): Add EM_X86_64.
2423 Include "elf/x86-64.h".
2424
584da044
NC
24252000-12-12 Nick Clifton <nickc@redhat.com>
2426
2427 * readelf.c: Fix formatting.
2428
7559e86e 24292000-12-11 Jan Hubicka <jh@suse.cz>
b8355149
JH
2430
2431 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
2432
a98cc2b2
AH
24332000-12-07 Andrew Haley <aph@redhat.com>
2434
2435 * readelf.c (display_debug_frames): Only display columns that are
2436 referenced by the frame debug info.
2437
c7987a69
NC
24382000-12-05 Nick Clifton <nickc@redhat.com>
2439
2440 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
2441
09fd7e38
JM
24422000-12-04 Jason Merrill <jason@redhat.com>
2443
2444 * readelf.c (process_section_headers): Handle linkonce.wi sections.
2445 (display_debug_section): Likewise.
2446 (display_debug_info): Display CU header before bailing.
2447
e7af610e
NC
24482000-12-01 Chris Demetriou <cgd@sibyte.com>
2449
09fd7e38
JM
2450 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
2451 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
2452 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
e7af610e 2453
09fd7e38
JM
2454 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
2455 and E_MIPS_ARCH_64.
84ea6cf2 2456
09fd7e38
JM
2457 * readelf.c (get_machine_flags): Add case for
2458 E_MIPS_MACH_SB1.
c6c98b38 2459
75066968
DD
24602000-11-30 Richard Earnshaw <rearnsha@arm.com>
2461
2462 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
2463
5c4666ea
HPN
24642000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
2465