nm.c (print_symbol_info_bsd): Print the symbol's size instead of the symbol's
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
06a30c77
NC
12003-03-16 Elias Athanasopoulos <elathan@phys.uoa.gr>
2
3 * nm.c (print_symbol_info_bsd): Print the symbol's size instead of
4 the symbol's value when --size-sort is used, unless -S is used.
5 doc/binutils.texi (--size-sort): For non-bsd formats both the
6 value and size of the symbols are displayed.
7
ab829d36
NC
82003-03-13 Nick Clifton <nickc@redhat.com>
9
10 * po/da.po: Update.
11
634847c9
NC
122003-03-12 Nick Clifton <nickc@redhat.com>
13
14 * MAINTAINERS: Remove Peter Targett as ARC maintainer.
15
3889f9eb
BE
162003-03-10 Ben Elliston <bje@wasabisystems.com>
17
18 * MAINTAINERS: Update my mail address.
19
7eb5191a
NC
202003-03-06 Elias Athanasopoulos <elathan@phys.uoa.gr>
21
22 * stabs.c (BYTES_IN_WORD): Remove definition.
23 * wrstabs.c (BYTES_IN_WORD): Likewise.
24
e3b83c8f
NC
252003-03-04 Nick Clifton <nickc@redhat.com>
26
27 * nm.c (main): Print a warning message if --size-sort and
28 --undefined-only are used together.
29
302003-03-04 Elias Athanasopoulos <elathan@phys.uoa.gr>
31
32 * nm.c (print_symbol): Remove check for undefined_only.
33
a9d68a1e
NC
342003-03-03 Nick Clifton <nickc@redhat.com>
35
36 * po/da.po: Installed latest translation.
37
a99996bb
NC
382003-02-24 Nick Clifton <nickc@redhat.com>
39
40 * README: Update binutils references to 2.13.
41 Add paragraph about using --disable-nls.
42
76ed1927
NC
432003-02-24 Elias Athanasopoulos <elathan@phys.uoa.gr>
44
45 * doc/binutils.texi (nm --size-sort): Update.
46
0100f33b
JW
472003-02-21 James E Wilson <wilson@tuliptree.org>
48
49 * MAINTAINERS: Update email address.
50
ecc51f48
NC
512003-02-21 Ian Wienand <ianw@gelato.unsw.edu.au>
52
53 * readelf.c (get_ia64_dynamic_type): New function.
54 (dynamic_segment_ia64_val): New function.
55 (get_dynamic_type): If machine type is EM_IA_64 call
56 get_ia64_dynamic_val.
57 (get_ia64_section_type_name): Handle sections with types in the
58 SHT_IA_64_LOPSREG to SHT_IA_64_HIPSREG range.
59 (get_dynamic_flags): If machine type is EM_IA_64 call
60 dynamic_segment_ia64_val.
61
947ed062
NC
622003-02-21 Bob Wilson <bob.wilson@acm.org>
63
64 * doc/binutils.texi: Fix typos and obvious texinfo mistakes. Make
65 section title capitalization more consistent. Update descriptions
66 of various options to be consistent with the code. Fix errors and
67 incomplete list in the description of c++filt format options. Remove
68 information about the linker. Change to be more polite about poor
69 bug reports. Replace FDL appendix with include of fdl.texi.
70 * doc/fdl.texi: New file.
71
66491ebc
AM
722003-02-21 Roger Sayle <roger@eyesopen.com>
73
74 * objcopy.c (filter_symbols): Fix compilation problems with
75 HP-UX's C compiler.
76
0e11a9e9
CF
772003-02-19 Christopher Faylor <cgf@redhat.com>
78
79 * rclex.l (handle_quotes): Fix minor formatting problems introduced in
80 previous change.
81
6e5f5201
CF
822003-02-19 Mark Blackburn <marklist@fangorn.ca>
83
0e11a9e9 84 * rclex.l (handle_quotes): Handle strings spanning more than one line.
6e5f5201 85
f0c8c24a
NC
862003-02-12 Bob Wilson <bob.wilson@acm.org>
87
88 * nm.c (usage): Add `java' and `gnat' demangle styles and make
89 quotes consistent.
90 * objdump.c (usage): Ditto. Also fix some typos.
91
d3c543fd
NC
92 * readelf.c (parse_args): Include 'H' option in call to getopt_long.
93
fe2c4142
NC
94 * debug.c (debug_record_variable): Handle global register variables.
95
6de15b9e
NC
96 * stabs.c (parse_stab): For N_SLINE only include
97 function_start_offset if the symbol is within a function;
98 otherwise, the value is absolute.
99
fde78edd
NC
1002003-02-10 Nick Clifton <nickc@redhat.com>
101
102 * readelf.c (decode_ARM_machine_flags): Handle the
103 EF_ARM_MAVERICK_FLOAT flag.
104
22d82235
AS
1052003-02-04 Andreas Schwab <schwab@suse.de>
106
107 * rddbg.c (read_section_stabs_debugging_info): Cast ptrdiff_t to
108 long and use %ld in printf format.
109
1a677ea8
RS
1102003-01-28 Richard Sandiford <rsandifo@redhat.com>
111
112 * readelf.c (dump_relocations): Reorder the r_info field for
113 little-endian mips elf64. Move #ifdef BFD64 to cover the new code.
114
8dde85fc
NC
1152003-01-21 Daniel Berlin <dan@dberlin.org>
116
117 * readelf.c (display_debug_loc): Skip address base changes.
118
c6f8bb1e
AM
1192003-01-17 Fabio Alemagna <falemagn@aros.org>
120
121 * readelf.c (get_osabi_name): Handle ELFOSABI_AROS, ELFOSABI_OPENVMS
122 and ELFOSABI_NSK.
123
c833c019
AM
1242003-01-16 Alan Modra <amodra@bigpond.net.au>
125
126 * readelf.c: Include elf/ppc64.h.
127 (dump_relocations <EM_PPC64>): Use elf_ppc64_reloc_type.
128 * Makefile.am: Run "make dep-am".
129 * Makefile.in: Regenerate.
130
3b36097d
SC
1312003-01-02 Ben Elliston <bje@redhat.com>
132
133 * readelf.c (guess_is_rela): Handle EM_IQ2000.
134 (get_machine_name): Likewise.
135 (dump_relocations): Likewise.
136 * NEWS: Mention IQ2000 support.
137
cb44e358
RS
1382003-01-02 Richard Sandiford <rsandifo@redhat.com>
139
140 * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_32R2.
141
af7ee8bf
CD
1422002-12-30 Chris Demetriou <cgd@broadcom.com>
143
144 * doc/binutils.texi (objdump): Note MIPS HWR (Hardware Register)
145 changes in MIPS -M options.
146
2469cfa2
NC
1472002-12-30 Dmitry Diky <diwil@mail.ru>
148
149 * Makefile.am: Add msp430 target.
150 * Makefile.in: Regenerate.
151 * readelf.c: Add support for msp430 target.
152
640c0ccd
CD
1532002-12-27 Chris Demetriou <cgd@broadcom.com>
154
155 * doc/binutils.texi (objdump): Document MIPS -M options.
156
59f14fc0
AS
1572002-12-23 Andreas Schwab <schwab@suse.de>
158
159 * readelf.c (main): Reset dump request after each file.
160
312b768e
NC
1612002-12-23 Nick Clifton <nickc@redhat.com>
162
163 * nlmconv.c (main): Pass TRUE as third argument to
164 bfd_arch_get_compatible.
165
8745eafa
NC
1662002-12-23 Nick Clifton <nickc@redhat.com>
167
168 * strings.c (isgraphic): Replace definition with STRING_ISGRAPHIC
169 macro. Handle 'S' encoding, accepting 8-bit characters.
170 (main): Parse 'S' encoding.
171 (get_char): Accept 'S' encoding.
172 (print_strings): Use STRING_ISGRAPHIC.
173 (usage): Document support of 'S' encoding.
174 * doc/binutils.texi: Document support of 'S' encoding/
175 * NEWS: Mention new feature.
176
08213ebb
AM
1772002-12-20 Alan Modra <amodra@bigpond.net.au>
178
179 * README <building ar>: Don't use libibery's needed_list or
180 required_list, instead link libiberty/*.o.
181
b9e5d8e5
KH
1822002-12-19 Kazu Hirata <kazu@cs.umass.edu>
183
184 * doc/binutils.texi: Fix typos.
185
c51238bc
DA
1862002-12-14 John David Anglin <dave@hiauly1.hia.nrc.ca>
187
188 * doc/binutils.texi: Add missing parenthesis.
189
d7fb0dd2
NC
1902002-12-15 Nick Kelsey <nickk@ubicom.com>
191
192 * objcopy.c: Add --prefix-symbols=<prefix> option to rename all
193 symbols by adding the given prefix to the begining of the symbol
194 name. This is useful to provide name space seperation regardless
195 of how the object file was created. Added --prefix-sections=
196 <prefix> and --prefix-alloc-sections=<prefix> options to rename all
197 sections (or all sections with the alloc flag set) by adding the given
198 prefix to the begining of the symbol name.
199 * NEWS: Mention this new feature.
200 * doc/binutils.texi: Document this new feature.
201
55b9cdf1
AM
2022002-12-13 Alan Modra <amodra@bigpond.net.au>
203
204 * dlltool.c (mcore_elf_gen_out_file): Replace all occurrences of
205 dyn_string_append with dyn_string_append_cstr.
206
207 * emul_aix.c (ar_emul_aix_create): Remove unused function.
208
84ad6ede
NC
2092002-12-10 James Cownie <jcownie@etnus.com>
210
211 * readelf.h (get_TAG_name, get_AT_name,
704afb58 212 read_and_display_attr_value): Add support for UPC extensions to
84ad6ede
NC
213 DWARF2 spec.
214 * NEWS: Mention this new support.
215
7d036af2
AM
2162002-12-08 Alan Modra <amodra@bigpond.net.au>
217
218 * NEWS: Mention that bfd no longer declares a "boolean" type.
219
3e8bba36
AM
2202002-12-07 Alan Modra <amodra@bigpond.net.au>
221
222 * readelf.c (process_program_headers): When setting loadaddr, don't
223 assume segment size is 4k. Use p_align instead.
224 (loadaddr): Change from int to long.
225 (dynamic_addr, dynamic_info, version_info): Likewise.
226 (process_dynamic_segment <syminsz>): Likewise.
227 (process_dynamic_segment): Adjust print format string.
228 (rela_addr, rela_size): Delete.
229 (process_relocs): Formatting.
230
d070dab9
JW
2312002-12-05 Jim Wilson <wilson@redhat.com>
232
233 * configure.in (OBJDUMP_DEFS): Define SKIP_ZEROES as 16 for IA-64.
234 * configure: Regenerate.
235
45bcbdb1
ILT
2362002-12-04 Ian Lance Taylor <ian@airs.com>
237
238 * MAINTAINERS: Change e-mail address back to airs.com.
239
42ea8716
AH
2402002-12-04 Aldy Hernandez <aldyh@redhat.com>
241
242 * MAINTAINERS: Add self.
243
b34976b6
AM
2442002-11-30 Alan Modra <amodra@bigpond.net.au>
245
246 * addr2line.c, ar.c, arsup.c, binemul.c, binemul.h, bucomm.c, bucomm.h,
247 budbg.h, debug.c, debug.h, dlltool.c, emul_aix.c, ieee.c, nlmconv.c,
248 nlmconv.h, nlmheader.y, nm.c, objcopy.c, objdump.c, prdbg.c, rdcoff.c,
249 rddbg.c, readelf.c, rename.c, size.c, stabs.c, strings.c,
250 unwind-ia64.h, wrstabs.c: Replace boolean with bfd_boolean, true with
251 TRUE, false with FALSE. Simplify comparisons of bfd_boolean vars
252 with TRUE/FALSE. Formatting.
253
c8286bd1
JJ
2542002-11-29 Jakub Jelinek <jakub@redhat.com>
255
256 * readelf.c Replace occurrences of Elf32_Internal_* and
257 Elf64_Internal_* with Elf_Internal_*.
258 (slurp_rel_relocs): Change Elf_Internal_Rel to Elf_Internal_Rela.
259 Zero r_addend fields.
260 (dump_relocations): Remove relas variable, change Elf_Internal_Rel to
261 Elf_Internal_Rela.
262
92acdfaf
NC
2632002-11-23 Nick Clifton <nickc@redhat.com>
264
265 * size.c (usage): Fix typo describing switch for hex format.
266
48c5eb8a
SS
2672002-11-18 Svein E. Seldal <Svein.Seldal@solidas.com>
268
269 * testsuite/binutils-all/objcopy.exp: Disable tic4x from test
270 * testsuite/binutils-all/objdump.exp: Setup proper values for tic4x
271 testcase
272
2f62977e
NC
2732002-11-14 Nick Clifton <nickc@redhat.com>
274
275 * readelf.c (process_program_headers): Add comment about return
276 value. Ensure that 0 is returned if the headers are not loaded.
277 (process_file): If process_section_headers failed to load the
278 headers disable any tests that rely upon them. Similarly for
279 process_program_headers.
280
cd24c222
NC
2812002-11-12 Nick Clifton <nickc@redhat.com>
282
283 * po/da.po: Updated Danish translation.
284
f3931575
AM
2852002-11-12 Klee Dienes <kdienes@apple.com>
286
287 * rddbg.c (read_section_stabs_debugging_info): Also recognize
288 LC_SYMTAB.stab/LC_SYMTAB.stabstr as a valid pair of sections.
289
b54e7460
CF
2902002-11-11 Christopher Faylor <cgf@redhat.com>
291
292 * MAINTAINERS: Reinstate DJ Delorie as COFF maintainer. Drop COFF from
293 cgf maintainership.
294
4f17cc13
CF
2952002-11-11 Christopher Faylor <cgf@redhat.com>
296
297 * MAINTAINERS: Replace DJ Delorie as PE/COFF maintainer.
298
232e7cb8
NC
2992002-11-07 Nick Clifton <nickc@redhat.com>
300
cd24c222 301 * configure.in (ALL_LINGUAS): Add 'da'.
235c4794
NC
302 * configure: Regenerate.
303 * po/da.po: New Danish translation.
304
232e7cb8
NC
305 * readelf.c (get_symbol_index_type): Revert part of previous
306 patch: Display unknown symbol types in decimal, not hex.
307
c9e38879
NC
3082002-11-07 Danny Smith <dannysmith@users.sourceforge.net>
309
310 * dlltool.c (add_excludes): Don't prefix excluded fastcall
311 symbols with underscore.
312 (xlate): Ignore add_underscore for decorated fastcall symbols.
313
3142002-11-07 Eric Kohl <ekohl@rz-online.de>
315
316 * deflex.l: Accept '@' as first character of an ID.
317 * dlltool.c (gen_exp_file): Use existing '@' prefix rather than
318 ASM_PREFIX for fastcall symbols.
319 (scan_drectve_symbols): Handle fastcall symbols when generating
320 undecorated aliases for symbols in drectve section.
321 (scan_filtered_symbols): Likewise, with export-all.
322 (xlate): Likewise, with --kill-at.
323 (make_imp_label): New function to handle fastcall symbols
324 correctly.
325 (make_one_lib_file): Use make_imp_label instead of make_label
326 for imp symbols.
327
a700dc3b
SS
3282002-11-06 Svein E. Seldal <Svein.Seldal@solidas.com>
329
330 * MAINTAINERS: Add self as TIC4X maintainer.
331
5cf1065c
NC
3322002-11-06 Hiroyuki Machida <machida@sm.sony.co.jp>
333
334 * readelf.c (get_symbol_index_type): Add hex number to
49814ed0
NC
335 PROCESSOR-specific, OS-specific, reserved and unknown symbol
336 types.
5cf1065c 337
f1ef08cb
AM
3382002-11-04 Alan Modra <amodra@bigpond.net.au>
339
340 * readelf.c (byte_get_little_endian): Comment typo fix.
341 (print_symbol): Constify "symbol" arg. Don't pass "symbol" to printf
342 as the format string.
343 (dump_relocations): Correct section sym names.
344 (process_section_headers): Clear symtab_shndx_hdr.
345 (read_and_display_attr_value): Don't pass indirect string to printf
346 as the format string.
347 (display_debug_frames): Indicate when zero terminator found. Decode
348 DW_EH_PE_pcrel addresses.
349
1a09a22c
NC
3502002-10-23 Svein E. Seldal <Svein.Seldal@solidas.com>
351
352 * configure.in: Define SKIP_ZEROES as 32 for tic4x target in
353 order to ensure proper disassembly of the valid 0-value opcode.
354 * configure: Regenerate.
355 * aclocal.m4: Regenerate.
356 * config.in: Regenerate.
357 * configure.in: Regenerate.
358 * doc/Makefile.in: Regenerate.
359 * po/binutils.pot: Regenerate.
360
c254c557
KK
3612002-10-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
362
363 * MAINTAINERS: Add self as SH maintainer.
364
aefbdd67
BE
3652002-10-23 Ben Elliston <bje@redhat.com>
366
367 * doc/binutils.texi (objdump): Document -z and move the entry for
368 --disassemble-zeroes to the end of the options section (for `z').
369
ab9bcc01
NC
3702002-10-21 Nick Clifton <nickc@redhat.com>
371
372 * MAINTAINERS: Discontinue Hans-Peter Nilsson as SH maintainer.
373
8ab56b6f
AM
3742002-10-21 Svein E. Seldal <Svein.Seldal@solidas.com>
375
376 * objdump.c (dump_data): Correct addr_offset for opb != 1.
377
49c12576
AM
3782002-10-15 Alan Modra <amodra@bigpond.net.au>
379
48417c1a
AM
380 * bucomm.c (list_supported_targets): Use bfd_target_list.
381
49c12576
AM
382 * objcopy.c (copy_file): Report ambiguous bfd_object matches, and
383 other object errors in preference to bfd_core errors.
384
6e1a7e9a
AM
3852002-10-14 Alan Modra <amodra@bigpond.net.au>
386
387 * Makefile.am: Run "make dep-am".
388 * objdump.c: #include "bfdver.h".
389 * version.c: Likewise.
390 * Makefile.in: Regenerate.
391 * config.in: Regenerate.
392 * configure: Regenerate.
393 * po/POTFILES.in: Regenerate.
394
09fc3b02
DJ
3952002-10-09 Daniel Jacobowitz <drow@mvista.com>
396
397 * readelf.c (display_debug_info): Ignore empty .rela.debug_info
398 sections. Allow relocations against the absolute symbol. Don't
399 use the value in compunit.cu_abbrev_offset if we found a RELA
8ab56b6f 400 relocation.
09fc3b02 401
f309035a
NC
4022002-10-07 Gordon Chaffee <chaffee@netvmg.com>
403
404 * addr2line.c (slurp_symtab): Read in dynamic symbols if no
405 ordinary ones are available.
406
810dfa6e
L
4072002-09-30 H.J. Lu <hjl@gnu.org>
408
409 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_4120,
410 E_MIPS_MACH_5400 and E_MIPS_MACH_5500.
411
bb279dc0
ZW
4122002-09-17 Zack Weinberg <zack@codesourcery.com>
413
414 * Makefile.am (CFILES): Add cxxfilt.c.
415 (cxxfilt_SOURCES): Now just cxxfilt.c $(BULIBS).
416 (cxxfilt_LDADD): Delete.
417 Remove all references to underscore.c.
418 Regen dependencies.
419 * configure.in: Define TARGET_PREPENDS_UNDERSCORE in
420 config.h from $UNDERSCORE, rather than AC_SUBSTing it.
421 * binutils/cxxfilt.c: Moved here from gcc/cp, minor
422 adjustments to fit into binutils framework.
423 * configure, config.in, Makefile.in, doc/Makefile.in: Regenerate.
424
065c959b
NC
4252002-09-12 Roland McGrath <roland@redhat.com>
426
427 * readelf.c (decode_location_expression): DW_OP_calli -> DW_OP_call_ref
428 Handle DW_OP_GNU_push_tls_address.
429
e09f4395
NC
4302002-09-11 Nick Clifton <nickc@redhat.com>
431
432 * po/tr.po: Updated Turkish translation.
433
873e0588
NC
4342002-09-10 Nick Clifton <nickc@redhat.com>
435
436 * MAINTAINERS: Add Ben Elliston as a maintainer for configure and
437 testsuite changes. Add paragraphs about testsuite and config
438 patches.
439
069fe61f
NC
4402002-08-29 Nick Clifton <nickc@redhat.com>
441
442 * readelf.c (get_machine_flags): Remove redundant reference to
443 E_V850EA_ARCH.
444
fe0507eb
AM
4452002-08-28 Alan Modra <amodra@bigpond.net.au>
446
447 * objdump.c (dump_bfd): Restore lines accidentally deleted in
448 last commit.
449
026df7c5
NC
4502002-08-28 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
451
bb279dc0 452 * objdump.c (dump_headers): Add printing of HAS_LOAD_PAGE flag.
026df7c5
NC
453 (dump_bfd_header): Likewise.
454
68a4c073
AM
4552002-08-27 Alan Modra <amodra@bigpond.net.au>
456
457 * nm.c: Revert last change.
458
a1df01d1
AM
4592002-08-26 Alan Modra <amodra@bigpond.net.au>
460
461 * nm.c (display_rel_file): Don't report "no symbols" as an error.
462 * objdump.c (slurp_symtab): Likewise.
463 (slurp_dynamic_symtab): Likewise.
464 (dump_symbols): Likewise. Do print "no symbols" to stdout.
465
a926ab2f
GK
4662002-08-24 Geoffrey Keating <geoffk@redhat.com>
467
468 * MAINTAINERS: Change my mailing address.
469
fcf62380
DA
4702002-08-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
471
472 * MAINTAINERS: Add Dave Anglin as HPPA co-maintainer.
473
51e28791
NC
4742002-08-22 Nick Clifton <nickc@redhat.com>
475
476 * MAINTAINERS: Add Jeff Law as (maintainance) maintainer for
477 HPPA.
478
c5b060ad
AM
4792002-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
480
481 * readelf.c (parse_args): Change debug_dump_opt to static.
482
4b73ca92
NC
4832002-08-16 Sivaguru Sankaridurg <siva@eternal-systems.com>
484
485 * stabs.c (parse_stab_argtype): Pass length of physname to
486 stab_demangle_argtypes.
487 (stab_demangle_argtypes): Add new parameter - length of physname.
488 Pass length of physname on to stab_demangle_prefix.
489 (stab_demangle_prefix): Add new parameter - length of physname.
490 Use length of physname (if supplied) to compute end of function
491 name.
492
35b1837e
AM
4932002-08-15 Alan Modra <amodra@bigpond.net.au>
494
495 * readelf.c: Include elf/i370.h.
496 (dump_relocations): Handle EM_S370.
497 (dynamic_segment_parisc_val): Print \n.
498 (process_dynamic_segment <DT_BIND_NOW>): Here too.
499
762baac5
NC
5002002-08-14 Nick Clifton <nickc@redhat.com>
501
502 * nm.c (usage): Change 'gnu-new-abi' to 'gnu-v3'.
503 * objdump.c (usage): Likewise.
504 * doc/binutils.texi: Likewise.
505
85c09e8a
NC
5062002-08-14 Luke Dunstan <infidel@users.sourceforge.net>
507
508 * rcparse.y (acc_entry): Don't warn about ALT use with
509 non-VIRTKEY.
510
212a3c4d
L
5112002-08-13 H.J. Lu <hjl@gnu.org>
512
513 * objcopy.c (copy_object): Don't warn about the unsupported
514 architecture unless the input target is defaulted or the
515 output architecture is different from the input.
516
2b692c59
NC
5172002-08-09 Nick Clifton <nickc@redhat.com>
518
519 * po/sv.po: Updated Swedish translation.
520
09de7a73
AM
5212002-08-05 Alan Modra <amodra@bigpond.net.au>
522
523 * prdbg.c (pr_fix_visibility): Remove assert.
524
47badb7b
NC
5252002-07-31 Nick Clifton <nickc@redhat.com>
526
527 * addr2line.c (process_file): Rename parameter 'filename' to
528 'file_name' in order to avoid shadowing global symbol of the
529 same name.
530 (main): Likewise.
531
2979dc34
JJ
5322002-07-30 Jakub Jelinek <jakub@redhat.com>
533
534 * readelf.c (OPTION_DEBUG_DUMP): Define.
535 (options): Use it.
536 (usage): Update help.
537 (parse_args): Handle --debug-dump separately from -w.
538 * doc/binutils.texi (readelf): Update documentation.
539
219576a4
NC
5402002-07-25 Nick Clifton <nickc@redhat.com>
541
542 * po/es.po: Updated Spanish translation.
543 * po/fr.po: Updated French translation.
544
bf4f22e6 5452002-07-24 Nick Clifton <nickc@redhat.com>
bb279dc0 546
bf4f22e6
NC
547 * po/es.po: Updated Spanish translation.
548
c5b3a82a
AM
5492002-07-23 Alan Modra <amodra@bigpond.net.au>
550
551 * Makefile.am: Run "make dep-am".
552 * Makefile.in: Regenerate.
553
0461a601
NC
5542002-07-23 Nick Clifton <nickc@redhat.com>
555
bf4f22e6 556 * po/fr.po: Updated French translation.
0461a601 557
bf44dd74
AM
5582002-07-23 Eric S. Raymond <esr@golux.thyrsus.com>
559
560 * doc/binutils.texi (addr2line <man synopsis>): Correct brackets.
561
2c205ff2
AM
5622002-07-20 Alan Modra <amodra@bigpond.net.au>
563
63eb0809 564 * budemang.c: Include config.h and string.h/strings.h.
2c205ff2 565
1e4cf259
NC
5662002-07-18 Denis Chertykov <denisc@overta.ru>
567 Frank Ch. Eigler <fche@redhat.com>
568
569 * readelf.c: Include "elf/ip2k.h".
570 (guess_is_rela): Add support for EM_IP2K and EM_IP2K_OLD.
571 (dump_relocations): Likewise.
572 (get_machine_name): Likewise.
573 * NEWS: Mention IP2K support.
574
2cbb2eef
NC
5752002-07-16 Nick Clifton <nickc@cambridge.redhat.com>
576
577 * NEWS: Add 'Changes in 2.13'.
578
047b2264
JJ
5792002-07-10 Jakub Jelinek <jakub@redhat.com>
580
581 * readelf.c (get_dynamic_type): Handle DT_GNU_PRELINKED,
582 DT_GNU_CONFLICT* and DT_GNU_LIBLISZ*.
583 (get_section_type_name): Handle SHT_GNU_LIBLIST.
584 (process_dynamic_segment): Handle DT_GNU_CONFLICTSZ,
585 DT_GNU_LIBLISTSZ and DT_GNU_PRELINKED.
586 (process_gnu_liblist): New.
587 (process_file): Call it.
588
97230b15
AM
5892002-07-03 Alan Modra <amodra@bigpond.net.au>
590
591 * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
592 * Makefile.in: Regenerate.
593
a6637ec0
AM
5942002-07-02 Alan Modra <amodra@bigpond.net.au>
595
596 * budemang.c: New file, "demangle" function.
597 * budemang.h: New file.
598 * addr2line.c (translate_addresses): Use "demangle".
599 * nm.c (print_symname): Likewise.
600 * objdump.c (objdump_print_symname): Likewise.
601 (dump_symbols): Likewise. Also, don't use bfd_asymbol_name macro
602 here since that obfuscates.
603 * rdcoff.c: Don't #include demangle.h.
604 * Makefile.am (CFILES): Add budemang.c, emul_aix.c,
605 emul_vanilla.c. Remove emul_$(EMULATION).c. Sort.
606 (HFILES): Add budemang.h. Sort.
607 (nm_new_SOURCES, objdump_SOURCES, addr2line_SOURCES): Add budemang.c.
608 Run "make dep-am".
609 * Makefile.in: Regenerate.
610
179d3252
JT
6112002-07-01 Matt Thomas <matt@3am-software.com>
612
613 * readelf.c: Include "elf/vax.h".
614 (guess_is_rela): Move EM_VAX from unknown to RELA case.
615 (dump_relocations): Handle VAX relocations.
616 (get_machine_flags): Handle VAX machine flags.
617
75751cd9
SC
6182002-06-29 Stephane Carrez <stcarrez@nerim.fr>
619
620 * readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.
621
e5851ab8
NC
6222002-06-26 Nick Clifton <nickc@cambridge.redhat.com>
623
624 * MAINTAINERS: Remove Tom Rix from d10v and pcc maintainerships.
625
eb3f2f5c
AM
6262002-06-26 Alan Modra <amodra@bigpond.net.au>
627
628 * nm.c (print_symname): When demangling, strip leading dots from
629 symbol names to avoid confusing the demangler.
630
a13a0de8
L
6312002-06-25 H.J. Lu <hjl@gnu.org>
632
633 * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
634 * Makefile.in: Regenerated.
635
6db7a086
AM
6362002-06-21 Igor Schein <igor@txc.com>
637
638 * configure.in: Quote bu_cv_have_fopen64.
639 * configure: Regenerate.
640
9710509e
AM
6412002-06-21 Mitsru Chinen <chinen@jp.ibm.com>
642
643 * configure.in: Check for strcoll.
644 * configure: Regenerate.
645 * config.in: Regenerate.
646 * nm.c (main): Set locale for LC_COLLATE category.
647 (non_numeric_forward): Use strcoll if available.
648
a9f0b5e7
DB
6492002-06-20 Dave Brolley <brolley@redhat.com>
650
651 * MAINTAINERS: Add self as fr30 and frv maintainer.
652
33f5f537
L
6532002-06-18 H.J. Lu (hjl@gnu.org)
654
655 * nm.c: Include "elf/common.h".
656 (extended_symbol_info): Add elfinfo, a pointer to
657 elf_symbol_type.
658 (SYM_SIZE): Use elfinfo if it is not NULL.
659 (get_symbol_type): New function.
660 (display_archive): Set print_width for each archive member.
661 (display_file): Likewise.
662 (display_rel_file): Don't set print_width here.
663 (print_object_filename_sysv): Handle print_width.
664 (print_archive_member_sysv): Likewise.
665 (print_symbols): Pass (bfd_vma) 0 to print_symbol.
666 (print_symbol): Set the elfinfo field in extended_symbol_info
667 for ELF.
668 (print_object_filename_sysv): Fix the output format.
669 (print_symbol_info_sysv): Print type and section for ELF.
670
6712002-06-18 Elias Athanasopoulos <eathan@otenet.gr>
672
673 * nm.c (print_size_symbols): Remove assignment, which makes
bb279dc0 674 the symbol's size equal to its value when --size-sort is
33f5f537
L
675 used.
676
5c70f934
DB
6772002-06-18 Dave Brolley <brolley@redhat.com>
678
679 From Catherine Moore:
680 * readelf.c (elf/frv.h): #include it.
681 (guess_is_rela): Support EM_CYGNUS_FRV.
682 (dump_relocations): Ditto.
683 (get_machine_name): Ditto.
684 * Makefile.am (readelf.o): add dependency on $(INCDIR)/elf/frv.h.
685
7ece0d85
JJ
6862002-06-18 Jakub Jelinek <jakub@redhat.com>
687
688 * readelf.c (get_file_header): Only read the first section header if
689 e_shoff is non-zero.
690
72797995
L
6912002-06-15 H.J. Lu (hjl@gnu.org)
692
693 * nm.c (print_size): New variable. Initialize to 0.
694 (long_options): Add 'S'/"print-size".
695 (main): Handle 'S'.
696 (print_symbol_info_bsd): Print size only if print_size is not
697 0.
698
699 * doc/binutils.texi: Document -S/--print-size.
700
977f7911
NC
7012002-6-13 Elias Athanasopoulos <eathan@otenet.gr>
702
703 * nm.c (struct extended_symbol_info): New strcuture: Add the size
704 of the symbols to the information provided by the symbol_info
705 structure.
706 (print_symbols): Pass the symbol size to print_symbol.
707 (print_size_symbols): Pass the symbol size to print_symbol.
708 (print_symbol): Extra argument: The size of the symbol. Store
709 this in the extended_symbol_info structure.
710 (print_symbol_info): Change type of info parameter to
711 extended_symbol_info. Display the size, if known.
712 (print_symbol_info_posix): Likewise.
713 (print_symbol_info_sysv): Likewise.
714
b1f88ebe
AM
7152002-06-08 Alan Modra <amodra@bigpond.net.au>
716
fa449227
AM
717 * Makefile.am: Run "make dep-am".
718 * Makefile.in: Regenerate.
719 * doc/Makefile.in: Regnerate.
720
b1f88ebe
AM
721 * bucomm.c: Replace CONST with const.
722 * nm.c: Likewise.
723 * objdump.c: Likewise.
724
91a106e6
L
7252002-06-07 H.J. Lu <hjl@gnu.org>
726
727 * readelf.c (DW_CFA_GNU_args_size): Don't define.
728 (DW_CFA_GNU_negative_offset_extended): Likewise.
729 (DW_CFA_GNU_window_save): Likewise.
730 (display_debug_frames): Handle DW_CFA_offset_extended_sf,
731 DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
732
6ab6b380 7332002-06-07 Elias Athanasopoulos <eathan@otenet.gr>
bb279dc0 734
6ab6b380
NC
735 * nm.c: When computing size of symbols for an ELF target use the
736 internal size field.
737
e28e05a3
JL
7382002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
739
740 * testsuite/binutils-all/objcopy.exp: clear xfail for
741 "hppa*64*-*-hpux*".
742 * testsuite/binutils-all/hppa/objdump.exp: Return if
743 "*64*-*-*".
744
dc156bc0
AM
7452002-06-05 Alan Modra <amodra@bigpond.net.au>
746
747 * objcopy.c (copy_section): Don't copy SEC_GROUP sections.
748
7492002-06-03 Elias Athanasopoulos <eathan@otenet.gr>
28b18af1
AM
750
751 * objdump.c: Fix formatting.
752
d79e4ea3
BE
7532002-05-29 Ben Elliston <bje@redhat.com>
754
755 * MAINTAINERS: Add self as M68k maintainer.
756
d172d4ba
NC
7572002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
758
759 * readelf.c: Modified/Added DLX elf support.
760
7edb8f29
NC
7612002-05-27 Nick Clifton <nickc@cambridge.redhat.com>
762
3a1a2036
NC
763 * arsup.c: Fix formatting.
764 * debug.c (debug_record_label): Add missing colon to error
765 message.
766 * ieee.c (parse_ieee_ty): Fix spelling typo.
767 * readelf.c (process_program_headers): Remove English assumption
768 about making a plural word.
769 (process_section_headers): Likewise.
770 (process_relocs): Allow quotes to be translated.
771 (process_unwind): Likewise,
772 (process_mips_specific): Improve error message.
773 (get_note_type): Fix spelling typo.
774
7edb8f29
NC
775 * configure.in (ALL_LINGUAS): Add sv
776 * po/sv.po: New file.
777
3eee1e9d
AM
7782002-05-27 Alan Modra <amodra@bigpond.net.au>
779
780 * unwind-ia64.c (unw_print_brmask): Don't use sprintf.
781 (unw_print_grmask): Likewise.
782 (unw_print_frmask): Likewise.
783
d43efbe3
KH
7842002-05-26 Kazu Hirata <kazu@cs.umass.edu>
785
786 * arsup.c: Remove ARGSUSED.
787 * debug.c: Likewise.
788 * ieee.c: Likewise.
789 * nlmconv.c: Likewise.
790 * prdbg.c: Likewise.
791 * stabs.c: Likewise.
792 * wrstabs.c: Likewise.
793
e9792343
AM
7942002-05-25 Alan Modra <amodra@bigpond.net.au>
795
796 * arlex.l: Use #include "" instead of <> for local header files.
797 * coffdump.c: Likewise.
798 * coffgrok.c: Likewise.
799 * nlmconv.c: Likewise.
800 * nlmheader.y: Likewise.
801 * srconv.c: Likewise.
802 * strings.c: Likewise.
803 * sysdump.c: Likewise.
804 * unwind-ia64.h: Likewise.
805 * windres.h: Likewise.
806 * winduni.h: Likewise.
807
d7e53452
TR
8082002-05-24 Tom Rix <trix@redhat.com>
809
810 * MAINTAINERS: Add self as the d10v maintainer.
811
436e8db0
NC
8122002-05-24 TAMURA Kent <kent@netbsd.org>
813
814 * configure.in: Builds dlltool for i386-netbsdpe.
815 * configure: Regenerate.
816
9f66665a
KH
8172002-05-23 Kazu Hirata <kazu@cs.umass.edu>
818
819 * size.c: Fix formatting.
820 * srconv.c: Likewise.
821 * stabs.c: Likewise.
822 * sysdump.c: Likewise.
823 * unwind-ia64.c: Likewise.
824 * wrstabs.c: Likewise.
825
13ae64f3
JJ
8262002-05-23 Jakub Jelinek <jakub@redhat.com>
827
828 * readelf.c (get_segment_type): Add PT_TLS.
829 (get_elf_section_flags): Add SHF_TLS.
830 (get_dynamic_flags): Optimize. Add DF_STATIC_TLS.
831 (process_dynamic_segment): Use puts instead of printf.
832 (get_symbol_type): Support STT_TLS.
833 * objdump.c (dump_section_header): Remove SEC_CONSTRUCTOR_TEXT,
834 SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS.
835 Add SEC_THREAD_LOCAL.
836
53c7db4b
KH
8372002-05-23 Kazu Hirata <kazu@cs.umass.edu>
838
839 * rdcoff.c: Fix formatting.
840 * rddbg.c: Likewise.
841 * readelf.c: Likewise.
842 * rename.c: Likewise.
843 * resbin.c: Likewise.
844 * resrc.c: Likewise.
845 * resres.c: Likewise.
846
0af11b59
KH
8472002-05-21 Kazu Hirata <kazu@cs.umass.edu>
848
849 * filemode.c: Fix formatting.
850 * ieee.c: Likewise.
851 * is-ranlib.c: Likewise.
852 * is-strip.c: Likewise.
853 * maybe-ranlib.c: Likewise.
854 * maybe-strip.c: Likewise.
855 * nlmconv.c: Likewise.
856 * nm.c: Likewise.
857 * not-ranlib.c: Likewise.
858 * not-strip.c: Likewise.
859 * objcopy.c: Likewise.
860 * objdump.c: Likewise.
861
21611032
TS
8622002-05-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
863
864 * objdump.c (dump_headers): Fix output formatting for ELF32
865 architectures in a BFD64 enabled toolchain.
866
26044998
KH
8672002-05-20 Kazu Hirata <kazu@cs.umass.edu>
868
869 * debug.c: Fix formatting.
870 * debug.h: Likewise.
871 * dlltool.c: Likewise.
872 * dllwrap.c: Likewise.
873 * emul_aix.c: Likewise.
874 * emul_vanilla.c: Likewise.
875
f462a9ea
KH
8762002-05-19 Kazu Hirata <kazu@cs.umass.edu>
877
878 * addr2line.c: Fix formatting.
879 * ar.c: Likewise.
880 * arsup.c: Likewise.
881 * arsup.h: Likewise.
882 * binemul.c: Likewise.
883 * binemul.h: Likewise.
884 * bucomm.c: Likewise.
885 * coffdump.c: Likewise.
886 * coffgrok.c: Likewise.
887 * coffgrok.h: Likewise.
888
e0159aa9
MM
8892002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
890
891 * MAINTAINERS: Add myself as the second AVR port maintainer.
892
074b403e
SC
8932002-05-16 Stephane Carrez <stcarrez@nerim.fr>
894
895 * MAINTAINERS: Update my email address.
896
2b9c8201
NC
8972002-05-09 Nick Clifton <nickc@cambridge.redhat.com>
898
899 * MAINTAINERS: Add Jason Thorpe as VAX maintainer.
900
e1d5b1e7
AM
9012002-05-09 Alan Modra <amodra@bigpond.net.au>
902
903 * configure.in: Replace `*pe' with `pe' throughout.
904 * configure: Regenerate.
905
d3d8a9ee
NC
9062002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
907
908 * Makefile.am: Honour DESTDIR.
909 * Makefile.in: Regenerate.
910
405c98a4
AM
9112002-05-06 Alan Modra <amodra@bigpond.net.au>
912
a02d5965
AM
913 * dlltool.c (process_def_file): Add missing prototype.
914 (new_directive, assemble_file, main): Likewise.
915 (process_def_file, new_directive): Make static.
916 (inform): Rewrite using VA_FIXEDARG.
917 * dllwrap.c (mybasename): Add missing prototype.
918 (strhash, main): Likewise.
919 (inform): Rewrite using VA_FIXEDARG.
920 (warn): Likewise.
921 (cleanup_and_exit): Use old style function definition.
922 (strhash): Likewise.
923 * windres.c (define_resource): Use one memset to clear all of
924 struct res_resource.
925
405c98a4 926 * rcparse.y: Remove newcmd rule. Move rcparse_discard_strings
a02d5965 927 call to rules that need no lookahead. Check for no lookahead.
405c98a4
AM
928
9292002-05-06 Borut Razem <borut.razem@siol.net>
930
931 * rclex.l (get_string): Correct "strings" list handling.
932 * resrc.c (read_rc_file): Discard strings.
933
91593c9d
AM
9342002-05-04 Alan Modra <amodra@bigpond.net.au>
935
e58a75dc
AM
936 * ar.c (replace_members): Remove unused var. Formatting fix.
937 * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
938
91593c9d
AM
939 * MAINTAINERS: Sort port maintainers by CPU.
940
6b52b824
AM
9412002-05-04 Bob Byrnes <byrnes@curl.com>
942
943 * size.c (display_archive): Add last_arfile and code to close archives.
944
dd70071f
AM
9452002-05-01 Alan Modra <amodra@bigpond.net.au>
946
947 * nm.c (print_symbol): Check returned filename from
948 bfd_find_nearest_line is non-NULL.
949
6c95717a 9502002-04-25 Elena Zannoni <ezannoni@redhat.com>
bb279dc0
ZW
951
952 * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
6c95717a 953
3c25c5f6
NC
9542002-04-24 Christian Groessler <chris@groessler.org>
955
956 * MAINTAINERS: Changed my email address.
957
944cd72c
TS
9582002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
959
960 * arparse.y: Fix syntax warning.
961
ea91f8bb
NC
9622002-04-16 Nick Clifton <nickc@cambridge.redhat.com>
963
3e55a963
NC
964 * readelf.c (fetch_location_list): Remove unused function.
965
966 * readelf.c (process_corefile_note_segment): Catch corrupt notes
967 and display a warning message, then exit the loop.
968
ea91f8bb
NC
969 * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
970
45b99827
NC
9712002-04-15 Nick Clifton <nickc@cambridge.redhat.com>
972
973 * resrc.c (write_rc_dialog): If charset is non-default value
974 display all of the DIALOGEX parameters.
975
9762002-04-15 Eric Kohl <ekohl@rz-online.de>
977
bb279dc0 978 * rcparse.y: Allow two to five parameter in FONT statement of
45b99827
NC
979 DIALOGEX resources.
980 * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
981 resource data.
bb279dc0 982 (res_to_bin_dialog): Likewise.
45b99827
NC
983 * windres.h: Added misssing charset variable to dialog_ex
984 structure.
985
acfbab8a
NC
9862002-04-10 Nick Clifton <nickc@cambridge.redhat.com>
987
988 * rcparse.y: Set MEMFLAG_PURE by default.
989
df3baf66
NC
9902002-04-09 Bernd Herd <info@herdsoft.com>
991
bb279dc0 992 * rcparse.y: CLASS definitions in DIALOG resources
df3baf66 993 are quoted.
4c30641a 994 Fix typo in BEDIT warning.
91eafb40 995 Don't add default dialog style when explicit style specified.
b62a12ca 996 Add WS_CAPTION dialog style if CAPTION is specified.
4c30641a 997
b24eb5ac
NC
998 * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
999 (handle_quotes) "\a" escape (used for right justified key
1000 definitions in menus) is encodes as binary 8.
df3baf66 1001
b24eb5ac
NC
1002 * resrc.c (write_rc_dialog): Print style even if it is 0.
1003 (write_rc_directory): Fix overlooked sublang shift bug.
420380ba 1004 (bin_to_res_dialog): Don't print empty dialog caption.
7e8d45b7 1005
b24eb5ac
NC
1006 * resbin.c (bin_to_res_dialog): Use signature to identify
1007 DIALOGEX.
f7d63484 1008
b24eb5ac 1009 * windres.c (main): Set default LANGUAGE to english/us.
f7d63484 1010
df3baf66
NC
10112002-04-09 Gunnar Degnbol <degnbol@danbbs.dk>
1012
1013 * resrc.c: print CLASS names in quotes
1014
10152002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
9c5382a0
JR
1016
1017 * MAINTAINERS: Update my email address.
1018
8e42bcb6
AM
10192002-04-04 Alan Modra <amodra@bigpond.net.au>
1020
1021 * dep-in.sed: Cope with absolute paths.
1022 * Makefile.am (dep.sed): Subst TOPDIR.
1023 Run "make dep-am".
1024 * Makefile.in: Regenerate.
1025
96f959e5
PT
10262002-03-27 Peter Targett <peter.targett@arc.com>
1027
1028 * MAINTAINERS: Update my email address.
1029
1ea788ee
AM
10302002-03-21 Alan Modra <amodra@bigpond.net.au>
1031
1032 * Makefile.am: Run "make dep-am".
1033 * Makefile.in: Regenerate.
1034 * doc/Makefile.in: Regenerate.
1035 * po/POTFILES.in: Regenerate.
1036 * aclocal.m4: Regenerate.
1037 * config.in: Regenerate.
1038 * configure: Regenerate.
1039
a2f14207
DB
10402002-03-20 Daniel Berlin <dan@dberlin.org>
1041
1042 * readelf.c: Add support for displaying dwarf2 location lists.
1043 (do_debug_loc, debug_loc_section, debug_loc_size): New.
1044 (parse_args): Use 'O' as shorthand for displaying location list
1045 section.
1046 (process_section_headers): Handle debug_loc as well.
1047 (load_debug_loc): New.
1048 (free_debug_loc): New.
1049 (fetch_location_list): New.
1050 (display_debug_loc): New.
1051 (display_debug_info): Call load_debug_loc and free_debug_loc.
1052 (debug_displays): We can display .debug_loc now, too.
1053 (usage): Update usage string.
1054 (read_and_display_attr_value): Note location lists, but don't
1055 display them inline.
1056
eb1e0e80
NC
10572002-03-18 Tom Rix <trix@redhat.com>
1058
1059 * Makefile.am: Add binutils emulation support.
1060 * configure.in: Same.
1061 * configure.tgt: New file. Same.
1062 * ar.c (main): Use ar_emul_parse_arg.
1063 (usage): Use ar_emul_usage.
1064 (replace_members): Use ar_emul_replace, ar_emul_append.
1065 * binemul.c: New file. Define the binutils emulation
1066 layer. Define default methods.
1067 * binemul.h: New file. Binutils emulation layer header file.
1068 * emul_aix.c: New file. AIX binutils emulation.
1069 * emul_vanilla.c: New file. Default binutils emulation.
1070 * Makefile.in: Regenerate.
1071 * configure: Same.
1072
a1c259a1
NC
10732002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
1074
1075 * po/fr.po: Updated version.
1076
9ce88e60
NC
10772002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
1078
1079 * po/fr.po: Updated version.
1080
effb0601
DJ
10812002-03-07 Daniel Jacobowitz <drow@mvista.com>
1082
1083 * README: Update some version numbers.
1084
a65688ab
DJ
10852002-03-07 Daniel Jacobowitz <drow@mvista.com>
1086
1087 * doc/binutils.texi (Target Selection): Fix LD crossreferences.
1088 (Architecture Selection): Likewise.
1089
f3f7fbb2
NC
10902002-03-01 Dmitry Timoshkov <dmitry@baikal.ru>
1091
1092 * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
1093 generating .exp file.
1094
25345be5
NC
10952002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
1096
1097 * readelf.c (dump_relocations): Fix typo.
1098
9a66911f
NC
10992002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
1100
1101 * NEWS: Mark 2.12 branch.
1102
2c71103e
NC
11032002-02-18 Timothy Daly <remote_bob@yahoo.com>
1104
bb279dc0
ZW
1105 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
1106 types for 64-bit MIPS. Narrow some fields for 80-char
2c71103e 1107 output.
bb279dc0 1108 (dump_relocations): Change spelling from 'unrecognised'
2c71103e
NC
1109 to 'unrecognized'.
1110 (decode_ARM_machine_flags): Likewise.
1111 (parse_args): Likewise.
1112 (read_and_display_attr_value): Likewise.
1113 (display_debug_section): Likewise.
1114
49fda6c8
HPN
11152002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
1116
1117 * NEWS: Mention support for MMIX.
1118
76f57f3a
JT
11192002-02-13 Matt Fredette <fredette@netbsd.org>
1120
1121 * readelf.c (get_machine_flags): Recognize EF_M68000.
1122
d36ca9c2
AO
11232002-02-12 Alexandre Oliva <aoliva@redhat.com>
1124
1125 * MAINTAINERS: Added self as MN10300 co-maintainer.
1126
19397422
AM
11272002-02-12 Alan Modra <amodra@bigpond.net.au>
1128
1129 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
1130 DT_PPC64_OPDSZ.
1131
d434e574
DJ
11322002-02-11 Daniel Jacobowitz <drow@mvista.com>
1133
1134 * MAINTAINERS: List myself as branch maintainer.
1135
12b87c89
AM
11362002-02-11 Alan Modra <amodra@bigpond.net.au>
1137
1138 * configure: Regenerate.
1139 * objcopy.c: Update copyright date.
1140 * doc/Makefile.in: Regenerate.
1141
8d037c5c
DJ
11422002-02-10 Daniel Jacobowitz <drow@mvista.com>
1143
1144 * nlmconv.c: Back out localtime PARAMS change.
1145
4c168fa3
AM
11462002-02-11 Alan Modra <amodra@bigpond.net.au>
1147
1148 * objcopy.c (MKDIR): Define.
1149 (copy_archive): Make name_list.name const. Use MKDIR.
1150 Handle duplicate files in archives by making more temp dirs.
1151
408f8db1
DJ
11522002-02-10 Daniel Jacobowitz <drow@mvista.com>
1153
1154 * coffdump.c: Include "getopt.h" after "bucomm.h"
1155 so that macros are defined correctly.
1156 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
1157 prototype. Prototype main.
1158 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
1159
9f77fa06
AO
11602002-02-06 Alexandre Oliva <aoliva@redhat.com>
1161
1162 * MAINTAINERS: Added self as SH co-maintainer.
1163
82f6addb
NC
11642002-02-05 Nick Clifton <nickc@redhat.com>
1165
1166 * po/tr.po: Updated translation.
1167
ba323545
AM
11682002-02-01 Alan Modra <amodra@bigpond.net.au>
1169
1170 * Makefile.am: Run "make dep-am"
1171 * Makefile.in: Regenerate.
1172
3deb89d3
DJ
11732002-01-29 Daniel Jacobowitz <drow@mvista.com>
1174
1175 * nm.c (print_value): Mark abfd unused.
1176
a0e9c55f
DJ
11772002-01-29 Daniel Jacobowitz <drow@mvista.com>
1178
1179 * unwind-ia64.c (unw_decoder): Change second argument
1180 to unsigned int, to match function prototypes.
1181
d7a283d4
DJ
11822002-01-29 Daniel Jacobowitz <drow@mvista.com>
1183
1184 * objdump.c: Include "getopt.h" after "bucomm.h" so that
1185 __GNU_LIBRARY__ will be defined.
1186 * size.c: Likewise.
1187
4867be41
DJ
11882002-01-27 Daniel Jacobowitz <drow@mvista.com>
1189
1190 * configure: Regenerated.
1191
7562a296
HPN
11922002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
1193
1194 * doc/Makefile.am (install): Depend on install-info.
1195 * doc/Makefile.in: Regenerate.
1196
15c82623
NC
11972002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
1198
1199 * objcopy.c (strip_usage): Document -d as an alias
1200 --strip-debug.
1201
1202 * size.c (usage): Document [-t | --totals] options.
1203 (long_options): Add --totals option.
1204 (main): If the [-t | --totals] option is specified and
1205 the output format is Berkeley-style, print the total
1206 text, data, and bss sizes of all objects listed.
1207 (print_berkeley_format): If the [-t | --totals] option
1208 is specified, track the total text, data, and bss
1209 sizes.
1210 * doc/binutils.texi (size): Document [-t | --totals] options.
1211 (strip): Document -d as an alias for --strip-debug.
1212 * NEWS: Mention new feature of size.
1213
00ea8601 12142002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
b85cedd7 1215
1ddbd152
NC
1216 * po/fr.po: Updated version.
1217 * po/es.po: Updated version.
b85cedd7 1218
8b53311e
NC
12192002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
1220
1221 * addr2line.c (usage): Update text to provide verbose
1222 description of the command line options.
1223 * ar.c (usage): Update text to provide verbose
1224 description of the command line options.
1225 (main): Accept -h and -H when running as ranlib.
1226 * coffdump.c (show_usage): Update text to provide verbose
1227 description of the command line options.
1228 * dlltool.c (main): Accept -H as an alias for --help.
1229 * nlmconv.c (show_usage): Update text to provide verbose
1230 description of the command line options.
1231 * nm.c (usage): Replace OPTIONS with option(s).
1232 (main): Accept -H as an alias for --help.
1233 * objcopy.c (strip_main): Accept -H as an alias for --help.
1234 * objdump.c (main): Accept -v as an alias for --verbose.
bb279dc0 1235 * readelf.c (usage): Adjust format to match style used in
8b53311e
NC
1236 other binutils.
1237 * size.c (usage): Update text to provide verbose description
1238 of the command line options.
1239 (main): Accept -v, -h and -H as command line options.
1240 * srconv.c (show_usage): Update text to provide verbose
1241 description of the command line options.
1242 * strings.c (main): Accept -H and -v as command line options.
1243 (usage): Update text to provide verbose description of the
1244 command line options.
1245 * sysdump.c (show_usage): Update text to provide verbose
1246 description of the command line options.
1247 * windres.c (usage): Adjust format to match style used in
1248 other binutils.
1249
1250 * coffdump.c: Fix formatting.
1251 * nlmconv.c: Fix formatting.
1252 * srconv.c: Fix formatting.
1253 * sysdump.c: Fix formatting.
1254
c46f0c34
AM
12552002-01-22 Alan Modra <amodra@bigpond.net.au>
1256
1257 * Makefile.am: Run "make dep-am".
1258 * Makefile.in: Regenerate.
1259
2a538ba5
AJ
12602002-01-18 Andreas Jaeger <aj@suse.de>
1261
1262 * version.c (print_version): Update year.
1263
285d1771
AM
12642002-01-17 Alan Modra <amodra@bigpond.net.au>
1265
1266 * readelf.c (get_machine_name): Handle EM_PPC64.
1267 (guess_is_rela): Here too.
1268
328577ad
NC
12692002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
1270
1271 * po/binutils.pot: Regenerate.
1272 * po/fr.po: Regenerate.
1273 * po/tr.po: Regenerate.
1274
af3ae48d
NC
12752002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
1276
1277 * po/tr.po: Import new version.
1278
f1cb7e17
AM
12792002-01-16 Alan Modra <amodra@bigpond.net.au>
1280
1281 * readelf.c (get_ppc64_dynamic_type): New.
1282 (get_dynamic_type): Call it.
1283
6364e0b4
NC
12842002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
1285
3ab9460d 1286 * objcopy.c (copy_usage): Use "options" instead of "switches".
bb279dc0 1287 (strip_usage): Use "options" instead of "switches".
3ab9460d 1288 * doc/binutils.texi (dlltool): Refer to "options" instead of
bb279dc0 1289 "switches".
6364e0b4 1290
3a7e524e
RE
12912002-01-14 Richard Earnshaw <rearnsha@arm.com>
1292
1293 * MAINTAINERS: Add self as co-maintainer for the ARM code.
1294
1209e219
NC
12952001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
1296
1297 * po/es.po: Import from translation project.
1298 * configure.in (ALL_LINGUAS): Add es.
1299 * configure: Regenerate.
1300
b4db1224
JT
13012002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
1302
1303 * readelf.c (get_netbsd_elfcore_note_type): Use
1304 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
1305
9437c45b
JT
13062002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
1307
1308 * readelf.c: Update copyright years.
1309 (get_note_type): Return a const char *.
1310 (get_netbsd_elfcore_note_type): New function.
1311 (process_note): Use get_netbsd_elfcore_note_type to get
1312 the note type string for NetBSD ELF core files.
1313
00428cca
AM
13142002-01-06 Steve Ellcey <sje@cup.hp.com>
1315
1316 * readelf.c (get_ia64_segment_type): Add support for macros.
1317 (get_segment_type): Add support for IA64 specific macros.
1318
31104126
NC
13192001-12-20 Julian v. Bock <julian@wongr.net>
1320
1321 * readelf.c (print_symbol): New function: Print a formatted symbol
1322 name. If --wide is specified do not truncate it.
1323 (dump_relocations): Use print_symbol() to print symbol names.
1324 (process_symbol_table): Likewise.
1325 (process_syminfo): Likewise.
1326 (process_mips_specific): Likewise.
1327 (usage): Document new feature of --wide switch.
1328 * doc/binutils.texi (objdump): Document additional behaviour of
1329 --wide.
2a538ba5 1330
4dd67f29
MS
13312001-12-18 Michael Snyder <msnyder@redhat.com>
1332
1333 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
1334 (copy_object): Don't set the start address or flags of a core file.
1335 (copy_section): Don't relocate a core file. Don't copy contents
1336 if the input section has the contents flag set, but the output
1337 section does not (which happens with the fake 'note' pseudo-
1338 sections that BFD creates for corefiles).
1339
43521d43
TS
13402001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1341
1342 * readelf.c (get_machine_flags): Recognize header flags for ABI and
1343 ASE extensions. More robust code for ISA checking. Ignore empty fields
1344 in header flags for GNU extensions.
1345
b667df2e
AM
13462001-12-18 Alan Modra <amodra@bigpond.net.au>
1347
1348 * objcopy.c (copy_archive): Set output bfd format outside the loop.
1349
17a5a5c3
NC
13502001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
1351
1352 * po/ja.po: Import from translation project.
1353 * configure.in (ALL_LINGUAS): Add ja.
1354 * configure: Regenerate.
1355
65de42c0
TS
13562001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1357
1358 * addr2line.c (main): Protoype.
1359 * ar.c (main): Protoype.
1360 * nm.c (main): Protoype.
1361 * objcopy.c (main): Protoype.
1362 * objdump.c (main): Protoype.
1363 * size.c (main): Protoype.
1364 * strings.c (main): Protoype.
1365
9ad5cbcf
AM
13662001-12-17 Alan Modra <amodra@bigpond.net.au>
1367
1368 * readelf.c (symtab_shndx_hdr): New global.
1369 (SECTION_HEADER_INDEX): Define.
1370 (SECTION_HEADER_NUM): Define.
1371 (SECTION_HEADER): Define.
1372 (GET_ELF_SYMBOLS): Pass two params rather than three.
1373 (get_32bit_elf_symbols): Take file and section args. Read and
1374 use SHT_SYMTAB_SHNDX.
1375 (get_64bit_elf_symbols): Likewise.
1376 (dump_relocations): Use SECTION_HEADER to index "section_headers".
1377 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
1378 Remember symtab_shdx_hdr.
1379 (process_program_headers): Scan from index 1 for segment map.
1380 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
1381 "section_headers".
1382 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
1383 (process_unwind): Likewise.
1384 (process_version_sections): Likewise.
1385 (process_symbol_table): Likewise.
1386 (display_debug_info): Likewise.
1387 (process_dynamic_segment): Fake up a symtab section for changed
1388 GET_ELF_SYMBOLS.
1389 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
1390 (process_program_headers): Kill signed/unsigned warning.
1391 (load_debug_str): Likewise.
1392 (display_debug_info): Likewise.
1393
65765700
JJ
13942001-12-13 Jakub Jelinek <jakub@redhat.com>
1395
1396 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
1397
560f3c1c
AM
13982001-12-11 Alan Modra <amodra@bigpond.net.au>
1399
1400 * readelf.c (process_file_header): Print extended e_shnum and
1401 e_shdtrndx values. Set elf_header values for same.
1402 (get_32bit_section_headers): Add "num" arg to read "num" headers.
1403 (get_64bit_section_headers): Likewise.
1404 (process_section_headers): Update calls.
1405 (get_file_header): Call get_32bit_section_headers or 64bit variant.
1406
bc408b8a
JJ
14072001-12-10 Jakub Jelinek <jakub@redhat.com>
1408
1409 * objcopy.c (setup_section): Copy entsize.
1410
93fbbb04
GK
14112001-12-07 Geoffrey Keating <geoffk@redhat.com>
1412
1413 * readelf.c (guess_is_rela): Add support for stormy16.
1414 (dump_relocations): Likewise.
1415 (get_machine_name): Likewise.
1416
e3c8793a
NC
14172001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
1418
1419 * dllwrap.c (main) Replace multiple strings describing a
1420 single error with a single, newline escaped sentence to permit
1421 better translation into foreign languages.
1422
1423 * readelf.c (get_elf_class): Remove internalionalisation of ELF
1424 class names.
1425
956cd1d6
TS
14262001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1427
1428 * strings.c (get_char): Initialize value.
1429
956c53ee
TS
14302001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1431
1432 * arlex.l: Silence compile warnings.
1433 * arsup.h: Likewise. Fix formatting.
1434
cedd9a58
JJ
14352001-12-04 Jakub Jelinek <jakub@redhat.com>
1436
1437 * strings.c: Include config.h before bfd.h.
1438 (file_off): New type.
1439 (file_open): Define.
1440 (print_strings): Use file_off instead of file_ptr. Print addresses
1441 which don't fit into long correctly.
1442 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
1443 available.
1444 (strings_file): Use file_off instead of file_ptr. Use file_open.
1445 * configure.in: Check for getc_unlocked.
1446 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
1447 be defined for it.
1448 * configure: Rebuilt.
1449 * config.h.in: Rebuilt.
1450
af667503
L
14512001-11-29 H.J. Lu <hjl@gnu.org>
1452
1453 * bucomm.c (make_tempname): Revert the changes made on
1454 2001-11-14 and 2001-11-12. They won't work with directories.
1455
16474668
NC
14562001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
1457
1458 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
1459 CFLAGS_FOR_TARGET to runtest in environment.
1460 * Makefile.in: Rebuild.
1461 * doc/Makefile.in: Rebuild.
1462
17978339
MS
14632001-11-28 Mike Stump <mrs@wrs.com>
1464
1465 * objcopy.c (setup_section): Preserve SEC_RELOC when
1466 --set-section-flags is used.
1467
261a45ad
NC
14682001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
1469
1470 * readelf.c (do_debug_str): New variable.
1471 (display_debug_str): New function: Display the contents of a
1472 .debug_str section.
1473 (load_debug_str): New function: Load in the contents of a
1474 .debug_str section.
1475 (free_debug_str): New function: Free the memory used by
1476 load_debug_str().
1477 (fetch_indirect_string): Retrieve a string from the .debug_str
1478 section.
1479 (usage): Add -ws.
1480 (parse_args): Accept -ws.
1481 (process_section_headers): Allow the display of the .debug_str
1482 section.
1483 (read_and_display_attr_value): Use fetch_indirect_string. Show
1484 offset into .debug_str section.
1485 (display_debug_info): Use load_debug_str and free_debug_str.
1486 (debug_displays): Add .debug_str.
1487 * doc/binutils.texi: Document -ws.
1488
b8908f93
AJ
14892001-11-19 Andreas Jaeger <aj@suse.de>
1490
1491 * testsuite/binutils-all/objdump.exp: Add x86-64.
1492
e5fb9629
AS
14932001-11-15 Andreas Schwab <schwab@suse.de>
1494
1495 * readelf.c: Fix warnings without terminating newline.
1496
802a735e
AM
14972001-11-15 Alan Modra <amodra@bigpond.net.au>
1498
1499 * doc/binutils.texi (objdump): Document ppc -M options.
1500
b89e9eae
AJ
15012001-11-14 Andreas Jaeger <aj@suse.de>
1502
1503 * doc/binutils.texi (objdump): Fix description to use x86-64.
1504
a6a25652
NC
15052001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
1506
1507 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
1508 not all systems provide mkstemp.
1509
e396998b
AM
15102001-11-14 Alan Modra <amodra@bigpond.net.au>
1511
1512 * doc/binutils.texi (objdump): Document x86 -M options.
1513
81766fca
RH
15142001-11-13 Keith Walker <keith.walker@arm.com>
1515
1516 * readelf.c (read_and_display_attr_value): New function to
1517 handle DW_FORM_indirect.
1518 (read_and_display_attr): Use it.
1519
1a509dcc
GK
15202001-11-13 Geoffrey Keating <geoffk@redhat.com>
1521
1522 * readelf.c (display_debug_lines): Deal with unknown standard
1523 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
1524 DW_LNS_set_isa.
1525
6e917903 15262001-11-13 Timothy Wall <twall@alum.mit.edu>
1a509dcc 1527
6e917903
TW
1528 * MAINTAINERS: Add self as tic54x maintainer. This target
1529 includes the IBM C54XDSP clone.
7559e86e 1530
6e917903 15312001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
1a509dcc 1532
7559e86e
NC
1533 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
1534
15352001-11-09 Jeffrey A Law (law@cygnus.com)
91770270 1536
ecdadc4a
JL
1537 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
1538 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
1539 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
1540 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
1541 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
1542 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
1543 (unw_decode_b2, unw_decode_b3_b4): Likewise.
1544
91770270
JL
1545 * readelf.c (get_elf_class): Fix ISO portability glitch.
1546 (get_data_encoding, get_osabi_name, request_dump): Likewise.
1547
ef5cdfc7
JJ
15482001-11-07 Jakub Jelinek <jakub@redhat.com>
1549
1550 * readelf.c (debug_str, debug_str_size): New.
1551 (display_debug_abbrev): If no abbrevs were read, skip the CU.
1552 Call free_abbrevs.
1553 (read_and_display_addr): Handle DW_FORM_strp.
1554 (display_debug_info): Read .debug_str section if present,
1555 so that DW_FORM_strp can be handled.
1556 Fix test for non-existant .debug_abbrev section.
1557
5e9520c8
JJ
15582001-11-05 Jakub Jelinek <jakub@redhat.com>
1559
1560 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
1561
1562 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
1563
54589086
MS
15642001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
1565
1566 * MAINTAINERS: Add self as s390/s390x maintainer.
1567
c05b685b
TR
15682001-11-02 Tom Rix <trix@bluey.cygnus.com>
1569
1570 * MAINTAINERS: Add self as PPC XCOFF maintainer.
1571
3c62831e
NC
15722001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
1573
1574 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
1575 * configure: Regernate.
1576 * po/fr.po: New file.
1577 * po/tr.po: New file.
1578
3c3bdf30
NC
15792001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
1580
9b19141a 1581 * MAINTAINERS: Add self as MMIX port maintainer.
3c3bdf30
NC
1582 * readelf.c: Include elf/mmix.h.
1583 (guess_is_rela): MMIX is RELA.
1584 (dump_relocations): Handle MMIX relocations.
1585 * Makefile.am: Regenerate dependencies.
1586 * Makefile.in: Regenerate.
1587
f662939a
NC
15882001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
1589
1590 * readelf.c (parse_args): Handle multiple options to the -w
1591 switch.
1592
c91d0dfb
JJ
15932001-10-12 Jakub Jelinek <jakub@redhat.com>
1594
1595 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
1596 LOPROC, LOOS and LOUSER.
1597
7559e86e 15982001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
d1b67f3c
JR
1599
1600 * MAINTAINERS: Update my email address.
1601
fcd8210c
AM
16022001-10-03 Alan Modra <amodra@bigpond.net.au>
1603
1604 * doc/Makefile.in: Regenerate.
1605 * configure: Regenerate.
1606
428409d5
NC
16072001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
1608
1609 * readelf.c (display_debug_line, display_debug_pubnames,
1610 display_debug_info, display_debug_frames): Detect and warn
1611 about 64-bit format entries.
1612 (display_debug_aranges): Reword 64-bit warning.
1613 (debug_displays): Add .debug_pubtypes as a known, but not yet
1614 supported, debug section.
1615
6a8c2b0d
AM
16162001-10-02 Alan Modra <amodra@bigpond.net.au>
1617
1618 * coffdump.c (PROGRAM_VERSION): Delete.
1619 (main <'V'>): Call print_version.
1620 * srconv.c: Likewise.
1621 * sysdump.c: Likewise.
1622 * version.c (program_version): Remove.
1623 (print_version): Use BFD_VERSION_STRING. Just print the current
1624 year in copyright message.
1625 * addr2line.c (program_version): Remove unused declaration.
1626 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
1627 place of BFD_VERSION.
1628 * Makefile.am (Makefile): Depend on bfd/configure.in.
1629 (cplus-dem.o): Depend on Makefile.
1630 Run "make dep-am".
1631 * Makefile.in: Regenerate.
1632
e414a165
NC
16332001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
1634
1635 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
1636 format .debug_arange sections.
1637 (main): Add missing prototype.
b8908f93 1638
efc3ee7f
HPN
16392001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
1640
1641 * Makefile.am: Update dependencies with "make dep-am".
1642 * Makefile.in: Regenerate.
1643
9e85c2a0
RH
16442001-09-28 Richard Henderson <rth@redhat.com>
1645
1646 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
1647
451dad9c
AM
16482001-09-26 Alan Modra <amodra@bigpond.net.au>
1649
1650 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
1651 VA_CLOSE.
1652 (non_fatal): Likewise.
1653 * objdump.c (objdump_sprintf): Likewise.
1654 * readelf.c (error): Likewise.
1655 (warn): Likewise.
1656
d974e256
JJ
16572001-09-25 Jakub Jelinek <jakub@redhat.com>
1658
1659 * readelf.c (do_wide): New.
1660 (options): Add --wide.
1661 (usage, parse_args): Likewise.
1662 (process_program_headers): Put each segment on a single line if
1663 --wide is given.
1664 (process_section_headers): Put each section on a single line if
1665 --wide is given.
1666 * doc/binutils.texi: Document it.
1667 * NEWS: Likewise.
1668
2f11c261
AM
16692001-09-25 Alan Modra <amodra@bigpond.net.au>
1670
1671 * readelf.c (print_vma): Print 8 digits of low hex value.
1672
1d50f91e
AJ
16732001-09-24 Andreas Jaeger <aj@suse.de>
1674
1675 * nlmconv.c: Fix warnings about unused attributes and function
1676 prototypes.
1677
1678 * strings.c: Add prototype for get_char.
1679
38131e67
L
16802000-09-19 H.J. Lu <hjl@gnu.org>
1681
1682 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
1683 $(srcdir)/cxxfilt.man.
1684 * doc/Makefile.in: Rebuild.
1685
3bcfb3e4
AM
16862001-09-19 Alan Modra <amodra@bigpond.net.au>
1687
1688 * objcopy.c (copy_main): Correct rename-section string parsing.
1689 Consolidate new_name parsing, and error messages.
1690
3882b010
L
16912001-09-18 Bruno Haible <haible@clisp.cons.org>
1692
1693 * addr2line.c: Don't include <ctype.h>.
1694 (main): For gettext, also set the LC_CTYPE locate facet.
1695 * ar.c (main): Likewise.
1696 * coffdump.c (main): Likewise.
1697 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
1698 (main): For gettext, also set the LC_CTYPE locate facet.
1699 Use ISALNUM instead of isalpha/isdigit.
1700 * dllwrap.c: Don't include <ctype.h>.
1701 (main): For gettext, also set the LC_CTYPE locate facet.
1702 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
1703 (main): For gettext, also set the LC_CTYPE locate facet.
1704 Use TOUPPER instead of islower/toupper.
1705 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
1706 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
1707 Use TOUPPER instead of islower/toupper.
1708 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
1709 * objcopy.c (main): Likewise.
1710 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
1711 (disassemble_bytes): Use ISPRINT instead of isprint.
1712 (dump_section_stabs): Use ISDIGIT instead of isdigit.
1713 (dump_data): Use ISPRINT instead of isprint.
1714 (main): For gettext, also set the LC_CTYPE locate facet.
1715 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
1716 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
1717 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
1718 Use TOUPPER instead of islower/toupper.
1719 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
1720 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
1721 (write_rc_accelerators): Use ISPRINT instead of isprint.
1722 (write_rc_rcdata): Likewise.
1723 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
1724 * srconv.c (main): Likewise.
1725 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
1726 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
1727 isdigit/isupper/islower.
1728 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
1729 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
1730 stab_demangle_prefix, stab_demangle_qualified,
1731 stab_demangle_template, stab_demangle_type,
1732 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
1733 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
1734 (isgraphic): Use ISPRINT instead of isascii/isprint.
1735 (main): Remove HAVE_LC_MESSAGES dependency.
1736 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
1737 (pbarray): Use ISPRINT instead of isprint.
1738 (main): For gettext, also set the LC_CTYPE locate facet.
1739 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
1740 (format_from_filename): Use ISPRINT instead of isprint.
1741 (main): For gettext, also set the LC_CTYPE locate facet.
1742 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
1743 (unicode_print): Use ISPRINT instead of isprint.
1744 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
1745 (stab_variable): Use ISDIGIT instead of isdigit.
1746
e59b4dfb
AM
17472001-09-18 Alan Modra <amodra@bigpond.net.au>
1748
1749 * ar.c (print_contents): Cast args of bfd_seek to the right types.
1750 Replace bfd_read call with call to bfd_bread.
1751 (extract_file): Likewise.
1752
1753 * objdump.c (dump_section_header): Cast section->filepos to
1754 unsigned long to suit printf format string.
1755 * readelf.c (process_section_headers): Similarly for sh_offset.
1756 (process_unwind): Likewise.
1757
d132876a
NC
17582001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
1759
1760 * strings.c (encoding, encoding_bytes): New variables.
1761 (long_options): Add --encoding.
1762 (main): Accept -e and --encoding.
1763 (get_char): New function. Read a, possibly wide, character from
1764 the input stream.
1765 (print_strings): Use get_char().
1766 (usage): Document new command line option.
1767 * doc/binutils.texi: Document new command line option.
1768 * NEWS: Announce new command line option.
1769
7559e86e 17702001-09-12 Alexandre Oliva <aoliva@redhat.com>
2b0337b0
AO
1771
1772 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
1773 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
1774 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
1775 Removed EM_CYGNUS_ARC.
1776
7559e86e 17772001-09-04 Jeffrey A Law (law@cygnus.com)
b8720f9d
JL
1778
1779 * readelf.c: Include elf/h8 for H8 series definitions.
1780 (guess_is_rela): H8 series if RELA.
1781 (dump_relocations): Handle H8 series relocations.
1782
0823fbca
EC
17832001-08-31 Eric Christopher <echristo@redhat.com>
1784
1785 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
1786
8db76d70
PT
17872001-08-29 Peter Targett <peter.targett@arccores.com>
1788
1789 * MAINTAINERS: Include ARC Maintainer.
1790
d81d6584
BE
17912001-08-29 Ben Elliston <bje@redhat.com>
1792
1793 * stabs.c (stab_demangle_template): Initialise s4.
1794
25a1ff5b
AM
17952001-08-27 Alan Modra <amodra@bigpond.net.au>
1796
1797 * readelf.c (dump_relocations): Recognise EM_PPC64.
1798
a5d22d2a
TS
17992001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1800
1801 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
1802
62a5a82d
L
18032001-08-25 H.J. Lu <hjl@gnu.org>
1804
1805 * nm.c (print_width): New.
1806 (display_rel_file): Set `print_width' according to
1807 bfd_sprintf_vma.
1808 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
1809
1ae8b3d2
AO
18102001-08-24 Alexandre Oliva <aoliva@redhat.com>
1811
1812 * objcopy.c (use_alt_mach_code): New variable.
1813 (OPTION_ALT_MACH_CODE): Define.
1814 (copy_options): Added --alt-machine-code.
1815 (copy_main): Handle it.
1816 (copy_object): Switch to alternate machine code if requested.
1817 * doc/binutils.texi: Document new option.
1818 * NEWS: Likewise.
1819
d1bdd336
TS
18202001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1821
1822 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
1823
410f7a12
L
18242001-08-21 H.J. Lu <hjl@gnu.org>
1825
1826 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
1827 (display_debug_info): Cast for 64bit hosts.
1828 (display_debug_frames): Likewise.
1829 (process_mips_specific): Likewise.
1830
c32144ff
AJ
18312001-08-21 Andreas Jaeger <aj@suse.de>
1832
1833 * coffgrok.h: Add missing parameter for prototype of coff_grok.
1834
1835 * sysdump.c: Add missing prototypes.
1836 * srconv.c: Likewise.
1837 * unwind-ia64.c: Likewise.
1838 * coffdump.c: Likewise.
1839
1840 * sysinfo.y: Print prototypes, include <ansidecl.h>.
1841
1842 * coffgrok.c: Add missing prototypes, include libiberty.h instead
1843 of declaring xcalloc.
1844
d8180c76
L
18452001-08-10 H.J. Lu <hjl@gnu.org>
1846
1847 * nm.c (print_value): Add one arg, bfd *.
1848 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
1849 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
1850 (print_symbol_info_sysv): Likewise.
1851 (print_symbol_info_posix): Likewise.
1852
1853 * objdump.c (dump_section_header): Replace printf_vma with
1854 bfd_printf_vma.
1855 (print_section_stabs): Likewise.
1856 (dump_bfd_header): Likewise.
1857 (objdump_print_value): Replace sprintf_vma with
1858 bfd_sprintf_vma.
1859 (disassemble_bytes): Likewise.
1860 (dump_reloc_set): Likewise.
1861
0218d1e4
AJ
18622001-08-10 Andreas Jaeger <aj@suse.de>
1863
1864 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
1865 to build warnings.
1866 * configure: Regenerate.
1867
2863d58a
AM
18682001-08-09 Alan Modra <amodra@bigpond.net.au>
1869
1870 * readelf.c: Add missing prototypes.
1871 * objdump.c: Likewise. Format existing prototypes.
1872
c0e047e0
AO
18732001-08-08 Alexandre Oliva <aoliva@redhat.com>
1874
1875 * readelf.c (display_debug_info): Add to abbrev_offset the addend
1876 of any RELA relocation for the abbrev_offset memory location that
1877 refers to the .debug_abbrev section symbol.
1878
ff78d6d6
L
18792001-08-07 H.J. Lu <hjl@gnu.org>
1880
1881 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
1882 (main): Return process_file ().
1883
c36774d6
PB
18842001-08-05 Philip Blundell <philb@gnu.org>
1885
1886 * doc/binutils.texi: Use "Thumb" not "THUMB".
1887
8f9d9bd9
JH
18882001-08-03 John Healy <jhealy@redhat.com>
1889
bb279dc0
ZW
1890 Patch suggested by Frank Eigler <fche@redhat.com>.
1891 * objdump.c (disassemble_data): Fill in section member of the
1892 disasm_info structure.
8f9d9bd9 1893
c918cb96
DD
18942001-08-03 Tom Walsh <tom@cyberiansoftware.com>
1895
1896 * configure.in: Added --with-windres option.
1897 * configure: Regenerated.
1898
c7c55b78
NC
18992001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1900
1901 * doc/binutils.texi: Use @command{name} for commands;
1902 use @option{-opt} for options; use @table @env for list of options;
1903 remove spaces arround [ | ] in synopsis.
1904
1905 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
1906 center title.
1907
594ef5db
NC
19082001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
1909
bb279dc0
ZW
1910 * objcopy.c: Fix formatting.
1911 (section_rename): New structure.
1912 (OPTION_RENAME_SECTION): New switch.
1913 (copy_usage): Document new switch.
1914 (add_section_rename): New function: Add a node to the section
1915 rename list.
1916 (find_section_rename): New function: Find the new name and
1917 flags for a section.
1918 (setup_section): Call find_section_name to determine the name
1919 of the output section.
1920 (copy_main): Handle OPTION_RENAME_SECTION.
1921 * binutils.texi: Document new switch.
594ef5db
NC
1922 * NEWS: Mention new switch.
1923
1f554c69
NC
19242001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
1925
1926 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
1927 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
1928 bug-binutils@gcc.org.
1929
2f83960e
AM
19302001-07-28 Matthias Kramm <kramm@quiss.org>
1931
1932 * bucomm.c (list_supported_architectures): New function.
1933 * bucomm.h (list_supported_architectures): Declare.
1934 * objdump.c (usage): Call the above.
1935
20fe0649
DB
19362001-07-25 Dave Brolley <brolley@redhat.com>
1937
1938 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
1939 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
1940
1b577b00
NC
19412001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
1942
1943 * README: Update for 2.11. Change bug reporting email address.
1944 * MAINTAINERS: Tidy up. Change bug reporting email address.
1945
95fd336c
DD
19462001-07-16 DJ Delorie <dj@redhat.com>
1947
5f16d855
DD
1948 * resres.c (write_res_header): Align header size.
1949 (res_align_file): Calculate alignment correctly.
1950
95fd336c
DD
1951 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
1952 correct 10).
1953 * resrc.c (write_rc_resource): Likewise.
1954 * windres.h (SUBLANG_SHIFT): Define - as 10.
1955
ed8fee27
NC
19562001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
1957
1958 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
1959
90ab7e9a
NC
19602001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
1961
1962 * MAINTAINERS: Add notes about branch checkins.
1963
e0c60db2
NC
19642001-07-05 Daniel Berlin <dan@cgsoftware.com>
1965
1966 * readelf.c (display_debug_macinfo): New function, display
1967 .debug_macinfo section.
1968 (do_debug_macinfo): New variable.
1969 (parse_args): Handle "-w[mM]" to mean display macro info.
1970 (process_section_headers): Handle debug_macinfo.
1971 (debug_displays): Replace unsupported function with macinfo
0218d1e4 1972 function for .debug_macinfo display.
e0c60db2
NC
1973 * doc/binutils.texi: Document new command line switch.
1974 * NEWS: Document new feature of readelf.
0218d1e4 1975
24e01a36
L
19762001-07-05 H.J. Lu <hjl@gnu.org>
1977
1978 * objcopy.c (filter_symbols): Don't turn undefined symbols
1979 into local.
1980
4258bf4d
L
19812001-07-03 H.J. Lu <hjl@gnu.org>
1982
1983 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
1984 $@.pod.
1985 (ar.1): Likewise.
1986 (dlltool.1): Likewise.
1987 (nlmconv.1): Likewise.
1988 (nm.1): Likewise.
1989 (objcopy.1): Likewise.
1990 (objdump.1): Likewise.
1991 (ranlib.1): Likewise.
1992 (readelf.1): Likewise.
1993 (size.1): Likewise.
1994 (strings.1): Likewise.
1995 (strip.1): Likewise.
1996 (windres.1): Likewise.
1997 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
1998 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
1999 $(DEMANGLER_NAME).
2000 (as.1): Removed.
2001 * doc/Makefile.in: Regenerated.
2002
7014bc31
NC
20032001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
2004
2005 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
2006
b811889f
NC
20072001-07-01 Daniel Berlin <dan@cgsoftware.com>
2008
2009 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
2010
12ab83a9
NC
20112001-06-29 James Cownie <jcownie@etnus.com>
2012
2013 * readelf.c: Support DWARF 2.1 attributes.
2014
a6e9f9df
AM
20152001-06-28 Alan Modra <amodra@bigpond.net.au>
2016
2017 * readelf.c (GET_DATA_ALLOC): Remove.
2018 (GET_DATA): Remove.
2019 (get_data): New function combining above macros, with an extra
2020 test for zero size.
2021 (slurp_rela_relocs): Use get_data, and catch error return.
2022 (slurp_rel_relocs): Likewise.
2023 (get_32bit_program_headers): Likewise.
2024 (get_64bit_program_headers): Likewise.
2025 (get_32bit_section_headers): Likewise.
2026 (get_64bit_section_headers): Likewise.
2027 (get_32bit_elf_symbols): Likewise.
2028 (get_64bit_elf_symbols): Likewise.
2029 (process_section_headers): Likewise.
2030 (process_relocs): Likewise.
2031 (slurp_ia64_unwind_table): Likewise.
2032 (process_unwind): Likewise.
2033 (get_32bit_dynamic_segment): Likewise.
2034 (get_64bit_dynamic_segment): Likewise.
2035 (process_dynamic_segment): Likewise.
2036 (process_version_sections): Likewise.
2037 (process_symbol_table): Likewise.
2038 (dump_section): Likewise.
2039 (display_debug_info): Likewise.
2040 (display_debug_section): Likewise.
2041 (process_section_contents): Likewise.
2042 (process_corefile_note_segment): Likewise.
2043 (process_mips_specific): Likewise. Also free econf32, econf64.
2044
af3fc3bc
AM
20452001-06-25 Alan Modra <amodra@bigpond.net.au>
2046
2047 * readelf.c (dump_relocations): Print "bad symbol index" if
2048 symtab == NULL with non-zero symtab_index.
2049 (process_relocs): Don't bomb if reloc section has no symsec.
2050
6d900bf6
L
20512001-06-24 H.J. Lu <hjl@gnu.org>
2052
2053 * objcopy.c (strip_main): Revert the change made on 2001-05-30
2054 by accident.
2055 (copy_main): Apply the the change made to strip_main on
2056 2001-05-30 by accident.
2057
49b4e386
AJ
20582001-06-23 Andreas Jaeger <aj@suse.de>
2059
2060 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
2061 parameter 'code'.
2062 (unw_decode_x2): Likewise.
2063 (unw_decode_x3): Likewise.
2064 (unw_decode_x4): Likewise.
2065
d8dc71e3
BE
20662001-06-23 Ben Elliston <bje@redhat.com>
2067
2068 * MAINTAINERS: Add myself as M88k maintainer.
2069
af3bdff7
NC
20702001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
2071
2072 * objcopy.c (strip_main): Support -o or --output-file command lien
2073 switch.
2074
105e7211
L
20752001-06-19 H.J. Lu <hjl@gnu.org>
2076
2077 * doc/Makefile.in: Regenerated.
2078
c45021f2
NC
20792001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
2080
2081 * readelf.c: Restore formatting.
2082
20832001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
2084
bb279dc0
ZW
2085 * Makefile.am: Move documentation into doc subdirectory.
2086 * Makefile.in: Regenerated.
c45021f2 2087 * binutils.texi: Move into doc subdirectory.
bb279dc0
ZW
2088 * addr2line.1: Removed.
2089 * ar.1: Likewise.
2090 * dlltool.1: Likewise.
2091 * nlmconv.1: Likewise.
2092 * nm.1: Likewise.
2093 * objcopy.1: Likewise.
2094 * objdump.1: Likewise.
2095 * ranlib.1: Likewise.
2096 * readelf.1: Likewise.
2097 * size.1: Likewise.
2098 * strings.1: Likewise.
2099 * strip.1: Likewise.
2100 * windres.1: Likewise.
2101 * cxxfilt.man: Likewise.
c45021f2
NC
2102 * doc: New Directory.
2103 * doc/Makefile.am: New file.
2104 * doc/Makefile.in: Generate.
2105
09ad7db3
AM
21062001-06-09 Alan Modra <amodra@bigpond.net.au>
2107
2108 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
2109
936260fe
AM
21102001-06-01 Alan Modra <amodra@bigpond.net.au>
2111
2112 * MAINTAINERS: Update my email address.
2113
16b2b71c
NC
21142001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
2115
2116 * objcopy.c: Add new switches: --keep-global-symbol,
2117 --keep-symbols, --localize-symbols, --keep-global-symbols and
2118 --weaken-symbols.
2119 * binutils.texi: Document new switches.
2120 * objcopy.1: Regenerate.
2121 * NEWS: Announce new feature.
2122
7036c0e1
AJ
21232001-05-28 Andreas Jaeger <aj@suse.de>
2124
2125 * readelf.c (display_debug_frames): Fix warnings: Remove unused
2126 variables, fix format strings.
2127
76a406e5
NC
21282001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
2129
2130 * objdump.c (disassemble_bytes): Remove section VMA adjustment
2131 when computing the address of the line to show.
2132
31b6fca6
RH
21332001-05-16 Richard Henderson <rth@redhat.com>
2134
2135 * readelf.c (do_debug_frames_interp): New.
2136 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
2137 (byte_get_big_endian): Likewise.
2138 (parse_args) ['F']: Set do_debug_frames_interp.
2139 (Frame_Chunk): Make data_factor signed, add fde_encoding.
2140 (frame_display_row): Don't trunc pc_begin to int.
2141 (size_of_encoded_value): New.
2142 (display_debug_frames): Handle 64-bit targets. Print raw data
2143 unless do_debug_frames_interp.
2144 (debug_displays): Remove duplicate .debug_frame.
2145
4fe85591
NC
21462001-05-15 Ralf Baechle <ralf@gnu.org>
2147
2148 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
2149 The former constant was never in active use and is used otherwise
2150 by the ABI.
2151
579f31ac
JJ
21522001-05-11 Jakub Jelinek <jakub@redhat.com>
2153
2154 * readelf.c (process_unwind): Print all unwind sections, not just
2155 one.
2156
78f4a3f7
AM
21572001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2158
2159 * readelf.c (process_unwind): Remove const specifier.
2160
1c529ca6
NC
21612001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
2162
2163 * strings.c (isgraphic): Do not use isascii() unless it is needed
2164 for isprint() to work.
2165 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
2166
87e6d782
NC
21672001-04-27 Johan Rydberg <jrydberg@opencores.org>
2168
bb279dc0 2169 * NEWS: Announce support for OpenRISC.
87e6d782 2170
4bd3d870 21712001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
49b4e386
AJ
2172
2173 * dlltool.c (do_default_excludes): Initialise to true.
2174
21211521
AM
21752001-04-10 Alan Modra <amodra@one.net.au>
2176
2177 * MAINTAINERS: Update my email address
2178 * nm.c (print_symbol_info_bsd): Use a simple printf string.
2179
0c66b61e 21802001-04-05 Hans-Peter Nilsson <hp@axis.com>
ff94ebf2
HPN
2181
2182 * readelf.c (display_debug_lines): Fix typo for "Prologue".
2183
e58d53af
L
21842001-03-30 H.J. Lu <hjl@gnu.org>
2185
2186 * readelf.c (process_unwind): Just return if do_unwind is 0.
2187
bee72332
DD
21882001-03-28 Roger Sayle <roger@metaphorics.com>
2189
2190 * dlltool.c (make_one_lib_file): Fix section flags for
2191 .text, .data and .bss in stub ds*.o files to match those
2192 generated by gas.
2193
f1467e33
L
21942001-03-29 H.J. Lu <hjl@gnu.org>
2195
2196 * readelf.c (process_unwind): Only do unwind sections for
2197 IA64.
2198
1c6fb4fe
L
21992001-03-28 H.J. Lu <hjl@gnu.org>
2200
2201 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
2202 * Makefile.in: Regenerate.
2203
0879a67a
AJ
22042001-03-26 Andreas Jaeger <aj@suse.de>
2205
2206 * binutils.texi (nm): Fix texi syntax.
2207
0285c67d
NC
22082001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2209
2210 * binutils.texi: Put @c man begin and @c man end indications
2211 to generate man pages using texi2pod and pod2man. Put @c man title
2212 to identify each man. Add SEEALSO entries.
2213 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
2214 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
2215 sort the list.
2216 (*.1): Build the man pages from binutils.texi.
2217 * Makefile.in: Regenerate.
2218
04847a4d
CF
22192001-03-13 Eric Kohl <ekohl@rz-online.de>
2220
2221 * defparse.y (opt_equal_name): allow "." in name.
2222 * dlltool.c (def_exports): Added ability to generate forwarded exports.
2223 (gen_exp_file): Likewise.
2224
43a0748c
NC
22252001-03-12 Stefan Geuken <mail@stefan-geuken.de>
2226
2227 * NEWS: Document addition of -B switch to objcopy.
2228 * binutils.texi: Document addition of -B switch to objcopy.
2229 * objcopy.c: (copy_options): Add --binary-architecture.
2230 (copy_usage): Document -B/--binary-architecture.
2231 (copy_main): Support -B/--binary-architecture. Set
2232 bfd_external_binary_architecture.
0879a67a 2233
b7498e0e
NC
22342001-03-11 Andreas Jaeger <aj@suse.de>
2235
2236 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
2237 (dump_relocations): Likewise.
2238 (get_machine_name): Likewise.
2239
a59e3bd7
NC
22402001-02-28 Nick Clifton <nickc@redhat.com>
2241
2242 * readelf.c: (struct unw_aux_info): Remove const modifier for
2243 'strtab' field.
2244 (process_unwind): Remove non-K&R compliant LHS type cast in call
2245 to GET_DATA_ALLOC macro.
2246
a5bcd848
PB
22472001-02-28 Philip Blundell <pb@futuretv.com>
2248
2249 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
2250 ABI is in use; remove ambiguity between the "unknown" EABI and
2251 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
2252 renamed EF_xx constants.
2253
27b7e12d
AM
22542001-02-27 Alan Modra <alan@linuxcare.com.au>
2255
2256 * configure.in (BFD_VERSION): New.
2257 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
2258 * configure: Regenerate.
2259 * Makefile.am: Run "make dep-am"
2260 * Makefile.in: Regenerate.
2261
a9f10786
NC
22622001-02-14 Nick Clifton <nickc@redhat.com>
2263
2264 * MAINTAINERS: Add "Obvious Fix" rule.
2265
3c44da9a
MS
22662001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2267
2268 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
2269 literal concatenation.
2270
ecd03389
MS
22712001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2272
2273 * readelf.c (struct unw_aux_info): Remove const from the info member.
2274 (process_unwind): Don't type-cast the third argument to the
2275 GET_DATA_ALLOC macro.
2276
88ec60c7
NC
22772001-02-11 Nick Clifton <nickc@redhat.com>
2278
2279 * readelf.c (dump_relocations): Free corrected allocated
2280 array.
2281 (process_unwind): Fix compile time warning.
2282
f5e21966
NC
22832001-02-10 Nick Clifton <nickc@redhat.com>
2284
2285 * binutils.texi: Document new --unwind option to readelf.
2286
a85d7ed0
NC
22872001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
2288
2289 * readelf.c: Add linux target for S/390.
2290
7bb10502
AM
22912001-02-10 Alan Modra <alan@linuxcare.com.au>
2292
2293 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
2294 printf is a macro.
2295
8ca8f343
HPN
22962001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
2297
2298 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
2299 * aclocal.m4: Regenerate.
2300 * configure: Regenerate.
2301
7340082d
NC
23022001-02-07 Todd Vierling <tv@wasabisystems.com>
2303
2304 * bucomm.c (bfd_target_vector): Change extern array to pointer.
2305 * objdump.c (bfd_target_vector): Likewise.
2306
4d6ed7c8
NC
23072001-02-07 David Mosberger <davidm@hpl.hp.com>
2308
2309 * readelf.c (process_unwind): New function.
2310 (slurp_ia64_unwind_table): Ditto.
2311 (dump_ia64_unwind): Ditto.
2312 (find_symbol_for_address): Ditto.
2313 (slurp_rela_relocs): New function (split off from dump_relocations()).
2314 (slurp_rel_relocs): Ditto.
2315 (parse_args): Handle '-u' option.
2316
2317 * unwind-ia64.c: New file.
2318 * unwind-ia64.h: New file.
2319 * Makefile.am: Include unwind-ia64.c in readelf build.
2320 * Makefile.in: Regenerate.
7340082d 2321 * po/binutils.pot: Regenerate.
4d6ed7c8 2322
c7217458
PB
23232001-02-04 Philip Blundell <philb@gnu.org>
2324
2325 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
2326 * configure: Regenerate.
2327
956eedd4
AM
23282001-01-31 Steve deRosier <sderosier@vari-lite.com>
2329
2330 * ieee.c (ieee_add_bb11): Don't check for backslashes
2331 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
2332
8855cbca
AM
23332001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
2334
c7f2731e
AM
2335 * ieee.c: Update copyright.
2336 (ieee_start_compilation_unit): Don't check for backslashes
2337 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
2338
8855cbca
AM
2339 * stabs.c: Update copyright. Include "filenames.h".
2340 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
2341
329de803 23422001-01-23 Jakub Jelinek <jakub@redhat.com>
00d93f34
JJ
2343
2344 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
2345 sections are present before using them. Remove code duplication.
2346 (process_symbol_table): Check if VERDEF or VERNEED sections are
2347 present before using them.
2348
23719f39
NC
23492001-01-17 Nick Clifton <nickc@redhat.com>
2350
2351 * objcopy.c (copy_object): Fail if attempting to convert the
2352 endianness of the input object file.
2353
2354 * binutils.texi: Explain that objcopy cannot convert endianness.
c7f2731e 2355
f726e849
NC
23562001-01-16 Nick Clifton <nickc@redhat.com>
2357
2358 * readelf.c (string_table_length): New variable.
2359 (SECTION_NAME): Catch out of range indices and missing section
2360 pointers.
2361 (process_section_headers): Delete useless local variable
2362 string_table_offset. Set the value of string_table_length
2363 after loading the string table.
2364 (process_mips_specific): Use SECTION_NAME macro.
2365 (process_file): Set string_table_length to 0 when it is freed.
2366
d0398d6a
NC
23672001-01-12 Nick Clifton <nickc@redhat.com>
2368
2369 * version.c (print_version): Update copyright date.
2370
0d2bcfaf
NC
23712001-01-11 Peter Targett <peter.targett@arccores.com>
2372
2373 * readelf.c (dump_relocations): Include selection with EM_ARC.
2374 (get_machine_name) Update name to "ARC".
2375
8b1e6df3
NC
23762001-01-09 Nick Clifton <nickc@redhat.com>
2377
2378 * Makefile.am: Add rule to build objdump.o from objdump.c and
2379 using OBJDUMP_DEFS.
2380 * Makefile.in: Regenerate.
2381
2382 * configure.in: Define OBJDUMP_DEFS. Default to empty.
2383 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
2384 -DDISASSEMBLER_NEEDS_RELOCS.
34cc70e3 2385 * configure: Regenerate.
8b1e6df3
NC
2386
2387 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
2388 is defined read in the relocs even if dump_reloc_info is
2389 false.
2390
2f952d20
PB
23912001-01-07 Philip Blundell <philb@gnu.org>
2392
2393 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
2394 `bug-binutils'.
2395 * README: Likewise.
2396
a8c548cb
NC
23972000-12-19 Nick Clifton <nickc@redhat.com>
2398
2399 * dlltool.c: Add missing support for arm-epoc-pe.
2400 * configure.in: Add missing support for arm-epoc-pe.
2401 * configure: Regenerate.
2402
cc5fda35
NC
24032000-12-15 Nick Clifton <nickc@redhat.com>
2404
2405 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
2406 Mode parts of the x86 port.
2407
bcedfee6
NC
24082000-12-04 Andreas Jaeger <aj@suse.de>
2409
2410 * readelf.c (guess_is_rela): Add EM_X86_64.
2411 (dump_relocations): Add EM_X86_64.
2412 (get_machine_name): Add EM_X86_64.
2413 Include "elf/x86-64.h".
2414
584da044
NC
24152000-12-12 Nick Clifton <nickc@redhat.com>
2416
2417 * readelf.c: Fix formatting.
2418
7559e86e 24192000-12-11 Jan Hubicka <jh@suse.cz>
b8355149
JH
2420
2421 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
2422
a98cc2b2
AH
24232000-12-07 Andrew Haley <aph@redhat.com>
2424
2425 * readelf.c (display_debug_frames): Only display columns that are
2426 referenced by the frame debug info.
2427
c7987a69
NC
24282000-12-05 Nick Clifton <nickc@redhat.com>
2429
2430 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
2431
09fd7e38
JM
24322000-12-04 Jason Merrill <jason@redhat.com>
2433
2434 * readelf.c (process_section_headers): Handle linkonce.wi sections.
2435 (display_debug_section): Likewise.
2436 (display_debug_info): Display CU header before bailing.
2437
e7af610e
NC
24382000-12-01 Chris Demetriou <cgd@sibyte.com>
2439
09fd7e38
JM
2440 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
2441 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
2442 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
e7af610e 2443
09fd7e38
JM
2444 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
2445 and E_MIPS_ARCH_64.
84ea6cf2 2446
09fd7e38
JM
2447 * readelf.c (get_machine_flags): Add case for
2448 E_MIPS_MACH_SB1.
c6c98b38 2449
75066968
DD
24502000-11-30 Richard Earnshaw <rearnsha@arm.com>
2451
2452 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
2453
5c4666ea
HPN
24542000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
2455