Check in the new files.
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
32df8966
NC
12003-04-23 Dimitrie O. Paun <dpaun@rogers.com>
2 Nick Clifton <nickc@redhat.com>
3
4 * windres.c (long_options): Move close to main, where it is used.
5 Add 'input' and 'output' long options.
6 (main): Accept "-fo" as an alias for "-o". This is for rc
7 comptibility.
8 * doc/binutils.texi: Mention that -fo is accepted as an alias for
9 -o, but discourage its use.
10
85eb5110
NC
112003-04-22 Dimitrie O. Paun <dpaun@rogers.com>
12
13 * windres.c (format_from_name): Make the exit on error
14 behaviour optional.
15 (main): Rename the -I option to -J. Introduce -I as a synonym
16 for --include-dir. For backwards compatibility also support the
17 old -I behaviour, but issue a deprecation warning.
18 * doc/binutils.texi: Rename -I to -J. Document the new behaviour
19 of the -I option.
20
26597c86
NC
212003-04-22 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
22
23 * readelf.c: Replace references to Mitsubishi M32R with
24 references to Renesas M32R.
25
c2dcd04e
NC
262003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com>
27
28 * readelf.c: Replace occurrances of 'Hitachi' with 'Renesas'.
29
c1124b23
AO
302003-04-09 Alexandre Oliva <aoliva@redhat.com>
31
32 * doc/binutils.texi (objdump) [--debugging]: Suggest readelf -w
33 for debugging information types not supported by objdump.
34
e5076347
AM
352003-04-09 Bernd Jendrissek <berndj@prism.co.za>
36
37 * configure.in: Recognize canonical form of i[3-6]86-pe*.
38 * configure: Regenerate.
39
adab8cdc
AO
402003-04-09 Alexandre Oliva <aoliva@redhat.com>
41
42 * readelf.c (display_debug_info): Apply RELA relocations on the
43 entire section.
44 (byte_put_little_endian, byte_put_big_endian): New functions.
45 (byte_put): New variable.
46 (get_file_header): Initialize it.
47
3077f5d8
NC
482003-04-05 Dimitrie O. Paun <dpaun@rogers.com>
49
50 * windres.c: Add -l for compatibility with wrc, and rc.
51 Use the short option as a key for long options that have
52 a synonymous short option.
53 * doc/binutils.texi: Added -l to the list of options.
54
29b058f1
NC
552003-04-03 Dimitrie O. Paun <dpaun@rogers.com>
56
3077f5d8
NC
57 * windres.c: Add -U for compatibility with wrc, rc, and cpp.
58 (main): Just pass the -U option down to the preprocessor.
59 * doc/binutils.texi: Added -U to the list of options.
29b058f1 60
3126d709
CF
612003-04-01 Dimitrie O. Paun <dpaun@rogers.com>
62
63 * windres.c (usage): Report -r option.
64 (main): Ignore the -r option.
65 * doc/binutils.texi: Add -r to the list of options.
66
c46ac711
BW
672003-04-01 Bob Wilson <bob.wilson@acm.org>
68
69 * MAINTAINERS: Add myself as Xtensa maintainer.
70
88da6820
NC
712003-04-01 Bob Wilson <bob.wilson@acm.org>
72
3077f5d8
NC
73 * readelf.c: Include "elf/xtensa.h".
74 (guess_is_rela): Add EM_XTENSA and EM_XTENSA_OLD to list of
75 targets that use RELA relocations.
76 (dump_relocations): Call elf_xtensa_reloc_type for
77 EM_XTENSA and EM_XTENSA_OLD.
78 (get_machine_name): Handle EM_XTENSA and EM_XTENSA_OLD.
88da6820 79
27a710e5
NC
802003-04-01 Nick Clifton <nickc@redhat.com>
81
82 * configure.in: Change "arm-pe*" to "arm-*-pe*". Similarly for
83 thumb-pe*, mcore-pe and mcore-*elf.
84 * configure: Regenerate.
85
335a1869
AO
862003-03-31 Alexandre Oliva <aoliva@redhat.com>
87
88 * objdump.c (dump_data): Don't truncate the address to long; make
89 the width large enough, and uniform for all entries in a section.
90
566b0d53
L
912003-03-31 H.J. Lu <hjl@gnu.org>
92
93 * readelf.c: Include "libiberty.h".
94 (dynamic_relocations): New.
95 (process_relocs): Properly handle dynamic relocation.
96 (process_dynamic_segment): Fill relocation elements in
97 dynamic_info.
98
ee42cf8c
NC
992003-03-31 Kevin Buettner <kevinb@redhat.com>
100
101 * readelf.c (read_and_display_attr, read_and_display_attr_value):
102 Add new arguments ``offset_size'' and ``dwarf_version''. Adjust
103 all callers.
104 (display_debug_lines, display_debug_pubnames, display_debug_info)
105 (display_debug_aranges, display_debug_frames, read_and_display_attr)
106 (read_and_display_attr_value): Add 64-bit DWARF support.
107
7adbf450
NC
1082003-03-31 Ian Lance Taylor <ian@airs.com>
109
110 * rcparse.y: Replace uses of 'optstringrc' with 'optresid'.
111 (optresid): Handle a resource id that can be a string or a number.
112 * resrc.c (define_control): Replace 'text' parameter with 'iid' a
113 struct res_id.
114 (define_icon_control): Pass a struct res_id to define_control.
115 * windres.h (define_control): Change prototype.
116
06d86cf7
NC
1172003-03-24 Elias Athanasopoulos <elathan@phys.uoa.gr>
118
7c29036b
NC
119 * objcopy (OPTION_FORMATS_INFO): Define.
120 (strip_options): Add "info"/OPTION_FORMATS_INFO option.
121 (copy_options): Likewise.
122 (strip_usage): Add "--info" to usage.
123 (copy_usage): Likewise.
124 (strip_main): Declare formats_info. Iniatilize it to FALSE.
125 Handle "info".
126 (copy_main). Likewise.
127 * doc/binutils.texi. Document the "--info" option for
128 objcopy/strip.
129 * NEWS: Mention the new command line switch.
130
06d86cf7
NC
131 * objdump.c (endian_string): Move to bucomm.c.
132 (display_info): Likewise.
133 (display_target_list): Likewise.
134 (display_info_table): Likewise.
135 (display_target_tables): Likewise.
136 (main): Assign the return value of display_info to exit_status.
137 * bucomm.c: Include bfdver.h and libbfd.h
138 (display_target_list): Call bfd_nonfatal instead of nonfatal and
139 return 0 on a non-fatal error, 1 on success.
140 (display_info_table): Likewise.
141 * bucomm.h (display_info): Provide a prototype.
142 * Makefile.am (bucomm.o): Add dependencies on bfdver.h and
143 libbfd.h.
144 * Makefile.in: Regenerate.
145
7adbf450 1462003-03-22 Danny Smith <dannysmith@users.sourceforge.net>
2630b4ca
DS
147
148 * dlltool.c (gen_def_file): Put demangled name comments on
149 own line preceding export name.
150
98a91d6a
NC
1512003-03-17 Nick Clifton <nickc@redhat.com>
152
153 * objdump.c (disassemble_data): Use disasm_info.fprintf_func not
154 printf for emitting new lines.
155
06a30c77
NC
1562003-03-16 Elias Athanasopoulos <elathan@phys.uoa.gr>
157
158 * nm.c (print_symbol_info_bsd): Print the symbol's size instead of
159 the symbol's value when --size-sort is used, unless -S is used.
160 doc/binutils.texi (--size-sort): For non-bsd formats both the
161 value and size of the symbols are displayed.
162
ab829d36
NC
1632003-03-13 Nick Clifton <nickc@redhat.com>
164
165 * po/da.po: Update.
166
634847c9
NC
1672003-03-12 Nick Clifton <nickc@redhat.com>
168
169 * MAINTAINERS: Remove Peter Targett as ARC maintainer.
170
3889f9eb
BE
1712003-03-10 Ben Elliston <bje@wasabisystems.com>
172
173 * MAINTAINERS: Update my mail address.
174
7eb5191a
NC
1752003-03-06 Elias Athanasopoulos <elathan@phys.uoa.gr>
176
177 * stabs.c (BYTES_IN_WORD): Remove definition.
178 * wrstabs.c (BYTES_IN_WORD): Likewise.
179
e3b83c8f
NC
1802003-03-04 Nick Clifton <nickc@redhat.com>
181
182 * nm.c (main): Print a warning message if --size-sort and
183 --undefined-only are used together.
184
1852003-03-04 Elias Athanasopoulos <elathan@phys.uoa.gr>
186
187 * nm.c (print_symbol): Remove check for undefined_only.
188
a9d68a1e
NC
1892003-03-03 Nick Clifton <nickc@redhat.com>
190
191 * po/da.po: Installed latest translation.
192
a99996bb
NC
1932003-02-24 Nick Clifton <nickc@redhat.com>
194
195 * README: Update binutils references to 2.13.
196 Add paragraph about using --disable-nls.
197
76ed1927
NC
1982003-02-24 Elias Athanasopoulos <elathan@phys.uoa.gr>
199
200 * doc/binutils.texi (nm --size-sort): Update.
201
0100f33b
JW
2022003-02-21 James E Wilson <wilson@tuliptree.org>
203
204 * MAINTAINERS: Update email address.
205
ecc51f48
NC
2062003-02-21 Ian Wienand <ianw@gelato.unsw.edu.au>
207
208 * readelf.c (get_ia64_dynamic_type): New function.
209 (dynamic_segment_ia64_val): New function.
210 (get_dynamic_type): If machine type is EM_IA_64 call
211 get_ia64_dynamic_val.
212 (get_ia64_section_type_name): Handle sections with types in the
213 SHT_IA_64_LOPSREG to SHT_IA_64_HIPSREG range.
214 (get_dynamic_flags): If machine type is EM_IA_64 call
215 dynamic_segment_ia64_val.
216
947ed062
NC
2172003-02-21 Bob Wilson <bob.wilson@acm.org>
218
219 * doc/binutils.texi: Fix typos and obvious texinfo mistakes. Make
220 section title capitalization more consistent. Update descriptions
221 of various options to be consistent with the code. Fix errors and
222 incomplete list in the description of c++filt format options. Remove
223 information about the linker. Change to be more polite about poor
224 bug reports. Replace FDL appendix with include of fdl.texi.
225 * doc/fdl.texi: New file.
226
66491ebc
AM
2272003-02-21 Roger Sayle <roger@eyesopen.com>
228
229 * objcopy.c (filter_symbols): Fix compilation problems with
230 HP-UX's C compiler.
231
0e11a9e9
CF
2322003-02-19 Christopher Faylor <cgf@redhat.com>
233
234 * rclex.l (handle_quotes): Fix minor formatting problems introduced in
235 previous change.
236
6e5f5201
CF
2372003-02-19 Mark Blackburn <marklist@fangorn.ca>
238
0e11a9e9 239 * rclex.l (handle_quotes): Handle strings spanning more than one line.
6e5f5201 240
f0c8c24a
NC
2412003-02-12 Bob Wilson <bob.wilson@acm.org>
242
243 * nm.c (usage): Add `java' and `gnat' demangle styles and make
244 quotes consistent.
245 * objdump.c (usage): Ditto. Also fix some typos.
246
d3c543fd
NC
247 * readelf.c (parse_args): Include 'H' option in call to getopt_long.
248
fe2c4142
NC
249 * debug.c (debug_record_variable): Handle global register variables.
250
6de15b9e
NC
251 * stabs.c (parse_stab): For N_SLINE only include
252 function_start_offset if the symbol is within a function;
253 otherwise, the value is absolute.
254
fde78edd
NC
2552003-02-10 Nick Clifton <nickc@redhat.com>
256
257 * readelf.c (decode_ARM_machine_flags): Handle the
258 EF_ARM_MAVERICK_FLOAT flag.
259
22d82235
AS
2602003-02-04 Andreas Schwab <schwab@suse.de>
261
262 * rddbg.c (read_section_stabs_debugging_info): Cast ptrdiff_t to
263 long and use %ld in printf format.
264
1a677ea8
RS
2652003-01-28 Richard Sandiford <rsandifo@redhat.com>
266
267 * readelf.c (dump_relocations): Reorder the r_info field for
268 little-endian mips elf64. Move #ifdef BFD64 to cover the new code.
269
8dde85fc
NC
2702003-01-21 Daniel Berlin <dan@dberlin.org>
271
272 * readelf.c (display_debug_loc): Skip address base changes.
273
c6f8bb1e
AM
2742003-01-17 Fabio Alemagna <falemagn@aros.org>
275
276 * readelf.c (get_osabi_name): Handle ELFOSABI_AROS, ELFOSABI_OPENVMS
277 and ELFOSABI_NSK.
278
c833c019
AM
2792003-01-16 Alan Modra <amodra@bigpond.net.au>
280
281 * readelf.c: Include elf/ppc64.h.
282 (dump_relocations <EM_PPC64>): Use elf_ppc64_reloc_type.
283 * Makefile.am: Run "make dep-am".
284 * Makefile.in: Regenerate.
285
3b36097d
SC
2862003-01-02 Ben Elliston <bje@redhat.com>
287
288 * readelf.c (guess_is_rela): Handle EM_IQ2000.
289 (get_machine_name): Likewise.
290 (dump_relocations): Likewise.
291 * NEWS: Mention IQ2000 support.
292
cb44e358
RS
2932003-01-02 Richard Sandiford <rsandifo@redhat.com>
294
295 * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_32R2.
296
af7ee8bf
CD
2972002-12-30 Chris Demetriou <cgd@broadcom.com>
298
299 * doc/binutils.texi (objdump): Note MIPS HWR (Hardware Register)
300 changes in MIPS -M options.
301
2469cfa2
NC
3022002-12-30 Dmitry Diky <diwil@mail.ru>
303
304 * Makefile.am: Add msp430 target.
305 * Makefile.in: Regenerate.
306 * readelf.c: Add support for msp430 target.
307
640c0ccd
CD
3082002-12-27 Chris Demetriou <cgd@broadcom.com>
309
310 * doc/binutils.texi (objdump): Document MIPS -M options.
311
59f14fc0
AS
3122002-12-23 Andreas Schwab <schwab@suse.de>
313
314 * readelf.c (main): Reset dump request after each file.
315
312b768e
NC
3162002-12-23 Nick Clifton <nickc@redhat.com>
317
318 * nlmconv.c (main): Pass TRUE as third argument to
319 bfd_arch_get_compatible.
320
8745eafa
NC
3212002-12-23 Nick Clifton <nickc@redhat.com>
322
323 * strings.c (isgraphic): Replace definition with STRING_ISGRAPHIC
324 macro. Handle 'S' encoding, accepting 8-bit characters.
325 (main): Parse 'S' encoding.
326 (get_char): Accept 'S' encoding.
327 (print_strings): Use STRING_ISGRAPHIC.
328 (usage): Document support of 'S' encoding.
329 * doc/binutils.texi: Document support of 'S' encoding/
330 * NEWS: Mention new feature.
331
08213ebb
AM
3322002-12-20 Alan Modra <amodra@bigpond.net.au>
333
334 * README <building ar>: Don't use libibery's needed_list or
335 required_list, instead link libiberty/*.o.
336
b9e5d8e5
KH
3372002-12-19 Kazu Hirata <kazu@cs.umass.edu>
338
339 * doc/binutils.texi: Fix typos.
340
c51238bc
DA
3412002-12-14 John David Anglin <dave@hiauly1.hia.nrc.ca>
342
343 * doc/binutils.texi: Add missing parenthesis.
344
d7fb0dd2
NC
3452002-12-15 Nick Kelsey <nickk@ubicom.com>
346
347 * objcopy.c: Add --prefix-symbols=<prefix> option to rename all
348 symbols by adding the given prefix to the begining of the symbol
349 name. This is useful to provide name space seperation regardless
350 of how the object file was created. Added --prefix-sections=
351 <prefix> and --prefix-alloc-sections=<prefix> options to rename all
352 sections (or all sections with the alloc flag set) by adding the given
353 prefix to the begining of the symbol name.
354 * NEWS: Mention this new feature.
355 * doc/binutils.texi: Document this new feature.
356
55b9cdf1
AM
3572002-12-13 Alan Modra <amodra@bigpond.net.au>
358
359 * dlltool.c (mcore_elf_gen_out_file): Replace all occurrences of
360 dyn_string_append with dyn_string_append_cstr.
361
362 * emul_aix.c (ar_emul_aix_create): Remove unused function.
363
84ad6ede
NC
3642002-12-10 James Cownie <jcownie@etnus.com>
365
366 * readelf.h (get_TAG_name, get_AT_name,
704afb58 367 read_and_display_attr_value): Add support for UPC extensions to
84ad6ede
NC
368 DWARF2 spec.
369 * NEWS: Mention this new support.
370
7d036af2
AM
3712002-12-08 Alan Modra <amodra@bigpond.net.au>
372
373 * NEWS: Mention that bfd no longer declares a "boolean" type.
374
3e8bba36
AM
3752002-12-07 Alan Modra <amodra@bigpond.net.au>
376
377 * readelf.c (process_program_headers): When setting loadaddr, don't
378 assume segment size is 4k. Use p_align instead.
379 (loadaddr): Change from int to long.
380 (dynamic_addr, dynamic_info, version_info): Likewise.
381 (process_dynamic_segment <syminsz>): Likewise.
382 (process_dynamic_segment): Adjust print format string.
383 (rela_addr, rela_size): Delete.
384 (process_relocs): Formatting.
385
d070dab9
JW
3862002-12-05 Jim Wilson <wilson@redhat.com>
387
388 * configure.in (OBJDUMP_DEFS): Define SKIP_ZEROES as 16 for IA-64.
389 * configure: Regenerate.
390
45bcbdb1
ILT
3912002-12-04 Ian Lance Taylor <ian@airs.com>
392
393 * MAINTAINERS: Change e-mail address back to airs.com.
394
42ea8716
AH
3952002-12-04 Aldy Hernandez <aldyh@redhat.com>
396
397 * MAINTAINERS: Add self.
398
b34976b6
AM
3992002-11-30 Alan Modra <amodra@bigpond.net.au>
400
401 * addr2line.c, ar.c, arsup.c, binemul.c, binemul.h, bucomm.c, bucomm.h,
402 budbg.h, debug.c, debug.h, dlltool.c, emul_aix.c, ieee.c, nlmconv.c,
403 nlmconv.h, nlmheader.y, nm.c, objcopy.c, objdump.c, prdbg.c, rdcoff.c,
404 rddbg.c, readelf.c, rename.c, size.c, stabs.c, strings.c,
405 unwind-ia64.h, wrstabs.c: Replace boolean with bfd_boolean, true with
406 TRUE, false with FALSE. Simplify comparisons of bfd_boolean vars
407 with TRUE/FALSE. Formatting.
408
c8286bd1
JJ
4092002-11-29 Jakub Jelinek <jakub@redhat.com>
410
411 * readelf.c Replace occurrences of Elf32_Internal_* and
412 Elf64_Internal_* with Elf_Internal_*.
413 (slurp_rel_relocs): Change Elf_Internal_Rel to Elf_Internal_Rela.
414 Zero r_addend fields.
415 (dump_relocations): Remove relas variable, change Elf_Internal_Rel to
416 Elf_Internal_Rela.
417
92acdfaf
NC
4182002-11-23 Nick Clifton <nickc@redhat.com>
419
420 * size.c (usage): Fix typo describing switch for hex format.
421
48c5eb8a
SS
4222002-11-18 Svein E. Seldal <Svein.Seldal@solidas.com>
423
424 * testsuite/binutils-all/objcopy.exp: Disable tic4x from test
425 * testsuite/binutils-all/objdump.exp: Setup proper values for tic4x
426 testcase
427
2f62977e
NC
4282002-11-14 Nick Clifton <nickc@redhat.com>
429
430 * readelf.c (process_program_headers): Add comment about return
431 value. Ensure that 0 is returned if the headers are not loaded.
432 (process_file): If process_section_headers failed to load the
433 headers disable any tests that rely upon them. Similarly for
434 process_program_headers.
435
cd24c222
NC
4362002-11-12 Nick Clifton <nickc@redhat.com>
437
438 * po/da.po: Updated Danish translation.
439
f3931575
AM
4402002-11-12 Klee Dienes <kdienes@apple.com>
441
442 * rddbg.c (read_section_stabs_debugging_info): Also recognize
443 LC_SYMTAB.stab/LC_SYMTAB.stabstr as a valid pair of sections.
444
b54e7460
CF
4452002-11-11 Christopher Faylor <cgf@redhat.com>
446
447 * MAINTAINERS: Reinstate DJ Delorie as COFF maintainer. Drop COFF from
448 cgf maintainership.
449
4f17cc13
CF
4502002-11-11 Christopher Faylor <cgf@redhat.com>
451
452 * MAINTAINERS: Replace DJ Delorie as PE/COFF maintainer.
453
232e7cb8
NC
4542002-11-07 Nick Clifton <nickc@redhat.com>
455
cd24c222 456 * configure.in (ALL_LINGUAS): Add 'da'.
235c4794
NC
457 * configure: Regenerate.
458 * po/da.po: New Danish translation.
459
232e7cb8
NC
460 * readelf.c (get_symbol_index_type): Revert part of previous
461 patch: Display unknown symbol types in decimal, not hex.
462
c9e38879
NC
4632002-11-07 Danny Smith <dannysmith@users.sourceforge.net>
464
465 * dlltool.c (add_excludes): Don't prefix excluded fastcall
466 symbols with underscore.
467 (xlate): Ignore add_underscore for decorated fastcall symbols.
468
4692002-11-07 Eric Kohl <ekohl@rz-online.de>
470
471 * deflex.l: Accept '@' as first character of an ID.
472 * dlltool.c (gen_exp_file): Use existing '@' prefix rather than
473 ASM_PREFIX for fastcall symbols.
474 (scan_drectve_symbols): Handle fastcall symbols when generating
475 undecorated aliases for symbols in drectve section.
476 (scan_filtered_symbols): Likewise, with export-all.
477 (xlate): Likewise, with --kill-at.
478 (make_imp_label): New function to handle fastcall symbols
479 correctly.
480 (make_one_lib_file): Use make_imp_label instead of make_label
481 for imp symbols.
482
a700dc3b
SS
4832002-11-06 Svein E. Seldal <Svein.Seldal@solidas.com>
484
485 * MAINTAINERS: Add self as TIC4X maintainer.
486
5cf1065c
NC
4872002-11-06 Hiroyuki Machida <machida@sm.sony.co.jp>
488
489 * readelf.c (get_symbol_index_type): Add hex number to
49814ed0
NC
490 PROCESSOR-specific, OS-specific, reserved and unknown symbol
491 types.
5cf1065c 492
f1ef08cb
AM
4932002-11-04 Alan Modra <amodra@bigpond.net.au>
494
495 * readelf.c (byte_get_little_endian): Comment typo fix.
496 (print_symbol): Constify "symbol" arg. Don't pass "symbol" to printf
497 as the format string.
498 (dump_relocations): Correct section sym names.
499 (process_section_headers): Clear symtab_shndx_hdr.
500 (read_and_display_attr_value): Don't pass indirect string to printf
501 as the format string.
502 (display_debug_frames): Indicate when zero terminator found. Decode
503 DW_EH_PE_pcrel addresses.
504
1a09a22c
NC
5052002-10-23 Svein E. Seldal <Svein.Seldal@solidas.com>
506
507 * configure.in: Define SKIP_ZEROES as 32 for tic4x target in
508 order to ensure proper disassembly of the valid 0-value opcode.
509 * configure: Regenerate.
510 * aclocal.m4: Regenerate.
511 * config.in: Regenerate.
512 * configure.in: Regenerate.
513 * doc/Makefile.in: Regenerate.
514 * po/binutils.pot: Regenerate.
515
c254c557
KK
5162002-10-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
517
518 * MAINTAINERS: Add self as SH maintainer.
519
aefbdd67
BE
5202002-10-23 Ben Elliston <bje@redhat.com>
521
522 * doc/binutils.texi (objdump): Document -z and move the entry for
523 --disassemble-zeroes to the end of the options section (for `z').
524
ab9bcc01
NC
5252002-10-21 Nick Clifton <nickc@redhat.com>
526
527 * MAINTAINERS: Discontinue Hans-Peter Nilsson as SH maintainer.
528
8ab56b6f
AM
5292002-10-21 Svein E. Seldal <Svein.Seldal@solidas.com>
530
531 * objdump.c (dump_data): Correct addr_offset for opb != 1.
532
49c12576
AM
5332002-10-15 Alan Modra <amodra@bigpond.net.au>
534
48417c1a
AM
535 * bucomm.c (list_supported_targets): Use bfd_target_list.
536
49c12576
AM
537 * objcopy.c (copy_file): Report ambiguous bfd_object matches, and
538 other object errors in preference to bfd_core errors.
539
6e1a7e9a
AM
5402002-10-14 Alan Modra <amodra@bigpond.net.au>
541
542 * Makefile.am: Run "make dep-am".
543 * objdump.c: #include "bfdver.h".
544 * version.c: Likewise.
545 * Makefile.in: Regenerate.
546 * config.in: Regenerate.
547 * configure: Regenerate.
548 * po/POTFILES.in: Regenerate.
549
09fc3b02
DJ
5502002-10-09 Daniel Jacobowitz <drow@mvista.com>
551
552 * readelf.c (display_debug_info): Ignore empty .rela.debug_info
553 sections. Allow relocations against the absolute symbol. Don't
554 use the value in compunit.cu_abbrev_offset if we found a RELA
8ab56b6f 555 relocation.
09fc3b02 556
f309035a
NC
5572002-10-07 Gordon Chaffee <chaffee@netvmg.com>
558
559 * addr2line.c (slurp_symtab): Read in dynamic symbols if no
560 ordinary ones are available.
561
810dfa6e
L
5622002-09-30 H.J. Lu <hjl@gnu.org>
563
564 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_4120,
565 E_MIPS_MACH_5400 and E_MIPS_MACH_5500.
566
bb279dc0
ZW
5672002-09-17 Zack Weinberg <zack@codesourcery.com>
568
569 * Makefile.am (CFILES): Add cxxfilt.c.
570 (cxxfilt_SOURCES): Now just cxxfilt.c $(BULIBS).
571 (cxxfilt_LDADD): Delete.
572 Remove all references to underscore.c.
573 Regen dependencies.
574 * configure.in: Define TARGET_PREPENDS_UNDERSCORE in
575 config.h from $UNDERSCORE, rather than AC_SUBSTing it.
576 * binutils/cxxfilt.c: Moved here from gcc/cp, minor
577 adjustments to fit into binutils framework.
578 * configure, config.in, Makefile.in, doc/Makefile.in: Regenerate.
579
065c959b
NC
5802002-09-12 Roland McGrath <roland@redhat.com>
581
582 * readelf.c (decode_location_expression): DW_OP_calli -> DW_OP_call_ref
583 Handle DW_OP_GNU_push_tls_address.
584
e09f4395
NC
5852002-09-11 Nick Clifton <nickc@redhat.com>
586
587 * po/tr.po: Updated Turkish translation.
588
873e0588
NC
5892002-09-10 Nick Clifton <nickc@redhat.com>
590
591 * MAINTAINERS: Add Ben Elliston as a maintainer for configure and
592 testsuite changes. Add paragraphs about testsuite and config
593 patches.
594
069fe61f
NC
5952002-08-29 Nick Clifton <nickc@redhat.com>
596
597 * readelf.c (get_machine_flags): Remove redundant reference to
598 E_V850EA_ARCH.
599
fe0507eb
AM
6002002-08-28 Alan Modra <amodra@bigpond.net.au>
601
602 * objdump.c (dump_bfd): Restore lines accidentally deleted in
603 last commit.
604
026df7c5
NC
6052002-08-28 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
606
bb279dc0 607 * objdump.c (dump_headers): Add printing of HAS_LOAD_PAGE flag.
026df7c5
NC
608 (dump_bfd_header): Likewise.
609
68a4c073
AM
6102002-08-27 Alan Modra <amodra@bigpond.net.au>
611
612 * nm.c: Revert last change.
613
a1df01d1
AM
6142002-08-26 Alan Modra <amodra@bigpond.net.au>
615
616 * nm.c (display_rel_file): Don't report "no symbols" as an error.
617 * objdump.c (slurp_symtab): Likewise.
618 (slurp_dynamic_symtab): Likewise.
619 (dump_symbols): Likewise. Do print "no symbols" to stdout.
620
a926ab2f
GK
6212002-08-24 Geoffrey Keating <geoffk@redhat.com>
622
623 * MAINTAINERS: Change my mailing address.
624
fcf62380
DA
6252002-08-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
626
627 * MAINTAINERS: Add Dave Anglin as HPPA co-maintainer.
628
51e28791
NC
6292002-08-22 Nick Clifton <nickc@redhat.com>
630
631 * MAINTAINERS: Add Jeff Law as (maintainance) maintainer for
632 HPPA.
633
c5b060ad
AM
6342002-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
635
636 * readelf.c (parse_args): Change debug_dump_opt to static.
637
4b73ca92
NC
6382002-08-16 Sivaguru Sankaridurg <siva@eternal-systems.com>
639
640 * stabs.c (parse_stab_argtype): Pass length of physname to
641 stab_demangle_argtypes.
642 (stab_demangle_argtypes): Add new parameter - length of physname.
643 Pass length of physname on to stab_demangle_prefix.
644 (stab_demangle_prefix): Add new parameter - length of physname.
645 Use length of physname (if supplied) to compute end of function
646 name.
647
35b1837e
AM
6482002-08-15 Alan Modra <amodra@bigpond.net.au>
649
650 * readelf.c: Include elf/i370.h.
651 (dump_relocations): Handle EM_S370.
652 (dynamic_segment_parisc_val): Print \n.
653 (process_dynamic_segment <DT_BIND_NOW>): Here too.
654
762baac5
NC
6552002-08-14 Nick Clifton <nickc@redhat.com>
656
657 * nm.c (usage): Change 'gnu-new-abi' to 'gnu-v3'.
658 * objdump.c (usage): Likewise.
659 * doc/binutils.texi: Likewise.
660
85c09e8a
NC
6612002-08-14 Luke Dunstan <infidel@users.sourceforge.net>
662
663 * rcparse.y (acc_entry): Don't warn about ALT use with
664 non-VIRTKEY.
665
212a3c4d
L
6662002-08-13 H.J. Lu <hjl@gnu.org>
667
668 * objcopy.c (copy_object): Don't warn about the unsupported
669 architecture unless the input target is defaulted or the
670 output architecture is different from the input.
671
2b692c59
NC
6722002-08-09 Nick Clifton <nickc@redhat.com>
673
674 * po/sv.po: Updated Swedish translation.
675
09de7a73
AM
6762002-08-05 Alan Modra <amodra@bigpond.net.au>
677
678 * prdbg.c (pr_fix_visibility): Remove assert.
679
47badb7b
NC
6802002-07-31 Nick Clifton <nickc@redhat.com>
681
682 * addr2line.c (process_file): Rename parameter 'filename' to
683 'file_name' in order to avoid shadowing global symbol of the
684 same name.
685 (main): Likewise.
686
2979dc34
JJ
6872002-07-30 Jakub Jelinek <jakub@redhat.com>
688
689 * readelf.c (OPTION_DEBUG_DUMP): Define.
690 (options): Use it.
691 (usage): Update help.
692 (parse_args): Handle --debug-dump separately from -w.
693 * doc/binutils.texi (readelf): Update documentation.
694
219576a4
NC
6952002-07-25 Nick Clifton <nickc@redhat.com>
696
697 * po/es.po: Updated Spanish translation.
698 * po/fr.po: Updated French translation.
699
bf4f22e6 7002002-07-24 Nick Clifton <nickc@redhat.com>
bb279dc0 701
bf4f22e6
NC
702 * po/es.po: Updated Spanish translation.
703
c5b3a82a
AM
7042002-07-23 Alan Modra <amodra@bigpond.net.au>
705
706 * Makefile.am: Run "make dep-am".
707 * Makefile.in: Regenerate.
708
0461a601
NC
7092002-07-23 Nick Clifton <nickc@redhat.com>
710
bf4f22e6 711 * po/fr.po: Updated French translation.
0461a601 712
bf44dd74
AM
7132002-07-23 Eric S. Raymond <esr@golux.thyrsus.com>
714
715 * doc/binutils.texi (addr2line <man synopsis>): Correct brackets.
716
2c205ff2
AM
7172002-07-20 Alan Modra <amodra@bigpond.net.au>
718
63eb0809 719 * budemang.c: Include config.h and string.h/strings.h.
2c205ff2 720
1e4cf259
NC
7212002-07-18 Denis Chertykov <denisc@overta.ru>
722 Frank Ch. Eigler <fche@redhat.com>
723
724 * readelf.c: Include "elf/ip2k.h".
725 (guess_is_rela): Add support for EM_IP2K and EM_IP2K_OLD.
726 (dump_relocations): Likewise.
727 (get_machine_name): Likewise.
728 * NEWS: Mention IP2K support.
729
2cbb2eef
NC
7302002-07-16 Nick Clifton <nickc@cambridge.redhat.com>
731
732 * NEWS: Add 'Changes in 2.13'.
733
047b2264
JJ
7342002-07-10 Jakub Jelinek <jakub@redhat.com>
735
736 * readelf.c (get_dynamic_type): Handle DT_GNU_PRELINKED,
737 DT_GNU_CONFLICT* and DT_GNU_LIBLISZ*.
738 (get_section_type_name): Handle SHT_GNU_LIBLIST.
739 (process_dynamic_segment): Handle DT_GNU_CONFLICTSZ,
740 DT_GNU_LIBLISTSZ and DT_GNU_PRELINKED.
741 (process_gnu_liblist): New.
742 (process_file): Call it.
743
97230b15
AM
7442002-07-03 Alan Modra <amodra@bigpond.net.au>
745
746 * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
747 * Makefile.in: Regenerate.
748
a6637ec0
AM
7492002-07-02 Alan Modra <amodra@bigpond.net.au>
750
751 * budemang.c: New file, "demangle" function.
752 * budemang.h: New file.
753 * addr2line.c (translate_addresses): Use "demangle".
754 * nm.c (print_symname): Likewise.
755 * objdump.c (objdump_print_symname): Likewise.
756 (dump_symbols): Likewise. Also, don't use bfd_asymbol_name macro
757 here since that obfuscates.
758 * rdcoff.c: Don't #include demangle.h.
759 * Makefile.am (CFILES): Add budemang.c, emul_aix.c,
760 emul_vanilla.c. Remove emul_$(EMULATION).c. Sort.
761 (HFILES): Add budemang.h. Sort.
762 (nm_new_SOURCES, objdump_SOURCES, addr2line_SOURCES): Add budemang.c.
763 Run "make dep-am".
764 * Makefile.in: Regenerate.
765
179d3252
JT
7662002-07-01 Matt Thomas <matt@3am-software.com>
767
768 * readelf.c: Include "elf/vax.h".
769 (guess_is_rela): Move EM_VAX from unknown to RELA case.
770 (dump_relocations): Handle VAX relocations.
771 (get_machine_flags): Handle VAX machine flags.
772
75751cd9
SC
7732002-06-29 Stephane Carrez <stcarrez@nerim.fr>
774
775 * readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.
776
e5851ab8
NC
7772002-06-26 Nick Clifton <nickc@cambridge.redhat.com>
778
779 * MAINTAINERS: Remove Tom Rix from d10v and pcc maintainerships.
780
eb3f2f5c
AM
7812002-06-26 Alan Modra <amodra@bigpond.net.au>
782
783 * nm.c (print_symname): When demangling, strip leading dots from
784 symbol names to avoid confusing the demangler.
785
a13a0de8
L
7862002-06-25 H.J. Lu <hjl@gnu.org>
787
788 * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
789 * Makefile.in: Regenerated.
790
6db7a086
AM
7912002-06-21 Igor Schein <igor@txc.com>
792
793 * configure.in: Quote bu_cv_have_fopen64.
794 * configure: Regenerate.
795
9710509e
AM
7962002-06-21 Mitsru Chinen <chinen@jp.ibm.com>
797
798 * configure.in: Check for strcoll.
799 * configure: Regenerate.
800 * config.in: Regenerate.
801 * nm.c (main): Set locale for LC_COLLATE category.
802 (non_numeric_forward): Use strcoll if available.
803
a9f0b5e7
DB
8042002-06-20 Dave Brolley <brolley@redhat.com>
805
806 * MAINTAINERS: Add self as fr30 and frv maintainer.
807
33f5f537
L
8082002-06-18 H.J. Lu (hjl@gnu.org)
809
810 * nm.c: Include "elf/common.h".
811 (extended_symbol_info): Add elfinfo, a pointer to
812 elf_symbol_type.
813 (SYM_SIZE): Use elfinfo if it is not NULL.
814 (get_symbol_type): New function.
815 (display_archive): Set print_width for each archive member.
816 (display_file): Likewise.
817 (display_rel_file): Don't set print_width here.
818 (print_object_filename_sysv): Handle print_width.
819 (print_archive_member_sysv): Likewise.
820 (print_symbols): Pass (bfd_vma) 0 to print_symbol.
821 (print_symbol): Set the elfinfo field in extended_symbol_info
822 for ELF.
823 (print_object_filename_sysv): Fix the output format.
824 (print_symbol_info_sysv): Print type and section for ELF.
825
8262002-06-18 Elias Athanasopoulos <eathan@otenet.gr>
827
828 * nm.c (print_size_symbols): Remove assignment, which makes
bb279dc0 829 the symbol's size equal to its value when --size-sort is
33f5f537
L
830 used.
831
5c70f934
DB
8322002-06-18 Dave Brolley <brolley@redhat.com>
833
834 From Catherine Moore:
835 * readelf.c (elf/frv.h): #include it.
836 (guess_is_rela): Support EM_CYGNUS_FRV.
837 (dump_relocations): Ditto.
838 (get_machine_name): Ditto.
839 * Makefile.am (readelf.o): add dependency on $(INCDIR)/elf/frv.h.
840
7ece0d85
JJ
8412002-06-18 Jakub Jelinek <jakub@redhat.com>
842
843 * readelf.c (get_file_header): Only read the first section header if
844 e_shoff is non-zero.
845
72797995
L
8462002-06-15 H.J. Lu (hjl@gnu.org)
847
848 * nm.c (print_size): New variable. Initialize to 0.
849 (long_options): Add 'S'/"print-size".
850 (main): Handle 'S'.
851 (print_symbol_info_bsd): Print size only if print_size is not
852 0.
853
854 * doc/binutils.texi: Document -S/--print-size.
855
977f7911
NC
8562002-6-13 Elias Athanasopoulos <eathan@otenet.gr>
857
858 * nm.c (struct extended_symbol_info): New strcuture: Add the size
859 of the symbols to the information provided by the symbol_info
860 structure.
861 (print_symbols): Pass the symbol size to print_symbol.
862 (print_size_symbols): Pass the symbol size to print_symbol.
863 (print_symbol): Extra argument: The size of the symbol. Store
864 this in the extended_symbol_info structure.
865 (print_symbol_info): Change type of info parameter to
866 extended_symbol_info. Display the size, if known.
867 (print_symbol_info_posix): Likewise.
868 (print_symbol_info_sysv): Likewise.
869
b1f88ebe
AM
8702002-06-08 Alan Modra <amodra@bigpond.net.au>
871
fa449227
AM
872 * Makefile.am: Run "make dep-am".
873 * Makefile.in: Regenerate.
874 * doc/Makefile.in: Regnerate.
875
b1f88ebe
AM
876 * bucomm.c: Replace CONST with const.
877 * nm.c: Likewise.
878 * objdump.c: Likewise.
879
91a106e6
L
8802002-06-07 H.J. Lu <hjl@gnu.org>
881
882 * readelf.c (DW_CFA_GNU_args_size): Don't define.
883 (DW_CFA_GNU_negative_offset_extended): Likewise.
884 (DW_CFA_GNU_window_save): Likewise.
885 (display_debug_frames): Handle DW_CFA_offset_extended_sf,
886 DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
887
6ab6b380 8882002-06-07 Elias Athanasopoulos <eathan@otenet.gr>
bb279dc0 889
6ab6b380
NC
890 * nm.c: When computing size of symbols for an ELF target use the
891 internal size field.
892
e28e05a3
JL
8932002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
894
895 * testsuite/binutils-all/objcopy.exp: clear xfail for
896 "hppa*64*-*-hpux*".
897 * testsuite/binutils-all/hppa/objdump.exp: Return if
898 "*64*-*-*".
899
dc156bc0
AM
9002002-06-05 Alan Modra <amodra@bigpond.net.au>
901
902 * objcopy.c (copy_section): Don't copy SEC_GROUP sections.
903
9042002-06-03 Elias Athanasopoulos <eathan@otenet.gr>
28b18af1
AM
905
906 * objdump.c: Fix formatting.
907
d79e4ea3
BE
9082002-05-29 Ben Elliston <bje@redhat.com>
909
910 * MAINTAINERS: Add self as M68k maintainer.
911
d172d4ba
NC
9122002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
913
914 * readelf.c: Modified/Added DLX elf support.
915
7edb8f29
NC
9162002-05-27 Nick Clifton <nickc@cambridge.redhat.com>
917
3a1a2036
NC
918 * arsup.c: Fix formatting.
919 * debug.c (debug_record_label): Add missing colon to error
920 message.
921 * ieee.c (parse_ieee_ty): Fix spelling typo.
922 * readelf.c (process_program_headers): Remove English assumption
923 about making a plural word.
924 (process_section_headers): Likewise.
925 (process_relocs): Allow quotes to be translated.
926 (process_unwind): Likewise,
927 (process_mips_specific): Improve error message.
928 (get_note_type): Fix spelling typo.
929
7edb8f29
NC
930 * configure.in (ALL_LINGUAS): Add sv
931 * po/sv.po: New file.
932
3eee1e9d
AM
9332002-05-27 Alan Modra <amodra@bigpond.net.au>
934
935 * unwind-ia64.c (unw_print_brmask): Don't use sprintf.
936 (unw_print_grmask): Likewise.
937 (unw_print_frmask): Likewise.
938
d43efbe3
KH
9392002-05-26 Kazu Hirata <kazu@cs.umass.edu>
940
941 * arsup.c: Remove ARGSUSED.
942 * debug.c: Likewise.
943 * ieee.c: Likewise.
944 * nlmconv.c: Likewise.
945 * prdbg.c: Likewise.
946 * stabs.c: Likewise.
947 * wrstabs.c: Likewise.
948
e9792343
AM
9492002-05-25 Alan Modra <amodra@bigpond.net.au>
950
951 * arlex.l: Use #include "" instead of <> for local header files.
952 * coffdump.c: Likewise.
953 * coffgrok.c: Likewise.
954 * nlmconv.c: Likewise.
955 * nlmheader.y: Likewise.
956 * srconv.c: Likewise.
957 * strings.c: Likewise.
958 * sysdump.c: Likewise.
959 * unwind-ia64.h: Likewise.
960 * windres.h: Likewise.
961 * winduni.h: Likewise.
962
d7e53452
TR
9632002-05-24 Tom Rix <trix@redhat.com>
964
965 * MAINTAINERS: Add self as the d10v maintainer.
966
436e8db0
NC
9672002-05-24 TAMURA Kent <kent@netbsd.org>
968
969 * configure.in: Builds dlltool for i386-netbsdpe.
970 * configure: Regenerate.
971
9f66665a
KH
9722002-05-23 Kazu Hirata <kazu@cs.umass.edu>
973
974 * size.c: Fix formatting.
975 * srconv.c: Likewise.
976 * stabs.c: Likewise.
977 * sysdump.c: Likewise.
978 * unwind-ia64.c: Likewise.
979 * wrstabs.c: Likewise.
980
13ae64f3
JJ
9812002-05-23 Jakub Jelinek <jakub@redhat.com>
982
983 * readelf.c (get_segment_type): Add PT_TLS.
984 (get_elf_section_flags): Add SHF_TLS.
985 (get_dynamic_flags): Optimize. Add DF_STATIC_TLS.
986 (process_dynamic_segment): Use puts instead of printf.
987 (get_symbol_type): Support STT_TLS.
988 * objdump.c (dump_section_header): Remove SEC_CONSTRUCTOR_TEXT,
989 SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS.
990 Add SEC_THREAD_LOCAL.
991
53c7db4b
KH
9922002-05-23 Kazu Hirata <kazu@cs.umass.edu>
993
994 * rdcoff.c: Fix formatting.
995 * rddbg.c: Likewise.
996 * readelf.c: Likewise.
997 * rename.c: Likewise.
998 * resbin.c: Likewise.
999 * resrc.c: Likewise.
1000 * resres.c: Likewise.
1001
0af11b59
KH
10022002-05-21 Kazu Hirata <kazu@cs.umass.edu>
1003
1004 * filemode.c: Fix formatting.
1005 * ieee.c: Likewise.
1006 * is-ranlib.c: Likewise.
1007 * is-strip.c: Likewise.
1008 * maybe-ranlib.c: Likewise.
1009 * maybe-strip.c: Likewise.
1010 * nlmconv.c: Likewise.
1011 * nm.c: Likewise.
1012 * not-ranlib.c: Likewise.
1013 * not-strip.c: Likewise.
1014 * objcopy.c: Likewise.
1015 * objdump.c: Likewise.
1016
21611032
TS
10172002-05-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1018
1019 * objdump.c (dump_headers): Fix output formatting for ELF32
1020 architectures in a BFD64 enabled toolchain.
1021
26044998
KH
10222002-05-20 Kazu Hirata <kazu@cs.umass.edu>
1023
1024 * debug.c: Fix formatting.
1025 * debug.h: Likewise.
1026 * dlltool.c: Likewise.
1027 * dllwrap.c: Likewise.
1028 * emul_aix.c: Likewise.
1029 * emul_vanilla.c: Likewise.
1030
f462a9ea
KH
10312002-05-19 Kazu Hirata <kazu@cs.umass.edu>
1032
1033 * addr2line.c: Fix formatting.
1034 * ar.c: Likewise.
1035 * arsup.c: Likewise.
1036 * arsup.h: Likewise.
1037 * binemul.c: Likewise.
1038 * binemul.h: Likewise.
1039 * bucomm.c: Likewise.
1040 * coffdump.c: Likewise.
1041 * coffgrok.c: Likewise.
1042 * coffgrok.h: Likewise.
1043
e0159aa9
MM
10442002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
1045
1046 * MAINTAINERS: Add myself as the second AVR port maintainer.
1047
074b403e
SC
10482002-05-16 Stephane Carrez <stcarrez@nerim.fr>
1049
1050 * MAINTAINERS: Update my email address.
1051
2b9c8201
NC
10522002-05-09 Nick Clifton <nickc@cambridge.redhat.com>
1053
1054 * MAINTAINERS: Add Jason Thorpe as VAX maintainer.
1055
e1d5b1e7
AM
10562002-05-09 Alan Modra <amodra@bigpond.net.au>
1057
1058 * configure.in: Replace `*pe' with `pe' throughout.
1059 * configure: Regenerate.
1060
d3d8a9ee
NC
10612002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
1062
1063 * Makefile.am: Honour DESTDIR.
1064 * Makefile.in: Regenerate.
1065
405c98a4
AM
10662002-05-06 Alan Modra <amodra@bigpond.net.au>
1067
a02d5965
AM
1068 * dlltool.c (process_def_file): Add missing prototype.
1069 (new_directive, assemble_file, main): Likewise.
1070 (process_def_file, new_directive): Make static.
1071 (inform): Rewrite using VA_FIXEDARG.
1072 * dllwrap.c (mybasename): Add missing prototype.
1073 (strhash, main): Likewise.
1074 (inform): Rewrite using VA_FIXEDARG.
1075 (warn): Likewise.
1076 (cleanup_and_exit): Use old style function definition.
1077 (strhash): Likewise.
1078 * windres.c (define_resource): Use one memset to clear all of
1079 struct res_resource.
1080
405c98a4 1081 * rcparse.y: Remove newcmd rule. Move rcparse_discard_strings
a02d5965 1082 call to rules that need no lookahead. Check for no lookahead.
405c98a4
AM
1083
10842002-05-06 Borut Razem <borut.razem@siol.net>
1085
1086 * rclex.l (get_string): Correct "strings" list handling.
1087 * resrc.c (read_rc_file): Discard strings.
1088
91593c9d
AM
10892002-05-04 Alan Modra <amodra@bigpond.net.au>
1090
e58a75dc
AM
1091 * ar.c (replace_members): Remove unused var. Formatting fix.
1092 * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
1093
91593c9d
AM
1094 * MAINTAINERS: Sort port maintainers by CPU.
1095
6b52b824
AM
10962002-05-04 Bob Byrnes <byrnes@curl.com>
1097
1098 * size.c (display_archive): Add last_arfile and code to close archives.
1099
dd70071f
AM
11002002-05-01 Alan Modra <amodra@bigpond.net.au>
1101
1102 * nm.c (print_symbol): Check returned filename from
1103 bfd_find_nearest_line is non-NULL.
1104
6c95717a 11052002-04-25 Elena Zannoni <ezannoni@redhat.com>
bb279dc0
ZW
1106
1107 * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
6c95717a 1108
3c25c5f6
NC
11092002-04-24 Christian Groessler <chris@groessler.org>
1110
1111 * MAINTAINERS: Changed my email address.
1112
944cd72c
TS
11132002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1114
1115 * arparse.y: Fix syntax warning.
1116
ea91f8bb
NC
11172002-04-16 Nick Clifton <nickc@cambridge.redhat.com>
1118
3e55a963
NC
1119 * readelf.c (fetch_location_list): Remove unused function.
1120
1121 * readelf.c (process_corefile_note_segment): Catch corrupt notes
1122 and display a warning message, then exit the loop.
1123
ea91f8bb
NC
1124 * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
1125
45b99827
NC
11262002-04-15 Nick Clifton <nickc@cambridge.redhat.com>
1127
1128 * resrc.c (write_rc_dialog): If charset is non-default value
1129 display all of the DIALOGEX parameters.
1130
11312002-04-15 Eric Kohl <ekohl@rz-online.de>
1132
bb279dc0 1133 * rcparse.y: Allow two to five parameter in FONT statement of
45b99827
NC
1134 DIALOGEX resources.
1135 * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
1136 resource data.
bb279dc0 1137 (res_to_bin_dialog): Likewise.
45b99827
NC
1138 * windres.h: Added misssing charset variable to dialog_ex
1139 structure.
1140
acfbab8a
NC
11412002-04-10 Nick Clifton <nickc@cambridge.redhat.com>
1142
1143 * rcparse.y: Set MEMFLAG_PURE by default.
1144
df3baf66
NC
11452002-04-09 Bernd Herd <info@herdsoft.com>
1146
bb279dc0 1147 * rcparse.y: CLASS definitions in DIALOG resources
df3baf66 1148 are quoted.
4c30641a 1149 Fix typo in BEDIT warning.
91eafb40 1150 Don't add default dialog style when explicit style specified.
b62a12ca 1151 Add WS_CAPTION dialog style if CAPTION is specified.
4c30641a 1152
b24eb5ac
NC
1153 * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
1154 (handle_quotes) "\a" escape (used for right justified key
1155 definitions in menus) is encodes as binary 8.
df3baf66 1156
b24eb5ac
NC
1157 * resrc.c (write_rc_dialog): Print style even if it is 0.
1158 (write_rc_directory): Fix overlooked sublang shift bug.
420380ba 1159 (bin_to_res_dialog): Don't print empty dialog caption.
7e8d45b7 1160
b24eb5ac
NC
1161 * resbin.c (bin_to_res_dialog): Use signature to identify
1162 DIALOGEX.
f7d63484 1163
b24eb5ac 1164 * windres.c (main): Set default LANGUAGE to english/us.
f7d63484 1165
df3baf66
NC
11662002-04-09 Gunnar Degnbol <degnbol@danbbs.dk>
1167
1168 * resrc.c: print CLASS names in quotes
1169
11702002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
9c5382a0
JR
1171
1172 * MAINTAINERS: Update my email address.
1173
8e42bcb6
AM
11742002-04-04 Alan Modra <amodra@bigpond.net.au>
1175
1176 * dep-in.sed: Cope with absolute paths.
1177 * Makefile.am (dep.sed): Subst TOPDIR.
1178 Run "make dep-am".
1179 * Makefile.in: Regenerate.
1180
96f959e5
PT
11812002-03-27 Peter Targett <peter.targett@arc.com>
1182
1183 * MAINTAINERS: Update my email address.
1184
1ea788ee
AM
11852002-03-21 Alan Modra <amodra@bigpond.net.au>
1186
1187 * Makefile.am: Run "make dep-am".
1188 * Makefile.in: Regenerate.
1189 * doc/Makefile.in: Regenerate.
1190 * po/POTFILES.in: Regenerate.
1191 * aclocal.m4: Regenerate.
1192 * config.in: Regenerate.
1193 * configure: Regenerate.
1194
a2f14207
DB
11952002-03-20 Daniel Berlin <dan@dberlin.org>
1196
1197 * readelf.c: Add support for displaying dwarf2 location lists.
1198 (do_debug_loc, debug_loc_section, debug_loc_size): New.
1199 (parse_args): Use 'O' as shorthand for displaying location list
1200 section.
1201 (process_section_headers): Handle debug_loc as well.
1202 (load_debug_loc): New.
1203 (free_debug_loc): New.
1204 (fetch_location_list): New.
1205 (display_debug_loc): New.
1206 (display_debug_info): Call load_debug_loc and free_debug_loc.
1207 (debug_displays): We can display .debug_loc now, too.
1208 (usage): Update usage string.
1209 (read_and_display_attr_value): Note location lists, but don't
1210 display them inline.
1211
eb1e0e80
NC
12122002-03-18 Tom Rix <trix@redhat.com>
1213
1214 * Makefile.am: Add binutils emulation support.
1215 * configure.in: Same.
1216 * configure.tgt: New file. Same.
1217 * ar.c (main): Use ar_emul_parse_arg.
1218 (usage): Use ar_emul_usage.
1219 (replace_members): Use ar_emul_replace, ar_emul_append.
1220 * binemul.c: New file. Define the binutils emulation
1221 layer. Define default methods.
1222 * binemul.h: New file. Binutils emulation layer header file.
1223 * emul_aix.c: New file. AIX binutils emulation.
1224 * emul_vanilla.c: New file. Default binutils emulation.
1225 * Makefile.in: Regenerate.
1226 * configure: Same.
1227
a1c259a1
NC
12282002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
1229
1230 * po/fr.po: Updated version.
1231
9ce88e60
NC
12322002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
1233
1234 * po/fr.po: Updated version.
1235
effb0601
DJ
12362002-03-07 Daniel Jacobowitz <drow@mvista.com>
1237
1238 * README: Update some version numbers.
1239
a65688ab
DJ
12402002-03-07 Daniel Jacobowitz <drow@mvista.com>
1241
1242 * doc/binutils.texi (Target Selection): Fix LD crossreferences.
1243 (Architecture Selection): Likewise.
1244
f3f7fbb2
NC
12452002-03-01 Dmitry Timoshkov <dmitry@baikal.ru>
1246
1247 * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
1248 generating .exp file.
1249
25345be5
NC
12502002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
1251
1252 * readelf.c (dump_relocations): Fix typo.
1253
9a66911f
NC
12542002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
1255
1256 * NEWS: Mark 2.12 branch.
1257
2c71103e
NC
12582002-02-18 Timothy Daly <remote_bob@yahoo.com>
1259
bb279dc0
ZW
1260 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
1261 types for 64-bit MIPS. Narrow some fields for 80-char
2c71103e 1262 output.
bb279dc0 1263 (dump_relocations): Change spelling from 'unrecognised'
2c71103e
NC
1264 to 'unrecognized'.
1265 (decode_ARM_machine_flags): Likewise.
1266 (parse_args): Likewise.
1267 (read_and_display_attr_value): Likewise.
1268 (display_debug_section): Likewise.
1269
49fda6c8
HPN
12702002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
1271
1272 * NEWS: Mention support for MMIX.
1273
76f57f3a
JT
12742002-02-13 Matt Fredette <fredette@netbsd.org>
1275
1276 * readelf.c (get_machine_flags): Recognize EF_M68000.
1277
d36ca9c2
AO
12782002-02-12 Alexandre Oliva <aoliva@redhat.com>
1279
1280 * MAINTAINERS: Added self as MN10300 co-maintainer.
1281
19397422
AM
12822002-02-12 Alan Modra <amodra@bigpond.net.au>
1283
1284 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
1285 DT_PPC64_OPDSZ.
1286
d434e574
DJ
12872002-02-11 Daniel Jacobowitz <drow@mvista.com>
1288
1289 * MAINTAINERS: List myself as branch maintainer.
1290
12b87c89
AM
12912002-02-11 Alan Modra <amodra@bigpond.net.au>
1292
1293 * configure: Regenerate.
1294 * objcopy.c: Update copyright date.
1295 * doc/Makefile.in: Regenerate.
1296
8d037c5c
DJ
12972002-02-10 Daniel Jacobowitz <drow@mvista.com>
1298
1299 * nlmconv.c: Back out localtime PARAMS change.
1300
4c168fa3
AM
13012002-02-11 Alan Modra <amodra@bigpond.net.au>
1302
1303 * objcopy.c (MKDIR): Define.
1304 (copy_archive): Make name_list.name const. Use MKDIR.
1305 Handle duplicate files in archives by making more temp dirs.
1306
408f8db1
DJ
13072002-02-10 Daniel Jacobowitz <drow@mvista.com>
1308
1309 * coffdump.c: Include "getopt.h" after "bucomm.h"
1310 so that macros are defined correctly.
1311 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
1312 prototype. Prototype main.
1313 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
1314
9f77fa06
AO
13152002-02-06 Alexandre Oliva <aoliva@redhat.com>
1316
1317 * MAINTAINERS: Added self as SH co-maintainer.
1318
82f6addb
NC
13192002-02-05 Nick Clifton <nickc@redhat.com>
1320
1321 * po/tr.po: Updated translation.
1322
ba323545
AM
13232002-02-01 Alan Modra <amodra@bigpond.net.au>
1324
1325 * Makefile.am: Run "make dep-am"
1326 * Makefile.in: Regenerate.
1327
3deb89d3
DJ
13282002-01-29 Daniel Jacobowitz <drow@mvista.com>
1329
1330 * nm.c (print_value): Mark abfd unused.
1331
a0e9c55f
DJ
13322002-01-29 Daniel Jacobowitz <drow@mvista.com>
1333
1334 * unwind-ia64.c (unw_decoder): Change second argument
1335 to unsigned int, to match function prototypes.
1336
d7a283d4
DJ
13372002-01-29 Daniel Jacobowitz <drow@mvista.com>
1338
1339 * objdump.c: Include "getopt.h" after "bucomm.h" so that
1340 __GNU_LIBRARY__ will be defined.
1341 * size.c: Likewise.
1342
4867be41
DJ
13432002-01-27 Daniel Jacobowitz <drow@mvista.com>
1344
1345 * configure: Regenerated.
1346
7562a296
HPN
13472002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
1348
1349 * doc/Makefile.am (install): Depend on install-info.
1350 * doc/Makefile.in: Regenerate.
1351
15c82623
NC
13522002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
1353
1354 * objcopy.c (strip_usage): Document -d as an alias
1355 --strip-debug.
1356
1357 * size.c (usage): Document [-t | --totals] options.
1358 (long_options): Add --totals option.
1359 (main): If the [-t | --totals] option is specified and
1360 the output format is Berkeley-style, print the total
1361 text, data, and bss sizes of all objects listed.
1362 (print_berkeley_format): If the [-t | --totals] option
1363 is specified, track the total text, data, and bss
1364 sizes.
1365 * doc/binutils.texi (size): Document [-t | --totals] options.
1366 (strip): Document -d as an alias for --strip-debug.
1367 * NEWS: Mention new feature of size.
1368
00ea8601 13692002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
b85cedd7 1370
1ddbd152
NC
1371 * po/fr.po: Updated version.
1372 * po/es.po: Updated version.
b85cedd7 1373
8b53311e
NC
13742002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
1375
1376 * addr2line.c (usage): Update text to provide verbose
1377 description of the command line options.
1378 * ar.c (usage): Update text to provide verbose
1379 description of the command line options.
1380 (main): Accept -h and -H when running as ranlib.
1381 * coffdump.c (show_usage): Update text to provide verbose
1382 description of the command line options.
1383 * dlltool.c (main): Accept -H as an alias for --help.
1384 * nlmconv.c (show_usage): Update text to provide verbose
1385 description of the command line options.
1386 * nm.c (usage): Replace OPTIONS with option(s).
1387 (main): Accept -H as an alias for --help.
1388 * objcopy.c (strip_main): Accept -H as an alias for --help.
1389 * objdump.c (main): Accept -v as an alias for --verbose.
bb279dc0 1390 * readelf.c (usage): Adjust format to match style used in
8b53311e
NC
1391 other binutils.
1392 * size.c (usage): Update text to provide verbose description
1393 of the command line options.
1394 (main): Accept -v, -h and -H as command line options.
1395 * srconv.c (show_usage): Update text to provide verbose
1396 description of the command line options.
1397 * strings.c (main): Accept -H and -v as command line options.
1398 (usage): Update text to provide verbose description of the
1399 command line options.
1400 * sysdump.c (show_usage): Update text to provide verbose
1401 description of the command line options.
1402 * windres.c (usage): Adjust format to match style used in
1403 other binutils.
1404
1405 * coffdump.c: Fix formatting.
1406 * nlmconv.c: Fix formatting.
1407 * srconv.c: Fix formatting.
1408 * sysdump.c: Fix formatting.
1409
c46f0c34
AM
14102002-01-22 Alan Modra <amodra@bigpond.net.au>
1411
1412 * Makefile.am: Run "make dep-am".
1413 * Makefile.in: Regenerate.
1414
2a538ba5
AJ
14152002-01-18 Andreas Jaeger <aj@suse.de>
1416
1417 * version.c (print_version): Update year.
1418
285d1771
AM
14192002-01-17 Alan Modra <amodra@bigpond.net.au>
1420
1421 * readelf.c (get_machine_name): Handle EM_PPC64.
1422 (guess_is_rela): Here too.
1423
328577ad
NC
14242002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
1425
1426 * po/binutils.pot: Regenerate.
1427 * po/fr.po: Regenerate.
1428 * po/tr.po: Regenerate.
1429
af3ae48d
NC
14302002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
1431
1432 * po/tr.po: Import new version.
1433
f1cb7e17
AM
14342002-01-16 Alan Modra <amodra@bigpond.net.au>
1435
1436 * readelf.c (get_ppc64_dynamic_type): New.
1437 (get_dynamic_type): Call it.
1438
6364e0b4
NC
14392002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
1440
3ab9460d 1441 * objcopy.c (copy_usage): Use "options" instead of "switches".
bb279dc0 1442 (strip_usage): Use "options" instead of "switches".
3ab9460d 1443 * doc/binutils.texi (dlltool): Refer to "options" instead of
bb279dc0 1444 "switches".
6364e0b4 1445
3a7e524e
RE
14462002-01-14 Richard Earnshaw <rearnsha@arm.com>
1447
1448 * MAINTAINERS: Add self as co-maintainer for the ARM code.
1449
1209e219
NC
14502001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
1451
1452 * po/es.po: Import from translation project.
1453 * configure.in (ALL_LINGUAS): Add es.
1454 * configure: Regenerate.
1455
b4db1224
JT
14562002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
1457
1458 * readelf.c (get_netbsd_elfcore_note_type): Use
1459 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
1460
9437c45b
JT
14612002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
1462
1463 * readelf.c: Update copyright years.
1464 (get_note_type): Return a const char *.
1465 (get_netbsd_elfcore_note_type): New function.
1466 (process_note): Use get_netbsd_elfcore_note_type to get
1467 the note type string for NetBSD ELF core files.
1468
00428cca
AM
14692002-01-06 Steve Ellcey <sje@cup.hp.com>
1470
1471 * readelf.c (get_ia64_segment_type): Add support for macros.
1472 (get_segment_type): Add support for IA64 specific macros.
1473
31104126
NC
14742001-12-20 Julian v. Bock <julian@wongr.net>
1475
1476 * readelf.c (print_symbol): New function: Print a formatted symbol
1477 name. If --wide is specified do not truncate it.
1478 (dump_relocations): Use print_symbol() to print symbol names.
1479 (process_symbol_table): Likewise.
1480 (process_syminfo): Likewise.
1481 (process_mips_specific): Likewise.
1482 (usage): Document new feature of --wide switch.
1483 * doc/binutils.texi (objdump): Document additional behaviour of
1484 --wide.
2a538ba5 1485
4dd67f29
MS
14862001-12-18 Michael Snyder <msnyder@redhat.com>
1487
1488 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
1489 (copy_object): Don't set the start address or flags of a core file.
1490 (copy_section): Don't relocate a core file. Don't copy contents
1491 if the input section has the contents flag set, but the output
1492 section does not (which happens with the fake 'note' pseudo-
1493 sections that BFD creates for corefiles).
1494
43521d43
TS
14952001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1496
1497 * readelf.c (get_machine_flags): Recognize header flags for ABI and
1498 ASE extensions. More robust code for ISA checking. Ignore empty fields
1499 in header flags for GNU extensions.
1500
b667df2e
AM
15012001-12-18 Alan Modra <amodra@bigpond.net.au>
1502
1503 * objcopy.c (copy_archive): Set output bfd format outside the loop.
1504
17a5a5c3
NC
15052001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
1506
1507 * po/ja.po: Import from translation project.
1508 * configure.in (ALL_LINGUAS): Add ja.
1509 * configure: Regenerate.
1510
65de42c0
TS
15112001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1512
1513 * addr2line.c (main): Protoype.
1514 * ar.c (main): Protoype.
1515 * nm.c (main): Protoype.
1516 * objcopy.c (main): Protoype.
1517 * objdump.c (main): Protoype.
1518 * size.c (main): Protoype.
1519 * strings.c (main): Protoype.
1520
9ad5cbcf
AM
15212001-12-17 Alan Modra <amodra@bigpond.net.au>
1522
1523 * readelf.c (symtab_shndx_hdr): New global.
1524 (SECTION_HEADER_INDEX): Define.
1525 (SECTION_HEADER_NUM): Define.
1526 (SECTION_HEADER): Define.
1527 (GET_ELF_SYMBOLS): Pass two params rather than three.
1528 (get_32bit_elf_symbols): Take file and section args. Read and
1529 use SHT_SYMTAB_SHNDX.
1530 (get_64bit_elf_symbols): Likewise.
1531 (dump_relocations): Use SECTION_HEADER to index "section_headers".
1532 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
1533 Remember symtab_shdx_hdr.
1534 (process_program_headers): Scan from index 1 for segment map.
1535 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
1536 "section_headers".
1537 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
1538 (process_unwind): Likewise.
1539 (process_version_sections): Likewise.
1540 (process_symbol_table): Likewise.
1541 (display_debug_info): Likewise.
1542 (process_dynamic_segment): Fake up a symtab section for changed
1543 GET_ELF_SYMBOLS.
1544 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
1545 (process_program_headers): Kill signed/unsigned warning.
1546 (load_debug_str): Likewise.
1547 (display_debug_info): Likewise.
1548
65765700
JJ
15492001-12-13 Jakub Jelinek <jakub@redhat.com>
1550
1551 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
1552
560f3c1c
AM
15532001-12-11 Alan Modra <amodra@bigpond.net.au>
1554
1555 * readelf.c (process_file_header): Print extended e_shnum and
1556 e_shdtrndx values. Set elf_header values for same.
1557 (get_32bit_section_headers): Add "num" arg to read "num" headers.
1558 (get_64bit_section_headers): Likewise.
1559 (process_section_headers): Update calls.
1560 (get_file_header): Call get_32bit_section_headers or 64bit variant.
1561
bc408b8a
JJ
15622001-12-10 Jakub Jelinek <jakub@redhat.com>
1563
1564 * objcopy.c (setup_section): Copy entsize.
1565
93fbbb04
GK
15662001-12-07 Geoffrey Keating <geoffk@redhat.com>
1567
1568 * readelf.c (guess_is_rela): Add support for stormy16.
1569 (dump_relocations): Likewise.
1570 (get_machine_name): Likewise.
1571
e3c8793a
NC
15722001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
1573
1574 * dllwrap.c (main) Replace multiple strings describing a
1575 single error with a single, newline escaped sentence to permit
1576 better translation into foreign languages.
1577
1578 * readelf.c (get_elf_class): Remove internalionalisation of ELF
1579 class names.
1580
956cd1d6
TS
15812001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1582
1583 * strings.c (get_char): Initialize value.
1584
956c53ee
TS
15852001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1586
1587 * arlex.l: Silence compile warnings.
1588 * arsup.h: Likewise. Fix formatting.
1589
cedd9a58
JJ
15902001-12-04 Jakub Jelinek <jakub@redhat.com>
1591
1592 * strings.c: Include config.h before bfd.h.
1593 (file_off): New type.
1594 (file_open): Define.
1595 (print_strings): Use file_off instead of file_ptr. Print addresses
1596 which don't fit into long correctly.
1597 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
1598 available.
1599 (strings_file): Use file_off instead of file_ptr. Use file_open.
1600 * configure.in: Check for getc_unlocked.
1601 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
1602 be defined for it.
1603 * configure: Rebuilt.
1604 * config.h.in: Rebuilt.
1605
af667503
L
16062001-11-29 H.J. Lu <hjl@gnu.org>
1607
1608 * bucomm.c (make_tempname): Revert the changes made on
1609 2001-11-14 and 2001-11-12. They won't work with directories.
1610
16474668
NC
16112001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
1612
1613 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
1614 CFLAGS_FOR_TARGET to runtest in environment.
1615 * Makefile.in: Rebuild.
1616 * doc/Makefile.in: Rebuild.
1617
17978339
MS
16182001-11-28 Mike Stump <mrs@wrs.com>
1619
1620 * objcopy.c (setup_section): Preserve SEC_RELOC when
1621 --set-section-flags is used.
1622
261a45ad
NC
16232001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
1624
1625 * readelf.c (do_debug_str): New variable.
1626 (display_debug_str): New function: Display the contents of a
1627 .debug_str section.
1628 (load_debug_str): New function: Load in the contents of a
1629 .debug_str section.
1630 (free_debug_str): New function: Free the memory used by
1631 load_debug_str().
1632 (fetch_indirect_string): Retrieve a string from the .debug_str
1633 section.
1634 (usage): Add -ws.
1635 (parse_args): Accept -ws.
1636 (process_section_headers): Allow the display of the .debug_str
1637 section.
1638 (read_and_display_attr_value): Use fetch_indirect_string. Show
1639 offset into .debug_str section.
1640 (display_debug_info): Use load_debug_str and free_debug_str.
1641 (debug_displays): Add .debug_str.
1642 * doc/binutils.texi: Document -ws.
1643
b8908f93
AJ
16442001-11-19 Andreas Jaeger <aj@suse.de>
1645
1646 * testsuite/binutils-all/objdump.exp: Add x86-64.
1647
e5fb9629
AS
16482001-11-15 Andreas Schwab <schwab@suse.de>
1649
1650 * readelf.c: Fix warnings without terminating newline.
1651
802a735e
AM
16522001-11-15 Alan Modra <amodra@bigpond.net.au>
1653
1654 * doc/binutils.texi (objdump): Document ppc -M options.
1655
b89e9eae
AJ
16562001-11-14 Andreas Jaeger <aj@suse.de>
1657
1658 * doc/binutils.texi (objdump): Fix description to use x86-64.
1659
a6a25652
NC
16602001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
1661
1662 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
1663 not all systems provide mkstemp.
1664
e396998b
AM
16652001-11-14 Alan Modra <amodra@bigpond.net.au>
1666
1667 * doc/binutils.texi (objdump): Document x86 -M options.
1668
81766fca
RH
16692001-11-13 Keith Walker <keith.walker@arm.com>
1670
1671 * readelf.c (read_and_display_attr_value): New function to
1672 handle DW_FORM_indirect.
1673 (read_and_display_attr): Use it.
1674
1a509dcc
GK
16752001-11-13 Geoffrey Keating <geoffk@redhat.com>
1676
1677 * readelf.c (display_debug_lines): Deal with unknown standard
1678 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
1679 DW_LNS_set_isa.
1680
6e917903 16812001-11-13 Timothy Wall <twall@alum.mit.edu>
1a509dcc 1682
6e917903
TW
1683 * MAINTAINERS: Add self as tic54x maintainer. This target
1684 includes the IBM C54XDSP clone.
7559e86e 1685
6e917903 16862001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
1a509dcc 1687
7559e86e
NC
1688 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
1689
16902001-11-09 Jeffrey A Law (law@cygnus.com)
91770270 1691
ecdadc4a
JL
1692 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
1693 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
1694 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
1695 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
1696 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
1697 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
1698 (unw_decode_b2, unw_decode_b3_b4): Likewise.
1699
91770270
JL
1700 * readelf.c (get_elf_class): Fix ISO portability glitch.
1701 (get_data_encoding, get_osabi_name, request_dump): Likewise.
1702
ef5cdfc7
JJ
17032001-11-07 Jakub Jelinek <jakub@redhat.com>
1704
1705 * readelf.c (debug_str, debug_str_size): New.
1706 (display_debug_abbrev): If no abbrevs were read, skip the CU.
1707 Call free_abbrevs.
1708 (read_and_display_addr): Handle DW_FORM_strp.
1709 (display_debug_info): Read .debug_str section if present,
1710 so that DW_FORM_strp can be handled.
1711 Fix test for non-existant .debug_abbrev section.
1712
5e9520c8
JJ
17132001-11-05 Jakub Jelinek <jakub@redhat.com>
1714
1715 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
1716
1717 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
1718
54589086
MS
17192001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
1720
1721 * MAINTAINERS: Add self as s390/s390x maintainer.
1722
c05b685b
TR
17232001-11-02 Tom Rix <trix@bluey.cygnus.com>
1724
1725 * MAINTAINERS: Add self as PPC XCOFF maintainer.
1726
3c62831e
NC
17272001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
1728
1729 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
1730 * configure: Regernate.
1731 * po/fr.po: New file.
1732 * po/tr.po: New file.
1733
3c3bdf30
NC
17342001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
1735
9b19141a 1736 * MAINTAINERS: Add self as MMIX port maintainer.
3c3bdf30
NC
1737 * readelf.c: Include elf/mmix.h.
1738 (guess_is_rela): MMIX is RELA.
1739 (dump_relocations): Handle MMIX relocations.
1740 * Makefile.am: Regenerate dependencies.
1741 * Makefile.in: Regenerate.
1742
f662939a
NC
17432001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
1744
1745 * readelf.c (parse_args): Handle multiple options to the -w
1746 switch.
1747
c91d0dfb
JJ
17482001-10-12 Jakub Jelinek <jakub@redhat.com>
1749
1750 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
1751 LOPROC, LOOS and LOUSER.
1752
7559e86e 17532001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
d1b67f3c
JR
1754
1755 * MAINTAINERS: Update my email address.
1756
fcd8210c
AM
17572001-10-03 Alan Modra <amodra@bigpond.net.au>
1758
1759 * doc/Makefile.in: Regenerate.
1760 * configure: Regenerate.
1761
428409d5
NC
17622001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
1763
1764 * readelf.c (display_debug_line, display_debug_pubnames,
1765 display_debug_info, display_debug_frames): Detect and warn
1766 about 64-bit format entries.
1767 (display_debug_aranges): Reword 64-bit warning.
1768 (debug_displays): Add .debug_pubtypes as a known, but not yet
1769 supported, debug section.
1770
6a8c2b0d
AM
17712001-10-02 Alan Modra <amodra@bigpond.net.au>
1772
1773 * coffdump.c (PROGRAM_VERSION): Delete.
1774 (main <'V'>): Call print_version.
1775 * srconv.c: Likewise.
1776 * sysdump.c: Likewise.
1777 * version.c (program_version): Remove.
1778 (print_version): Use BFD_VERSION_STRING. Just print the current
1779 year in copyright message.
1780 * addr2line.c (program_version): Remove unused declaration.
1781 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
1782 place of BFD_VERSION.
1783 * Makefile.am (Makefile): Depend on bfd/configure.in.
1784 (cplus-dem.o): Depend on Makefile.
1785 Run "make dep-am".
1786 * Makefile.in: Regenerate.
1787
e414a165
NC
17882001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
1789
1790 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
1791 format .debug_arange sections.
1792 (main): Add missing prototype.
b8908f93 1793
efc3ee7f
HPN
17942001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
1795
1796 * Makefile.am: Update dependencies with "make dep-am".
1797 * Makefile.in: Regenerate.
1798
9e85c2a0
RH
17992001-09-28 Richard Henderson <rth@redhat.com>
1800
1801 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
1802
451dad9c
AM
18032001-09-26 Alan Modra <amodra@bigpond.net.au>
1804
1805 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
1806 VA_CLOSE.
1807 (non_fatal): Likewise.
1808 * objdump.c (objdump_sprintf): Likewise.
1809 * readelf.c (error): Likewise.
1810 (warn): Likewise.
1811
d974e256
JJ
18122001-09-25 Jakub Jelinek <jakub@redhat.com>
1813
1814 * readelf.c (do_wide): New.
1815 (options): Add --wide.
1816 (usage, parse_args): Likewise.
1817 (process_program_headers): Put each segment on a single line if
1818 --wide is given.
1819 (process_section_headers): Put each section on a single line if
1820 --wide is given.
1821 * doc/binutils.texi: Document it.
1822 * NEWS: Likewise.
1823
2f11c261
AM
18242001-09-25 Alan Modra <amodra@bigpond.net.au>
1825
1826 * readelf.c (print_vma): Print 8 digits of low hex value.
1827
1d50f91e
AJ
18282001-09-24 Andreas Jaeger <aj@suse.de>
1829
1830 * nlmconv.c: Fix warnings about unused attributes and function
1831 prototypes.
1832
1833 * strings.c: Add prototype for get_char.
1834
38131e67
L
18352000-09-19 H.J. Lu <hjl@gnu.org>
1836
1837 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
1838 $(srcdir)/cxxfilt.man.
1839 * doc/Makefile.in: Rebuild.
1840
3bcfb3e4
AM
18412001-09-19 Alan Modra <amodra@bigpond.net.au>
1842
1843 * objcopy.c (copy_main): Correct rename-section string parsing.
1844 Consolidate new_name parsing, and error messages.
1845
3882b010
L
18462001-09-18 Bruno Haible <haible@clisp.cons.org>
1847
1848 * addr2line.c: Don't include <ctype.h>.
1849 (main): For gettext, also set the LC_CTYPE locate facet.
1850 * ar.c (main): Likewise.
1851 * coffdump.c (main): Likewise.
1852 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
1853 (main): For gettext, also set the LC_CTYPE locate facet.
1854 Use ISALNUM instead of isalpha/isdigit.
1855 * dllwrap.c: Don't include <ctype.h>.
1856 (main): For gettext, also set the LC_CTYPE locate facet.
1857 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
1858 (main): For gettext, also set the LC_CTYPE locate facet.
1859 Use TOUPPER instead of islower/toupper.
1860 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
1861 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
1862 Use TOUPPER instead of islower/toupper.
1863 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
1864 * objcopy.c (main): Likewise.
1865 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
1866 (disassemble_bytes): Use ISPRINT instead of isprint.
1867 (dump_section_stabs): Use ISDIGIT instead of isdigit.
1868 (dump_data): Use ISPRINT instead of isprint.
1869 (main): For gettext, also set the LC_CTYPE locate facet.
1870 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
1871 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
1872 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
1873 Use TOUPPER instead of islower/toupper.
1874 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
1875 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
1876 (write_rc_accelerators): Use ISPRINT instead of isprint.
1877 (write_rc_rcdata): Likewise.
1878 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
1879 * srconv.c (main): Likewise.
1880 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
1881 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
1882 isdigit/isupper/islower.
1883 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
1884 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
1885 stab_demangle_prefix, stab_demangle_qualified,
1886 stab_demangle_template, stab_demangle_type,
1887 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
1888 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
1889 (isgraphic): Use ISPRINT instead of isascii/isprint.
1890 (main): Remove HAVE_LC_MESSAGES dependency.
1891 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
1892 (pbarray): Use ISPRINT instead of isprint.
1893 (main): For gettext, also set the LC_CTYPE locate facet.
1894 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
1895 (format_from_filename): Use ISPRINT instead of isprint.
1896 (main): For gettext, also set the LC_CTYPE locate facet.
1897 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
1898 (unicode_print): Use ISPRINT instead of isprint.
1899 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
1900 (stab_variable): Use ISDIGIT instead of isdigit.
1901
e59b4dfb
AM
19022001-09-18 Alan Modra <amodra@bigpond.net.au>
1903
1904 * ar.c (print_contents): Cast args of bfd_seek to the right types.
1905 Replace bfd_read call with call to bfd_bread.
1906 (extract_file): Likewise.
1907
1908 * objdump.c (dump_section_header): Cast section->filepos to
1909 unsigned long to suit printf format string.
1910 * readelf.c (process_section_headers): Similarly for sh_offset.
1911 (process_unwind): Likewise.
1912
d132876a
NC
19132001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
1914
1915 * strings.c (encoding, encoding_bytes): New variables.
1916 (long_options): Add --encoding.
1917 (main): Accept -e and --encoding.
1918 (get_char): New function. Read a, possibly wide, character from
1919 the input stream.
1920 (print_strings): Use get_char().
1921 (usage): Document new command line option.
1922 * doc/binutils.texi: Document new command line option.
1923 * NEWS: Announce new command line option.
1924
7559e86e 19252001-09-12 Alexandre Oliva <aoliva@redhat.com>
2b0337b0
AO
1926
1927 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
1928 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
1929 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
1930 Removed EM_CYGNUS_ARC.
1931
7559e86e 19322001-09-04 Jeffrey A Law (law@cygnus.com)
b8720f9d
JL
1933
1934 * readelf.c: Include elf/h8 for H8 series definitions.
1935 (guess_is_rela): H8 series if RELA.
1936 (dump_relocations): Handle H8 series relocations.
1937
0823fbca
EC
19382001-08-31 Eric Christopher <echristo@redhat.com>
1939
1940 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
1941
8db76d70
PT
19422001-08-29 Peter Targett <peter.targett@arccores.com>
1943
1944 * MAINTAINERS: Include ARC Maintainer.
1945
d81d6584
BE
19462001-08-29 Ben Elliston <bje@redhat.com>
1947
1948 * stabs.c (stab_demangle_template): Initialise s4.
1949
25a1ff5b
AM
19502001-08-27 Alan Modra <amodra@bigpond.net.au>
1951
1952 * readelf.c (dump_relocations): Recognise EM_PPC64.
1953
a5d22d2a
TS
19542001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1955
1956 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
1957
62a5a82d
L
19582001-08-25 H.J. Lu <hjl@gnu.org>
1959
1960 * nm.c (print_width): New.
1961 (display_rel_file): Set `print_width' according to
1962 bfd_sprintf_vma.
1963 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
1964
1ae8b3d2
AO
19652001-08-24 Alexandre Oliva <aoliva@redhat.com>
1966
1967 * objcopy.c (use_alt_mach_code): New variable.
1968 (OPTION_ALT_MACH_CODE): Define.
1969 (copy_options): Added --alt-machine-code.
1970 (copy_main): Handle it.
1971 (copy_object): Switch to alternate machine code if requested.
1972 * doc/binutils.texi: Document new option.
1973 * NEWS: Likewise.
1974
d1bdd336
TS
19752001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1976
1977 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
1978
410f7a12
L
19792001-08-21 H.J. Lu <hjl@gnu.org>
1980
1981 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
1982 (display_debug_info): Cast for 64bit hosts.
1983 (display_debug_frames): Likewise.
1984 (process_mips_specific): Likewise.
1985
c32144ff
AJ
19862001-08-21 Andreas Jaeger <aj@suse.de>
1987
1988 * coffgrok.h: Add missing parameter for prototype of coff_grok.
1989
1990 * sysdump.c: Add missing prototypes.
1991 * srconv.c: Likewise.
1992 * unwind-ia64.c: Likewise.
1993 * coffdump.c: Likewise.
1994
1995 * sysinfo.y: Print prototypes, include <ansidecl.h>.
1996
1997 * coffgrok.c: Add missing prototypes, include libiberty.h instead
1998 of declaring xcalloc.
1999
d8180c76
L
20002001-08-10 H.J. Lu <hjl@gnu.org>
2001
2002 * nm.c (print_value): Add one arg, bfd *.
2003 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
2004 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
2005 (print_symbol_info_sysv): Likewise.
2006 (print_symbol_info_posix): Likewise.
2007
2008 * objdump.c (dump_section_header): Replace printf_vma with
2009 bfd_printf_vma.
2010 (print_section_stabs): Likewise.
2011 (dump_bfd_header): Likewise.
2012 (objdump_print_value): Replace sprintf_vma with
2013 bfd_sprintf_vma.
2014 (disassemble_bytes): Likewise.
2015 (dump_reloc_set): Likewise.
2016
0218d1e4
AJ
20172001-08-10 Andreas Jaeger <aj@suse.de>
2018
2019 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
2020 to build warnings.
2021 * configure: Regenerate.
2022
2863d58a
AM
20232001-08-09 Alan Modra <amodra@bigpond.net.au>
2024
2025 * readelf.c: Add missing prototypes.
2026 * objdump.c: Likewise. Format existing prototypes.
2027
c0e047e0
AO
20282001-08-08 Alexandre Oliva <aoliva@redhat.com>
2029
2030 * readelf.c (display_debug_info): Add to abbrev_offset the addend
2031 of any RELA relocation for the abbrev_offset memory location that
2032 refers to the .debug_abbrev section symbol.
2033
ff78d6d6
L
20342001-08-07 H.J. Lu <hjl@gnu.org>
2035
2036 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
2037 (main): Return process_file ().
2038
c36774d6
PB
20392001-08-05 Philip Blundell <philb@gnu.org>
2040
2041 * doc/binutils.texi: Use "Thumb" not "THUMB".
2042
8f9d9bd9
JH
20432001-08-03 John Healy <jhealy@redhat.com>
2044
bb279dc0
ZW
2045 Patch suggested by Frank Eigler <fche@redhat.com>.
2046 * objdump.c (disassemble_data): Fill in section member of the
2047 disasm_info structure.
8f9d9bd9 2048
c918cb96
DD
20492001-08-03 Tom Walsh <tom@cyberiansoftware.com>
2050
2051 * configure.in: Added --with-windres option.
2052 * configure: Regenerated.
2053
c7c55b78
NC
20542001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2055
2056 * doc/binutils.texi: Use @command{name} for commands;
2057 use @option{-opt} for options; use @table @env for list of options;
2058 remove spaces arround [ | ] in synopsis.
2059
2060 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
2061 center title.
2062
594ef5db
NC
20632001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
2064
bb279dc0
ZW
2065 * objcopy.c: Fix formatting.
2066 (section_rename): New structure.
2067 (OPTION_RENAME_SECTION): New switch.
2068 (copy_usage): Document new switch.
2069 (add_section_rename): New function: Add a node to the section
2070 rename list.
2071 (find_section_rename): New function: Find the new name and
2072 flags for a section.
2073 (setup_section): Call find_section_name to determine the name
2074 of the output section.
2075 (copy_main): Handle OPTION_RENAME_SECTION.
2076 * binutils.texi: Document new switch.
594ef5db
NC
2077 * NEWS: Mention new switch.
2078
1f554c69
NC
20792001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
2080
2081 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
2082 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
2083 bug-binutils@gcc.org.
2084
2f83960e
AM
20852001-07-28 Matthias Kramm <kramm@quiss.org>
2086
2087 * bucomm.c (list_supported_architectures): New function.
2088 * bucomm.h (list_supported_architectures): Declare.
2089 * objdump.c (usage): Call the above.
2090
20fe0649
DB
20912001-07-25 Dave Brolley <brolley@redhat.com>
2092
2093 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
2094 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
2095
1b577b00
NC
20962001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
2097
2098 * README: Update for 2.11. Change bug reporting email address.
2099 * MAINTAINERS: Tidy up. Change bug reporting email address.
2100
95fd336c
DD
21012001-07-16 DJ Delorie <dj@redhat.com>
2102
5f16d855
DD
2103 * resres.c (write_res_header): Align header size.
2104 (res_align_file): Calculate alignment correctly.
2105
95fd336c
DD
2106 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
2107 correct 10).
2108 * resrc.c (write_rc_resource): Likewise.
2109 * windres.h (SUBLANG_SHIFT): Define - as 10.
2110
ed8fee27
NC
21112001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
2112
2113 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
2114
90ab7e9a
NC
21152001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
2116
2117 * MAINTAINERS: Add notes about branch checkins.
2118
e0c60db2
NC
21192001-07-05 Daniel Berlin <dan@cgsoftware.com>
2120
2121 * readelf.c (display_debug_macinfo): New function, display
2122 .debug_macinfo section.
2123 (do_debug_macinfo): New variable.
2124 (parse_args): Handle "-w[mM]" to mean display macro info.
2125 (process_section_headers): Handle debug_macinfo.
2126 (debug_displays): Replace unsupported function with macinfo
0218d1e4 2127 function for .debug_macinfo display.
e0c60db2
NC
2128 * doc/binutils.texi: Document new command line switch.
2129 * NEWS: Document new feature of readelf.
0218d1e4 2130
24e01a36
L
21312001-07-05 H.J. Lu <hjl@gnu.org>
2132
2133 * objcopy.c (filter_symbols): Don't turn undefined symbols
2134 into local.
2135
4258bf4d
L
21362001-07-03 H.J. Lu <hjl@gnu.org>
2137
2138 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
2139 $@.pod.
2140 (ar.1): Likewise.
2141 (dlltool.1): Likewise.
2142 (nlmconv.1): Likewise.
2143 (nm.1): Likewise.
2144 (objcopy.1): Likewise.
2145 (objdump.1): Likewise.
2146 (ranlib.1): Likewise.
2147 (readelf.1): Likewise.
2148 (size.1): Likewise.
2149 (strings.1): Likewise.
2150 (strip.1): Likewise.
2151 (windres.1): Likewise.
2152 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
2153 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
2154 $(DEMANGLER_NAME).
2155 (as.1): Removed.
2156 * doc/Makefile.in: Regenerated.
2157
7014bc31
NC
21582001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
2159
2160 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
2161
b811889f
NC
21622001-07-01 Daniel Berlin <dan@cgsoftware.com>
2163
2164 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
2165
12ab83a9
NC
21662001-06-29 James Cownie <jcownie@etnus.com>
2167
2168 * readelf.c: Support DWARF 2.1 attributes.
2169
a6e9f9df
AM
21702001-06-28 Alan Modra <amodra@bigpond.net.au>
2171
2172 * readelf.c (GET_DATA_ALLOC): Remove.
2173 (GET_DATA): Remove.
2174 (get_data): New function combining above macros, with an extra
2175 test for zero size.
2176 (slurp_rela_relocs): Use get_data, and catch error return.
2177 (slurp_rel_relocs): Likewise.
2178 (get_32bit_program_headers): Likewise.
2179 (get_64bit_program_headers): Likewise.
2180 (get_32bit_section_headers): Likewise.
2181 (get_64bit_section_headers): Likewise.
2182 (get_32bit_elf_symbols): Likewise.
2183 (get_64bit_elf_symbols): Likewise.
2184 (process_section_headers): Likewise.
2185 (process_relocs): Likewise.
2186 (slurp_ia64_unwind_table): Likewise.
2187 (process_unwind): Likewise.
2188 (get_32bit_dynamic_segment): Likewise.
2189 (get_64bit_dynamic_segment): Likewise.
2190 (process_dynamic_segment): Likewise.
2191 (process_version_sections): Likewise.
2192 (process_symbol_table): Likewise.
2193 (dump_section): Likewise.
2194 (display_debug_info): Likewise.
2195 (display_debug_section): Likewise.
2196 (process_section_contents): Likewise.
2197 (process_corefile_note_segment): Likewise.
2198 (process_mips_specific): Likewise. Also free econf32, econf64.
2199
af3fc3bc
AM
22002001-06-25 Alan Modra <amodra@bigpond.net.au>
2201
2202 * readelf.c (dump_relocations): Print "bad symbol index" if
2203 symtab == NULL with non-zero symtab_index.
2204 (process_relocs): Don't bomb if reloc section has no symsec.
2205
6d900bf6
L
22062001-06-24 H.J. Lu <hjl@gnu.org>
2207
2208 * objcopy.c (strip_main): Revert the change made on 2001-05-30
2209 by accident.
2210 (copy_main): Apply the the change made to strip_main on
2211 2001-05-30 by accident.
2212
49b4e386
AJ
22132001-06-23 Andreas Jaeger <aj@suse.de>
2214
2215 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
2216 parameter 'code'.
2217 (unw_decode_x2): Likewise.
2218 (unw_decode_x3): Likewise.
2219 (unw_decode_x4): Likewise.
2220
d8dc71e3
BE
22212001-06-23 Ben Elliston <bje@redhat.com>
2222
2223 * MAINTAINERS: Add myself as M88k maintainer.
2224
af3bdff7
NC
22252001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
2226
2227 * objcopy.c (strip_main): Support -o or --output-file command lien
2228 switch.
2229
105e7211
L
22302001-06-19 H.J. Lu <hjl@gnu.org>
2231
2232 * doc/Makefile.in: Regenerated.
2233
c45021f2
NC
22342001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
2235
2236 * readelf.c: Restore formatting.
2237
22382001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
2239
bb279dc0
ZW
2240 * Makefile.am: Move documentation into doc subdirectory.
2241 * Makefile.in: Regenerated.
c45021f2 2242 * binutils.texi: Move into doc subdirectory.
bb279dc0
ZW
2243 * addr2line.1: Removed.
2244 * ar.1: Likewise.
2245 * dlltool.1: Likewise.
2246 * nlmconv.1: Likewise.
2247 * nm.1: Likewise.
2248 * objcopy.1: Likewise.
2249 * objdump.1: Likewise.
2250 * ranlib.1: Likewise.
2251 * readelf.1: Likewise.
2252 * size.1: Likewise.
2253 * strings.1: Likewise.
2254 * strip.1: Likewise.
2255 * windres.1: Likewise.
2256 * cxxfilt.man: Likewise.
c45021f2
NC
2257 * doc: New Directory.
2258 * doc/Makefile.am: New file.
2259 * doc/Makefile.in: Generate.
2260
09ad7db3
AM
22612001-06-09 Alan Modra <amodra@bigpond.net.au>
2262
2263 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
2264
936260fe
AM
22652001-06-01 Alan Modra <amodra@bigpond.net.au>
2266
2267 * MAINTAINERS: Update my email address.
2268
16b2b71c
NC
22692001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
2270
2271 * objcopy.c: Add new switches: --keep-global-symbol,
2272 --keep-symbols, --localize-symbols, --keep-global-symbols and
2273 --weaken-symbols.
2274 * binutils.texi: Document new switches.
2275 * objcopy.1: Regenerate.
2276 * NEWS: Announce new feature.
2277
7036c0e1
AJ
22782001-05-28 Andreas Jaeger <aj@suse.de>
2279
2280 * readelf.c (display_debug_frames): Fix warnings: Remove unused
2281 variables, fix format strings.
2282
76a406e5
NC
22832001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
2284
2285 * objdump.c (disassemble_bytes): Remove section VMA adjustment
2286 when computing the address of the line to show.
2287
31b6fca6
RH
22882001-05-16 Richard Henderson <rth@redhat.com>
2289
2290 * readelf.c (do_debug_frames_interp): New.
2291 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
2292 (byte_get_big_endian): Likewise.
2293 (parse_args) ['F']: Set do_debug_frames_interp.
2294 (Frame_Chunk): Make data_factor signed, add fde_encoding.
2295 (frame_display_row): Don't trunc pc_begin to int.
2296 (size_of_encoded_value): New.
2297 (display_debug_frames): Handle 64-bit targets. Print raw data
2298 unless do_debug_frames_interp.
2299 (debug_displays): Remove duplicate .debug_frame.
2300
4fe85591
NC
23012001-05-15 Ralf Baechle <ralf@gnu.org>
2302
2303 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
2304 The former constant was never in active use and is used otherwise
2305 by the ABI.
2306
579f31ac
JJ
23072001-05-11 Jakub Jelinek <jakub@redhat.com>
2308
2309 * readelf.c (process_unwind): Print all unwind sections, not just
2310 one.
2311
78f4a3f7
AM
23122001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2313
2314 * readelf.c (process_unwind): Remove const specifier.
2315
1c529ca6
NC
23162001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
2317
2318 * strings.c (isgraphic): Do not use isascii() unless it is needed
2319 for isprint() to work.
2320 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
2321
87e6d782
NC
23222001-04-27 Johan Rydberg <jrydberg@opencores.org>
2323
bb279dc0 2324 * NEWS: Announce support for OpenRISC.
87e6d782 2325
4bd3d870 23262001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
49b4e386
AJ
2327
2328 * dlltool.c (do_default_excludes): Initialise to true.
2329
21211521
AM
23302001-04-10 Alan Modra <amodra@one.net.au>
2331
2332 * MAINTAINERS: Update my email address
2333 * nm.c (print_symbol_info_bsd): Use a simple printf string.
2334
0c66b61e 23352001-04-05 Hans-Peter Nilsson <hp@axis.com>
ff94ebf2
HPN
2336
2337 * readelf.c (display_debug_lines): Fix typo for "Prologue".
2338
e58d53af
L
23392001-03-30 H.J. Lu <hjl@gnu.org>
2340
2341 * readelf.c (process_unwind): Just return if do_unwind is 0.
2342
bee72332
DD
23432001-03-28 Roger Sayle <roger@metaphorics.com>
2344
2345 * dlltool.c (make_one_lib_file): Fix section flags for
2346 .text, .data and .bss in stub ds*.o files to match those
2347 generated by gas.
2348
f1467e33
L
23492001-03-29 H.J. Lu <hjl@gnu.org>
2350
2351 * readelf.c (process_unwind): Only do unwind sections for
2352 IA64.
2353
1c6fb4fe
L
23542001-03-28 H.J. Lu <hjl@gnu.org>
2355
2356 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
2357 * Makefile.in: Regenerate.
2358
0879a67a
AJ
23592001-03-26 Andreas Jaeger <aj@suse.de>
2360
2361 * binutils.texi (nm): Fix texi syntax.
2362
0285c67d
NC
23632001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2364
2365 * binutils.texi: Put @c man begin and @c man end indications
2366 to generate man pages using texi2pod and pod2man. Put @c man title
2367 to identify each man. Add SEEALSO entries.
2368 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
2369 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
2370 sort the list.
2371 (*.1): Build the man pages from binutils.texi.
2372 * Makefile.in: Regenerate.
2373
04847a4d
CF
23742001-03-13 Eric Kohl <ekohl@rz-online.de>
2375
2376 * defparse.y (opt_equal_name): allow "." in name.
2377 * dlltool.c (def_exports): Added ability to generate forwarded exports.
2378 (gen_exp_file): Likewise.
2379
43a0748c
NC
23802001-03-12 Stefan Geuken <mail@stefan-geuken.de>
2381
2382 * NEWS: Document addition of -B switch to objcopy.
2383 * binutils.texi: Document addition of -B switch to objcopy.
2384 * objcopy.c: (copy_options): Add --binary-architecture.
2385 (copy_usage): Document -B/--binary-architecture.
2386 (copy_main): Support -B/--binary-architecture. Set
2387 bfd_external_binary_architecture.
0879a67a 2388
b7498e0e
NC
23892001-03-11 Andreas Jaeger <aj@suse.de>
2390
2391 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
2392 (dump_relocations): Likewise.
2393 (get_machine_name): Likewise.
2394
a59e3bd7
NC
23952001-02-28 Nick Clifton <nickc@redhat.com>
2396
2397 * readelf.c: (struct unw_aux_info): Remove const modifier for
2398 'strtab' field.
2399 (process_unwind): Remove non-K&R compliant LHS type cast in call
2400 to GET_DATA_ALLOC macro.
2401
a5bcd848
PB
24022001-02-28 Philip Blundell <pb@futuretv.com>
2403
2404 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
2405 ABI is in use; remove ambiguity between the "unknown" EABI and
2406 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
2407 renamed EF_xx constants.
2408
27b7e12d
AM
24092001-02-27 Alan Modra <alan@linuxcare.com.au>
2410
2411 * configure.in (BFD_VERSION): New.
2412 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
2413 * configure: Regenerate.
2414 * Makefile.am: Run "make dep-am"
2415 * Makefile.in: Regenerate.
2416
a9f10786
NC
24172001-02-14 Nick Clifton <nickc@redhat.com>
2418
2419 * MAINTAINERS: Add "Obvious Fix" rule.
2420
3c44da9a
MS
24212001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2422
2423 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
2424 literal concatenation.
2425
ecd03389
MS
24262001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2427
2428 * readelf.c (struct unw_aux_info): Remove const from the info member.
2429 (process_unwind): Don't type-cast the third argument to the
2430 GET_DATA_ALLOC macro.
2431
88ec60c7
NC
24322001-02-11 Nick Clifton <nickc@redhat.com>
2433
2434 * readelf.c (dump_relocations): Free corrected allocated
2435 array.
2436 (process_unwind): Fix compile time warning.
2437
f5e21966
NC
24382001-02-10 Nick Clifton <nickc@redhat.com>
2439
2440 * binutils.texi: Document new --unwind option to readelf.
2441
a85d7ed0
NC
24422001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
2443
2444 * readelf.c: Add linux target for S/390.
2445
7bb10502
AM
24462001-02-10 Alan Modra <alan@linuxcare.com.au>
2447
2448 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
2449 printf is a macro.
2450
8ca8f343
HPN
24512001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
2452
2453 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
2454 * aclocal.m4: Regenerate.
2455 * configure: Regenerate.
2456
7340082d
NC
24572001-02-07 Todd Vierling <tv@wasabisystems.com>
2458
2459 * bucomm.c (bfd_target_vector): Change extern array to pointer.
2460 * objdump.c (bfd_target_vector): Likewise.
2461
4d6ed7c8
NC
24622001-02-07 David Mosberger <davidm@hpl.hp.com>
2463
2464 * readelf.c (process_unwind): New function.
2465 (slurp_ia64_unwind_table): Ditto.
2466 (dump_ia64_unwind): Ditto.
2467 (find_symbol_for_address): Ditto.
2468 (slurp_rela_relocs): New function (split off from dump_relocations()).
2469 (slurp_rel_relocs): Ditto.
2470 (parse_args): Handle '-u' option.
2471
2472 * unwind-ia64.c: New file.
2473 * unwind-ia64.h: New file.
2474 * Makefile.am: Include unwind-ia64.c in readelf build.
2475 * Makefile.in: Regenerate.
7340082d 2476 * po/binutils.pot: Regenerate.
4d6ed7c8 2477
c7217458
PB
24782001-02-04 Philip Blundell <philb@gnu.org>
2479
2480 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
2481 * configure: Regenerate.
2482
956eedd4
AM
24832001-01-31 Steve deRosier <sderosier@vari-lite.com>
2484
2485 * ieee.c (ieee_add_bb11): Don't check for backslashes
2486 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
2487
8855cbca
AM
24882001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
2489
c7f2731e
AM
2490 * ieee.c: Update copyright.
2491 (ieee_start_compilation_unit): Don't check for backslashes
2492 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
2493
8855cbca
AM
2494 * stabs.c: Update copyright. Include "filenames.h".
2495 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
2496
329de803 24972001-01-23 Jakub Jelinek <jakub@redhat.com>
00d93f34
JJ
2498
2499 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
2500 sections are present before using them. Remove code duplication.
2501 (process_symbol_table): Check if VERDEF or VERNEED sections are
2502 present before using them.
2503
23719f39
NC
25042001-01-17 Nick Clifton <nickc@redhat.com>
2505
2506 * objcopy.c (copy_object): Fail if attempting to convert the
2507 endianness of the input object file.
2508
2509 * binutils.texi: Explain that objcopy cannot convert endianness.
c7f2731e 2510
f726e849
NC
25112001-01-16 Nick Clifton <nickc@redhat.com>
2512
2513 * readelf.c (string_table_length): New variable.
2514 (SECTION_NAME): Catch out of range indices and missing section
2515 pointers.
2516 (process_section_headers): Delete useless local variable
2517 string_table_offset. Set the value of string_table_length
2518 after loading the string table.
2519 (process_mips_specific): Use SECTION_NAME macro.
2520 (process_file): Set string_table_length to 0 when it is freed.
2521
d0398d6a
NC
25222001-01-12 Nick Clifton <nickc@redhat.com>
2523
2524 * version.c (print_version): Update copyright date.
2525
0d2bcfaf
NC
25262001-01-11 Peter Targett <peter.targett@arccores.com>
2527
2528 * readelf.c (dump_relocations): Include selection with EM_ARC.
2529 (get_machine_name) Update name to "ARC".
2530
8b1e6df3
NC
25312001-01-09 Nick Clifton <nickc@redhat.com>
2532
2533 * Makefile.am: Add rule to build objdump.o from objdump.c and
2534 using OBJDUMP_DEFS.
2535 * Makefile.in: Regenerate.
2536
2537 * configure.in: Define OBJDUMP_DEFS. Default to empty.
2538 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
2539 -DDISASSEMBLER_NEEDS_RELOCS.
34cc70e3 2540 * configure: Regenerate.
8b1e6df3
NC
2541
2542 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
2543 is defined read in the relocs even if dump_reloc_info is
2544 false.
2545
2f952d20
PB
25462001-01-07 Philip Blundell <philb@gnu.org>
2547
2548 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
2549 `bug-binutils'.
2550 * README: Likewise.
2551
a8c548cb
NC
25522000-12-19 Nick Clifton <nickc@redhat.com>
2553
2554 * dlltool.c: Add missing support for arm-epoc-pe.
2555 * configure.in: Add missing support for arm-epoc-pe.
2556 * configure: Regenerate.
2557
cc5fda35
NC
25582000-12-15 Nick Clifton <nickc@redhat.com>
2559
2560 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
2561 Mode parts of the x86 port.
2562
bcedfee6
NC
25632000-12-04 Andreas Jaeger <aj@suse.de>
2564
2565 * readelf.c (guess_is_rela): Add EM_X86_64.
2566 (dump_relocations): Add EM_X86_64.
2567 (get_machine_name): Add EM_X86_64.
2568 Include "elf/x86-64.h".
2569
584da044
NC
25702000-12-12 Nick Clifton <nickc@redhat.com>
2571
2572 * readelf.c: Fix formatting.
2573
7559e86e 25742000-12-11 Jan Hubicka <jh@suse.cz>
b8355149
JH
2575
2576 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
2577
a98cc2b2
AH
25782000-12-07 Andrew Haley <aph@redhat.com>
2579
2580 * readelf.c (display_debug_frames): Only display columns that are
2581 referenced by the frame debug info.
2582
c7987a69
NC
25832000-12-05 Nick Clifton <nickc@redhat.com>
2584
2585 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
2586
09fd7e38
JM
25872000-12-04 Jason Merrill <jason@redhat.com>
2588
2589 * readelf.c (process_section_headers): Handle linkonce.wi sections.
2590 (display_debug_section): Likewise.
2591 (display_debug_info): Display CU header before bailing.
2592
e7af610e
NC
25932000-12-01 Chris Demetriou <cgd@sibyte.com>
2594
09fd7e38
JM
2595 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
2596 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
2597 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
e7af610e 2598
09fd7e38
JM
2599 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
2600 and E_MIPS_ARCH_64.
84ea6cf2 2601
09fd7e38
JM
2602 * readelf.c (get_machine_flags): Add case for
2603 E_MIPS_MACH_SB1.
c6c98b38 2604
75066968
DD
26052000-11-30 Richard Earnshaw <rearnsha@arm.com>
2606
2607 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
2608
5c4666ea
HPN
26092000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
2610