Move display_info() function into bucomm.c
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
06d86cf7
NC
12003-03-24 Elias Athanasopoulos <elathan@phys.uoa.gr>
2
3 * objdump.c (endian_string): Move to bucomm.c.
4 (display_info): Likewise.
5 (display_target_list): Likewise.
6 (display_info_table): Likewise.
7 (display_target_tables): Likewise.
8 (main): Assign the return value of display_info to exit_status.
9 * bucomm.c: Include bfdver.h and libbfd.h
10 (display_target_list): Call bfd_nonfatal instead of nonfatal and
11 return 0 on a non-fatal error, 1 on success.
12 (display_info_table): Likewise.
13 * bucomm.h (display_info): Provide a prototype.
14 * Makefile.am (bucomm.o): Add dependencies on bfdver.h and
15 libbfd.h.
16 * Makefile.in: Regenerate.
17
2630b4ca
DS
182003-03-22 Danny Smith <dannysmith@users.sourceforge,net>
19
20 * dlltool.c (gen_def_file): Put demangled name comments on
21 own line preceding export name.
22
98a91d6a
NC
232003-03-17 Nick Clifton <nickc@redhat.com>
24
25 * objdump.c (disassemble_data): Use disasm_info.fprintf_func not
26 printf for emitting new lines.
27
06a30c77
NC
282003-03-16 Elias Athanasopoulos <elathan@phys.uoa.gr>
29
30 * nm.c (print_symbol_info_bsd): Print the symbol's size instead of
31 the symbol's value when --size-sort is used, unless -S is used.
32 doc/binutils.texi (--size-sort): For non-bsd formats both the
33 value and size of the symbols are displayed.
34
ab829d36
NC
352003-03-13 Nick Clifton <nickc@redhat.com>
36
37 * po/da.po: Update.
38
634847c9
NC
392003-03-12 Nick Clifton <nickc@redhat.com>
40
41 * MAINTAINERS: Remove Peter Targett as ARC maintainer.
42
3889f9eb
BE
432003-03-10 Ben Elliston <bje@wasabisystems.com>
44
45 * MAINTAINERS: Update my mail address.
46
7eb5191a
NC
472003-03-06 Elias Athanasopoulos <elathan@phys.uoa.gr>
48
49 * stabs.c (BYTES_IN_WORD): Remove definition.
50 * wrstabs.c (BYTES_IN_WORD): Likewise.
51
e3b83c8f
NC
522003-03-04 Nick Clifton <nickc@redhat.com>
53
54 * nm.c (main): Print a warning message if --size-sort and
55 --undefined-only are used together.
56
572003-03-04 Elias Athanasopoulos <elathan@phys.uoa.gr>
58
59 * nm.c (print_symbol): Remove check for undefined_only.
60
a9d68a1e
NC
612003-03-03 Nick Clifton <nickc@redhat.com>
62
63 * po/da.po: Installed latest translation.
64
a99996bb
NC
652003-02-24 Nick Clifton <nickc@redhat.com>
66
67 * README: Update binutils references to 2.13.
68 Add paragraph about using --disable-nls.
69
76ed1927
NC
702003-02-24 Elias Athanasopoulos <elathan@phys.uoa.gr>
71
72 * doc/binutils.texi (nm --size-sort): Update.
73
0100f33b
JW
742003-02-21 James E Wilson <wilson@tuliptree.org>
75
76 * MAINTAINERS: Update email address.
77
ecc51f48
NC
782003-02-21 Ian Wienand <ianw@gelato.unsw.edu.au>
79
80 * readelf.c (get_ia64_dynamic_type): New function.
81 (dynamic_segment_ia64_val): New function.
82 (get_dynamic_type): If machine type is EM_IA_64 call
83 get_ia64_dynamic_val.
84 (get_ia64_section_type_name): Handle sections with types in the
85 SHT_IA_64_LOPSREG to SHT_IA_64_HIPSREG range.
86 (get_dynamic_flags): If machine type is EM_IA_64 call
87 dynamic_segment_ia64_val.
88
947ed062
NC
892003-02-21 Bob Wilson <bob.wilson@acm.org>
90
91 * doc/binutils.texi: Fix typos and obvious texinfo mistakes. Make
92 section title capitalization more consistent. Update descriptions
93 of various options to be consistent with the code. Fix errors and
94 incomplete list in the description of c++filt format options. Remove
95 information about the linker. Change to be more polite about poor
96 bug reports. Replace FDL appendix with include of fdl.texi.
97 * doc/fdl.texi: New file.
98
66491ebc
AM
992003-02-21 Roger Sayle <roger@eyesopen.com>
100
101 * objcopy.c (filter_symbols): Fix compilation problems with
102 HP-UX's C compiler.
103
0e11a9e9
CF
1042003-02-19 Christopher Faylor <cgf@redhat.com>
105
106 * rclex.l (handle_quotes): Fix minor formatting problems introduced in
107 previous change.
108
6e5f5201
CF
1092003-02-19 Mark Blackburn <marklist@fangorn.ca>
110
0e11a9e9 111 * rclex.l (handle_quotes): Handle strings spanning more than one line.
6e5f5201 112
f0c8c24a
NC
1132003-02-12 Bob Wilson <bob.wilson@acm.org>
114
115 * nm.c (usage): Add `java' and `gnat' demangle styles and make
116 quotes consistent.
117 * objdump.c (usage): Ditto. Also fix some typos.
118
d3c543fd
NC
119 * readelf.c (parse_args): Include 'H' option in call to getopt_long.
120
fe2c4142
NC
121 * debug.c (debug_record_variable): Handle global register variables.
122
6de15b9e
NC
123 * stabs.c (parse_stab): For N_SLINE only include
124 function_start_offset if the symbol is within a function;
125 otherwise, the value is absolute.
126
fde78edd
NC
1272003-02-10 Nick Clifton <nickc@redhat.com>
128
129 * readelf.c (decode_ARM_machine_flags): Handle the
130 EF_ARM_MAVERICK_FLOAT flag.
131
22d82235
AS
1322003-02-04 Andreas Schwab <schwab@suse.de>
133
134 * rddbg.c (read_section_stabs_debugging_info): Cast ptrdiff_t to
135 long and use %ld in printf format.
136
1a677ea8
RS
1372003-01-28 Richard Sandiford <rsandifo@redhat.com>
138
139 * readelf.c (dump_relocations): Reorder the r_info field for
140 little-endian mips elf64. Move #ifdef BFD64 to cover the new code.
141
8dde85fc
NC
1422003-01-21 Daniel Berlin <dan@dberlin.org>
143
144 * readelf.c (display_debug_loc): Skip address base changes.
145
c6f8bb1e
AM
1462003-01-17 Fabio Alemagna <falemagn@aros.org>
147
148 * readelf.c (get_osabi_name): Handle ELFOSABI_AROS, ELFOSABI_OPENVMS
149 and ELFOSABI_NSK.
150
c833c019
AM
1512003-01-16 Alan Modra <amodra@bigpond.net.au>
152
153 * readelf.c: Include elf/ppc64.h.
154 (dump_relocations <EM_PPC64>): Use elf_ppc64_reloc_type.
155 * Makefile.am: Run "make dep-am".
156 * Makefile.in: Regenerate.
157
3b36097d
SC
1582003-01-02 Ben Elliston <bje@redhat.com>
159
160 * readelf.c (guess_is_rela): Handle EM_IQ2000.
161 (get_machine_name): Likewise.
162 (dump_relocations): Likewise.
163 * NEWS: Mention IQ2000 support.
164
cb44e358
RS
1652003-01-02 Richard Sandiford <rsandifo@redhat.com>
166
167 * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_32R2.
168
af7ee8bf
CD
1692002-12-30 Chris Demetriou <cgd@broadcom.com>
170
171 * doc/binutils.texi (objdump): Note MIPS HWR (Hardware Register)
172 changes in MIPS -M options.
173
2469cfa2
NC
1742002-12-30 Dmitry Diky <diwil@mail.ru>
175
176 * Makefile.am: Add msp430 target.
177 * Makefile.in: Regenerate.
178 * readelf.c: Add support for msp430 target.
179
640c0ccd
CD
1802002-12-27 Chris Demetriou <cgd@broadcom.com>
181
182 * doc/binutils.texi (objdump): Document MIPS -M options.
183
59f14fc0
AS
1842002-12-23 Andreas Schwab <schwab@suse.de>
185
186 * readelf.c (main): Reset dump request after each file.
187
312b768e
NC
1882002-12-23 Nick Clifton <nickc@redhat.com>
189
190 * nlmconv.c (main): Pass TRUE as third argument to
191 bfd_arch_get_compatible.
192
8745eafa
NC
1932002-12-23 Nick Clifton <nickc@redhat.com>
194
195 * strings.c (isgraphic): Replace definition with STRING_ISGRAPHIC
196 macro. Handle 'S' encoding, accepting 8-bit characters.
197 (main): Parse 'S' encoding.
198 (get_char): Accept 'S' encoding.
199 (print_strings): Use STRING_ISGRAPHIC.
200 (usage): Document support of 'S' encoding.
201 * doc/binutils.texi: Document support of 'S' encoding/
202 * NEWS: Mention new feature.
203
08213ebb
AM
2042002-12-20 Alan Modra <amodra@bigpond.net.au>
205
206 * README <building ar>: Don't use libibery's needed_list or
207 required_list, instead link libiberty/*.o.
208
b9e5d8e5
KH
2092002-12-19 Kazu Hirata <kazu@cs.umass.edu>
210
211 * doc/binutils.texi: Fix typos.
212
c51238bc
DA
2132002-12-14 John David Anglin <dave@hiauly1.hia.nrc.ca>
214
215 * doc/binutils.texi: Add missing parenthesis.
216
d7fb0dd2
NC
2172002-12-15 Nick Kelsey <nickk@ubicom.com>
218
219 * objcopy.c: Add --prefix-symbols=<prefix> option to rename all
220 symbols by adding the given prefix to the begining of the symbol
221 name. This is useful to provide name space seperation regardless
222 of how the object file was created. Added --prefix-sections=
223 <prefix> and --prefix-alloc-sections=<prefix> options to rename all
224 sections (or all sections with the alloc flag set) by adding the given
225 prefix to the begining of the symbol name.
226 * NEWS: Mention this new feature.
227 * doc/binutils.texi: Document this new feature.
228
55b9cdf1
AM
2292002-12-13 Alan Modra <amodra@bigpond.net.au>
230
231 * dlltool.c (mcore_elf_gen_out_file): Replace all occurrences of
232 dyn_string_append with dyn_string_append_cstr.
233
234 * emul_aix.c (ar_emul_aix_create): Remove unused function.
235
84ad6ede
NC
2362002-12-10 James Cownie <jcownie@etnus.com>
237
238 * readelf.h (get_TAG_name, get_AT_name,
704afb58 239 read_and_display_attr_value): Add support for UPC extensions to
84ad6ede
NC
240 DWARF2 spec.
241 * NEWS: Mention this new support.
242
7d036af2
AM
2432002-12-08 Alan Modra <amodra@bigpond.net.au>
244
245 * NEWS: Mention that bfd no longer declares a "boolean" type.
246
3e8bba36
AM
2472002-12-07 Alan Modra <amodra@bigpond.net.au>
248
249 * readelf.c (process_program_headers): When setting loadaddr, don't
250 assume segment size is 4k. Use p_align instead.
251 (loadaddr): Change from int to long.
252 (dynamic_addr, dynamic_info, version_info): Likewise.
253 (process_dynamic_segment <syminsz>): Likewise.
254 (process_dynamic_segment): Adjust print format string.
255 (rela_addr, rela_size): Delete.
256 (process_relocs): Formatting.
257
d070dab9
JW
2582002-12-05 Jim Wilson <wilson@redhat.com>
259
260 * configure.in (OBJDUMP_DEFS): Define SKIP_ZEROES as 16 for IA-64.
261 * configure: Regenerate.
262
45bcbdb1
ILT
2632002-12-04 Ian Lance Taylor <ian@airs.com>
264
265 * MAINTAINERS: Change e-mail address back to airs.com.
266
42ea8716
AH
2672002-12-04 Aldy Hernandez <aldyh@redhat.com>
268
269 * MAINTAINERS: Add self.
270
b34976b6
AM
2712002-11-30 Alan Modra <amodra@bigpond.net.au>
272
273 * addr2line.c, ar.c, arsup.c, binemul.c, binemul.h, bucomm.c, bucomm.h,
274 budbg.h, debug.c, debug.h, dlltool.c, emul_aix.c, ieee.c, nlmconv.c,
275 nlmconv.h, nlmheader.y, nm.c, objcopy.c, objdump.c, prdbg.c, rdcoff.c,
276 rddbg.c, readelf.c, rename.c, size.c, stabs.c, strings.c,
277 unwind-ia64.h, wrstabs.c: Replace boolean with bfd_boolean, true with
278 TRUE, false with FALSE. Simplify comparisons of bfd_boolean vars
279 with TRUE/FALSE. Formatting.
280
c8286bd1
JJ
2812002-11-29 Jakub Jelinek <jakub@redhat.com>
282
283 * readelf.c Replace occurrences of Elf32_Internal_* and
284 Elf64_Internal_* with Elf_Internal_*.
285 (slurp_rel_relocs): Change Elf_Internal_Rel to Elf_Internal_Rela.
286 Zero r_addend fields.
287 (dump_relocations): Remove relas variable, change Elf_Internal_Rel to
288 Elf_Internal_Rela.
289
92acdfaf
NC
2902002-11-23 Nick Clifton <nickc@redhat.com>
291
292 * size.c (usage): Fix typo describing switch for hex format.
293
48c5eb8a
SS
2942002-11-18 Svein E. Seldal <Svein.Seldal@solidas.com>
295
296 * testsuite/binutils-all/objcopy.exp: Disable tic4x from test
297 * testsuite/binutils-all/objdump.exp: Setup proper values for tic4x
298 testcase
299
2f62977e
NC
3002002-11-14 Nick Clifton <nickc@redhat.com>
301
302 * readelf.c (process_program_headers): Add comment about return
303 value. Ensure that 0 is returned if the headers are not loaded.
304 (process_file): If process_section_headers failed to load the
305 headers disable any tests that rely upon them. Similarly for
306 process_program_headers.
307
cd24c222
NC
3082002-11-12 Nick Clifton <nickc@redhat.com>
309
310 * po/da.po: Updated Danish translation.
311
f3931575
AM
3122002-11-12 Klee Dienes <kdienes@apple.com>
313
314 * rddbg.c (read_section_stabs_debugging_info): Also recognize
315 LC_SYMTAB.stab/LC_SYMTAB.stabstr as a valid pair of sections.
316
b54e7460
CF
3172002-11-11 Christopher Faylor <cgf@redhat.com>
318
319 * MAINTAINERS: Reinstate DJ Delorie as COFF maintainer. Drop COFF from
320 cgf maintainership.
321
4f17cc13
CF
3222002-11-11 Christopher Faylor <cgf@redhat.com>
323
324 * MAINTAINERS: Replace DJ Delorie as PE/COFF maintainer.
325
232e7cb8
NC
3262002-11-07 Nick Clifton <nickc@redhat.com>
327
cd24c222 328 * configure.in (ALL_LINGUAS): Add 'da'.
235c4794
NC
329 * configure: Regenerate.
330 * po/da.po: New Danish translation.
331
232e7cb8
NC
332 * readelf.c (get_symbol_index_type): Revert part of previous
333 patch: Display unknown symbol types in decimal, not hex.
334
c9e38879
NC
3352002-11-07 Danny Smith <dannysmith@users.sourceforge.net>
336
337 * dlltool.c (add_excludes): Don't prefix excluded fastcall
338 symbols with underscore.
339 (xlate): Ignore add_underscore for decorated fastcall symbols.
340
3412002-11-07 Eric Kohl <ekohl@rz-online.de>
342
343 * deflex.l: Accept '@' as first character of an ID.
344 * dlltool.c (gen_exp_file): Use existing '@' prefix rather than
345 ASM_PREFIX for fastcall symbols.
346 (scan_drectve_symbols): Handle fastcall symbols when generating
347 undecorated aliases for symbols in drectve section.
348 (scan_filtered_symbols): Likewise, with export-all.
349 (xlate): Likewise, with --kill-at.
350 (make_imp_label): New function to handle fastcall symbols
351 correctly.
352 (make_one_lib_file): Use make_imp_label instead of make_label
353 for imp symbols.
354
a700dc3b
SS
3552002-11-06 Svein E. Seldal <Svein.Seldal@solidas.com>
356
357 * MAINTAINERS: Add self as TIC4X maintainer.
358
5cf1065c
NC
3592002-11-06 Hiroyuki Machida <machida@sm.sony.co.jp>
360
361 * readelf.c (get_symbol_index_type): Add hex number to
49814ed0
NC
362 PROCESSOR-specific, OS-specific, reserved and unknown symbol
363 types.
5cf1065c 364
f1ef08cb
AM
3652002-11-04 Alan Modra <amodra@bigpond.net.au>
366
367 * readelf.c (byte_get_little_endian): Comment typo fix.
368 (print_symbol): Constify "symbol" arg. Don't pass "symbol" to printf
369 as the format string.
370 (dump_relocations): Correct section sym names.
371 (process_section_headers): Clear symtab_shndx_hdr.
372 (read_and_display_attr_value): Don't pass indirect string to printf
373 as the format string.
374 (display_debug_frames): Indicate when zero terminator found. Decode
375 DW_EH_PE_pcrel addresses.
376
1a09a22c
NC
3772002-10-23 Svein E. Seldal <Svein.Seldal@solidas.com>
378
379 * configure.in: Define SKIP_ZEROES as 32 for tic4x target in
380 order to ensure proper disassembly of the valid 0-value opcode.
381 * configure: Regenerate.
382 * aclocal.m4: Regenerate.
383 * config.in: Regenerate.
384 * configure.in: Regenerate.
385 * doc/Makefile.in: Regenerate.
386 * po/binutils.pot: Regenerate.
387
c254c557
KK
3882002-10-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
389
390 * MAINTAINERS: Add self as SH maintainer.
391
aefbdd67
BE
3922002-10-23 Ben Elliston <bje@redhat.com>
393
394 * doc/binutils.texi (objdump): Document -z and move the entry for
395 --disassemble-zeroes to the end of the options section (for `z').
396
ab9bcc01
NC
3972002-10-21 Nick Clifton <nickc@redhat.com>
398
399 * MAINTAINERS: Discontinue Hans-Peter Nilsson as SH maintainer.
400
8ab56b6f
AM
4012002-10-21 Svein E. Seldal <Svein.Seldal@solidas.com>
402
403 * objdump.c (dump_data): Correct addr_offset for opb != 1.
404
49c12576
AM
4052002-10-15 Alan Modra <amodra@bigpond.net.au>
406
48417c1a
AM
407 * bucomm.c (list_supported_targets): Use bfd_target_list.
408
49c12576
AM
409 * objcopy.c (copy_file): Report ambiguous bfd_object matches, and
410 other object errors in preference to bfd_core errors.
411
6e1a7e9a
AM
4122002-10-14 Alan Modra <amodra@bigpond.net.au>
413
414 * Makefile.am: Run "make dep-am".
415 * objdump.c: #include "bfdver.h".
416 * version.c: Likewise.
417 * Makefile.in: Regenerate.
418 * config.in: Regenerate.
419 * configure: Regenerate.
420 * po/POTFILES.in: Regenerate.
421
09fc3b02
DJ
4222002-10-09 Daniel Jacobowitz <drow@mvista.com>
423
424 * readelf.c (display_debug_info): Ignore empty .rela.debug_info
425 sections. Allow relocations against the absolute symbol. Don't
426 use the value in compunit.cu_abbrev_offset if we found a RELA
8ab56b6f 427 relocation.
09fc3b02 428
f309035a
NC
4292002-10-07 Gordon Chaffee <chaffee@netvmg.com>
430
431 * addr2line.c (slurp_symtab): Read in dynamic symbols if no
432 ordinary ones are available.
433
810dfa6e
L
4342002-09-30 H.J. Lu <hjl@gnu.org>
435
436 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_4120,
437 E_MIPS_MACH_5400 and E_MIPS_MACH_5500.
438
bb279dc0
ZW
4392002-09-17 Zack Weinberg <zack@codesourcery.com>
440
441 * Makefile.am (CFILES): Add cxxfilt.c.
442 (cxxfilt_SOURCES): Now just cxxfilt.c $(BULIBS).
443 (cxxfilt_LDADD): Delete.
444 Remove all references to underscore.c.
445 Regen dependencies.
446 * configure.in: Define TARGET_PREPENDS_UNDERSCORE in
447 config.h from $UNDERSCORE, rather than AC_SUBSTing it.
448 * binutils/cxxfilt.c: Moved here from gcc/cp, minor
449 adjustments to fit into binutils framework.
450 * configure, config.in, Makefile.in, doc/Makefile.in: Regenerate.
451
065c959b
NC
4522002-09-12 Roland McGrath <roland@redhat.com>
453
454 * readelf.c (decode_location_expression): DW_OP_calli -> DW_OP_call_ref
455 Handle DW_OP_GNU_push_tls_address.
456
e09f4395
NC
4572002-09-11 Nick Clifton <nickc@redhat.com>
458
459 * po/tr.po: Updated Turkish translation.
460
873e0588
NC
4612002-09-10 Nick Clifton <nickc@redhat.com>
462
463 * MAINTAINERS: Add Ben Elliston as a maintainer for configure and
464 testsuite changes. Add paragraphs about testsuite and config
465 patches.
466
069fe61f
NC
4672002-08-29 Nick Clifton <nickc@redhat.com>
468
469 * readelf.c (get_machine_flags): Remove redundant reference to
470 E_V850EA_ARCH.
471
fe0507eb
AM
4722002-08-28 Alan Modra <amodra@bigpond.net.au>
473
474 * objdump.c (dump_bfd): Restore lines accidentally deleted in
475 last commit.
476
026df7c5
NC
4772002-08-28 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
478
bb279dc0 479 * objdump.c (dump_headers): Add printing of HAS_LOAD_PAGE flag.
026df7c5
NC
480 (dump_bfd_header): Likewise.
481
68a4c073
AM
4822002-08-27 Alan Modra <amodra@bigpond.net.au>
483
484 * nm.c: Revert last change.
485
a1df01d1
AM
4862002-08-26 Alan Modra <amodra@bigpond.net.au>
487
488 * nm.c (display_rel_file): Don't report "no symbols" as an error.
489 * objdump.c (slurp_symtab): Likewise.
490 (slurp_dynamic_symtab): Likewise.
491 (dump_symbols): Likewise. Do print "no symbols" to stdout.
492
a926ab2f
GK
4932002-08-24 Geoffrey Keating <geoffk@redhat.com>
494
495 * MAINTAINERS: Change my mailing address.
496
fcf62380
DA
4972002-08-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
498
499 * MAINTAINERS: Add Dave Anglin as HPPA co-maintainer.
500
51e28791
NC
5012002-08-22 Nick Clifton <nickc@redhat.com>
502
503 * MAINTAINERS: Add Jeff Law as (maintainance) maintainer for
504 HPPA.
505
c5b060ad
AM
5062002-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
507
508 * readelf.c (parse_args): Change debug_dump_opt to static.
509
4b73ca92
NC
5102002-08-16 Sivaguru Sankaridurg <siva@eternal-systems.com>
511
512 * stabs.c (parse_stab_argtype): Pass length of physname to
513 stab_demangle_argtypes.
514 (stab_demangle_argtypes): Add new parameter - length of physname.
515 Pass length of physname on to stab_demangle_prefix.
516 (stab_demangle_prefix): Add new parameter - length of physname.
517 Use length of physname (if supplied) to compute end of function
518 name.
519
35b1837e
AM
5202002-08-15 Alan Modra <amodra@bigpond.net.au>
521
522 * readelf.c: Include elf/i370.h.
523 (dump_relocations): Handle EM_S370.
524 (dynamic_segment_parisc_val): Print \n.
525 (process_dynamic_segment <DT_BIND_NOW>): Here too.
526
762baac5
NC
5272002-08-14 Nick Clifton <nickc@redhat.com>
528
529 * nm.c (usage): Change 'gnu-new-abi' to 'gnu-v3'.
530 * objdump.c (usage): Likewise.
531 * doc/binutils.texi: Likewise.
532
85c09e8a
NC
5332002-08-14 Luke Dunstan <infidel@users.sourceforge.net>
534
535 * rcparse.y (acc_entry): Don't warn about ALT use with
536 non-VIRTKEY.
537
212a3c4d
L
5382002-08-13 H.J. Lu <hjl@gnu.org>
539
540 * objcopy.c (copy_object): Don't warn about the unsupported
541 architecture unless the input target is defaulted or the
542 output architecture is different from the input.
543
2b692c59
NC
5442002-08-09 Nick Clifton <nickc@redhat.com>
545
546 * po/sv.po: Updated Swedish translation.
547
09de7a73
AM
5482002-08-05 Alan Modra <amodra@bigpond.net.au>
549
550 * prdbg.c (pr_fix_visibility): Remove assert.
551
47badb7b
NC
5522002-07-31 Nick Clifton <nickc@redhat.com>
553
554 * addr2line.c (process_file): Rename parameter 'filename' to
555 'file_name' in order to avoid shadowing global symbol of the
556 same name.
557 (main): Likewise.
558
2979dc34
JJ
5592002-07-30 Jakub Jelinek <jakub@redhat.com>
560
561 * readelf.c (OPTION_DEBUG_DUMP): Define.
562 (options): Use it.
563 (usage): Update help.
564 (parse_args): Handle --debug-dump separately from -w.
565 * doc/binutils.texi (readelf): Update documentation.
566
219576a4
NC
5672002-07-25 Nick Clifton <nickc@redhat.com>
568
569 * po/es.po: Updated Spanish translation.
570 * po/fr.po: Updated French translation.
571
bf4f22e6 5722002-07-24 Nick Clifton <nickc@redhat.com>
bb279dc0 573
bf4f22e6
NC
574 * po/es.po: Updated Spanish translation.
575
c5b3a82a
AM
5762002-07-23 Alan Modra <amodra@bigpond.net.au>
577
578 * Makefile.am: Run "make dep-am".
579 * Makefile.in: Regenerate.
580
0461a601
NC
5812002-07-23 Nick Clifton <nickc@redhat.com>
582
bf4f22e6 583 * po/fr.po: Updated French translation.
0461a601 584
bf44dd74
AM
5852002-07-23 Eric S. Raymond <esr@golux.thyrsus.com>
586
587 * doc/binutils.texi (addr2line <man synopsis>): Correct brackets.
588
2c205ff2
AM
5892002-07-20 Alan Modra <amodra@bigpond.net.au>
590
63eb0809 591 * budemang.c: Include config.h and string.h/strings.h.
2c205ff2 592
1e4cf259
NC
5932002-07-18 Denis Chertykov <denisc@overta.ru>
594 Frank Ch. Eigler <fche@redhat.com>
595
596 * readelf.c: Include "elf/ip2k.h".
597 (guess_is_rela): Add support for EM_IP2K and EM_IP2K_OLD.
598 (dump_relocations): Likewise.
599 (get_machine_name): Likewise.
600 * NEWS: Mention IP2K support.
601
2cbb2eef
NC
6022002-07-16 Nick Clifton <nickc@cambridge.redhat.com>
603
604 * NEWS: Add 'Changes in 2.13'.
605
047b2264
JJ
6062002-07-10 Jakub Jelinek <jakub@redhat.com>
607
608 * readelf.c (get_dynamic_type): Handle DT_GNU_PRELINKED,
609 DT_GNU_CONFLICT* and DT_GNU_LIBLISZ*.
610 (get_section_type_name): Handle SHT_GNU_LIBLIST.
611 (process_dynamic_segment): Handle DT_GNU_CONFLICTSZ,
612 DT_GNU_LIBLISTSZ and DT_GNU_PRELINKED.
613 (process_gnu_liblist): New.
614 (process_file): Call it.
615
97230b15
AM
6162002-07-03 Alan Modra <amodra@bigpond.net.au>
617
618 * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
619 * Makefile.in: Regenerate.
620
a6637ec0
AM
6212002-07-02 Alan Modra <amodra@bigpond.net.au>
622
623 * budemang.c: New file, "demangle" function.
624 * budemang.h: New file.
625 * addr2line.c (translate_addresses): Use "demangle".
626 * nm.c (print_symname): Likewise.
627 * objdump.c (objdump_print_symname): Likewise.
628 (dump_symbols): Likewise. Also, don't use bfd_asymbol_name macro
629 here since that obfuscates.
630 * rdcoff.c: Don't #include demangle.h.
631 * Makefile.am (CFILES): Add budemang.c, emul_aix.c,
632 emul_vanilla.c. Remove emul_$(EMULATION).c. Sort.
633 (HFILES): Add budemang.h. Sort.
634 (nm_new_SOURCES, objdump_SOURCES, addr2line_SOURCES): Add budemang.c.
635 Run "make dep-am".
636 * Makefile.in: Regenerate.
637
179d3252
JT
6382002-07-01 Matt Thomas <matt@3am-software.com>
639
640 * readelf.c: Include "elf/vax.h".
641 (guess_is_rela): Move EM_VAX from unknown to RELA case.
642 (dump_relocations): Handle VAX relocations.
643 (get_machine_flags): Handle VAX machine flags.
644
75751cd9
SC
6452002-06-29 Stephane Carrez <stcarrez@nerim.fr>
646
647 * readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.
648
e5851ab8
NC
6492002-06-26 Nick Clifton <nickc@cambridge.redhat.com>
650
651 * MAINTAINERS: Remove Tom Rix from d10v and pcc maintainerships.
652
eb3f2f5c
AM
6532002-06-26 Alan Modra <amodra@bigpond.net.au>
654
655 * nm.c (print_symname): When demangling, strip leading dots from
656 symbol names to avoid confusing the demangler.
657
a13a0de8
L
6582002-06-25 H.J. Lu <hjl@gnu.org>
659
660 * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
661 * Makefile.in: Regenerated.
662
6db7a086
AM
6632002-06-21 Igor Schein <igor@txc.com>
664
665 * configure.in: Quote bu_cv_have_fopen64.
666 * configure: Regenerate.
667
9710509e
AM
6682002-06-21 Mitsru Chinen <chinen@jp.ibm.com>
669
670 * configure.in: Check for strcoll.
671 * configure: Regenerate.
672 * config.in: Regenerate.
673 * nm.c (main): Set locale for LC_COLLATE category.
674 (non_numeric_forward): Use strcoll if available.
675
a9f0b5e7
DB
6762002-06-20 Dave Brolley <brolley@redhat.com>
677
678 * MAINTAINERS: Add self as fr30 and frv maintainer.
679
33f5f537
L
6802002-06-18 H.J. Lu (hjl@gnu.org)
681
682 * nm.c: Include "elf/common.h".
683 (extended_symbol_info): Add elfinfo, a pointer to
684 elf_symbol_type.
685 (SYM_SIZE): Use elfinfo if it is not NULL.
686 (get_symbol_type): New function.
687 (display_archive): Set print_width for each archive member.
688 (display_file): Likewise.
689 (display_rel_file): Don't set print_width here.
690 (print_object_filename_sysv): Handle print_width.
691 (print_archive_member_sysv): Likewise.
692 (print_symbols): Pass (bfd_vma) 0 to print_symbol.
693 (print_symbol): Set the elfinfo field in extended_symbol_info
694 for ELF.
695 (print_object_filename_sysv): Fix the output format.
696 (print_symbol_info_sysv): Print type and section for ELF.
697
6982002-06-18 Elias Athanasopoulos <eathan@otenet.gr>
699
700 * nm.c (print_size_symbols): Remove assignment, which makes
bb279dc0 701 the symbol's size equal to its value when --size-sort is
33f5f537
L
702 used.
703
5c70f934
DB
7042002-06-18 Dave Brolley <brolley@redhat.com>
705
706 From Catherine Moore:
707 * readelf.c (elf/frv.h): #include it.
708 (guess_is_rela): Support EM_CYGNUS_FRV.
709 (dump_relocations): Ditto.
710 (get_machine_name): Ditto.
711 * Makefile.am (readelf.o): add dependency on $(INCDIR)/elf/frv.h.
712
7ece0d85
JJ
7132002-06-18 Jakub Jelinek <jakub@redhat.com>
714
715 * readelf.c (get_file_header): Only read the first section header if
716 e_shoff is non-zero.
717
72797995
L
7182002-06-15 H.J. Lu (hjl@gnu.org)
719
720 * nm.c (print_size): New variable. Initialize to 0.
721 (long_options): Add 'S'/"print-size".
722 (main): Handle 'S'.
723 (print_symbol_info_bsd): Print size only if print_size is not
724 0.
725
726 * doc/binutils.texi: Document -S/--print-size.
727
977f7911
NC
7282002-6-13 Elias Athanasopoulos <eathan@otenet.gr>
729
730 * nm.c (struct extended_symbol_info): New strcuture: Add the size
731 of the symbols to the information provided by the symbol_info
732 structure.
733 (print_symbols): Pass the symbol size to print_symbol.
734 (print_size_symbols): Pass the symbol size to print_symbol.
735 (print_symbol): Extra argument: The size of the symbol. Store
736 this in the extended_symbol_info structure.
737 (print_symbol_info): Change type of info parameter to
738 extended_symbol_info. Display the size, if known.
739 (print_symbol_info_posix): Likewise.
740 (print_symbol_info_sysv): Likewise.
741
b1f88ebe
AM
7422002-06-08 Alan Modra <amodra@bigpond.net.au>
743
fa449227
AM
744 * Makefile.am: Run "make dep-am".
745 * Makefile.in: Regenerate.
746 * doc/Makefile.in: Regnerate.
747
b1f88ebe
AM
748 * bucomm.c: Replace CONST with const.
749 * nm.c: Likewise.
750 * objdump.c: Likewise.
751
91a106e6
L
7522002-06-07 H.J. Lu <hjl@gnu.org>
753
754 * readelf.c (DW_CFA_GNU_args_size): Don't define.
755 (DW_CFA_GNU_negative_offset_extended): Likewise.
756 (DW_CFA_GNU_window_save): Likewise.
757 (display_debug_frames): Handle DW_CFA_offset_extended_sf,
758 DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
759
6ab6b380 7602002-06-07 Elias Athanasopoulos <eathan@otenet.gr>
bb279dc0 761
6ab6b380
NC
762 * nm.c: When computing size of symbols for an ELF target use the
763 internal size field.
764
e28e05a3
JL
7652002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
766
767 * testsuite/binutils-all/objcopy.exp: clear xfail for
768 "hppa*64*-*-hpux*".
769 * testsuite/binutils-all/hppa/objdump.exp: Return if
770 "*64*-*-*".
771
dc156bc0
AM
7722002-06-05 Alan Modra <amodra@bigpond.net.au>
773
774 * objcopy.c (copy_section): Don't copy SEC_GROUP sections.
775
7762002-06-03 Elias Athanasopoulos <eathan@otenet.gr>
28b18af1
AM
777
778 * objdump.c: Fix formatting.
779
d79e4ea3
BE
7802002-05-29 Ben Elliston <bje@redhat.com>
781
782 * MAINTAINERS: Add self as M68k maintainer.
783
d172d4ba
NC
7842002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
785
786 * readelf.c: Modified/Added DLX elf support.
787
7edb8f29
NC
7882002-05-27 Nick Clifton <nickc@cambridge.redhat.com>
789
3a1a2036
NC
790 * arsup.c: Fix formatting.
791 * debug.c (debug_record_label): Add missing colon to error
792 message.
793 * ieee.c (parse_ieee_ty): Fix spelling typo.
794 * readelf.c (process_program_headers): Remove English assumption
795 about making a plural word.
796 (process_section_headers): Likewise.
797 (process_relocs): Allow quotes to be translated.
798 (process_unwind): Likewise,
799 (process_mips_specific): Improve error message.
800 (get_note_type): Fix spelling typo.
801
7edb8f29
NC
802 * configure.in (ALL_LINGUAS): Add sv
803 * po/sv.po: New file.
804
3eee1e9d
AM
8052002-05-27 Alan Modra <amodra@bigpond.net.au>
806
807 * unwind-ia64.c (unw_print_brmask): Don't use sprintf.
808 (unw_print_grmask): Likewise.
809 (unw_print_frmask): Likewise.
810
d43efbe3
KH
8112002-05-26 Kazu Hirata <kazu@cs.umass.edu>
812
813 * arsup.c: Remove ARGSUSED.
814 * debug.c: Likewise.
815 * ieee.c: Likewise.
816 * nlmconv.c: Likewise.
817 * prdbg.c: Likewise.
818 * stabs.c: Likewise.
819 * wrstabs.c: Likewise.
820
e9792343
AM
8212002-05-25 Alan Modra <amodra@bigpond.net.au>
822
823 * arlex.l: Use #include "" instead of <> for local header files.
824 * coffdump.c: Likewise.
825 * coffgrok.c: Likewise.
826 * nlmconv.c: Likewise.
827 * nlmheader.y: Likewise.
828 * srconv.c: Likewise.
829 * strings.c: Likewise.
830 * sysdump.c: Likewise.
831 * unwind-ia64.h: Likewise.
832 * windres.h: Likewise.
833 * winduni.h: Likewise.
834
d7e53452
TR
8352002-05-24 Tom Rix <trix@redhat.com>
836
837 * MAINTAINERS: Add self as the d10v maintainer.
838
436e8db0
NC
8392002-05-24 TAMURA Kent <kent@netbsd.org>
840
841 * configure.in: Builds dlltool for i386-netbsdpe.
842 * configure: Regenerate.
843
9f66665a
KH
8442002-05-23 Kazu Hirata <kazu@cs.umass.edu>
845
846 * size.c: Fix formatting.
847 * srconv.c: Likewise.
848 * stabs.c: Likewise.
849 * sysdump.c: Likewise.
850 * unwind-ia64.c: Likewise.
851 * wrstabs.c: Likewise.
852
13ae64f3
JJ
8532002-05-23 Jakub Jelinek <jakub@redhat.com>
854
855 * readelf.c (get_segment_type): Add PT_TLS.
856 (get_elf_section_flags): Add SHF_TLS.
857 (get_dynamic_flags): Optimize. Add DF_STATIC_TLS.
858 (process_dynamic_segment): Use puts instead of printf.
859 (get_symbol_type): Support STT_TLS.
860 * objdump.c (dump_section_header): Remove SEC_CONSTRUCTOR_TEXT,
861 SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS.
862 Add SEC_THREAD_LOCAL.
863
53c7db4b
KH
8642002-05-23 Kazu Hirata <kazu@cs.umass.edu>
865
866 * rdcoff.c: Fix formatting.
867 * rddbg.c: Likewise.
868 * readelf.c: Likewise.
869 * rename.c: Likewise.
870 * resbin.c: Likewise.
871 * resrc.c: Likewise.
872 * resres.c: Likewise.
873
0af11b59
KH
8742002-05-21 Kazu Hirata <kazu@cs.umass.edu>
875
876 * filemode.c: Fix formatting.
877 * ieee.c: Likewise.
878 * is-ranlib.c: Likewise.
879 * is-strip.c: Likewise.
880 * maybe-ranlib.c: Likewise.
881 * maybe-strip.c: Likewise.
882 * nlmconv.c: Likewise.
883 * nm.c: Likewise.
884 * not-ranlib.c: Likewise.
885 * not-strip.c: Likewise.
886 * objcopy.c: Likewise.
887 * objdump.c: Likewise.
888
21611032
TS
8892002-05-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
890
891 * objdump.c (dump_headers): Fix output formatting for ELF32
892 architectures in a BFD64 enabled toolchain.
893
26044998
KH
8942002-05-20 Kazu Hirata <kazu@cs.umass.edu>
895
896 * debug.c: Fix formatting.
897 * debug.h: Likewise.
898 * dlltool.c: Likewise.
899 * dllwrap.c: Likewise.
900 * emul_aix.c: Likewise.
901 * emul_vanilla.c: Likewise.
902
f462a9ea
KH
9032002-05-19 Kazu Hirata <kazu@cs.umass.edu>
904
905 * addr2line.c: Fix formatting.
906 * ar.c: Likewise.
907 * arsup.c: Likewise.
908 * arsup.h: Likewise.
909 * binemul.c: Likewise.
910 * binemul.h: Likewise.
911 * bucomm.c: Likewise.
912 * coffdump.c: Likewise.
913 * coffgrok.c: Likewise.
914 * coffgrok.h: Likewise.
915
e0159aa9
MM
9162002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
917
918 * MAINTAINERS: Add myself as the second AVR port maintainer.
919
074b403e
SC
9202002-05-16 Stephane Carrez <stcarrez@nerim.fr>
921
922 * MAINTAINERS: Update my email address.
923
2b9c8201
NC
9242002-05-09 Nick Clifton <nickc@cambridge.redhat.com>
925
926 * MAINTAINERS: Add Jason Thorpe as VAX maintainer.
927
e1d5b1e7
AM
9282002-05-09 Alan Modra <amodra@bigpond.net.au>
929
930 * configure.in: Replace `*pe' with `pe' throughout.
931 * configure: Regenerate.
932
d3d8a9ee
NC
9332002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
934
935 * Makefile.am: Honour DESTDIR.
936 * Makefile.in: Regenerate.
937
405c98a4
AM
9382002-05-06 Alan Modra <amodra@bigpond.net.au>
939
a02d5965
AM
940 * dlltool.c (process_def_file): Add missing prototype.
941 (new_directive, assemble_file, main): Likewise.
942 (process_def_file, new_directive): Make static.
943 (inform): Rewrite using VA_FIXEDARG.
944 * dllwrap.c (mybasename): Add missing prototype.
945 (strhash, main): Likewise.
946 (inform): Rewrite using VA_FIXEDARG.
947 (warn): Likewise.
948 (cleanup_and_exit): Use old style function definition.
949 (strhash): Likewise.
950 * windres.c (define_resource): Use one memset to clear all of
951 struct res_resource.
952
405c98a4 953 * rcparse.y: Remove newcmd rule. Move rcparse_discard_strings
a02d5965 954 call to rules that need no lookahead. Check for no lookahead.
405c98a4
AM
955
9562002-05-06 Borut Razem <borut.razem@siol.net>
957
958 * rclex.l (get_string): Correct "strings" list handling.
959 * resrc.c (read_rc_file): Discard strings.
960
91593c9d
AM
9612002-05-04 Alan Modra <amodra@bigpond.net.au>
962
e58a75dc
AM
963 * ar.c (replace_members): Remove unused var. Formatting fix.
964 * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
965
91593c9d
AM
966 * MAINTAINERS: Sort port maintainers by CPU.
967
6b52b824
AM
9682002-05-04 Bob Byrnes <byrnes@curl.com>
969
970 * size.c (display_archive): Add last_arfile and code to close archives.
971
dd70071f
AM
9722002-05-01 Alan Modra <amodra@bigpond.net.au>
973
974 * nm.c (print_symbol): Check returned filename from
975 bfd_find_nearest_line is non-NULL.
976
6c95717a 9772002-04-25 Elena Zannoni <ezannoni@redhat.com>
bb279dc0
ZW
978
979 * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
6c95717a 980
3c25c5f6
NC
9812002-04-24 Christian Groessler <chris@groessler.org>
982
983 * MAINTAINERS: Changed my email address.
984
944cd72c
TS
9852002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
986
987 * arparse.y: Fix syntax warning.
988
ea91f8bb
NC
9892002-04-16 Nick Clifton <nickc@cambridge.redhat.com>
990
3e55a963
NC
991 * readelf.c (fetch_location_list): Remove unused function.
992
993 * readelf.c (process_corefile_note_segment): Catch corrupt notes
994 and display a warning message, then exit the loop.
995
ea91f8bb
NC
996 * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
997
45b99827
NC
9982002-04-15 Nick Clifton <nickc@cambridge.redhat.com>
999
1000 * resrc.c (write_rc_dialog): If charset is non-default value
1001 display all of the DIALOGEX parameters.
1002
10032002-04-15 Eric Kohl <ekohl@rz-online.de>
1004
bb279dc0 1005 * rcparse.y: Allow two to five parameter in FONT statement of
45b99827
NC
1006 DIALOGEX resources.
1007 * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
1008 resource data.
bb279dc0 1009 (res_to_bin_dialog): Likewise.
45b99827
NC
1010 * windres.h: Added misssing charset variable to dialog_ex
1011 structure.
1012
acfbab8a
NC
10132002-04-10 Nick Clifton <nickc@cambridge.redhat.com>
1014
1015 * rcparse.y: Set MEMFLAG_PURE by default.
1016
df3baf66
NC
10172002-04-09 Bernd Herd <info@herdsoft.com>
1018
bb279dc0 1019 * rcparse.y: CLASS definitions in DIALOG resources
df3baf66 1020 are quoted.
4c30641a 1021 Fix typo in BEDIT warning.
91eafb40 1022 Don't add default dialog style when explicit style specified.
b62a12ca 1023 Add WS_CAPTION dialog style if CAPTION is specified.
4c30641a 1024
b24eb5ac
NC
1025 * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
1026 (handle_quotes) "\a" escape (used for right justified key
1027 definitions in menus) is encodes as binary 8.
df3baf66 1028
b24eb5ac
NC
1029 * resrc.c (write_rc_dialog): Print style even if it is 0.
1030 (write_rc_directory): Fix overlooked sublang shift bug.
420380ba 1031 (bin_to_res_dialog): Don't print empty dialog caption.
7e8d45b7 1032
b24eb5ac
NC
1033 * resbin.c (bin_to_res_dialog): Use signature to identify
1034 DIALOGEX.
f7d63484 1035
b24eb5ac 1036 * windres.c (main): Set default LANGUAGE to english/us.
f7d63484 1037
df3baf66
NC
10382002-04-09 Gunnar Degnbol <degnbol@danbbs.dk>
1039
1040 * resrc.c: print CLASS names in quotes
1041
10422002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
9c5382a0
JR
1043
1044 * MAINTAINERS: Update my email address.
1045
8e42bcb6
AM
10462002-04-04 Alan Modra <amodra@bigpond.net.au>
1047
1048 * dep-in.sed: Cope with absolute paths.
1049 * Makefile.am (dep.sed): Subst TOPDIR.
1050 Run "make dep-am".
1051 * Makefile.in: Regenerate.
1052
96f959e5
PT
10532002-03-27 Peter Targett <peter.targett@arc.com>
1054
1055 * MAINTAINERS: Update my email address.
1056
1ea788ee
AM
10572002-03-21 Alan Modra <amodra@bigpond.net.au>
1058
1059 * Makefile.am: Run "make dep-am".
1060 * Makefile.in: Regenerate.
1061 * doc/Makefile.in: Regenerate.
1062 * po/POTFILES.in: Regenerate.
1063 * aclocal.m4: Regenerate.
1064 * config.in: Regenerate.
1065 * configure: Regenerate.
1066
a2f14207
DB
10672002-03-20 Daniel Berlin <dan@dberlin.org>
1068
1069 * readelf.c: Add support for displaying dwarf2 location lists.
1070 (do_debug_loc, debug_loc_section, debug_loc_size): New.
1071 (parse_args): Use 'O' as shorthand for displaying location list
1072 section.
1073 (process_section_headers): Handle debug_loc as well.
1074 (load_debug_loc): New.
1075 (free_debug_loc): New.
1076 (fetch_location_list): New.
1077 (display_debug_loc): New.
1078 (display_debug_info): Call load_debug_loc and free_debug_loc.
1079 (debug_displays): We can display .debug_loc now, too.
1080 (usage): Update usage string.
1081 (read_and_display_attr_value): Note location lists, but don't
1082 display them inline.
1083
eb1e0e80
NC
10842002-03-18 Tom Rix <trix@redhat.com>
1085
1086 * Makefile.am: Add binutils emulation support.
1087 * configure.in: Same.
1088 * configure.tgt: New file. Same.
1089 * ar.c (main): Use ar_emul_parse_arg.
1090 (usage): Use ar_emul_usage.
1091 (replace_members): Use ar_emul_replace, ar_emul_append.
1092 * binemul.c: New file. Define the binutils emulation
1093 layer. Define default methods.
1094 * binemul.h: New file. Binutils emulation layer header file.
1095 * emul_aix.c: New file. AIX binutils emulation.
1096 * emul_vanilla.c: New file. Default binutils emulation.
1097 * Makefile.in: Regenerate.
1098 * configure: Same.
1099
a1c259a1
NC
11002002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
1101
1102 * po/fr.po: Updated version.
1103
9ce88e60
NC
11042002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
1105
1106 * po/fr.po: Updated version.
1107
effb0601
DJ
11082002-03-07 Daniel Jacobowitz <drow@mvista.com>
1109
1110 * README: Update some version numbers.
1111
a65688ab
DJ
11122002-03-07 Daniel Jacobowitz <drow@mvista.com>
1113
1114 * doc/binutils.texi (Target Selection): Fix LD crossreferences.
1115 (Architecture Selection): Likewise.
1116
f3f7fbb2
NC
11172002-03-01 Dmitry Timoshkov <dmitry@baikal.ru>
1118
1119 * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
1120 generating .exp file.
1121
25345be5
NC
11222002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
1123
1124 * readelf.c (dump_relocations): Fix typo.
1125
9a66911f
NC
11262002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
1127
1128 * NEWS: Mark 2.12 branch.
1129
2c71103e
NC
11302002-02-18 Timothy Daly <remote_bob@yahoo.com>
1131
bb279dc0
ZW
1132 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
1133 types for 64-bit MIPS. Narrow some fields for 80-char
2c71103e 1134 output.
bb279dc0 1135 (dump_relocations): Change spelling from 'unrecognised'
2c71103e
NC
1136 to 'unrecognized'.
1137 (decode_ARM_machine_flags): Likewise.
1138 (parse_args): Likewise.
1139 (read_and_display_attr_value): Likewise.
1140 (display_debug_section): Likewise.
1141
49fda6c8
HPN
11422002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
1143
1144 * NEWS: Mention support for MMIX.
1145
76f57f3a
JT
11462002-02-13 Matt Fredette <fredette@netbsd.org>
1147
1148 * readelf.c (get_machine_flags): Recognize EF_M68000.
1149
d36ca9c2
AO
11502002-02-12 Alexandre Oliva <aoliva@redhat.com>
1151
1152 * MAINTAINERS: Added self as MN10300 co-maintainer.
1153
19397422
AM
11542002-02-12 Alan Modra <amodra@bigpond.net.au>
1155
1156 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
1157 DT_PPC64_OPDSZ.
1158
d434e574
DJ
11592002-02-11 Daniel Jacobowitz <drow@mvista.com>
1160
1161 * MAINTAINERS: List myself as branch maintainer.
1162
12b87c89
AM
11632002-02-11 Alan Modra <amodra@bigpond.net.au>
1164
1165 * configure: Regenerate.
1166 * objcopy.c: Update copyright date.
1167 * doc/Makefile.in: Regenerate.
1168
8d037c5c
DJ
11692002-02-10 Daniel Jacobowitz <drow@mvista.com>
1170
1171 * nlmconv.c: Back out localtime PARAMS change.
1172
4c168fa3
AM
11732002-02-11 Alan Modra <amodra@bigpond.net.au>
1174
1175 * objcopy.c (MKDIR): Define.
1176 (copy_archive): Make name_list.name const. Use MKDIR.
1177 Handle duplicate files in archives by making more temp dirs.
1178
408f8db1
DJ
11792002-02-10 Daniel Jacobowitz <drow@mvista.com>
1180
1181 * coffdump.c: Include "getopt.h" after "bucomm.h"
1182 so that macros are defined correctly.
1183 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
1184 prototype. Prototype main.
1185 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
1186
9f77fa06
AO
11872002-02-06 Alexandre Oliva <aoliva@redhat.com>
1188
1189 * MAINTAINERS: Added self as SH co-maintainer.
1190
82f6addb
NC
11912002-02-05 Nick Clifton <nickc@redhat.com>
1192
1193 * po/tr.po: Updated translation.
1194
ba323545
AM
11952002-02-01 Alan Modra <amodra@bigpond.net.au>
1196
1197 * Makefile.am: Run "make dep-am"
1198 * Makefile.in: Regenerate.
1199
3deb89d3
DJ
12002002-01-29 Daniel Jacobowitz <drow@mvista.com>
1201
1202 * nm.c (print_value): Mark abfd unused.
1203
a0e9c55f
DJ
12042002-01-29 Daniel Jacobowitz <drow@mvista.com>
1205
1206 * unwind-ia64.c (unw_decoder): Change second argument
1207 to unsigned int, to match function prototypes.
1208
d7a283d4
DJ
12092002-01-29 Daniel Jacobowitz <drow@mvista.com>
1210
1211 * objdump.c: Include "getopt.h" after "bucomm.h" so that
1212 __GNU_LIBRARY__ will be defined.
1213 * size.c: Likewise.
1214
4867be41
DJ
12152002-01-27 Daniel Jacobowitz <drow@mvista.com>
1216
1217 * configure: Regenerated.
1218
7562a296
HPN
12192002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
1220
1221 * doc/Makefile.am (install): Depend on install-info.
1222 * doc/Makefile.in: Regenerate.
1223
15c82623
NC
12242002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
1225
1226 * objcopy.c (strip_usage): Document -d as an alias
1227 --strip-debug.
1228
1229 * size.c (usage): Document [-t | --totals] options.
1230 (long_options): Add --totals option.
1231 (main): If the [-t | --totals] option is specified and
1232 the output format is Berkeley-style, print the total
1233 text, data, and bss sizes of all objects listed.
1234 (print_berkeley_format): If the [-t | --totals] option
1235 is specified, track the total text, data, and bss
1236 sizes.
1237 * doc/binutils.texi (size): Document [-t | --totals] options.
1238 (strip): Document -d as an alias for --strip-debug.
1239 * NEWS: Mention new feature of size.
1240
00ea8601 12412002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
b85cedd7 1242
1ddbd152
NC
1243 * po/fr.po: Updated version.
1244 * po/es.po: Updated version.
b85cedd7 1245
8b53311e
NC
12462002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
1247
1248 * addr2line.c (usage): Update text to provide verbose
1249 description of the command line options.
1250 * ar.c (usage): Update text to provide verbose
1251 description of the command line options.
1252 (main): Accept -h and -H when running as ranlib.
1253 * coffdump.c (show_usage): Update text to provide verbose
1254 description of the command line options.
1255 * dlltool.c (main): Accept -H as an alias for --help.
1256 * nlmconv.c (show_usage): Update text to provide verbose
1257 description of the command line options.
1258 * nm.c (usage): Replace OPTIONS with option(s).
1259 (main): Accept -H as an alias for --help.
1260 * objcopy.c (strip_main): Accept -H as an alias for --help.
1261 * objdump.c (main): Accept -v as an alias for --verbose.
bb279dc0 1262 * readelf.c (usage): Adjust format to match style used in
8b53311e
NC
1263 other binutils.
1264 * size.c (usage): Update text to provide verbose description
1265 of the command line options.
1266 (main): Accept -v, -h and -H as command line options.
1267 * srconv.c (show_usage): Update text to provide verbose
1268 description of the command line options.
1269 * strings.c (main): Accept -H and -v as command line options.
1270 (usage): Update text to provide verbose description of the
1271 command line options.
1272 * sysdump.c (show_usage): Update text to provide verbose
1273 description of the command line options.
1274 * windres.c (usage): Adjust format to match style used in
1275 other binutils.
1276
1277 * coffdump.c: Fix formatting.
1278 * nlmconv.c: Fix formatting.
1279 * srconv.c: Fix formatting.
1280 * sysdump.c: Fix formatting.
1281
c46f0c34
AM
12822002-01-22 Alan Modra <amodra@bigpond.net.au>
1283
1284 * Makefile.am: Run "make dep-am".
1285 * Makefile.in: Regenerate.
1286
2a538ba5
AJ
12872002-01-18 Andreas Jaeger <aj@suse.de>
1288
1289 * version.c (print_version): Update year.
1290
285d1771
AM
12912002-01-17 Alan Modra <amodra@bigpond.net.au>
1292
1293 * readelf.c (get_machine_name): Handle EM_PPC64.
1294 (guess_is_rela): Here too.
1295
328577ad
NC
12962002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
1297
1298 * po/binutils.pot: Regenerate.
1299 * po/fr.po: Regenerate.
1300 * po/tr.po: Regenerate.
1301
af3ae48d
NC
13022002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
1303
1304 * po/tr.po: Import new version.
1305
f1cb7e17
AM
13062002-01-16 Alan Modra <amodra@bigpond.net.au>
1307
1308 * readelf.c (get_ppc64_dynamic_type): New.
1309 (get_dynamic_type): Call it.
1310
6364e0b4
NC
13112002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
1312
3ab9460d 1313 * objcopy.c (copy_usage): Use "options" instead of "switches".
bb279dc0 1314 (strip_usage): Use "options" instead of "switches".
3ab9460d 1315 * doc/binutils.texi (dlltool): Refer to "options" instead of
bb279dc0 1316 "switches".
6364e0b4 1317
3a7e524e
RE
13182002-01-14 Richard Earnshaw <rearnsha@arm.com>
1319
1320 * MAINTAINERS: Add self as co-maintainer for the ARM code.
1321
1209e219
NC
13222001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
1323
1324 * po/es.po: Import from translation project.
1325 * configure.in (ALL_LINGUAS): Add es.
1326 * configure: Regenerate.
1327
b4db1224
JT
13282002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
1329
1330 * readelf.c (get_netbsd_elfcore_note_type): Use
1331 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
1332
9437c45b
JT
13332002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
1334
1335 * readelf.c: Update copyright years.
1336 (get_note_type): Return a const char *.
1337 (get_netbsd_elfcore_note_type): New function.
1338 (process_note): Use get_netbsd_elfcore_note_type to get
1339 the note type string for NetBSD ELF core files.
1340
00428cca
AM
13412002-01-06 Steve Ellcey <sje@cup.hp.com>
1342
1343 * readelf.c (get_ia64_segment_type): Add support for macros.
1344 (get_segment_type): Add support for IA64 specific macros.
1345
31104126
NC
13462001-12-20 Julian v. Bock <julian@wongr.net>
1347
1348 * readelf.c (print_symbol): New function: Print a formatted symbol
1349 name. If --wide is specified do not truncate it.
1350 (dump_relocations): Use print_symbol() to print symbol names.
1351 (process_symbol_table): Likewise.
1352 (process_syminfo): Likewise.
1353 (process_mips_specific): Likewise.
1354 (usage): Document new feature of --wide switch.
1355 * doc/binutils.texi (objdump): Document additional behaviour of
1356 --wide.
2a538ba5 1357
4dd67f29
MS
13582001-12-18 Michael Snyder <msnyder@redhat.com>
1359
1360 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
1361 (copy_object): Don't set the start address or flags of a core file.
1362 (copy_section): Don't relocate a core file. Don't copy contents
1363 if the input section has the contents flag set, but the output
1364 section does not (which happens with the fake 'note' pseudo-
1365 sections that BFD creates for corefiles).
1366
43521d43
TS
13672001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1368
1369 * readelf.c (get_machine_flags): Recognize header flags for ABI and
1370 ASE extensions. More robust code for ISA checking. Ignore empty fields
1371 in header flags for GNU extensions.
1372
b667df2e
AM
13732001-12-18 Alan Modra <amodra@bigpond.net.au>
1374
1375 * objcopy.c (copy_archive): Set output bfd format outside the loop.
1376
17a5a5c3
NC
13772001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
1378
1379 * po/ja.po: Import from translation project.
1380 * configure.in (ALL_LINGUAS): Add ja.
1381 * configure: Regenerate.
1382
65de42c0
TS
13832001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1384
1385 * addr2line.c (main): Protoype.
1386 * ar.c (main): Protoype.
1387 * nm.c (main): Protoype.
1388 * objcopy.c (main): Protoype.
1389 * objdump.c (main): Protoype.
1390 * size.c (main): Protoype.
1391 * strings.c (main): Protoype.
1392
9ad5cbcf
AM
13932001-12-17 Alan Modra <amodra@bigpond.net.au>
1394
1395 * readelf.c (symtab_shndx_hdr): New global.
1396 (SECTION_HEADER_INDEX): Define.
1397 (SECTION_HEADER_NUM): Define.
1398 (SECTION_HEADER): Define.
1399 (GET_ELF_SYMBOLS): Pass two params rather than three.
1400 (get_32bit_elf_symbols): Take file and section args. Read and
1401 use SHT_SYMTAB_SHNDX.
1402 (get_64bit_elf_symbols): Likewise.
1403 (dump_relocations): Use SECTION_HEADER to index "section_headers".
1404 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
1405 Remember symtab_shdx_hdr.
1406 (process_program_headers): Scan from index 1 for segment map.
1407 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
1408 "section_headers".
1409 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
1410 (process_unwind): Likewise.
1411 (process_version_sections): Likewise.
1412 (process_symbol_table): Likewise.
1413 (display_debug_info): Likewise.
1414 (process_dynamic_segment): Fake up a symtab section for changed
1415 GET_ELF_SYMBOLS.
1416 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
1417 (process_program_headers): Kill signed/unsigned warning.
1418 (load_debug_str): Likewise.
1419 (display_debug_info): Likewise.
1420
65765700
JJ
14212001-12-13 Jakub Jelinek <jakub@redhat.com>
1422
1423 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
1424
560f3c1c
AM
14252001-12-11 Alan Modra <amodra@bigpond.net.au>
1426
1427 * readelf.c (process_file_header): Print extended e_shnum and
1428 e_shdtrndx values. Set elf_header values for same.
1429 (get_32bit_section_headers): Add "num" arg to read "num" headers.
1430 (get_64bit_section_headers): Likewise.
1431 (process_section_headers): Update calls.
1432 (get_file_header): Call get_32bit_section_headers or 64bit variant.
1433
bc408b8a
JJ
14342001-12-10 Jakub Jelinek <jakub@redhat.com>
1435
1436 * objcopy.c (setup_section): Copy entsize.
1437
93fbbb04
GK
14382001-12-07 Geoffrey Keating <geoffk@redhat.com>
1439
1440 * readelf.c (guess_is_rela): Add support for stormy16.
1441 (dump_relocations): Likewise.
1442 (get_machine_name): Likewise.
1443
e3c8793a
NC
14442001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
1445
1446 * dllwrap.c (main) Replace multiple strings describing a
1447 single error with a single, newline escaped sentence to permit
1448 better translation into foreign languages.
1449
1450 * readelf.c (get_elf_class): Remove internalionalisation of ELF
1451 class names.
1452
956cd1d6
TS
14532001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1454
1455 * strings.c (get_char): Initialize value.
1456
956c53ee
TS
14572001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1458
1459 * arlex.l: Silence compile warnings.
1460 * arsup.h: Likewise. Fix formatting.
1461
cedd9a58
JJ
14622001-12-04 Jakub Jelinek <jakub@redhat.com>
1463
1464 * strings.c: Include config.h before bfd.h.
1465 (file_off): New type.
1466 (file_open): Define.
1467 (print_strings): Use file_off instead of file_ptr. Print addresses
1468 which don't fit into long correctly.
1469 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
1470 available.
1471 (strings_file): Use file_off instead of file_ptr. Use file_open.
1472 * configure.in: Check for getc_unlocked.
1473 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
1474 be defined for it.
1475 * configure: Rebuilt.
1476 * config.h.in: Rebuilt.
1477
af667503
L
14782001-11-29 H.J. Lu <hjl@gnu.org>
1479
1480 * bucomm.c (make_tempname): Revert the changes made on
1481 2001-11-14 and 2001-11-12. They won't work with directories.
1482
16474668
NC
14832001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
1484
1485 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
1486 CFLAGS_FOR_TARGET to runtest in environment.
1487 * Makefile.in: Rebuild.
1488 * doc/Makefile.in: Rebuild.
1489
17978339
MS
14902001-11-28 Mike Stump <mrs@wrs.com>
1491
1492 * objcopy.c (setup_section): Preserve SEC_RELOC when
1493 --set-section-flags is used.
1494
261a45ad
NC
14952001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
1496
1497 * readelf.c (do_debug_str): New variable.
1498 (display_debug_str): New function: Display the contents of a
1499 .debug_str section.
1500 (load_debug_str): New function: Load in the contents of a
1501 .debug_str section.
1502 (free_debug_str): New function: Free the memory used by
1503 load_debug_str().
1504 (fetch_indirect_string): Retrieve a string from the .debug_str
1505 section.
1506 (usage): Add -ws.
1507 (parse_args): Accept -ws.
1508 (process_section_headers): Allow the display of the .debug_str
1509 section.
1510 (read_and_display_attr_value): Use fetch_indirect_string. Show
1511 offset into .debug_str section.
1512 (display_debug_info): Use load_debug_str and free_debug_str.
1513 (debug_displays): Add .debug_str.
1514 * doc/binutils.texi: Document -ws.
1515
b8908f93
AJ
15162001-11-19 Andreas Jaeger <aj@suse.de>
1517
1518 * testsuite/binutils-all/objdump.exp: Add x86-64.
1519
e5fb9629
AS
15202001-11-15 Andreas Schwab <schwab@suse.de>
1521
1522 * readelf.c: Fix warnings without terminating newline.
1523
802a735e
AM
15242001-11-15 Alan Modra <amodra@bigpond.net.au>
1525
1526 * doc/binutils.texi (objdump): Document ppc -M options.
1527
b89e9eae
AJ
15282001-11-14 Andreas Jaeger <aj@suse.de>
1529
1530 * doc/binutils.texi (objdump): Fix description to use x86-64.
1531
a6a25652
NC
15322001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
1533
1534 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
1535 not all systems provide mkstemp.
1536
e396998b
AM
15372001-11-14 Alan Modra <amodra@bigpond.net.au>
1538
1539 * doc/binutils.texi (objdump): Document x86 -M options.
1540
81766fca
RH
15412001-11-13 Keith Walker <keith.walker@arm.com>
1542
1543 * readelf.c (read_and_display_attr_value): New function to
1544 handle DW_FORM_indirect.
1545 (read_and_display_attr): Use it.
1546
1a509dcc
GK
15472001-11-13 Geoffrey Keating <geoffk@redhat.com>
1548
1549 * readelf.c (display_debug_lines): Deal with unknown standard
1550 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
1551 DW_LNS_set_isa.
1552
6e917903 15532001-11-13 Timothy Wall <twall@alum.mit.edu>
1a509dcc 1554
6e917903
TW
1555 * MAINTAINERS: Add self as tic54x maintainer. This target
1556 includes the IBM C54XDSP clone.
7559e86e 1557
6e917903 15582001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
1a509dcc 1559
7559e86e
NC
1560 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
1561
15622001-11-09 Jeffrey A Law (law@cygnus.com)
91770270 1563
ecdadc4a
JL
1564 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
1565 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
1566 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
1567 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
1568 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
1569 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
1570 (unw_decode_b2, unw_decode_b3_b4): Likewise.
1571
91770270
JL
1572 * readelf.c (get_elf_class): Fix ISO portability glitch.
1573 (get_data_encoding, get_osabi_name, request_dump): Likewise.
1574
ef5cdfc7
JJ
15752001-11-07 Jakub Jelinek <jakub@redhat.com>
1576
1577 * readelf.c (debug_str, debug_str_size): New.
1578 (display_debug_abbrev): If no abbrevs were read, skip the CU.
1579 Call free_abbrevs.
1580 (read_and_display_addr): Handle DW_FORM_strp.
1581 (display_debug_info): Read .debug_str section if present,
1582 so that DW_FORM_strp can be handled.
1583 Fix test for non-existant .debug_abbrev section.
1584
5e9520c8
JJ
15852001-11-05 Jakub Jelinek <jakub@redhat.com>
1586
1587 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
1588
1589 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
1590
54589086
MS
15912001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
1592
1593 * MAINTAINERS: Add self as s390/s390x maintainer.
1594
c05b685b
TR
15952001-11-02 Tom Rix <trix@bluey.cygnus.com>
1596
1597 * MAINTAINERS: Add self as PPC XCOFF maintainer.
1598
3c62831e
NC
15992001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
1600
1601 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
1602 * configure: Regernate.
1603 * po/fr.po: New file.
1604 * po/tr.po: New file.
1605
3c3bdf30
NC
16062001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
1607
9b19141a 1608 * MAINTAINERS: Add self as MMIX port maintainer.
3c3bdf30
NC
1609 * readelf.c: Include elf/mmix.h.
1610 (guess_is_rela): MMIX is RELA.
1611 (dump_relocations): Handle MMIX relocations.
1612 * Makefile.am: Regenerate dependencies.
1613 * Makefile.in: Regenerate.
1614
f662939a
NC
16152001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
1616
1617 * readelf.c (parse_args): Handle multiple options to the -w
1618 switch.
1619
c91d0dfb
JJ
16202001-10-12 Jakub Jelinek <jakub@redhat.com>
1621
1622 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
1623 LOPROC, LOOS and LOUSER.
1624
7559e86e 16252001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
d1b67f3c
JR
1626
1627 * MAINTAINERS: Update my email address.
1628
fcd8210c
AM
16292001-10-03 Alan Modra <amodra@bigpond.net.au>
1630
1631 * doc/Makefile.in: Regenerate.
1632 * configure: Regenerate.
1633
428409d5
NC
16342001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
1635
1636 * readelf.c (display_debug_line, display_debug_pubnames,
1637 display_debug_info, display_debug_frames): Detect and warn
1638 about 64-bit format entries.
1639 (display_debug_aranges): Reword 64-bit warning.
1640 (debug_displays): Add .debug_pubtypes as a known, but not yet
1641 supported, debug section.
1642
6a8c2b0d
AM
16432001-10-02 Alan Modra <amodra@bigpond.net.au>
1644
1645 * coffdump.c (PROGRAM_VERSION): Delete.
1646 (main <'V'>): Call print_version.
1647 * srconv.c: Likewise.
1648 * sysdump.c: Likewise.
1649 * version.c (program_version): Remove.
1650 (print_version): Use BFD_VERSION_STRING. Just print the current
1651 year in copyright message.
1652 * addr2line.c (program_version): Remove unused declaration.
1653 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
1654 place of BFD_VERSION.
1655 * Makefile.am (Makefile): Depend on bfd/configure.in.
1656 (cplus-dem.o): Depend on Makefile.
1657 Run "make dep-am".
1658 * Makefile.in: Regenerate.
1659
e414a165
NC
16602001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
1661
1662 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
1663 format .debug_arange sections.
1664 (main): Add missing prototype.
b8908f93 1665
efc3ee7f
HPN
16662001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
1667
1668 * Makefile.am: Update dependencies with "make dep-am".
1669 * Makefile.in: Regenerate.
1670
9e85c2a0
RH
16712001-09-28 Richard Henderson <rth@redhat.com>
1672
1673 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
1674
451dad9c
AM
16752001-09-26 Alan Modra <amodra@bigpond.net.au>
1676
1677 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
1678 VA_CLOSE.
1679 (non_fatal): Likewise.
1680 * objdump.c (objdump_sprintf): Likewise.
1681 * readelf.c (error): Likewise.
1682 (warn): Likewise.
1683
d974e256
JJ
16842001-09-25 Jakub Jelinek <jakub@redhat.com>
1685
1686 * readelf.c (do_wide): New.
1687 (options): Add --wide.
1688 (usage, parse_args): Likewise.
1689 (process_program_headers): Put each segment on a single line if
1690 --wide is given.
1691 (process_section_headers): Put each section on a single line if
1692 --wide is given.
1693 * doc/binutils.texi: Document it.
1694 * NEWS: Likewise.
1695
2f11c261
AM
16962001-09-25 Alan Modra <amodra@bigpond.net.au>
1697
1698 * readelf.c (print_vma): Print 8 digits of low hex value.
1699
1d50f91e
AJ
17002001-09-24 Andreas Jaeger <aj@suse.de>
1701
1702 * nlmconv.c: Fix warnings about unused attributes and function
1703 prototypes.
1704
1705 * strings.c: Add prototype for get_char.
1706
38131e67
L
17072000-09-19 H.J. Lu <hjl@gnu.org>
1708
1709 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
1710 $(srcdir)/cxxfilt.man.
1711 * doc/Makefile.in: Rebuild.
1712
3bcfb3e4
AM
17132001-09-19 Alan Modra <amodra@bigpond.net.au>
1714
1715 * objcopy.c (copy_main): Correct rename-section string parsing.
1716 Consolidate new_name parsing, and error messages.
1717
3882b010
L
17182001-09-18 Bruno Haible <haible@clisp.cons.org>
1719
1720 * addr2line.c: Don't include <ctype.h>.
1721 (main): For gettext, also set the LC_CTYPE locate facet.
1722 * ar.c (main): Likewise.
1723 * coffdump.c (main): Likewise.
1724 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
1725 (main): For gettext, also set the LC_CTYPE locate facet.
1726 Use ISALNUM instead of isalpha/isdigit.
1727 * dllwrap.c: Don't include <ctype.h>.
1728 (main): For gettext, also set the LC_CTYPE locate facet.
1729 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
1730 (main): For gettext, also set the LC_CTYPE locate facet.
1731 Use TOUPPER instead of islower/toupper.
1732 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
1733 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
1734 Use TOUPPER instead of islower/toupper.
1735 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
1736 * objcopy.c (main): Likewise.
1737 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
1738 (disassemble_bytes): Use ISPRINT instead of isprint.
1739 (dump_section_stabs): Use ISDIGIT instead of isdigit.
1740 (dump_data): Use ISPRINT instead of isprint.
1741 (main): For gettext, also set the LC_CTYPE locate facet.
1742 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
1743 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
1744 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
1745 Use TOUPPER instead of islower/toupper.
1746 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
1747 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
1748 (write_rc_accelerators): Use ISPRINT instead of isprint.
1749 (write_rc_rcdata): Likewise.
1750 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
1751 * srconv.c (main): Likewise.
1752 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
1753 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
1754 isdigit/isupper/islower.
1755 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
1756 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
1757 stab_demangle_prefix, stab_demangle_qualified,
1758 stab_demangle_template, stab_demangle_type,
1759 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
1760 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
1761 (isgraphic): Use ISPRINT instead of isascii/isprint.
1762 (main): Remove HAVE_LC_MESSAGES dependency.
1763 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
1764 (pbarray): Use ISPRINT instead of isprint.
1765 (main): For gettext, also set the LC_CTYPE locate facet.
1766 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
1767 (format_from_filename): Use ISPRINT instead of isprint.
1768 (main): For gettext, also set the LC_CTYPE locate facet.
1769 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
1770 (unicode_print): Use ISPRINT instead of isprint.
1771 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
1772 (stab_variable): Use ISDIGIT instead of isdigit.
1773
e59b4dfb
AM
17742001-09-18 Alan Modra <amodra@bigpond.net.au>
1775
1776 * ar.c (print_contents): Cast args of bfd_seek to the right types.
1777 Replace bfd_read call with call to bfd_bread.
1778 (extract_file): Likewise.
1779
1780 * objdump.c (dump_section_header): Cast section->filepos to
1781 unsigned long to suit printf format string.
1782 * readelf.c (process_section_headers): Similarly for sh_offset.
1783 (process_unwind): Likewise.
1784
d132876a
NC
17852001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
1786
1787 * strings.c (encoding, encoding_bytes): New variables.
1788 (long_options): Add --encoding.
1789 (main): Accept -e and --encoding.
1790 (get_char): New function. Read a, possibly wide, character from
1791 the input stream.
1792 (print_strings): Use get_char().
1793 (usage): Document new command line option.
1794 * doc/binutils.texi: Document new command line option.
1795 * NEWS: Announce new command line option.
1796
7559e86e 17972001-09-12 Alexandre Oliva <aoliva@redhat.com>
2b0337b0
AO
1798
1799 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
1800 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
1801 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
1802 Removed EM_CYGNUS_ARC.
1803
7559e86e 18042001-09-04 Jeffrey A Law (law@cygnus.com)
b8720f9d
JL
1805
1806 * readelf.c: Include elf/h8 for H8 series definitions.
1807 (guess_is_rela): H8 series if RELA.
1808 (dump_relocations): Handle H8 series relocations.
1809
0823fbca
EC
18102001-08-31 Eric Christopher <echristo@redhat.com>
1811
1812 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
1813
8db76d70
PT
18142001-08-29 Peter Targett <peter.targett@arccores.com>
1815
1816 * MAINTAINERS: Include ARC Maintainer.
1817
d81d6584
BE
18182001-08-29 Ben Elliston <bje@redhat.com>
1819
1820 * stabs.c (stab_demangle_template): Initialise s4.
1821
25a1ff5b
AM
18222001-08-27 Alan Modra <amodra@bigpond.net.au>
1823
1824 * readelf.c (dump_relocations): Recognise EM_PPC64.
1825
a5d22d2a
TS
18262001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1827
1828 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
1829
62a5a82d
L
18302001-08-25 H.J. Lu <hjl@gnu.org>
1831
1832 * nm.c (print_width): New.
1833 (display_rel_file): Set `print_width' according to
1834 bfd_sprintf_vma.
1835 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
1836
1ae8b3d2
AO
18372001-08-24 Alexandre Oliva <aoliva@redhat.com>
1838
1839 * objcopy.c (use_alt_mach_code): New variable.
1840 (OPTION_ALT_MACH_CODE): Define.
1841 (copy_options): Added --alt-machine-code.
1842 (copy_main): Handle it.
1843 (copy_object): Switch to alternate machine code if requested.
1844 * doc/binutils.texi: Document new option.
1845 * NEWS: Likewise.
1846
d1bdd336
TS
18472001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1848
1849 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
1850
410f7a12
L
18512001-08-21 H.J. Lu <hjl@gnu.org>
1852
1853 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
1854 (display_debug_info): Cast for 64bit hosts.
1855 (display_debug_frames): Likewise.
1856 (process_mips_specific): Likewise.
1857
c32144ff
AJ
18582001-08-21 Andreas Jaeger <aj@suse.de>
1859
1860 * coffgrok.h: Add missing parameter for prototype of coff_grok.
1861
1862 * sysdump.c: Add missing prototypes.
1863 * srconv.c: Likewise.
1864 * unwind-ia64.c: Likewise.
1865 * coffdump.c: Likewise.
1866
1867 * sysinfo.y: Print prototypes, include <ansidecl.h>.
1868
1869 * coffgrok.c: Add missing prototypes, include libiberty.h instead
1870 of declaring xcalloc.
1871
d8180c76
L
18722001-08-10 H.J. Lu <hjl@gnu.org>
1873
1874 * nm.c (print_value): Add one arg, bfd *.
1875 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
1876 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
1877 (print_symbol_info_sysv): Likewise.
1878 (print_symbol_info_posix): Likewise.
1879
1880 * objdump.c (dump_section_header): Replace printf_vma with
1881 bfd_printf_vma.
1882 (print_section_stabs): Likewise.
1883 (dump_bfd_header): Likewise.
1884 (objdump_print_value): Replace sprintf_vma with
1885 bfd_sprintf_vma.
1886 (disassemble_bytes): Likewise.
1887 (dump_reloc_set): Likewise.
1888
0218d1e4
AJ
18892001-08-10 Andreas Jaeger <aj@suse.de>
1890
1891 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
1892 to build warnings.
1893 * configure: Regenerate.
1894
2863d58a
AM
18952001-08-09 Alan Modra <amodra@bigpond.net.au>
1896
1897 * readelf.c: Add missing prototypes.
1898 * objdump.c: Likewise. Format existing prototypes.
1899
c0e047e0
AO
19002001-08-08 Alexandre Oliva <aoliva@redhat.com>
1901
1902 * readelf.c (display_debug_info): Add to abbrev_offset the addend
1903 of any RELA relocation for the abbrev_offset memory location that
1904 refers to the .debug_abbrev section symbol.
1905
ff78d6d6
L
19062001-08-07 H.J. Lu <hjl@gnu.org>
1907
1908 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
1909 (main): Return process_file ().
1910
c36774d6
PB
19112001-08-05 Philip Blundell <philb@gnu.org>
1912
1913 * doc/binutils.texi: Use "Thumb" not "THUMB".
1914
8f9d9bd9
JH
19152001-08-03 John Healy <jhealy@redhat.com>
1916
bb279dc0
ZW
1917 Patch suggested by Frank Eigler <fche@redhat.com>.
1918 * objdump.c (disassemble_data): Fill in section member of the
1919 disasm_info structure.
8f9d9bd9 1920
c918cb96
DD
19212001-08-03 Tom Walsh <tom@cyberiansoftware.com>
1922
1923 * configure.in: Added --with-windres option.
1924 * configure: Regenerated.
1925
c7c55b78
NC
19262001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1927
1928 * doc/binutils.texi: Use @command{name} for commands;
1929 use @option{-opt} for options; use @table @env for list of options;
1930 remove spaces arround [ | ] in synopsis.
1931
1932 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
1933 center title.
1934
594ef5db
NC
19352001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
1936
bb279dc0
ZW
1937 * objcopy.c: Fix formatting.
1938 (section_rename): New structure.
1939 (OPTION_RENAME_SECTION): New switch.
1940 (copy_usage): Document new switch.
1941 (add_section_rename): New function: Add a node to the section
1942 rename list.
1943 (find_section_rename): New function: Find the new name and
1944 flags for a section.
1945 (setup_section): Call find_section_name to determine the name
1946 of the output section.
1947 (copy_main): Handle OPTION_RENAME_SECTION.
1948 * binutils.texi: Document new switch.
594ef5db
NC
1949 * NEWS: Mention new switch.
1950
1f554c69
NC
19512001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
1952
1953 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
1954 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
1955 bug-binutils@gcc.org.
1956
2f83960e
AM
19572001-07-28 Matthias Kramm <kramm@quiss.org>
1958
1959 * bucomm.c (list_supported_architectures): New function.
1960 * bucomm.h (list_supported_architectures): Declare.
1961 * objdump.c (usage): Call the above.
1962
20fe0649
DB
19632001-07-25 Dave Brolley <brolley@redhat.com>
1964
1965 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
1966 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
1967
1b577b00
NC
19682001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
1969
1970 * README: Update for 2.11. Change bug reporting email address.
1971 * MAINTAINERS: Tidy up. Change bug reporting email address.
1972
95fd336c
DD
19732001-07-16 DJ Delorie <dj@redhat.com>
1974
5f16d855
DD
1975 * resres.c (write_res_header): Align header size.
1976 (res_align_file): Calculate alignment correctly.
1977
95fd336c
DD
1978 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
1979 correct 10).
1980 * resrc.c (write_rc_resource): Likewise.
1981 * windres.h (SUBLANG_SHIFT): Define - as 10.
1982
ed8fee27
NC
19832001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
1984
1985 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
1986
90ab7e9a
NC
19872001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
1988
1989 * MAINTAINERS: Add notes about branch checkins.
1990
e0c60db2
NC
19912001-07-05 Daniel Berlin <dan@cgsoftware.com>
1992
1993 * readelf.c (display_debug_macinfo): New function, display
1994 .debug_macinfo section.
1995 (do_debug_macinfo): New variable.
1996 (parse_args): Handle "-w[mM]" to mean display macro info.
1997 (process_section_headers): Handle debug_macinfo.
1998 (debug_displays): Replace unsupported function with macinfo
0218d1e4 1999 function for .debug_macinfo display.
e0c60db2
NC
2000 * doc/binutils.texi: Document new command line switch.
2001 * NEWS: Document new feature of readelf.
0218d1e4 2002
24e01a36
L
20032001-07-05 H.J. Lu <hjl@gnu.org>
2004
2005 * objcopy.c (filter_symbols): Don't turn undefined symbols
2006 into local.
2007
4258bf4d
L
20082001-07-03 H.J. Lu <hjl@gnu.org>
2009
2010 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
2011 $@.pod.
2012 (ar.1): Likewise.
2013 (dlltool.1): Likewise.
2014 (nlmconv.1): Likewise.
2015 (nm.1): Likewise.
2016 (objcopy.1): Likewise.
2017 (objdump.1): Likewise.
2018 (ranlib.1): Likewise.
2019 (readelf.1): Likewise.
2020 (size.1): Likewise.
2021 (strings.1): Likewise.
2022 (strip.1): Likewise.
2023 (windres.1): Likewise.
2024 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
2025 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
2026 $(DEMANGLER_NAME).
2027 (as.1): Removed.
2028 * doc/Makefile.in: Regenerated.
2029
7014bc31
NC
20302001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
2031
2032 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
2033
b811889f
NC
20342001-07-01 Daniel Berlin <dan@cgsoftware.com>
2035
2036 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
2037
12ab83a9
NC
20382001-06-29 James Cownie <jcownie@etnus.com>
2039
2040 * readelf.c: Support DWARF 2.1 attributes.
2041
a6e9f9df
AM
20422001-06-28 Alan Modra <amodra@bigpond.net.au>
2043
2044 * readelf.c (GET_DATA_ALLOC): Remove.
2045 (GET_DATA): Remove.
2046 (get_data): New function combining above macros, with an extra
2047 test for zero size.
2048 (slurp_rela_relocs): Use get_data, and catch error return.
2049 (slurp_rel_relocs): Likewise.
2050 (get_32bit_program_headers): Likewise.
2051 (get_64bit_program_headers): Likewise.
2052 (get_32bit_section_headers): Likewise.
2053 (get_64bit_section_headers): Likewise.
2054 (get_32bit_elf_symbols): Likewise.
2055 (get_64bit_elf_symbols): Likewise.
2056 (process_section_headers): Likewise.
2057 (process_relocs): Likewise.
2058 (slurp_ia64_unwind_table): Likewise.
2059 (process_unwind): Likewise.
2060 (get_32bit_dynamic_segment): Likewise.
2061 (get_64bit_dynamic_segment): Likewise.
2062 (process_dynamic_segment): Likewise.
2063 (process_version_sections): Likewise.
2064 (process_symbol_table): Likewise.
2065 (dump_section): Likewise.
2066 (display_debug_info): Likewise.
2067 (display_debug_section): Likewise.
2068 (process_section_contents): Likewise.
2069 (process_corefile_note_segment): Likewise.
2070 (process_mips_specific): Likewise. Also free econf32, econf64.
2071
af3fc3bc
AM
20722001-06-25 Alan Modra <amodra@bigpond.net.au>
2073
2074 * readelf.c (dump_relocations): Print "bad symbol index" if
2075 symtab == NULL with non-zero symtab_index.
2076 (process_relocs): Don't bomb if reloc section has no symsec.
2077
6d900bf6
L
20782001-06-24 H.J. Lu <hjl@gnu.org>
2079
2080 * objcopy.c (strip_main): Revert the change made on 2001-05-30
2081 by accident.
2082 (copy_main): Apply the the change made to strip_main on
2083 2001-05-30 by accident.
2084
49b4e386
AJ
20852001-06-23 Andreas Jaeger <aj@suse.de>
2086
2087 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
2088 parameter 'code'.
2089 (unw_decode_x2): Likewise.
2090 (unw_decode_x3): Likewise.
2091 (unw_decode_x4): Likewise.
2092
d8dc71e3
BE
20932001-06-23 Ben Elliston <bje@redhat.com>
2094
2095 * MAINTAINERS: Add myself as M88k maintainer.
2096
af3bdff7
NC
20972001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
2098
2099 * objcopy.c (strip_main): Support -o or --output-file command lien
2100 switch.
2101
105e7211
L
21022001-06-19 H.J. Lu <hjl@gnu.org>
2103
2104 * doc/Makefile.in: Regenerated.
2105
c45021f2
NC
21062001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
2107
2108 * readelf.c: Restore formatting.
2109
21102001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
2111
bb279dc0
ZW
2112 * Makefile.am: Move documentation into doc subdirectory.
2113 * Makefile.in: Regenerated.
c45021f2 2114 * binutils.texi: Move into doc subdirectory.
bb279dc0
ZW
2115 * addr2line.1: Removed.
2116 * ar.1: Likewise.
2117 * dlltool.1: Likewise.
2118 * nlmconv.1: Likewise.
2119 * nm.1: Likewise.
2120 * objcopy.1: Likewise.
2121 * objdump.1: Likewise.
2122 * ranlib.1: Likewise.
2123 * readelf.1: Likewise.
2124 * size.1: Likewise.
2125 * strings.1: Likewise.
2126 * strip.1: Likewise.
2127 * windres.1: Likewise.
2128 * cxxfilt.man: Likewise.
c45021f2
NC
2129 * doc: New Directory.
2130 * doc/Makefile.am: New file.
2131 * doc/Makefile.in: Generate.
2132
09ad7db3
AM
21332001-06-09 Alan Modra <amodra@bigpond.net.au>
2134
2135 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
2136
936260fe
AM
21372001-06-01 Alan Modra <amodra@bigpond.net.au>
2138
2139 * MAINTAINERS: Update my email address.
2140
16b2b71c
NC
21412001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
2142
2143 * objcopy.c: Add new switches: --keep-global-symbol,
2144 --keep-symbols, --localize-symbols, --keep-global-symbols and
2145 --weaken-symbols.
2146 * binutils.texi: Document new switches.
2147 * objcopy.1: Regenerate.
2148 * NEWS: Announce new feature.
2149
7036c0e1
AJ
21502001-05-28 Andreas Jaeger <aj@suse.de>
2151
2152 * readelf.c (display_debug_frames): Fix warnings: Remove unused
2153 variables, fix format strings.
2154
76a406e5
NC
21552001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
2156
2157 * objdump.c (disassemble_bytes): Remove section VMA adjustment
2158 when computing the address of the line to show.
2159
31b6fca6
RH
21602001-05-16 Richard Henderson <rth@redhat.com>
2161
2162 * readelf.c (do_debug_frames_interp): New.
2163 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
2164 (byte_get_big_endian): Likewise.
2165 (parse_args) ['F']: Set do_debug_frames_interp.
2166 (Frame_Chunk): Make data_factor signed, add fde_encoding.
2167 (frame_display_row): Don't trunc pc_begin to int.
2168 (size_of_encoded_value): New.
2169 (display_debug_frames): Handle 64-bit targets. Print raw data
2170 unless do_debug_frames_interp.
2171 (debug_displays): Remove duplicate .debug_frame.
2172
4fe85591
NC
21732001-05-15 Ralf Baechle <ralf@gnu.org>
2174
2175 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
2176 The former constant was never in active use and is used otherwise
2177 by the ABI.
2178
579f31ac
JJ
21792001-05-11 Jakub Jelinek <jakub@redhat.com>
2180
2181 * readelf.c (process_unwind): Print all unwind sections, not just
2182 one.
2183
78f4a3f7
AM
21842001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2185
2186 * readelf.c (process_unwind): Remove const specifier.
2187
1c529ca6
NC
21882001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
2189
2190 * strings.c (isgraphic): Do not use isascii() unless it is needed
2191 for isprint() to work.
2192 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
2193
87e6d782
NC
21942001-04-27 Johan Rydberg <jrydberg@opencores.org>
2195
bb279dc0 2196 * NEWS: Announce support for OpenRISC.
87e6d782 2197
4bd3d870 21982001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
49b4e386
AJ
2199
2200 * dlltool.c (do_default_excludes): Initialise to true.
2201
21211521
AM
22022001-04-10 Alan Modra <amodra@one.net.au>
2203
2204 * MAINTAINERS: Update my email address
2205 * nm.c (print_symbol_info_bsd): Use a simple printf string.
2206
0c66b61e 22072001-04-05 Hans-Peter Nilsson <hp@axis.com>
ff94ebf2
HPN
2208
2209 * readelf.c (display_debug_lines): Fix typo for "Prologue".
2210
e58d53af
L
22112001-03-30 H.J. Lu <hjl@gnu.org>
2212
2213 * readelf.c (process_unwind): Just return if do_unwind is 0.
2214
bee72332
DD
22152001-03-28 Roger Sayle <roger@metaphorics.com>
2216
2217 * dlltool.c (make_one_lib_file): Fix section flags for
2218 .text, .data and .bss in stub ds*.o files to match those
2219 generated by gas.
2220
f1467e33
L
22212001-03-29 H.J. Lu <hjl@gnu.org>
2222
2223 * readelf.c (process_unwind): Only do unwind sections for
2224 IA64.
2225
1c6fb4fe
L
22262001-03-28 H.J. Lu <hjl@gnu.org>
2227
2228 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
2229 * Makefile.in: Regenerate.
2230
0879a67a
AJ
22312001-03-26 Andreas Jaeger <aj@suse.de>
2232
2233 * binutils.texi (nm): Fix texi syntax.
2234
0285c67d
NC
22352001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2236
2237 * binutils.texi: Put @c man begin and @c man end indications
2238 to generate man pages using texi2pod and pod2man. Put @c man title
2239 to identify each man. Add SEEALSO entries.
2240 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
2241 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
2242 sort the list.
2243 (*.1): Build the man pages from binutils.texi.
2244 * Makefile.in: Regenerate.
2245
04847a4d
CF
22462001-03-13 Eric Kohl <ekohl@rz-online.de>
2247
2248 * defparse.y (opt_equal_name): allow "." in name.
2249 * dlltool.c (def_exports): Added ability to generate forwarded exports.
2250 (gen_exp_file): Likewise.
2251
43a0748c
NC
22522001-03-12 Stefan Geuken <mail@stefan-geuken.de>
2253
2254 * NEWS: Document addition of -B switch to objcopy.
2255 * binutils.texi: Document addition of -B switch to objcopy.
2256 * objcopy.c: (copy_options): Add --binary-architecture.
2257 (copy_usage): Document -B/--binary-architecture.
2258 (copy_main): Support -B/--binary-architecture. Set
2259 bfd_external_binary_architecture.
0879a67a 2260
b7498e0e
NC
22612001-03-11 Andreas Jaeger <aj@suse.de>
2262
2263 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
2264 (dump_relocations): Likewise.
2265 (get_machine_name): Likewise.
2266
a59e3bd7
NC
22672001-02-28 Nick Clifton <nickc@redhat.com>
2268
2269 * readelf.c: (struct unw_aux_info): Remove const modifier for
2270 'strtab' field.
2271 (process_unwind): Remove non-K&R compliant LHS type cast in call
2272 to GET_DATA_ALLOC macro.
2273
a5bcd848
PB
22742001-02-28 Philip Blundell <pb@futuretv.com>
2275
2276 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
2277 ABI is in use; remove ambiguity between the "unknown" EABI and
2278 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
2279 renamed EF_xx constants.
2280
27b7e12d
AM
22812001-02-27 Alan Modra <alan@linuxcare.com.au>
2282
2283 * configure.in (BFD_VERSION): New.
2284 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
2285 * configure: Regenerate.
2286 * Makefile.am: Run "make dep-am"
2287 * Makefile.in: Regenerate.
2288
a9f10786
NC
22892001-02-14 Nick Clifton <nickc@redhat.com>
2290
2291 * MAINTAINERS: Add "Obvious Fix" rule.
2292
3c44da9a
MS
22932001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2294
2295 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
2296 literal concatenation.
2297
ecd03389
MS
22982001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2299
2300 * readelf.c (struct unw_aux_info): Remove const from the info member.
2301 (process_unwind): Don't type-cast the third argument to the
2302 GET_DATA_ALLOC macro.
2303
88ec60c7
NC
23042001-02-11 Nick Clifton <nickc@redhat.com>
2305
2306 * readelf.c (dump_relocations): Free corrected allocated
2307 array.
2308 (process_unwind): Fix compile time warning.
2309
f5e21966
NC
23102001-02-10 Nick Clifton <nickc@redhat.com>
2311
2312 * binutils.texi: Document new --unwind option to readelf.
2313
a85d7ed0
NC
23142001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
2315
2316 * readelf.c: Add linux target for S/390.
2317
7bb10502
AM
23182001-02-10 Alan Modra <alan@linuxcare.com.au>
2319
2320 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
2321 printf is a macro.
2322
8ca8f343
HPN
23232001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
2324
2325 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
2326 * aclocal.m4: Regenerate.
2327 * configure: Regenerate.
2328
7340082d
NC
23292001-02-07 Todd Vierling <tv@wasabisystems.com>
2330
2331 * bucomm.c (bfd_target_vector): Change extern array to pointer.
2332 * objdump.c (bfd_target_vector): Likewise.
2333
4d6ed7c8
NC
23342001-02-07 David Mosberger <davidm@hpl.hp.com>
2335
2336 * readelf.c (process_unwind): New function.
2337 (slurp_ia64_unwind_table): Ditto.
2338 (dump_ia64_unwind): Ditto.
2339 (find_symbol_for_address): Ditto.
2340 (slurp_rela_relocs): New function (split off from dump_relocations()).
2341 (slurp_rel_relocs): Ditto.
2342 (parse_args): Handle '-u' option.
2343
2344 * unwind-ia64.c: New file.
2345 * unwind-ia64.h: New file.
2346 * Makefile.am: Include unwind-ia64.c in readelf build.
2347 * Makefile.in: Regenerate.
7340082d 2348 * po/binutils.pot: Regenerate.
4d6ed7c8 2349
c7217458
PB
23502001-02-04 Philip Blundell <philb@gnu.org>
2351
2352 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
2353 * configure: Regenerate.
2354
956eedd4
AM
23552001-01-31 Steve deRosier <sderosier@vari-lite.com>
2356
2357 * ieee.c (ieee_add_bb11): Don't check for backslashes
2358 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
2359
8855cbca
AM
23602001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
2361
c7f2731e
AM
2362 * ieee.c: Update copyright.
2363 (ieee_start_compilation_unit): Don't check for backslashes
2364 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
2365
8855cbca
AM
2366 * stabs.c: Update copyright. Include "filenames.h".
2367 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
2368
329de803 23692001-01-23 Jakub Jelinek <jakub@redhat.com>
00d93f34
JJ
2370
2371 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
2372 sections are present before using them. Remove code duplication.
2373 (process_symbol_table): Check if VERDEF or VERNEED sections are
2374 present before using them.
2375
23719f39
NC
23762001-01-17 Nick Clifton <nickc@redhat.com>
2377
2378 * objcopy.c (copy_object): Fail if attempting to convert the
2379 endianness of the input object file.
2380
2381 * binutils.texi: Explain that objcopy cannot convert endianness.
c7f2731e 2382
f726e849
NC
23832001-01-16 Nick Clifton <nickc@redhat.com>
2384
2385 * readelf.c (string_table_length): New variable.
2386 (SECTION_NAME): Catch out of range indices and missing section
2387 pointers.
2388 (process_section_headers): Delete useless local variable
2389 string_table_offset. Set the value of string_table_length
2390 after loading the string table.
2391 (process_mips_specific): Use SECTION_NAME macro.
2392 (process_file): Set string_table_length to 0 when it is freed.
2393
d0398d6a
NC
23942001-01-12 Nick Clifton <nickc@redhat.com>
2395
2396 * version.c (print_version): Update copyright date.
2397
0d2bcfaf
NC
23982001-01-11 Peter Targett <peter.targett@arccores.com>
2399
2400 * readelf.c (dump_relocations): Include selection with EM_ARC.
2401 (get_machine_name) Update name to "ARC".
2402
8b1e6df3
NC
24032001-01-09 Nick Clifton <nickc@redhat.com>
2404
2405 * Makefile.am: Add rule to build objdump.o from objdump.c and
2406 using OBJDUMP_DEFS.
2407 * Makefile.in: Regenerate.
2408
2409 * configure.in: Define OBJDUMP_DEFS. Default to empty.
2410 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
2411 -DDISASSEMBLER_NEEDS_RELOCS.
34cc70e3 2412 * configure: Regenerate.
8b1e6df3
NC
2413
2414 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
2415 is defined read in the relocs even if dump_reloc_info is
2416 false.
2417
2f952d20
PB
24182001-01-07 Philip Blundell <philb@gnu.org>
2419
2420 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
2421 `bug-binutils'.
2422 * README: Likewise.
2423
a8c548cb
NC
24242000-12-19 Nick Clifton <nickc@redhat.com>
2425
2426 * dlltool.c: Add missing support for arm-epoc-pe.
2427 * configure.in: Add missing support for arm-epoc-pe.
2428 * configure: Regenerate.
2429
cc5fda35
NC
24302000-12-15 Nick Clifton <nickc@redhat.com>
2431
2432 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
2433 Mode parts of the x86 port.
2434
bcedfee6
NC
24352000-12-04 Andreas Jaeger <aj@suse.de>
2436
2437 * readelf.c (guess_is_rela): Add EM_X86_64.
2438 (dump_relocations): Add EM_X86_64.
2439 (get_machine_name): Add EM_X86_64.
2440 Include "elf/x86-64.h".
2441
584da044
NC
24422000-12-12 Nick Clifton <nickc@redhat.com>
2443
2444 * readelf.c: Fix formatting.
2445
7559e86e 24462000-12-11 Jan Hubicka <jh@suse.cz>
b8355149
JH
2447
2448 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
2449
a98cc2b2
AH
24502000-12-07 Andrew Haley <aph@redhat.com>
2451
2452 * readelf.c (display_debug_frames): Only display columns that are
2453 referenced by the frame debug info.
2454
c7987a69
NC
24552000-12-05 Nick Clifton <nickc@redhat.com>
2456
2457 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
2458
09fd7e38
JM
24592000-12-04 Jason Merrill <jason@redhat.com>
2460
2461 * readelf.c (process_section_headers): Handle linkonce.wi sections.
2462 (display_debug_section): Likewise.
2463 (display_debug_info): Display CU header before bailing.
2464
e7af610e
NC
24652000-12-01 Chris Demetriou <cgd@sibyte.com>
2466
09fd7e38
JM
2467 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
2468 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
2469 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
e7af610e 2470
09fd7e38
JM
2471 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
2472 and E_MIPS_ARCH_64.
84ea6cf2 2473
09fd7e38
JM
2474 * readelf.c (get_machine_flags): Add case for
2475 E_MIPS_MACH_SB1.
c6c98b38 2476
75066968
DD
24772000-11-30 Richard Earnshaw <rearnsha@arm.com>
2478
2479 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
2480
5c4666ea
HPN
24812000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
2482