* readelf.c (display_debug_info): Apply RELA relocations on the
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
adab8cdc
AO
12003-04-09 Alexandre Oliva <aoliva@redhat.com>
2
3 * readelf.c (display_debug_info): Apply RELA relocations on the
4 entire section.
5 (byte_put_little_endian, byte_put_big_endian): New functions.
6 (byte_put): New variable.
7 (get_file_header): Initialize it.
8
3077f5d8
NC
92003-04-05 Dimitrie O. Paun <dpaun@rogers.com>
10
11 * windres.c: Add -l for compatibility with wrc, and rc.
12 Use the short option as a key for long options that have
13 a synonymous short option.
14 * doc/binutils.texi: Added -l to the list of options.
15
29b058f1
NC
162003-04-03 Dimitrie O. Paun <dpaun@rogers.com>
17
3077f5d8
NC
18 * windres.c: Add -U for compatibility with wrc, rc, and cpp.
19 (main): Just pass the -U option down to the preprocessor.
20 * doc/binutils.texi: Added -U to the list of options.
29b058f1 21
3126d709
CF
222003-04-01 Dimitrie O. Paun <dpaun@rogers.com>
23
24 * windres.c (usage): Report -r option.
25 (main): Ignore the -r option.
26 * doc/binutils.texi: Add -r to the list of options.
27
c46ac711
BW
282003-04-01 Bob Wilson <bob.wilson@acm.org>
29
30 * MAINTAINERS: Add myself as Xtensa maintainer.
31
88da6820
NC
322003-04-01 Bob Wilson <bob.wilson@acm.org>
33
3077f5d8
NC
34 * readelf.c: Include "elf/xtensa.h".
35 (guess_is_rela): Add EM_XTENSA and EM_XTENSA_OLD to list of
36 targets that use RELA relocations.
37 (dump_relocations): Call elf_xtensa_reloc_type for
38 EM_XTENSA and EM_XTENSA_OLD.
39 (get_machine_name): Handle EM_XTENSA and EM_XTENSA_OLD.
88da6820 40
27a710e5
NC
412003-04-01 Nick Clifton <nickc@redhat.com>
42
43 * configure.in: Change "arm-pe*" to "arm-*-pe*". Similarly for
44 thumb-pe*, mcore-pe and mcore-*elf.
45 * configure: Regenerate.
46
335a1869
AO
472003-03-31 Alexandre Oliva <aoliva@redhat.com>
48
49 * objdump.c (dump_data): Don't truncate the address to long; make
50 the width large enough, and uniform for all entries in a section.
51
566b0d53
L
522003-03-31 H.J. Lu <hjl@gnu.org>
53
54 * readelf.c: Include "libiberty.h".
55 (dynamic_relocations): New.
56 (process_relocs): Properly handle dynamic relocation.
57 (process_dynamic_segment): Fill relocation elements in
58 dynamic_info.
59
ee42cf8c
NC
602003-03-31 Kevin Buettner <kevinb@redhat.com>
61
62 * readelf.c (read_and_display_attr, read_and_display_attr_value):
63 Add new arguments ``offset_size'' and ``dwarf_version''. Adjust
64 all callers.
65 (display_debug_lines, display_debug_pubnames, display_debug_info)
66 (display_debug_aranges, display_debug_frames, read_and_display_attr)
67 (read_and_display_attr_value): Add 64-bit DWARF support.
68
7adbf450
NC
692003-03-31 Ian Lance Taylor <ian@airs.com>
70
71 * rcparse.y: Replace uses of 'optstringrc' with 'optresid'.
72 (optresid): Handle a resource id that can be a string or a number.
73 * resrc.c (define_control): Replace 'text' parameter with 'iid' a
74 struct res_id.
75 (define_icon_control): Pass a struct res_id to define_control.
76 * windres.h (define_control): Change prototype.
77
06d86cf7
NC
782003-03-24 Elias Athanasopoulos <elathan@phys.uoa.gr>
79
7c29036b
NC
80 * objcopy (OPTION_FORMATS_INFO): Define.
81 (strip_options): Add "info"/OPTION_FORMATS_INFO option.
82 (copy_options): Likewise.
83 (strip_usage): Add "--info" to usage.
84 (copy_usage): Likewise.
85 (strip_main): Declare formats_info. Iniatilize it to FALSE.
86 Handle "info".
87 (copy_main). Likewise.
88 * doc/binutils.texi. Document the "--info" option for
89 objcopy/strip.
90 * NEWS: Mention the new command line switch.
91
06d86cf7
NC
92 * objdump.c (endian_string): Move to bucomm.c.
93 (display_info): Likewise.
94 (display_target_list): Likewise.
95 (display_info_table): Likewise.
96 (display_target_tables): Likewise.
97 (main): Assign the return value of display_info to exit_status.
98 * bucomm.c: Include bfdver.h and libbfd.h
99 (display_target_list): Call bfd_nonfatal instead of nonfatal and
100 return 0 on a non-fatal error, 1 on success.
101 (display_info_table): Likewise.
102 * bucomm.h (display_info): Provide a prototype.
103 * Makefile.am (bucomm.o): Add dependencies on bfdver.h and
104 libbfd.h.
105 * Makefile.in: Regenerate.
106
7adbf450 1072003-03-22 Danny Smith <dannysmith@users.sourceforge.net>
2630b4ca
DS
108
109 * dlltool.c (gen_def_file): Put demangled name comments on
110 own line preceding export name.
111
98a91d6a
NC
1122003-03-17 Nick Clifton <nickc@redhat.com>
113
114 * objdump.c (disassemble_data): Use disasm_info.fprintf_func not
115 printf for emitting new lines.
116
06a30c77
NC
1172003-03-16 Elias Athanasopoulos <elathan@phys.uoa.gr>
118
119 * nm.c (print_symbol_info_bsd): Print the symbol's size instead of
120 the symbol's value when --size-sort is used, unless -S is used.
121 doc/binutils.texi (--size-sort): For non-bsd formats both the
122 value and size of the symbols are displayed.
123
ab829d36
NC
1242003-03-13 Nick Clifton <nickc@redhat.com>
125
126 * po/da.po: Update.
127
634847c9
NC
1282003-03-12 Nick Clifton <nickc@redhat.com>
129
130 * MAINTAINERS: Remove Peter Targett as ARC maintainer.
131
3889f9eb
BE
1322003-03-10 Ben Elliston <bje@wasabisystems.com>
133
134 * MAINTAINERS: Update my mail address.
135
7eb5191a
NC
1362003-03-06 Elias Athanasopoulos <elathan@phys.uoa.gr>
137
138 * stabs.c (BYTES_IN_WORD): Remove definition.
139 * wrstabs.c (BYTES_IN_WORD): Likewise.
140
e3b83c8f
NC
1412003-03-04 Nick Clifton <nickc@redhat.com>
142
143 * nm.c (main): Print a warning message if --size-sort and
144 --undefined-only are used together.
145
1462003-03-04 Elias Athanasopoulos <elathan@phys.uoa.gr>
147
148 * nm.c (print_symbol): Remove check for undefined_only.
149
a9d68a1e
NC
1502003-03-03 Nick Clifton <nickc@redhat.com>
151
152 * po/da.po: Installed latest translation.
153
a99996bb
NC
1542003-02-24 Nick Clifton <nickc@redhat.com>
155
156 * README: Update binutils references to 2.13.
157 Add paragraph about using --disable-nls.
158
76ed1927
NC
1592003-02-24 Elias Athanasopoulos <elathan@phys.uoa.gr>
160
161 * doc/binutils.texi (nm --size-sort): Update.
162
0100f33b
JW
1632003-02-21 James E Wilson <wilson@tuliptree.org>
164
165 * MAINTAINERS: Update email address.
166
ecc51f48
NC
1672003-02-21 Ian Wienand <ianw@gelato.unsw.edu.au>
168
169 * readelf.c (get_ia64_dynamic_type): New function.
170 (dynamic_segment_ia64_val): New function.
171 (get_dynamic_type): If machine type is EM_IA_64 call
172 get_ia64_dynamic_val.
173 (get_ia64_section_type_name): Handle sections with types in the
174 SHT_IA_64_LOPSREG to SHT_IA_64_HIPSREG range.
175 (get_dynamic_flags): If machine type is EM_IA_64 call
176 dynamic_segment_ia64_val.
177
947ed062
NC
1782003-02-21 Bob Wilson <bob.wilson@acm.org>
179
180 * doc/binutils.texi: Fix typos and obvious texinfo mistakes. Make
181 section title capitalization more consistent. Update descriptions
182 of various options to be consistent with the code. Fix errors and
183 incomplete list in the description of c++filt format options. Remove
184 information about the linker. Change to be more polite about poor
185 bug reports. Replace FDL appendix with include of fdl.texi.
186 * doc/fdl.texi: New file.
187
66491ebc
AM
1882003-02-21 Roger Sayle <roger@eyesopen.com>
189
190 * objcopy.c (filter_symbols): Fix compilation problems with
191 HP-UX's C compiler.
192
0e11a9e9
CF
1932003-02-19 Christopher Faylor <cgf@redhat.com>
194
195 * rclex.l (handle_quotes): Fix minor formatting problems introduced in
196 previous change.
197
6e5f5201
CF
1982003-02-19 Mark Blackburn <marklist@fangorn.ca>
199
0e11a9e9 200 * rclex.l (handle_quotes): Handle strings spanning more than one line.
6e5f5201 201
f0c8c24a
NC
2022003-02-12 Bob Wilson <bob.wilson@acm.org>
203
204 * nm.c (usage): Add `java' and `gnat' demangle styles and make
205 quotes consistent.
206 * objdump.c (usage): Ditto. Also fix some typos.
207
d3c543fd
NC
208 * readelf.c (parse_args): Include 'H' option in call to getopt_long.
209
fe2c4142
NC
210 * debug.c (debug_record_variable): Handle global register variables.
211
6de15b9e
NC
212 * stabs.c (parse_stab): For N_SLINE only include
213 function_start_offset if the symbol is within a function;
214 otherwise, the value is absolute.
215
fde78edd
NC
2162003-02-10 Nick Clifton <nickc@redhat.com>
217
218 * readelf.c (decode_ARM_machine_flags): Handle the
219 EF_ARM_MAVERICK_FLOAT flag.
220
22d82235
AS
2212003-02-04 Andreas Schwab <schwab@suse.de>
222
223 * rddbg.c (read_section_stabs_debugging_info): Cast ptrdiff_t to
224 long and use %ld in printf format.
225
1a677ea8
RS
2262003-01-28 Richard Sandiford <rsandifo@redhat.com>
227
228 * readelf.c (dump_relocations): Reorder the r_info field for
229 little-endian mips elf64. Move #ifdef BFD64 to cover the new code.
230
8dde85fc
NC
2312003-01-21 Daniel Berlin <dan@dberlin.org>
232
233 * readelf.c (display_debug_loc): Skip address base changes.
234
c6f8bb1e
AM
2352003-01-17 Fabio Alemagna <falemagn@aros.org>
236
237 * readelf.c (get_osabi_name): Handle ELFOSABI_AROS, ELFOSABI_OPENVMS
238 and ELFOSABI_NSK.
239
c833c019
AM
2402003-01-16 Alan Modra <amodra@bigpond.net.au>
241
242 * readelf.c: Include elf/ppc64.h.
243 (dump_relocations <EM_PPC64>): Use elf_ppc64_reloc_type.
244 * Makefile.am: Run "make dep-am".
245 * Makefile.in: Regenerate.
246
3b36097d
SC
2472003-01-02 Ben Elliston <bje@redhat.com>
248
249 * readelf.c (guess_is_rela): Handle EM_IQ2000.
250 (get_machine_name): Likewise.
251 (dump_relocations): Likewise.
252 * NEWS: Mention IQ2000 support.
253
cb44e358
RS
2542003-01-02 Richard Sandiford <rsandifo@redhat.com>
255
256 * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_32R2.
257
af7ee8bf
CD
2582002-12-30 Chris Demetriou <cgd@broadcom.com>
259
260 * doc/binutils.texi (objdump): Note MIPS HWR (Hardware Register)
261 changes in MIPS -M options.
262
2469cfa2
NC
2632002-12-30 Dmitry Diky <diwil@mail.ru>
264
265 * Makefile.am: Add msp430 target.
266 * Makefile.in: Regenerate.
267 * readelf.c: Add support for msp430 target.
268
640c0ccd
CD
2692002-12-27 Chris Demetriou <cgd@broadcom.com>
270
271 * doc/binutils.texi (objdump): Document MIPS -M options.
272
59f14fc0
AS
2732002-12-23 Andreas Schwab <schwab@suse.de>
274
275 * readelf.c (main): Reset dump request after each file.
276
312b768e
NC
2772002-12-23 Nick Clifton <nickc@redhat.com>
278
279 * nlmconv.c (main): Pass TRUE as third argument to
280 bfd_arch_get_compatible.
281
8745eafa
NC
2822002-12-23 Nick Clifton <nickc@redhat.com>
283
284 * strings.c (isgraphic): Replace definition with STRING_ISGRAPHIC
285 macro. Handle 'S' encoding, accepting 8-bit characters.
286 (main): Parse 'S' encoding.
287 (get_char): Accept 'S' encoding.
288 (print_strings): Use STRING_ISGRAPHIC.
289 (usage): Document support of 'S' encoding.
290 * doc/binutils.texi: Document support of 'S' encoding/
291 * NEWS: Mention new feature.
292
08213ebb
AM
2932002-12-20 Alan Modra <amodra@bigpond.net.au>
294
295 * README <building ar>: Don't use libibery's needed_list or
296 required_list, instead link libiberty/*.o.
297
b9e5d8e5
KH
2982002-12-19 Kazu Hirata <kazu@cs.umass.edu>
299
300 * doc/binutils.texi: Fix typos.
301
c51238bc
DA
3022002-12-14 John David Anglin <dave@hiauly1.hia.nrc.ca>
303
304 * doc/binutils.texi: Add missing parenthesis.
305
d7fb0dd2
NC
3062002-12-15 Nick Kelsey <nickk@ubicom.com>
307
308 * objcopy.c: Add --prefix-symbols=<prefix> option to rename all
309 symbols by adding the given prefix to the begining of the symbol
310 name. This is useful to provide name space seperation regardless
311 of how the object file was created. Added --prefix-sections=
312 <prefix> and --prefix-alloc-sections=<prefix> options to rename all
313 sections (or all sections with the alloc flag set) by adding the given
314 prefix to the begining of the symbol name.
315 * NEWS: Mention this new feature.
316 * doc/binutils.texi: Document this new feature.
317
55b9cdf1
AM
3182002-12-13 Alan Modra <amodra@bigpond.net.au>
319
320 * dlltool.c (mcore_elf_gen_out_file): Replace all occurrences of
321 dyn_string_append with dyn_string_append_cstr.
322
323 * emul_aix.c (ar_emul_aix_create): Remove unused function.
324
84ad6ede
NC
3252002-12-10 James Cownie <jcownie@etnus.com>
326
327 * readelf.h (get_TAG_name, get_AT_name,
704afb58 328 read_and_display_attr_value): Add support for UPC extensions to
84ad6ede
NC
329 DWARF2 spec.
330 * NEWS: Mention this new support.
331
7d036af2
AM
3322002-12-08 Alan Modra <amodra@bigpond.net.au>
333
334 * NEWS: Mention that bfd no longer declares a "boolean" type.
335
3e8bba36
AM
3362002-12-07 Alan Modra <amodra@bigpond.net.au>
337
338 * readelf.c (process_program_headers): When setting loadaddr, don't
339 assume segment size is 4k. Use p_align instead.
340 (loadaddr): Change from int to long.
341 (dynamic_addr, dynamic_info, version_info): Likewise.
342 (process_dynamic_segment <syminsz>): Likewise.
343 (process_dynamic_segment): Adjust print format string.
344 (rela_addr, rela_size): Delete.
345 (process_relocs): Formatting.
346
d070dab9
JW
3472002-12-05 Jim Wilson <wilson@redhat.com>
348
349 * configure.in (OBJDUMP_DEFS): Define SKIP_ZEROES as 16 for IA-64.
350 * configure: Regenerate.
351
45bcbdb1
ILT
3522002-12-04 Ian Lance Taylor <ian@airs.com>
353
354 * MAINTAINERS: Change e-mail address back to airs.com.
355
42ea8716
AH
3562002-12-04 Aldy Hernandez <aldyh@redhat.com>
357
358 * MAINTAINERS: Add self.
359
b34976b6
AM
3602002-11-30 Alan Modra <amodra@bigpond.net.au>
361
362 * addr2line.c, ar.c, arsup.c, binemul.c, binemul.h, bucomm.c, bucomm.h,
363 budbg.h, debug.c, debug.h, dlltool.c, emul_aix.c, ieee.c, nlmconv.c,
364 nlmconv.h, nlmheader.y, nm.c, objcopy.c, objdump.c, prdbg.c, rdcoff.c,
365 rddbg.c, readelf.c, rename.c, size.c, stabs.c, strings.c,
366 unwind-ia64.h, wrstabs.c: Replace boolean with bfd_boolean, true with
367 TRUE, false with FALSE. Simplify comparisons of bfd_boolean vars
368 with TRUE/FALSE. Formatting.
369
c8286bd1
JJ
3702002-11-29 Jakub Jelinek <jakub@redhat.com>
371
372 * readelf.c Replace occurrences of Elf32_Internal_* and
373 Elf64_Internal_* with Elf_Internal_*.
374 (slurp_rel_relocs): Change Elf_Internal_Rel to Elf_Internal_Rela.
375 Zero r_addend fields.
376 (dump_relocations): Remove relas variable, change Elf_Internal_Rel to
377 Elf_Internal_Rela.
378
92acdfaf
NC
3792002-11-23 Nick Clifton <nickc@redhat.com>
380
381 * size.c (usage): Fix typo describing switch for hex format.
382
48c5eb8a
SS
3832002-11-18 Svein E. Seldal <Svein.Seldal@solidas.com>
384
385 * testsuite/binutils-all/objcopy.exp: Disable tic4x from test
386 * testsuite/binutils-all/objdump.exp: Setup proper values for tic4x
387 testcase
388
2f62977e
NC
3892002-11-14 Nick Clifton <nickc@redhat.com>
390
391 * readelf.c (process_program_headers): Add comment about return
392 value. Ensure that 0 is returned if the headers are not loaded.
393 (process_file): If process_section_headers failed to load the
394 headers disable any tests that rely upon them. Similarly for
395 process_program_headers.
396
cd24c222
NC
3972002-11-12 Nick Clifton <nickc@redhat.com>
398
399 * po/da.po: Updated Danish translation.
400
f3931575
AM
4012002-11-12 Klee Dienes <kdienes@apple.com>
402
403 * rddbg.c (read_section_stabs_debugging_info): Also recognize
404 LC_SYMTAB.stab/LC_SYMTAB.stabstr as a valid pair of sections.
405
b54e7460
CF
4062002-11-11 Christopher Faylor <cgf@redhat.com>
407
408 * MAINTAINERS: Reinstate DJ Delorie as COFF maintainer. Drop COFF from
409 cgf maintainership.
410
4f17cc13
CF
4112002-11-11 Christopher Faylor <cgf@redhat.com>
412
413 * MAINTAINERS: Replace DJ Delorie as PE/COFF maintainer.
414
232e7cb8
NC
4152002-11-07 Nick Clifton <nickc@redhat.com>
416
cd24c222 417 * configure.in (ALL_LINGUAS): Add 'da'.
235c4794
NC
418 * configure: Regenerate.
419 * po/da.po: New Danish translation.
420
232e7cb8
NC
421 * readelf.c (get_symbol_index_type): Revert part of previous
422 patch: Display unknown symbol types in decimal, not hex.
423
c9e38879
NC
4242002-11-07 Danny Smith <dannysmith@users.sourceforge.net>
425
426 * dlltool.c (add_excludes): Don't prefix excluded fastcall
427 symbols with underscore.
428 (xlate): Ignore add_underscore for decorated fastcall symbols.
429
4302002-11-07 Eric Kohl <ekohl@rz-online.de>
431
432 * deflex.l: Accept '@' as first character of an ID.
433 * dlltool.c (gen_exp_file): Use existing '@' prefix rather than
434 ASM_PREFIX for fastcall symbols.
435 (scan_drectve_symbols): Handle fastcall symbols when generating
436 undecorated aliases for symbols in drectve section.
437 (scan_filtered_symbols): Likewise, with export-all.
438 (xlate): Likewise, with --kill-at.
439 (make_imp_label): New function to handle fastcall symbols
440 correctly.
441 (make_one_lib_file): Use make_imp_label instead of make_label
442 for imp symbols.
443
a700dc3b
SS
4442002-11-06 Svein E. Seldal <Svein.Seldal@solidas.com>
445
446 * MAINTAINERS: Add self as TIC4X maintainer.
447
5cf1065c
NC
4482002-11-06 Hiroyuki Machida <machida@sm.sony.co.jp>
449
450 * readelf.c (get_symbol_index_type): Add hex number to
49814ed0
NC
451 PROCESSOR-specific, OS-specific, reserved and unknown symbol
452 types.
5cf1065c 453
f1ef08cb
AM
4542002-11-04 Alan Modra <amodra@bigpond.net.au>
455
456 * readelf.c (byte_get_little_endian): Comment typo fix.
457 (print_symbol): Constify "symbol" arg. Don't pass "symbol" to printf
458 as the format string.
459 (dump_relocations): Correct section sym names.
460 (process_section_headers): Clear symtab_shndx_hdr.
461 (read_and_display_attr_value): Don't pass indirect string to printf
462 as the format string.
463 (display_debug_frames): Indicate when zero terminator found. Decode
464 DW_EH_PE_pcrel addresses.
465
1a09a22c
NC
4662002-10-23 Svein E. Seldal <Svein.Seldal@solidas.com>
467
468 * configure.in: Define SKIP_ZEROES as 32 for tic4x target in
469 order to ensure proper disassembly of the valid 0-value opcode.
470 * configure: Regenerate.
471 * aclocal.m4: Regenerate.
472 * config.in: Regenerate.
473 * configure.in: Regenerate.
474 * doc/Makefile.in: Regenerate.
475 * po/binutils.pot: Regenerate.
476
c254c557
KK
4772002-10-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
478
479 * MAINTAINERS: Add self as SH maintainer.
480
aefbdd67
BE
4812002-10-23 Ben Elliston <bje@redhat.com>
482
483 * doc/binutils.texi (objdump): Document -z and move the entry for
484 --disassemble-zeroes to the end of the options section (for `z').
485
ab9bcc01
NC
4862002-10-21 Nick Clifton <nickc@redhat.com>
487
488 * MAINTAINERS: Discontinue Hans-Peter Nilsson as SH maintainer.
489
8ab56b6f
AM
4902002-10-21 Svein E. Seldal <Svein.Seldal@solidas.com>
491
492 * objdump.c (dump_data): Correct addr_offset for opb != 1.
493
49c12576
AM
4942002-10-15 Alan Modra <amodra@bigpond.net.au>
495
48417c1a
AM
496 * bucomm.c (list_supported_targets): Use bfd_target_list.
497
49c12576
AM
498 * objcopy.c (copy_file): Report ambiguous bfd_object matches, and
499 other object errors in preference to bfd_core errors.
500
6e1a7e9a
AM
5012002-10-14 Alan Modra <amodra@bigpond.net.au>
502
503 * Makefile.am: Run "make dep-am".
504 * objdump.c: #include "bfdver.h".
505 * version.c: Likewise.
506 * Makefile.in: Regenerate.
507 * config.in: Regenerate.
508 * configure: Regenerate.
509 * po/POTFILES.in: Regenerate.
510
09fc3b02
DJ
5112002-10-09 Daniel Jacobowitz <drow@mvista.com>
512
513 * readelf.c (display_debug_info): Ignore empty .rela.debug_info
514 sections. Allow relocations against the absolute symbol. Don't
515 use the value in compunit.cu_abbrev_offset if we found a RELA
8ab56b6f 516 relocation.
09fc3b02 517
f309035a
NC
5182002-10-07 Gordon Chaffee <chaffee@netvmg.com>
519
520 * addr2line.c (slurp_symtab): Read in dynamic symbols if no
521 ordinary ones are available.
522
810dfa6e
L
5232002-09-30 H.J. Lu <hjl@gnu.org>
524
525 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_4120,
526 E_MIPS_MACH_5400 and E_MIPS_MACH_5500.
527
bb279dc0
ZW
5282002-09-17 Zack Weinberg <zack@codesourcery.com>
529
530 * Makefile.am (CFILES): Add cxxfilt.c.
531 (cxxfilt_SOURCES): Now just cxxfilt.c $(BULIBS).
532 (cxxfilt_LDADD): Delete.
533 Remove all references to underscore.c.
534 Regen dependencies.
535 * configure.in: Define TARGET_PREPENDS_UNDERSCORE in
536 config.h from $UNDERSCORE, rather than AC_SUBSTing it.
537 * binutils/cxxfilt.c: Moved here from gcc/cp, minor
538 adjustments to fit into binutils framework.
539 * configure, config.in, Makefile.in, doc/Makefile.in: Regenerate.
540
065c959b
NC
5412002-09-12 Roland McGrath <roland@redhat.com>
542
543 * readelf.c (decode_location_expression): DW_OP_calli -> DW_OP_call_ref
544 Handle DW_OP_GNU_push_tls_address.
545
e09f4395
NC
5462002-09-11 Nick Clifton <nickc@redhat.com>
547
548 * po/tr.po: Updated Turkish translation.
549
873e0588
NC
5502002-09-10 Nick Clifton <nickc@redhat.com>
551
552 * MAINTAINERS: Add Ben Elliston as a maintainer for configure and
553 testsuite changes. Add paragraphs about testsuite and config
554 patches.
555
069fe61f
NC
5562002-08-29 Nick Clifton <nickc@redhat.com>
557
558 * readelf.c (get_machine_flags): Remove redundant reference to
559 E_V850EA_ARCH.
560
fe0507eb
AM
5612002-08-28 Alan Modra <amodra@bigpond.net.au>
562
563 * objdump.c (dump_bfd): Restore lines accidentally deleted in
564 last commit.
565
026df7c5
NC
5662002-08-28 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
567
bb279dc0 568 * objdump.c (dump_headers): Add printing of HAS_LOAD_PAGE flag.
026df7c5
NC
569 (dump_bfd_header): Likewise.
570
68a4c073
AM
5712002-08-27 Alan Modra <amodra@bigpond.net.au>
572
573 * nm.c: Revert last change.
574
a1df01d1
AM
5752002-08-26 Alan Modra <amodra@bigpond.net.au>
576
577 * nm.c (display_rel_file): Don't report "no symbols" as an error.
578 * objdump.c (slurp_symtab): Likewise.
579 (slurp_dynamic_symtab): Likewise.
580 (dump_symbols): Likewise. Do print "no symbols" to stdout.
581
a926ab2f
GK
5822002-08-24 Geoffrey Keating <geoffk@redhat.com>
583
584 * MAINTAINERS: Change my mailing address.
585
fcf62380
DA
5862002-08-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
587
588 * MAINTAINERS: Add Dave Anglin as HPPA co-maintainer.
589
51e28791
NC
5902002-08-22 Nick Clifton <nickc@redhat.com>
591
592 * MAINTAINERS: Add Jeff Law as (maintainance) maintainer for
593 HPPA.
594
c5b060ad
AM
5952002-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
596
597 * readelf.c (parse_args): Change debug_dump_opt to static.
598
4b73ca92
NC
5992002-08-16 Sivaguru Sankaridurg <siva@eternal-systems.com>
600
601 * stabs.c (parse_stab_argtype): Pass length of physname to
602 stab_demangle_argtypes.
603 (stab_demangle_argtypes): Add new parameter - length of physname.
604 Pass length of physname on to stab_demangle_prefix.
605 (stab_demangle_prefix): Add new parameter - length of physname.
606 Use length of physname (if supplied) to compute end of function
607 name.
608
35b1837e
AM
6092002-08-15 Alan Modra <amodra@bigpond.net.au>
610
611 * readelf.c: Include elf/i370.h.
612 (dump_relocations): Handle EM_S370.
613 (dynamic_segment_parisc_val): Print \n.
614 (process_dynamic_segment <DT_BIND_NOW>): Here too.
615
762baac5
NC
6162002-08-14 Nick Clifton <nickc@redhat.com>
617
618 * nm.c (usage): Change 'gnu-new-abi' to 'gnu-v3'.
619 * objdump.c (usage): Likewise.
620 * doc/binutils.texi: Likewise.
621
85c09e8a
NC
6222002-08-14 Luke Dunstan <infidel@users.sourceforge.net>
623
624 * rcparse.y (acc_entry): Don't warn about ALT use with
625 non-VIRTKEY.
626
212a3c4d
L
6272002-08-13 H.J. Lu <hjl@gnu.org>
628
629 * objcopy.c (copy_object): Don't warn about the unsupported
630 architecture unless the input target is defaulted or the
631 output architecture is different from the input.
632
2b692c59
NC
6332002-08-09 Nick Clifton <nickc@redhat.com>
634
635 * po/sv.po: Updated Swedish translation.
636
09de7a73
AM
6372002-08-05 Alan Modra <amodra@bigpond.net.au>
638
639 * prdbg.c (pr_fix_visibility): Remove assert.
640
47badb7b
NC
6412002-07-31 Nick Clifton <nickc@redhat.com>
642
643 * addr2line.c (process_file): Rename parameter 'filename' to
644 'file_name' in order to avoid shadowing global symbol of the
645 same name.
646 (main): Likewise.
647
2979dc34
JJ
6482002-07-30 Jakub Jelinek <jakub@redhat.com>
649
650 * readelf.c (OPTION_DEBUG_DUMP): Define.
651 (options): Use it.
652 (usage): Update help.
653 (parse_args): Handle --debug-dump separately from -w.
654 * doc/binutils.texi (readelf): Update documentation.
655
219576a4
NC
6562002-07-25 Nick Clifton <nickc@redhat.com>
657
658 * po/es.po: Updated Spanish translation.
659 * po/fr.po: Updated French translation.
660
bf4f22e6 6612002-07-24 Nick Clifton <nickc@redhat.com>
bb279dc0 662
bf4f22e6
NC
663 * po/es.po: Updated Spanish translation.
664
c5b3a82a
AM
6652002-07-23 Alan Modra <amodra@bigpond.net.au>
666
667 * Makefile.am: Run "make dep-am".
668 * Makefile.in: Regenerate.
669
0461a601
NC
6702002-07-23 Nick Clifton <nickc@redhat.com>
671
bf4f22e6 672 * po/fr.po: Updated French translation.
0461a601 673
bf44dd74
AM
6742002-07-23 Eric S. Raymond <esr@golux.thyrsus.com>
675
676 * doc/binutils.texi (addr2line <man synopsis>): Correct brackets.
677
2c205ff2
AM
6782002-07-20 Alan Modra <amodra@bigpond.net.au>
679
63eb0809 680 * budemang.c: Include config.h and string.h/strings.h.
2c205ff2 681
1e4cf259
NC
6822002-07-18 Denis Chertykov <denisc@overta.ru>
683 Frank Ch. Eigler <fche@redhat.com>
684
685 * readelf.c: Include "elf/ip2k.h".
686 (guess_is_rela): Add support for EM_IP2K and EM_IP2K_OLD.
687 (dump_relocations): Likewise.
688 (get_machine_name): Likewise.
689 * NEWS: Mention IP2K support.
690
2cbb2eef
NC
6912002-07-16 Nick Clifton <nickc@cambridge.redhat.com>
692
693 * NEWS: Add 'Changes in 2.13'.
694
047b2264
JJ
6952002-07-10 Jakub Jelinek <jakub@redhat.com>
696
697 * readelf.c (get_dynamic_type): Handle DT_GNU_PRELINKED,
698 DT_GNU_CONFLICT* and DT_GNU_LIBLISZ*.
699 (get_section_type_name): Handle SHT_GNU_LIBLIST.
700 (process_dynamic_segment): Handle DT_GNU_CONFLICTSZ,
701 DT_GNU_LIBLISTSZ and DT_GNU_PRELINKED.
702 (process_gnu_liblist): New.
703 (process_file): Call it.
704
97230b15
AM
7052002-07-03 Alan Modra <amodra@bigpond.net.au>
706
707 * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
708 * Makefile.in: Regenerate.
709
a6637ec0
AM
7102002-07-02 Alan Modra <amodra@bigpond.net.au>
711
712 * budemang.c: New file, "demangle" function.
713 * budemang.h: New file.
714 * addr2line.c (translate_addresses): Use "demangle".
715 * nm.c (print_symname): Likewise.
716 * objdump.c (objdump_print_symname): Likewise.
717 (dump_symbols): Likewise. Also, don't use bfd_asymbol_name macro
718 here since that obfuscates.
719 * rdcoff.c: Don't #include demangle.h.
720 * Makefile.am (CFILES): Add budemang.c, emul_aix.c,
721 emul_vanilla.c. Remove emul_$(EMULATION).c. Sort.
722 (HFILES): Add budemang.h. Sort.
723 (nm_new_SOURCES, objdump_SOURCES, addr2line_SOURCES): Add budemang.c.
724 Run "make dep-am".
725 * Makefile.in: Regenerate.
726
179d3252
JT
7272002-07-01 Matt Thomas <matt@3am-software.com>
728
729 * readelf.c: Include "elf/vax.h".
730 (guess_is_rela): Move EM_VAX from unknown to RELA case.
731 (dump_relocations): Handle VAX relocations.
732 (get_machine_flags): Handle VAX machine flags.
733
75751cd9
SC
7342002-06-29 Stephane Carrez <stcarrez@nerim.fr>
735
736 * readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.
737
e5851ab8
NC
7382002-06-26 Nick Clifton <nickc@cambridge.redhat.com>
739
740 * MAINTAINERS: Remove Tom Rix from d10v and pcc maintainerships.
741
eb3f2f5c
AM
7422002-06-26 Alan Modra <amodra@bigpond.net.au>
743
744 * nm.c (print_symname): When demangling, strip leading dots from
745 symbol names to avoid confusing the demangler.
746
a13a0de8
L
7472002-06-25 H.J. Lu <hjl@gnu.org>
748
749 * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
750 * Makefile.in: Regenerated.
751
6db7a086
AM
7522002-06-21 Igor Schein <igor@txc.com>
753
754 * configure.in: Quote bu_cv_have_fopen64.
755 * configure: Regenerate.
756
9710509e
AM
7572002-06-21 Mitsru Chinen <chinen@jp.ibm.com>
758
759 * configure.in: Check for strcoll.
760 * configure: Regenerate.
761 * config.in: Regenerate.
762 * nm.c (main): Set locale for LC_COLLATE category.
763 (non_numeric_forward): Use strcoll if available.
764
a9f0b5e7
DB
7652002-06-20 Dave Brolley <brolley@redhat.com>
766
767 * MAINTAINERS: Add self as fr30 and frv maintainer.
768
33f5f537
L
7692002-06-18 H.J. Lu (hjl@gnu.org)
770
771 * nm.c: Include "elf/common.h".
772 (extended_symbol_info): Add elfinfo, a pointer to
773 elf_symbol_type.
774 (SYM_SIZE): Use elfinfo if it is not NULL.
775 (get_symbol_type): New function.
776 (display_archive): Set print_width for each archive member.
777 (display_file): Likewise.
778 (display_rel_file): Don't set print_width here.
779 (print_object_filename_sysv): Handle print_width.
780 (print_archive_member_sysv): Likewise.
781 (print_symbols): Pass (bfd_vma) 0 to print_symbol.
782 (print_symbol): Set the elfinfo field in extended_symbol_info
783 for ELF.
784 (print_object_filename_sysv): Fix the output format.
785 (print_symbol_info_sysv): Print type and section for ELF.
786
7872002-06-18 Elias Athanasopoulos <eathan@otenet.gr>
788
789 * nm.c (print_size_symbols): Remove assignment, which makes
bb279dc0 790 the symbol's size equal to its value when --size-sort is
33f5f537
L
791 used.
792
5c70f934
DB
7932002-06-18 Dave Brolley <brolley@redhat.com>
794
795 From Catherine Moore:
796 * readelf.c (elf/frv.h): #include it.
797 (guess_is_rela): Support EM_CYGNUS_FRV.
798 (dump_relocations): Ditto.
799 (get_machine_name): Ditto.
800 * Makefile.am (readelf.o): add dependency on $(INCDIR)/elf/frv.h.
801
7ece0d85
JJ
8022002-06-18 Jakub Jelinek <jakub@redhat.com>
803
804 * readelf.c (get_file_header): Only read the first section header if
805 e_shoff is non-zero.
806
72797995
L
8072002-06-15 H.J. Lu (hjl@gnu.org)
808
809 * nm.c (print_size): New variable. Initialize to 0.
810 (long_options): Add 'S'/"print-size".
811 (main): Handle 'S'.
812 (print_symbol_info_bsd): Print size only if print_size is not
813 0.
814
815 * doc/binutils.texi: Document -S/--print-size.
816
977f7911
NC
8172002-6-13 Elias Athanasopoulos <eathan@otenet.gr>
818
819 * nm.c (struct extended_symbol_info): New strcuture: Add the size
820 of the symbols to the information provided by the symbol_info
821 structure.
822 (print_symbols): Pass the symbol size to print_symbol.
823 (print_size_symbols): Pass the symbol size to print_symbol.
824 (print_symbol): Extra argument: The size of the symbol. Store
825 this in the extended_symbol_info structure.
826 (print_symbol_info): Change type of info parameter to
827 extended_symbol_info. Display the size, if known.
828 (print_symbol_info_posix): Likewise.
829 (print_symbol_info_sysv): Likewise.
830
b1f88ebe
AM
8312002-06-08 Alan Modra <amodra@bigpond.net.au>
832
fa449227
AM
833 * Makefile.am: Run "make dep-am".
834 * Makefile.in: Regenerate.
835 * doc/Makefile.in: Regnerate.
836
b1f88ebe
AM
837 * bucomm.c: Replace CONST with const.
838 * nm.c: Likewise.
839 * objdump.c: Likewise.
840
91a106e6
L
8412002-06-07 H.J. Lu <hjl@gnu.org>
842
843 * readelf.c (DW_CFA_GNU_args_size): Don't define.
844 (DW_CFA_GNU_negative_offset_extended): Likewise.
845 (DW_CFA_GNU_window_save): Likewise.
846 (display_debug_frames): Handle DW_CFA_offset_extended_sf,
847 DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
848
6ab6b380 8492002-06-07 Elias Athanasopoulos <eathan@otenet.gr>
bb279dc0 850
6ab6b380
NC
851 * nm.c: When computing size of symbols for an ELF target use the
852 internal size field.
853
e28e05a3
JL
8542002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
855
856 * testsuite/binutils-all/objcopy.exp: clear xfail for
857 "hppa*64*-*-hpux*".
858 * testsuite/binutils-all/hppa/objdump.exp: Return if
859 "*64*-*-*".
860
dc156bc0
AM
8612002-06-05 Alan Modra <amodra@bigpond.net.au>
862
863 * objcopy.c (copy_section): Don't copy SEC_GROUP sections.
864
8652002-06-03 Elias Athanasopoulos <eathan@otenet.gr>
28b18af1
AM
866
867 * objdump.c: Fix formatting.
868
d79e4ea3
BE
8692002-05-29 Ben Elliston <bje@redhat.com>
870
871 * MAINTAINERS: Add self as M68k maintainer.
872
d172d4ba
NC
8732002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
874
875 * readelf.c: Modified/Added DLX elf support.
876
7edb8f29
NC
8772002-05-27 Nick Clifton <nickc@cambridge.redhat.com>
878
3a1a2036
NC
879 * arsup.c: Fix formatting.
880 * debug.c (debug_record_label): Add missing colon to error
881 message.
882 * ieee.c (parse_ieee_ty): Fix spelling typo.
883 * readelf.c (process_program_headers): Remove English assumption
884 about making a plural word.
885 (process_section_headers): Likewise.
886 (process_relocs): Allow quotes to be translated.
887 (process_unwind): Likewise,
888 (process_mips_specific): Improve error message.
889 (get_note_type): Fix spelling typo.
890
7edb8f29
NC
891 * configure.in (ALL_LINGUAS): Add sv
892 * po/sv.po: New file.
893
3eee1e9d
AM
8942002-05-27 Alan Modra <amodra@bigpond.net.au>
895
896 * unwind-ia64.c (unw_print_brmask): Don't use sprintf.
897 (unw_print_grmask): Likewise.
898 (unw_print_frmask): Likewise.
899
d43efbe3
KH
9002002-05-26 Kazu Hirata <kazu@cs.umass.edu>
901
902 * arsup.c: Remove ARGSUSED.
903 * debug.c: Likewise.
904 * ieee.c: Likewise.
905 * nlmconv.c: Likewise.
906 * prdbg.c: Likewise.
907 * stabs.c: Likewise.
908 * wrstabs.c: Likewise.
909
e9792343
AM
9102002-05-25 Alan Modra <amodra@bigpond.net.au>
911
912 * arlex.l: Use #include "" instead of <> for local header files.
913 * coffdump.c: Likewise.
914 * coffgrok.c: Likewise.
915 * nlmconv.c: Likewise.
916 * nlmheader.y: Likewise.
917 * srconv.c: Likewise.
918 * strings.c: Likewise.
919 * sysdump.c: Likewise.
920 * unwind-ia64.h: Likewise.
921 * windres.h: Likewise.
922 * winduni.h: Likewise.
923
d7e53452
TR
9242002-05-24 Tom Rix <trix@redhat.com>
925
926 * MAINTAINERS: Add self as the d10v maintainer.
927
436e8db0
NC
9282002-05-24 TAMURA Kent <kent@netbsd.org>
929
930 * configure.in: Builds dlltool for i386-netbsdpe.
931 * configure: Regenerate.
932
9f66665a
KH
9332002-05-23 Kazu Hirata <kazu@cs.umass.edu>
934
935 * size.c: Fix formatting.
936 * srconv.c: Likewise.
937 * stabs.c: Likewise.
938 * sysdump.c: Likewise.
939 * unwind-ia64.c: Likewise.
940 * wrstabs.c: Likewise.
941
13ae64f3
JJ
9422002-05-23 Jakub Jelinek <jakub@redhat.com>
943
944 * readelf.c (get_segment_type): Add PT_TLS.
945 (get_elf_section_flags): Add SHF_TLS.
946 (get_dynamic_flags): Optimize. Add DF_STATIC_TLS.
947 (process_dynamic_segment): Use puts instead of printf.
948 (get_symbol_type): Support STT_TLS.
949 * objdump.c (dump_section_header): Remove SEC_CONSTRUCTOR_TEXT,
950 SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS.
951 Add SEC_THREAD_LOCAL.
952
53c7db4b
KH
9532002-05-23 Kazu Hirata <kazu@cs.umass.edu>
954
955 * rdcoff.c: Fix formatting.
956 * rddbg.c: Likewise.
957 * readelf.c: Likewise.
958 * rename.c: Likewise.
959 * resbin.c: Likewise.
960 * resrc.c: Likewise.
961 * resres.c: Likewise.
962
0af11b59
KH
9632002-05-21 Kazu Hirata <kazu@cs.umass.edu>
964
965 * filemode.c: Fix formatting.
966 * ieee.c: Likewise.
967 * is-ranlib.c: Likewise.
968 * is-strip.c: Likewise.
969 * maybe-ranlib.c: Likewise.
970 * maybe-strip.c: Likewise.
971 * nlmconv.c: Likewise.
972 * nm.c: Likewise.
973 * not-ranlib.c: Likewise.
974 * not-strip.c: Likewise.
975 * objcopy.c: Likewise.
976 * objdump.c: Likewise.
977
21611032
TS
9782002-05-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
979
980 * objdump.c (dump_headers): Fix output formatting for ELF32
981 architectures in a BFD64 enabled toolchain.
982
26044998
KH
9832002-05-20 Kazu Hirata <kazu@cs.umass.edu>
984
985 * debug.c: Fix formatting.
986 * debug.h: Likewise.
987 * dlltool.c: Likewise.
988 * dllwrap.c: Likewise.
989 * emul_aix.c: Likewise.
990 * emul_vanilla.c: Likewise.
991
f462a9ea
KH
9922002-05-19 Kazu Hirata <kazu@cs.umass.edu>
993
994 * addr2line.c: Fix formatting.
995 * ar.c: Likewise.
996 * arsup.c: Likewise.
997 * arsup.h: Likewise.
998 * binemul.c: Likewise.
999 * binemul.h: Likewise.
1000 * bucomm.c: Likewise.
1001 * coffdump.c: Likewise.
1002 * coffgrok.c: Likewise.
1003 * coffgrok.h: Likewise.
1004
e0159aa9
MM
10052002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
1006
1007 * MAINTAINERS: Add myself as the second AVR port maintainer.
1008
074b403e
SC
10092002-05-16 Stephane Carrez <stcarrez@nerim.fr>
1010
1011 * MAINTAINERS: Update my email address.
1012
2b9c8201
NC
10132002-05-09 Nick Clifton <nickc@cambridge.redhat.com>
1014
1015 * MAINTAINERS: Add Jason Thorpe as VAX maintainer.
1016
e1d5b1e7
AM
10172002-05-09 Alan Modra <amodra@bigpond.net.au>
1018
1019 * configure.in: Replace `*pe' with `pe' throughout.
1020 * configure: Regenerate.
1021
d3d8a9ee
NC
10222002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
1023
1024 * Makefile.am: Honour DESTDIR.
1025 * Makefile.in: Regenerate.
1026
405c98a4
AM
10272002-05-06 Alan Modra <amodra@bigpond.net.au>
1028
a02d5965
AM
1029 * dlltool.c (process_def_file): Add missing prototype.
1030 (new_directive, assemble_file, main): Likewise.
1031 (process_def_file, new_directive): Make static.
1032 (inform): Rewrite using VA_FIXEDARG.
1033 * dllwrap.c (mybasename): Add missing prototype.
1034 (strhash, main): Likewise.
1035 (inform): Rewrite using VA_FIXEDARG.
1036 (warn): Likewise.
1037 (cleanup_and_exit): Use old style function definition.
1038 (strhash): Likewise.
1039 * windres.c (define_resource): Use one memset to clear all of
1040 struct res_resource.
1041
405c98a4 1042 * rcparse.y: Remove newcmd rule. Move rcparse_discard_strings
a02d5965 1043 call to rules that need no lookahead. Check for no lookahead.
405c98a4
AM
1044
10452002-05-06 Borut Razem <borut.razem@siol.net>
1046
1047 * rclex.l (get_string): Correct "strings" list handling.
1048 * resrc.c (read_rc_file): Discard strings.
1049
91593c9d
AM
10502002-05-04 Alan Modra <amodra@bigpond.net.au>
1051
e58a75dc
AM
1052 * ar.c (replace_members): Remove unused var. Formatting fix.
1053 * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
1054
91593c9d
AM
1055 * MAINTAINERS: Sort port maintainers by CPU.
1056
6b52b824
AM
10572002-05-04 Bob Byrnes <byrnes@curl.com>
1058
1059 * size.c (display_archive): Add last_arfile and code to close archives.
1060
dd70071f
AM
10612002-05-01 Alan Modra <amodra@bigpond.net.au>
1062
1063 * nm.c (print_symbol): Check returned filename from
1064 bfd_find_nearest_line is non-NULL.
1065
6c95717a 10662002-04-25 Elena Zannoni <ezannoni@redhat.com>
bb279dc0
ZW
1067
1068 * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
6c95717a 1069
3c25c5f6
NC
10702002-04-24 Christian Groessler <chris@groessler.org>
1071
1072 * MAINTAINERS: Changed my email address.
1073
944cd72c
TS
10742002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1075
1076 * arparse.y: Fix syntax warning.
1077
ea91f8bb
NC
10782002-04-16 Nick Clifton <nickc@cambridge.redhat.com>
1079
3e55a963
NC
1080 * readelf.c (fetch_location_list): Remove unused function.
1081
1082 * readelf.c (process_corefile_note_segment): Catch corrupt notes
1083 and display a warning message, then exit the loop.
1084
ea91f8bb
NC
1085 * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
1086
45b99827
NC
10872002-04-15 Nick Clifton <nickc@cambridge.redhat.com>
1088
1089 * resrc.c (write_rc_dialog): If charset is non-default value
1090 display all of the DIALOGEX parameters.
1091
10922002-04-15 Eric Kohl <ekohl@rz-online.de>
1093
bb279dc0 1094 * rcparse.y: Allow two to five parameter in FONT statement of
45b99827
NC
1095 DIALOGEX resources.
1096 * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
1097 resource data.
bb279dc0 1098 (res_to_bin_dialog): Likewise.
45b99827
NC
1099 * windres.h: Added misssing charset variable to dialog_ex
1100 structure.
1101
acfbab8a
NC
11022002-04-10 Nick Clifton <nickc@cambridge.redhat.com>
1103
1104 * rcparse.y: Set MEMFLAG_PURE by default.
1105
df3baf66
NC
11062002-04-09 Bernd Herd <info@herdsoft.com>
1107
bb279dc0 1108 * rcparse.y: CLASS definitions in DIALOG resources
df3baf66 1109 are quoted.
4c30641a 1110 Fix typo in BEDIT warning.
91eafb40 1111 Don't add default dialog style when explicit style specified.
b62a12ca 1112 Add WS_CAPTION dialog style if CAPTION is specified.
4c30641a 1113
b24eb5ac
NC
1114 * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
1115 (handle_quotes) "\a" escape (used for right justified key
1116 definitions in menus) is encodes as binary 8.
df3baf66 1117
b24eb5ac
NC
1118 * resrc.c (write_rc_dialog): Print style even if it is 0.
1119 (write_rc_directory): Fix overlooked sublang shift bug.
420380ba 1120 (bin_to_res_dialog): Don't print empty dialog caption.
7e8d45b7 1121
b24eb5ac
NC
1122 * resbin.c (bin_to_res_dialog): Use signature to identify
1123 DIALOGEX.
f7d63484 1124
b24eb5ac 1125 * windres.c (main): Set default LANGUAGE to english/us.
f7d63484 1126
df3baf66
NC
11272002-04-09 Gunnar Degnbol <degnbol@danbbs.dk>
1128
1129 * resrc.c: print CLASS names in quotes
1130
11312002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
9c5382a0
JR
1132
1133 * MAINTAINERS: Update my email address.
1134
8e42bcb6
AM
11352002-04-04 Alan Modra <amodra@bigpond.net.au>
1136
1137 * dep-in.sed: Cope with absolute paths.
1138 * Makefile.am (dep.sed): Subst TOPDIR.
1139 Run "make dep-am".
1140 * Makefile.in: Regenerate.
1141
96f959e5
PT
11422002-03-27 Peter Targett <peter.targett@arc.com>
1143
1144 * MAINTAINERS: Update my email address.
1145
1ea788ee
AM
11462002-03-21 Alan Modra <amodra@bigpond.net.au>
1147
1148 * Makefile.am: Run "make dep-am".
1149 * Makefile.in: Regenerate.
1150 * doc/Makefile.in: Regenerate.
1151 * po/POTFILES.in: Regenerate.
1152 * aclocal.m4: Regenerate.
1153 * config.in: Regenerate.
1154 * configure: Regenerate.
1155
a2f14207
DB
11562002-03-20 Daniel Berlin <dan@dberlin.org>
1157
1158 * readelf.c: Add support for displaying dwarf2 location lists.
1159 (do_debug_loc, debug_loc_section, debug_loc_size): New.
1160 (parse_args): Use 'O' as shorthand for displaying location list
1161 section.
1162 (process_section_headers): Handle debug_loc as well.
1163 (load_debug_loc): New.
1164 (free_debug_loc): New.
1165 (fetch_location_list): New.
1166 (display_debug_loc): New.
1167 (display_debug_info): Call load_debug_loc and free_debug_loc.
1168 (debug_displays): We can display .debug_loc now, too.
1169 (usage): Update usage string.
1170 (read_and_display_attr_value): Note location lists, but don't
1171 display them inline.
1172
eb1e0e80
NC
11732002-03-18 Tom Rix <trix@redhat.com>
1174
1175 * Makefile.am: Add binutils emulation support.
1176 * configure.in: Same.
1177 * configure.tgt: New file. Same.
1178 * ar.c (main): Use ar_emul_parse_arg.
1179 (usage): Use ar_emul_usage.
1180 (replace_members): Use ar_emul_replace, ar_emul_append.
1181 * binemul.c: New file. Define the binutils emulation
1182 layer. Define default methods.
1183 * binemul.h: New file. Binutils emulation layer header file.
1184 * emul_aix.c: New file. AIX binutils emulation.
1185 * emul_vanilla.c: New file. Default binutils emulation.
1186 * Makefile.in: Regenerate.
1187 * configure: Same.
1188
a1c259a1
NC
11892002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
1190
1191 * po/fr.po: Updated version.
1192
9ce88e60
NC
11932002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
1194
1195 * po/fr.po: Updated version.
1196
effb0601
DJ
11972002-03-07 Daniel Jacobowitz <drow@mvista.com>
1198
1199 * README: Update some version numbers.
1200
a65688ab
DJ
12012002-03-07 Daniel Jacobowitz <drow@mvista.com>
1202
1203 * doc/binutils.texi (Target Selection): Fix LD crossreferences.
1204 (Architecture Selection): Likewise.
1205
f3f7fbb2
NC
12062002-03-01 Dmitry Timoshkov <dmitry@baikal.ru>
1207
1208 * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
1209 generating .exp file.
1210
25345be5
NC
12112002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
1212
1213 * readelf.c (dump_relocations): Fix typo.
1214
9a66911f
NC
12152002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
1216
1217 * NEWS: Mark 2.12 branch.
1218
2c71103e
NC
12192002-02-18 Timothy Daly <remote_bob@yahoo.com>
1220
bb279dc0
ZW
1221 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
1222 types for 64-bit MIPS. Narrow some fields for 80-char
2c71103e 1223 output.
bb279dc0 1224 (dump_relocations): Change spelling from 'unrecognised'
2c71103e
NC
1225 to 'unrecognized'.
1226 (decode_ARM_machine_flags): Likewise.
1227 (parse_args): Likewise.
1228 (read_and_display_attr_value): Likewise.
1229 (display_debug_section): Likewise.
1230
49fda6c8
HPN
12312002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
1232
1233 * NEWS: Mention support for MMIX.
1234
76f57f3a
JT
12352002-02-13 Matt Fredette <fredette@netbsd.org>
1236
1237 * readelf.c (get_machine_flags): Recognize EF_M68000.
1238
d36ca9c2
AO
12392002-02-12 Alexandre Oliva <aoliva@redhat.com>
1240
1241 * MAINTAINERS: Added self as MN10300 co-maintainer.
1242
19397422
AM
12432002-02-12 Alan Modra <amodra@bigpond.net.au>
1244
1245 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
1246 DT_PPC64_OPDSZ.
1247
d434e574
DJ
12482002-02-11 Daniel Jacobowitz <drow@mvista.com>
1249
1250 * MAINTAINERS: List myself as branch maintainer.
1251
12b87c89
AM
12522002-02-11 Alan Modra <amodra@bigpond.net.au>
1253
1254 * configure: Regenerate.
1255 * objcopy.c: Update copyright date.
1256 * doc/Makefile.in: Regenerate.
1257
8d037c5c
DJ
12582002-02-10 Daniel Jacobowitz <drow@mvista.com>
1259
1260 * nlmconv.c: Back out localtime PARAMS change.
1261
4c168fa3
AM
12622002-02-11 Alan Modra <amodra@bigpond.net.au>
1263
1264 * objcopy.c (MKDIR): Define.
1265 (copy_archive): Make name_list.name const. Use MKDIR.
1266 Handle duplicate files in archives by making more temp dirs.
1267
408f8db1
DJ
12682002-02-10 Daniel Jacobowitz <drow@mvista.com>
1269
1270 * coffdump.c: Include "getopt.h" after "bucomm.h"
1271 so that macros are defined correctly.
1272 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
1273 prototype. Prototype main.
1274 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
1275
9f77fa06
AO
12762002-02-06 Alexandre Oliva <aoliva@redhat.com>
1277
1278 * MAINTAINERS: Added self as SH co-maintainer.
1279
82f6addb
NC
12802002-02-05 Nick Clifton <nickc@redhat.com>
1281
1282 * po/tr.po: Updated translation.
1283
ba323545
AM
12842002-02-01 Alan Modra <amodra@bigpond.net.au>
1285
1286 * Makefile.am: Run "make dep-am"
1287 * Makefile.in: Regenerate.
1288
3deb89d3
DJ
12892002-01-29 Daniel Jacobowitz <drow@mvista.com>
1290
1291 * nm.c (print_value): Mark abfd unused.
1292
a0e9c55f
DJ
12932002-01-29 Daniel Jacobowitz <drow@mvista.com>
1294
1295 * unwind-ia64.c (unw_decoder): Change second argument
1296 to unsigned int, to match function prototypes.
1297
d7a283d4
DJ
12982002-01-29 Daniel Jacobowitz <drow@mvista.com>
1299
1300 * objdump.c: Include "getopt.h" after "bucomm.h" so that
1301 __GNU_LIBRARY__ will be defined.
1302 * size.c: Likewise.
1303
4867be41
DJ
13042002-01-27 Daniel Jacobowitz <drow@mvista.com>
1305
1306 * configure: Regenerated.
1307
7562a296
HPN
13082002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
1309
1310 * doc/Makefile.am (install): Depend on install-info.
1311 * doc/Makefile.in: Regenerate.
1312
15c82623
NC
13132002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
1314
1315 * objcopy.c (strip_usage): Document -d as an alias
1316 --strip-debug.
1317
1318 * size.c (usage): Document [-t | --totals] options.
1319 (long_options): Add --totals option.
1320 (main): If the [-t | --totals] option is specified and
1321 the output format is Berkeley-style, print the total
1322 text, data, and bss sizes of all objects listed.
1323 (print_berkeley_format): If the [-t | --totals] option
1324 is specified, track the total text, data, and bss
1325 sizes.
1326 * doc/binutils.texi (size): Document [-t | --totals] options.
1327 (strip): Document -d as an alias for --strip-debug.
1328 * NEWS: Mention new feature of size.
1329
00ea8601 13302002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
b85cedd7 1331
1ddbd152
NC
1332 * po/fr.po: Updated version.
1333 * po/es.po: Updated version.
b85cedd7 1334
8b53311e
NC
13352002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
1336
1337 * addr2line.c (usage): Update text to provide verbose
1338 description of the command line options.
1339 * ar.c (usage): Update text to provide verbose
1340 description of the command line options.
1341 (main): Accept -h and -H when running as ranlib.
1342 * coffdump.c (show_usage): Update text to provide verbose
1343 description of the command line options.
1344 * dlltool.c (main): Accept -H as an alias for --help.
1345 * nlmconv.c (show_usage): Update text to provide verbose
1346 description of the command line options.
1347 * nm.c (usage): Replace OPTIONS with option(s).
1348 (main): Accept -H as an alias for --help.
1349 * objcopy.c (strip_main): Accept -H as an alias for --help.
1350 * objdump.c (main): Accept -v as an alias for --verbose.
bb279dc0 1351 * readelf.c (usage): Adjust format to match style used in
8b53311e
NC
1352 other binutils.
1353 * size.c (usage): Update text to provide verbose description
1354 of the command line options.
1355 (main): Accept -v, -h and -H as command line options.
1356 * srconv.c (show_usage): Update text to provide verbose
1357 description of the command line options.
1358 * strings.c (main): Accept -H and -v as command line options.
1359 (usage): Update text to provide verbose description of the
1360 command line options.
1361 * sysdump.c (show_usage): Update text to provide verbose
1362 description of the command line options.
1363 * windres.c (usage): Adjust format to match style used in
1364 other binutils.
1365
1366 * coffdump.c: Fix formatting.
1367 * nlmconv.c: Fix formatting.
1368 * srconv.c: Fix formatting.
1369 * sysdump.c: Fix formatting.
1370
c46f0c34
AM
13712002-01-22 Alan Modra <amodra@bigpond.net.au>
1372
1373 * Makefile.am: Run "make dep-am".
1374 * Makefile.in: Regenerate.
1375
2a538ba5
AJ
13762002-01-18 Andreas Jaeger <aj@suse.de>
1377
1378 * version.c (print_version): Update year.
1379
285d1771
AM
13802002-01-17 Alan Modra <amodra@bigpond.net.au>
1381
1382 * readelf.c (get_machine_name): Handle EM_PPC64.
1383 (guess_is_rela): Here too.
1384
328577ad
NC
13852002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
1386
1387 * po/binutils.pot: Regenerate.
1388 * po/fr.po: Regenerate.
1389 * po/tr.po: Regenerate.
1390
af3ae48d
NC
13912002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
1392
1393 * po/tr.po: Import new version.
1394
f1cb7e17
AM
13952002-01-16 Alan Modra <amodra@bigpond.net.au>
1396
1397 * readelf.c (get_ppc64_dynamic_type): New.
1398 (get_dynamic_type): Call it.
1399
6364e0b4
NC
14002002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
1401
3ab9460d 1402 * objcopy.c (copy_usage): Use "options" instead of "switches".
bb279dc0 1403 (strip_usage): Use "options" instead of "switches".
3ab9460d 1404 * doc/binutils.texi (dlltool): Refer to "options" instead of
bb279dc0 1405 "switches".
6364e0b4 1406
3a7e524e
RE
14072002-01-14 Richard Earnshaw <rearnsha@arm.com>
1408
1409 * MAINTAINERS: Add self as co-maintainer for the ARM code.
1410
1209e219
NC
14112001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
1412
1413 * po/es.po: Import from translation project.
1414 * configure.in (ALL_LINGUAS): Add es.
1415 * configure: Regenerate.
1416
b4db1224
JT
14172002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
1418
1419 * readelf.c (get_netbsd_elfcore_note_type): Use
1420 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
1421
9437c45b
JT
14222002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
1423
1424 * readelf.c: Update copyright years.
1425 (get_note_type): Return a const char *.
1426 (get_netbsd_elfcore_note_type): New function.
1427 (process_note): Use get_netbsd_elfcore_note_type to get
1428 the note type string for NetBSD ELF core files.
1429
00428cca
AM
14302002-01-06 Steve Ellcey <sje@cup.hp.com>
1431
1432 * readelf.c (get_ia64_segment_type): Add support for macros.
1433 (get_segment_type): Add support for IA64 specific macros.
1434
31104126
NC
14352001-12-20 Julian v. Bock <julian@wongr.net>
1436
1437 * readelf.c (print_symbol): New function: Print a formatted symbol
1438 name. If --wide is specified do not truncate it.
1439 (dump_relocations): Use print_symbol() to print symbol names.
1440 (process_symbol_table): Likewise.
1441 (process_syminfo): Likewise.
1442 (process_mips_specific): Likewise.
1443 (usage): Document new feature of --wide switch.
1444 * doc/binutils.texi (objdump): Document additional behaviour of
1445 --wide.
2a538ba5 1446
4dd67f29
MS
14472001-12-18 Michael Snyder <msnyder@redhat.com>
1448
1449 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
1450 (copy_object): Don't set the start address or flags of a core file.
1451 (copy_section): Don't relocate a core file. Don't copy contents
1452 if the input section has the contents flag set, but the output
1453 section does not (which happens with the fake 'note' pseudo-
1454 sections that BFD creates for corefiles).
1455
43521d43
TS
14562001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1457
1458 * readelf.c (get_machine_flags): Recognize header flags for ABI and
1459 ASE extensions. More robust code for ISA checking. Ignore empty fields
1460 in header flags for GNU extensions.
1461
b667df2e
AM
14622001-12-18 Alan Modra <amodra@bigpond.net.au>
1463
1464 * objcopy.c (copy_archive): Set output bfd format outside the loop.
1465
17a5a5c3
NC
14662001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
1467
1468 * po/ja.po: Import from translation project.
1469 * configure.in (ALL_LINGUAS): Add ja.
1470 * configure: Regenerate.
1471
65de42c0
TS
14722001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1473
1474 * addr2line.c (main): Protoype.
1475 * ar.c (main): Protoype.
1476 * nm.c (main): Protoype.
1477 * objcopy.c (main): Protoype.
1478 * objdump.c (main): Protoype.
1479 * size.c (main): Protoype.
1480 * strings.c (main): Protoype.
1481
9ad5cbcf
AM
14822001-12-17 Alan Modra <amodra@bigpond.net.au>
1483
1484 * readelf.c (symtab_shndx_hdr): New global.
1485 (SECTION_HEADER_INDEX): Define.
1486 (SECTION_HEADER_NUM): Define.
1487 (SECTION_HEADER): Define.
1488 (GET_ELF_SYMBOLS): Pass two params rather than three.
1489 (get_32bit_elf_symbols): Take file and section args. Read and
1490 use SHT_SYMTAB_SHNDX.
1491 (get_64bit_elf_symbols): Likewise.
1492 (dump_relocations): Use SECTION_HEADER to index "section_headers".
1493 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
1494 Remember symtab_shdx_hdr.
1495 (process_program_headers): Scan from index 1 for segment map.
1496 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
1497 "section_headers".
1498 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
1499 (process_unwind): Likewise.
1500 (process_version_sections): Likewise.
1501 (process_symbol_table): Likewise.
1502 (display_debug_info): Likewise.
1503 (process_dynamic_segment): Fake up a symtab section for changed
1504 GET_ELF_SYMBOLS.
1505 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
1506 (process_program_headers): Kill signed/unsigned warning.
1507 (load_debug_str): Likewise.
1508 (display_debug_info): Likewise.
1509
65765700
JJ
15102001-12-13 Jakub Jelinek <jakub@redhat.com>
1511
1512 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
1513
560f3c1c
AM
15142001-12-11 Alan Modra <amodra@bigpond.net.au>
1515
1516 * readelf.c (process_file_header): Print extended e_shnum and
1517 e_shdtrndx values. Set elf_header values for same.
1518 (get_32bit_section_headers): Add "num" arg to read "num" headers.
1519 (get_64bit_section_headers): Likewise.
1520 (process_section_headers): Update calls.
1521 (get_file_header): Call get_32bit_section_headers or 64bit variant.
1522
bc408b8a
JJ
15232001-12-10 Jakub Jelinek <jakub@redhat.com>
1524
1525 * objcopy.c (setup_section): Copy entsize.
1526
93fbbb04
GK
15272001-12-07 Geoffrey Keating <geoffk@redhat.com>
1528
1529 * readelf.c (guess_is_rela): Add support for stormy16.
1530 (dump_relocations): Likewise.
1531 (get_machine_name): Likewise.
1532
e3c8793a
NC
15332001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
1534
1535 * dllwrap.c (main) Replace multiple strings describing a
1536 single error with a single, newline escaped sentence to permit
1537 better translation into foreign languages.
1538
1539 * readelf.c (get_elf_class): Remove internalionalisation of ELF
1540 class names.
1541
956cd1d6
TS
15422001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1543
1544 * strings.c (get_char): Initialize value.
1545
956c53ee
TS
15462001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1547
1548 * arlex.l: Silence compile warnings.
1549 * arsup.h: Likewise. Fix formatting.
1550
cedd9a58
JJ
15512001-12-04 Jakub Jelinek <jakub@redhat.com>
1552
1553 * strings.c: Include config.h before bfd.h.
1554 (file_off): New type.
1555 (file_open): Define.
1556 (print_strings): Use file_off instead of file_ptr. Print addresses
1557 which don't fit into long correctly.
1558 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
1559 available.
1560 (strings_file): Use file_off instead of file_ptr. Use file_open.
1561 * configure.in: Check for getc_unlocked.
1562 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
1563 be defined for it.
1564 * configure: Rebuilt.
1565 * config.h.in: Rebuilt.
1566
af667503
L
15672001-11-29 H.J. Lu <hjl@gnu.org>
1568
1569 * bucomm.c (make_tempname): Revert the changes made on
1570 2001-11-14 and 2001-11-12. They won't work with directories.
1571
16474668
NC
15722001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
1573
1574 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
1575 CFLAGS_FOR_TARGET to runtest in environment.
1576 * Makefile.in: Rebuild.
1577 * doc/Makefile.in: Rebuild.
1578
17978339
MS
15792001-11-28 Mike Stump <mrs@wrs.com>
1580
1581 * objcopy.c (setup_section): Preserve SEC_RELOC when
1582 --set-section-flags is used.
1583
261a45ad
NC
15842001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
1585
1586 * readelf.c (do_debug_str): New variable.
1587 (display_debug_str): New function: Display the contents of a
1588 .debug_str section.
1589 (load_debug_str): New function: Load in the contents of a
1590 .debug_str section.
1591 (free_debug_str): New function: Free the memory used by
1592 load_debug_str().
1593 (fetch_indirect_string): Retrieve a string from the .debug_str
1594 section.
1595 (usage): Add -ws.
1596 (parse_args): Accept -ws.
1597 (process_section_headers): Allow the display of the .debug_str
1598 section.
1599 (read_and_display_attr_value): Use fetch_indirect_string. Show
1600 offset into .debug_str section.
1601 (display_debug_info): Use load_debug_str and free_debug_str.
1602 (debug_displays): Add .debug_str.
1603 * doc/binutils.texi: Document -ws.
1604
b8908f93
AJ
16052001-11-19 Andreas Jaeger <aj@suse.de>
1606
1607 * testsuite/binutils-all/objdump.exp: Add x86-64.
1608
e5fb9629
AS
16092001-11-15 Andreas Schwab <schwab@suse.de>
1610
1611 * readelf.c: Fix warnings without terminating newline.
1612
802a735e
AM
16132001-11-15 Alan Modra <amodra@bigpond.net.au>
1614
1615 * doc/binutils.texi (objdump): Document ppc -M options.
1616
b89e9eae
AJ
16172001-11-14 Andreas Jaeger <aj@suse.de>
1618
1619 * doc/binutils.texi (objdump): Fix description to use x86-64.
1620
a6a25652
NC
16212001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
1622
1623 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
1624 not all systems provide mkstemp.
1625
e396998b
AM
16262001-11-14 Alan Modra <amodra@bigpond.net.au>
1627
1628 * doc/binutils.texi (objdump): Document x86 -M options.
1629
81766fca
RH
16302001-11-13 Keith Walker <keith.walker@arm.com>
1631
1632 * readelf.c (read_and_display_attr_value): New function to
1633 handle DW_FORM_indirect.
1634 (read_and_display_attr): Use it.
1635
1a509dcc
GK
16362001-11-13 Geoffrey Keating <geoffk@redhat.com>
1637
1638 * readelf.c (display_debug_lines): Deal with unknown standard
1639 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
1640 DW_LNS_set_isa.
1641
6e917903 16422001-11-13 Timothy Wall <twall@alum.mit.edu>
1a509dcc 1643
6e917903
TW
1644 * MAINTAINERS: Add self as tic54x maintainer. This target
1645 includes the IBM C54XDSP clone.
7559e86e 1646
6e917903 16472001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
1a509dcc 1648
7559e86e
NC
1649 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
1650
16512001-11-09 Jeffrey A Law (law@cygnus.com)
91770270 1652
ecdadc4a
JL
1653 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
1654 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
1655 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
1656 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
1657 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
1658 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
1659 (unw_decode_b2, unw_decode_b3_b4): Likewise.
1660
91770270
JL
1661 * readelf.c (get_elf_class): Fix ISO portability glitch.
1662 (get_data_encoding, get_osabi_name, request_dump): Likewise.
1663
ef5cdfc7
JJ
16642001-11-07 Jakub Jelinek <jakub@redhat.com>
1665
1666 * readelf.c (debug_str, debug_str_size): New.
1667 (display_debug_abbrev): If no abbrevs were read, skip the CU.
1668 Call free_abbrevs.
1669 (read_and_display_addr): Handle DW_FORM_strp.
1670 (display_debug_info): Read .debug_str section if present,
1671 so that DW_FORM_strp can be handled.
1672 Fix test for non-existant .debug_abbrev section.
1673
5e9520c8
JJ
16742001-11-05 Jakub Jelinek <jakub@redhat.com>
1675
1676 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
1677
1678 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
1679
54589086
MS
16802001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
1681
1682 * MAINTAINERS: Add self as s390/s390x maintainer.
1683
c05b685b
TR
16842001-11-02 Tom Rix <trix@bluey.cygnus.com>
1685
1686 * MAINTAINERS: Add self as PPC XCOFF maintainer.
1687
3c62831e
NC
16882001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
1689
1690 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
1691 * configure: Regernate.
1692 * po/fr.po: New file.
1693 * po/tr.po: New file.
1694
3c3bdf30
NC
16952001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
1696
9b19141a 1697 * MAINTAINERS: Add self as MMIX port maintainer.
3c3bdf30
NC
1698 * readelf.c: Include elf/mmix.h.
1699 (guess_is_rela): MMIX is RELA.
1700 (dump_relocations): Handle MMIX relocations.
1701 * Makefile.am: Regenerate dependencies.
1702 * Makefile.in: Regenerate.
1703
f662939a
NC
17042001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
1705
1706 * readelf.c (parse_args): Handle multiple options to the -w
1707 switch.
1708
c91d0dfb
JJ
17092001-10-12 Jakub Jelinek <jakub@redhat.com>
1710
1711 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
1712 LOPROC, LOOS and LOUSER.
1713
7559e86e 17142001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
d1b67f3c
JR
1715
1716 * MAINTAINERS: Update my email address.
1717
fcd8210c
AM
17182001-10-03 Alan Modra <amodra@bigpond.net.au>
1719
1720 * doc/Makefile.in: Regenerate.
1721 * configure: Regenerate.
1722
428409d5
NC
17232001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
1724
1725 * readelf.c (display_debug_line, display_debug_pubnames,
1726 display_debug_info, display_debug_frames): Detect and warn
1727 about 64-bit format entries.
1728 (display_debug_aranges): Reword 64-bit warning.
1729 (debug_displays): Add .debug_pubtypes as a known, but not yet
1730 supported, debug section.
1731
6a8c2b0d
AM
17322001-10-02 Alan Modra <amodra@bigpond.net.au>
1733
1734 * coffdump.c (PROGRAM_VERSION): Delete.
1735 (main <'V'>): Call print_version.
1736 * srconv.c: Likewise.
1737 * sysdump.c: Likewise.
1738 * version.c (program_version): Remove.
1739 (print_version): Use BFD_VERSION_STRING. Just print the current
1740 year in copyright message.
1741 * addr2line.c (program_version): Remove unused declaration.
1742 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
1743 place of BFD_VERSION.
1744 * Makefile.am (Makefile): Depend on bfd/configure.in.
1745 (cplus-dem.o): Depend on Makefile.
1746 Run "make dep-am".
1747 * Makefile.in: Regenerate.
1748
e414a165
NC
17492001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
1750
1751 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
1752 format .debug_arange sections.
1753 (main): Add missing prototype.
b8908f93 1754
efc3ee7f
HPN
17552001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
1756
1757 * Makefile.am: Update dependencies with "make dep-am".
1758 * Makefile.in: Regenerate.
1759
9e85c2a0
RH
17602001-09-28 Richard Henderson <rth@redhat.com>
1761
1762 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
1763
451dad9c
AM
17642001-09-26 Alan Modra <amodra@bigpond.net.au>
1765
1766 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
1767 VA_CLOSE.
1768 (non_fatal): Likewise.
1769 * objdump.c (objdump_sprintf): Likewise.
1770 * readelf.c (error): Likewise.
1771 (warn): Likewise.
1772
d974e256
JJ
17732001-09-25 Jakub Jelinek <jakub@redhat.com>
1774
1775 * readelf.c (do_wide): New.
1776 (options): Add --wide.
1777 (usage, parse_args): Likewise.
1778 (process_program_headers): Put each segment on a single line if
1779 --wide is given.
1780 (process_section_headers): Put each section on a single line if
1781 --wide is given.
1782 * doc/binutils.texi: Document it.
1783 * NEWS: Likewise.
1784
2f11c261
AM
17852001-09-25 Alan Modra <amodra@bigpond.net.au>
1786
1787 * readelf.c (print_vma): Print 8 digits of low hex value.
1788
1d50f91e
AJ
17892001-09-24 Andreas Jaeger <aj@suse.de>
1790
1791 * nlmconv.c: Fix warnings about unused attributes and function
1792 prototypes.
1793
1794 * strings.c: Add prototype for get_char.
1795
38131e67
L
17962000-09-19 H.J. Lu <hjl@gnu.org>
1797
1798 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
1799 $(srcdir)/cxxfilt.man.
1800 * doc/Makefile.in: Rebuild.
1801
3bcfb3e4
AM
18022001-09-19 Alan Modra <amodra@bigpond.net.au>
1803
1804 * objcopy.c (copy_main): Correct rename-section string parsing.
1805 Consolidate new_name parsing, and error messages.
1806
3882b010
L
18072001-09-18 Bruno Haible <haible@clisp.cons.org>
1808
1809 * addr2line.c: Don't include <ctype.h>.
1810 (main): For gettext, also set the LC_CTYPE locate facet.
1811 * ar.c (main): Likewise.
1812 * coffdump.c (main): Likewise.
1813 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
1814 (main): For gettext, also set the LC_CTYPE locate facet.
1815 Use ISALNUM instead of isalpha/isdigit.
1816 * dllwrap.c: Don't include <ctype.h>.
1817 (main): For gettext, also set the LC_CTYPE locate facet.
1818 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
1819 (main): For gettext, also set the LC_CTYPE locate facet.
1820 Use TOUPPER instead of islower/toupper.
1821 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
1822 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
1823 Use TOUPPER instead of islower/toupper.
1824 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
1825 * objcopy.c (main): Likewise.
1826 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
1827 (disassemble_bytes): Use ISPRINT instead of isprint.
1828 (dump_section_stabs): Use ISDIGIT instead of isdigit.
1829 (dump_data): Use ISPRINT instead of isprint.
1830 (main): For gettext, also set the LC_CTYPE locate facet.
1831 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
1832 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
1833 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
1834 Use TOUPPER instead of islower/toupper.
1835 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
1836 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
1837 (write_rc_accelerators): Use ISPRINT instead of isprint.
1838 (write_rc_rcdata): Likewise.
1839 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
1840 * srconv.c (main): Likewise.
1841 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
1842 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
1843 isdigit/isupper/islower.
1844 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
1845 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
1846 stab_demangle_prefix, stab_demangle_qualified,
1847 stab_demangle_template, stab_demangle_type,
1848 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
1849 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
1850 (isgraphic): Use ISPRINT instead of isascii/isprint.
1851 (main): Remove HAVE_LC_MESSAGES dependency.
1852 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
1853 (pbarray): Use ISPRINT instead of isprint.
1854 (main): For gettext, also set the LC_CTYPE locate facet.
1855 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
1856 (format_from_filename): Use ISPRINT instead of isprint.
1857 (main): For gettext, also set the LC_CTYPE locate facet.
1858 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
1859 (unicode_print): Use ISPRINT instead of isprint.
1860 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
1861 (stab_variable): Use ISDIGIT instead of isdigit.
1862
e59b4dfb
AM
18632001-09-18 Alan Modra <amodra@bigpond.net.au>
1864
1865 * ar.c (print_contents): Cast args of bfd_seek to the right types.
1866 Replace bfd_read call with call to bfd_bread.
1867 (extract_file): Likewise.
1868
1869 * objdump.c (dump_section_header): Cast section->filepos to
1870 unsigned long to suit printf format string.
1871 * readelf.c (process_section_headers): Similarly for sh_offset.
1872 (process_unwind): Likewise.
1873
d132876a
NC
18742001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
1875
1876 * strings.c (encoding, encoding_bytes): New variables.
1877 (long_options): Add --encoding.
1878 (main): Accept -e and --encoding.
1879 (get_char): New function. Read a, possibly wide, character from
1880 the input stream.
1881 (print_strings): Use get_char().
1882 (usage): Document new command line option.
1883 * doc/binutils.texi: Document new command line option.
1884 * NEWS: Announce new command line option.
1885
7559e86e 18862001-09-12 Alexandre Oliva <aoliva@redhat.com>
2b0337b0
AO
1887
1888 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
1889 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
1890 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
1891 Removed EM_CYGNUS_ARC.
1892
7559e86e 18932001-09-04 Jeffrey A Law (law@cygnus.com)
b8720f9d
JL
1894
1895 * readelf.c: Include elf/h8 for H8 series definitions.
1896 (guess_is_rela): H8 series if RELA.
1897 (dump_relocations): Handle H8 series relocations.
1898
0823fbca
EC
18992001-08-31 Eric Christopher <echristo@redhat.com>
1900
1901 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
1902
8db76d70
PT
19032001-08-29 Peter Targett <peter.targett@arccores.com>
1904
1905 * MAINTAINERS: Include ARC Maintainer.
1906
d81d6584
BE
19072001-08-29 Ben Elliston <bje@redhat.com>
1908
1909 * stabs.c (stab_demangle_template): Initialise s4.
1910
25a1ff5b
AM
19112001-08-27 Alan Modra <amodra@bigpond.net.au>
1912
1913 * readelf.c (dump_relocations): Recognise EM_PPC64.
1914
a5d22d2a
TS
19152001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1916
1917 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
1918
62a5a82d
L
19192001-08-25 H.J. Lu <hjl@gnu.org>
1920
1921 * nm.c (print_width): New.
1922 (display_rel_file): Set `print_width' according to
1923 bfd_sprintf_vma.
1924 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
1925
1ae8b3d2
AO
19262001-08-24 Alexandre Oliva <aoliva@redhat.com>
1927
1928 * objcopy.c (use_alt_mach_code): New variable.
1929 (OPTION_ALT_MACH_CODE): Define.
1930 (copy_options): Added --alt-machine-code.
1931 (copy_main): Handle it.
1932 (copy_object): Switch to alternate machine code if requested.
1933 * doc/binutils.texi: Document new option.
1934 * NEWS: Likewise.
1935
d1bdd336
TS
19362001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1937
1938 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
1939
410f7a12
L
19402001-08-21 H.J. Lu <hjl@gnu.org>
1941
1942 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
1943 (display_debug_info): Cast for 64bit hosts.
1944 (display_debug_frames): Likewise.
1945 (process_mips_specific): Likewise.
1946
c32144ff
AJ
19472001-08-21 Andreas Jaeger <aj@suse.de>
1948
1949 * coffgrok.h: Add missing parameter for prototype of coff_grok.
1950
1951 * sysdump.c: Add missing prototypes.
1952 * srconv.c: Likewise.
1953 * unwind-ia64.c: Likewise.
1954 * coffdump.c: Likewise.
1955
1956 * sysinfo.y: Print prototypes, include <ansidecl.h>.
1957
1958 * coffgrok.c: Add missing prototypes, include libiberty.h instead
1959 of declaring xcalloc.
1960
d8180c76
L
19612001-08-10 H.J. Lu <hjl@gnu.org>
1962
1963 * nm.c (print_value): Add one arg, bfd *.
1964 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
1965 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
1966 (print_symbol_info_sysv): Likewise.
1967 (print_symbol_info_posix): Likewise.
1968
1969 * objdump.c (dump_section_header): Replace printf_vma with
1970 bfd_printf_vma.
1971 (print_section_stabs): Likewise.
1972 (dump_bfd_header): Likewise.
1973 (objdump_print_value): Replace sprintf_vma with
1974 bfd_sprintf_vma.
1975 (disassemble_bytes): Likewise.
1976 (dump_reloc_set): Likewise.
1977
0218d1e4
AJ
19782001-08-10 Andreas Jaeger <aj@suse.de>
1979
1980 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
1981 to build warnings.
1982 * configure: Regenerate.
1983
2863d58a
AM
19842001-08-09 Alan Modra <amodra@bigpond.net.au>
1985
1986 * readelf.c: Add missing prototypes.
1987 * objdump.c: Likewise. Format existing prototypes.
1988
c0e047e0
AO
19892001-08-08 Alexandre Oliva <aoliva@redhat.com>
1990
1991 * readelf.c (display_debug_info): Add to abbrev_offset the addend
1992 of any RELA relocation for the abbrev_offset memory location that
1993 refers to the .debug_abbrev section symbol.
1994
ff78d6d6
L
19952001-08-07 H.J. Lu <hjl@gnu.org>
1996
1997 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
1998 (main): Return process_file ().
1999
c36774d6
PB
20002001-08-05 Philip Blundell <philb@gnu.org>
2001
2002 * doc/binutils.texi: Use "Thumb" not "THUMB".
2003
8f9d9bd9
JH
20042001-08-03 John Healy <jhealy@redhat.com>
2005
bb279dc0
ZW
2006 Patch suggested by Frank Eigler <fche@redhat.com>.
2007 * objdump.c (disassemble_data): Fill in section member of the
2008 disasm_info structure.
8f9d9bd9 2009
c918cb96
DD
20102001-08-03 Tom Walsh <tom@cyberiansoftware.com>
2011
2012 * configure.in: Added --with-windres option.
2013 * configure: Regenerated.
2014
c7c55b78
NC
20152001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2016
2017 * doc/binutils.texi: Use @command{name} for commands;
2018 use @option{-opt} for options; use @table @env for list of options;
2019 remove spaces arround [ | ] in synopsis.
2020
2021 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
2022 center title.
2023
594ef5db
NC
20242001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
2025
bb279dc0
ZW
2026 * objcopy.c: Fix formatting.
2027 (section_rename): New structure.
2028 (OPTION_RENAME_SECTION): New switch.
2029 (copy_usage): Document new switch.
2030 (add_section_rename): New function: Add a node to the section
2031 rename list.
2032 (find_section_rename): New function: Find the new name and
2033 flags for a section.
2034 (setup_section): Call find_section_name to determine the name
2035 of the output section.
2036 (copy_main): Handle OPTION_RENAME_SECTION.
2037 * binutils.texi: Document new switch.
594ef5db
NC
2038 * NEWS: Mention new switch.
2039
1f554c69
NC
20402001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
2041
2042 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
2043 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
2044 bug-binutils@gcc.org.
2045
2f83960e
AM
20462001-07-28 Matthias Kramm <kramm@quiss.org>
2047
2048 * bucomm.c (list_supported_architectures): New function.
2049 * bucomm.h (list_supported_architectures): Declare.
2050 * objdump.c (usage): Call the above.
2051
20fe0649
DB
20522001-07-25 Dave Brolley <brolley@redhat.com>
2053
2054 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
2055 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
2056
1b577b00
NC
20572001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
2058
2059 * README: Update for 2.11. Change bug reporting email address.
2060 * MAINTAINERS: Tidy up. Change bug reporting email address.
2061
95fd336c
DD
20622001-07-16 DJ Delorie <dj@redhat.com>
2063
5f16d855
DD
2064 * resres.c (write_res_header): Align header size.
2065 (res_align_file): Calculate alignment correctly.
2066
95fd336c
DD
2067 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
2068 correct 10).
2069 * resrc.c (write_rc_resource): Likewise.
2070 * windres.h (SUBLANG_SHIFT): Define - as 10.
2071
ed8fee27
NC
20722001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
2073
2074 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
2075
90ab7e9a
NC
20762001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
2077
2078 * MAINTAINERS: Add notes about branch checkins.
2079
e0c60db2
NC
20802001-07-05 Daniel Berlin <dan@cgsoftware.com>
2081
2082 * readelf.c (display_debug_macinfo): New function, display
2083 .debug_macinfo section.
2084 (do_debug_macinfo): New variable.
2085 (parse_args): Handle "-w[mM]" to mean display macro info.
2086 (process_section_headers): Handle debug_macinfo.
2087 (debug_displays): Replace unsupported function with macinfo
0218d1e4 2088 function for .debug_macinfo display.
e0c60db2
NC
2089 * doc/binutils.texi: Document new command line switch.
2090 * NEWS: Document new feature of readelf.
0218d1e4 2091
24e01a36
L
20922001-07-05 H.J. Lu <hjl@gnu.org>
2093
2094 * objcopy.c (filter_symbols): Don't turn undefined symbols
2095 into local.
2096
4258bf4d
L
20972001-07-03 H.J. Lu <hjl@gnu.org>
2098
2099 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
2100 $@.pod.
2101 (ar.1): Likewise.
2102 (dlltool.1): Likewise.
2103 (nlmconv.1): Likewise.
2104 (nm.1): Likewise.
2105 (objcopy.1): Likewise.
2106 (objdump.1): Likewise.
2107 (ranlib.1): Likewise.
2108 (readelf.1): Likewise.
2109 (size.1): Likewise.
2110 (strings.1): Likewise.
2111 (strip.1): Likewise.
2112 (windres.1): Likewise.
2113 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
2114 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
2115 $(DEMANGLER_NAME).
2116 (as.1): Removed.
2117 * doc/Makefile.in: Regenerated.
2118
7014bc31
NC
21192001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
2120
2121 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
2122
b811889f
NC
21232001-07-01 Daniel Berlin <dan@cgsoftware.com>
2124
2125 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
2126
12ab83a9
NC
21272001-06-29 James Cownie <jcownie@etnus.com>
2128
2129 * readelf.c: Support DWARF 2.1 attributes.
2130
a6e9f9df
AM
21312001-06-28 Alan Modra <amodra@bigpond.net.au>
2132
2133 * readelf.c (GET_DATA_ALLOC): Remove.
2134 (GET_DATA): Remove.
2135 (get_data): New function combining above macros, with an extra
2136 test for zero size.
2137 (slurp_rela_relocs): Use get_data, and catch error return.
2138 (slurp_rel_relocs): Likewise.
2139 (get_32bit_program_headers): Likewise.
2140 (get_64bit_program_headers): Likewise.
2141 (get_32bit_section_headers): Likewise.
2142 (get_64bit_section_headers): Likewise.
2143 (get_32bit_elf_symbols): Likewise.
2144 (get_64bit_elf_symbols): Likewise.
2145 (process_section_headers): Likewise.
2146 (process_relocs): Likewise.
2147 (slurp_ia64_unwind_table): Likewise.
2148 (process_unwind): Likewise.
2149 (get_32bit_dynamic_segment): Likewise.
2150 (get_64bit_dynamic_segment): Likewise.
2151 (process_dynamic_segment): Likewise.
2152 (process_version_sections): Likewise.
2153 (process_symbol_table): Likewise.
2154 (dump_section): Likewise.
2155 (display_debug_info): Likewise.
2156 (display_debug_section): Likewise.
2157 (process_section_contents): Likewise.
2158 (process_corefile_note_segment): Likewise.
2159 (process_mips_specific): Likewise. Also free econf32, econf64.
2160
af3fc3bc
AM
21612001-06-25 Alan Modra <amodra@bigpond.net.au>
2162
2163 * readelf.c (dump_relocations): Print "bad symbol index" if
2164 symtab == NULL with non-zero symtab_index.
2165 (process_relocs): Don't bomb if reloc section has no symsec.
2166
6d900bf6
L
21672001-06-24 H.J. Lu <hjl@gnu.org>
2168
2169 * objcopy.c (strip_main): Revert the change made on 2001-05-30
2170 by accident.
2171 (copy_main): Apply the the change made to strip_main on
2172 2001-05-30 by accident.
2173
49b4e386
AJ
21742001-06-23 Andreas Jaeger <aj@suse.de>
2175
2176 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
2177 parameter 'code'.
2178 (unw_decode_x2): Likewise.
2179 (unw_decode_x3): Likewise.
2180 (unw_decode_x4): Likewise.
2181
d8dc71e3
BE
21822001-06-23 Ben Elliston <bje@redhat.com>
2183
2184 * MAINTAINERS: Add myself as M88k maintainer.
2185
af3bdff7
NC
21862001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
2187
2188 * objcopy.c (strip_main): Support -o or --output-file command lien
2189 switch.
2190
105e7211
L
21912001-06-19 H.J. Lu <hjl@gnu.org>
2192
2193 * doc/Makefile.in: Regenerated.
2194
c45021f2
NC
21952001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
2196
2197 * readelf.c: Restore formatting.
2198
21992001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
2200
bb279dc0
ZW
2201 * Makefile.am: Move documentation into doc subdirectory.
2202 * Makefile.in: Regenerated.
c45021f2 2203 * binutils.texi: Move into doc subdirectory.
bb279dc0
ZW
2204 * addr2line.1: Removed.
2205 * ar.1: Likewise.
2206 * dlltool.1: Likewise.
2207 * nlmconv.1: Likewise.
2208 * nm.1: Likewise.
2209 * objcopy.1: Likewise.
2210 * objdump.1: Likewise.
2211 * ranlib.1: Likewise.
2212 * readelf.1: Likewise.
2213 * size.1: Likewise.
2214 * strings.1: Likewise.
2215 * strip.1: Likewise.
2216 * windres.1: Likewise.
2217 * cxxfilt.man: Likewise.
c45021f2
NC
2218 * doc: New Directory.
2219 * doc/Makefile.am: New file.
2220 * doc/Makefile.in: Generate.
2221
09ad7db3
AM
22222001-06-09 Alan Modra <amodra@bigpond.net.au>
2223
2224 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
2225
936260fe
AM
22262001-06-01 Alan Modra <amodra@bigpond.net.au>
2227
2228 * MAINTAINERS: Update my email address.
2229
16b2b71c
NC
22302001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
2231
2232 * objcopy.c: Add new switches: --keep-global-symbol,
2233 --keep-symbols, --localize-symbols, --keep-global-symbols and
2234 --weaken-symbols.
2235 * binutils.texi: Document new switches.
2236 * objcopy.1: Regenerate.
2237 * NEWS: Announce new feature.
2238
7036c0e1
AJ
22392001-05-28 Andreas Jaeger <aj@suse.de>
2240
2241 * readelf.c (display_debug_frames): Fix warnings: Remove unused
2242 variables, fix format strings.
2243
76a406e5
NC
22442001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
2245
2246 * objdump.c (disassemble_bytes): Remove section VMA adjustment
2247 when computing the address of the line to show.
2248
31b6fca6
RH
22492001-05-16 Richard Henderson <rth@redhat.com>
2250
2251 * readelf.c (do_debug_frames_interp): New.
2252 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
2253 (byte_get_big_endian): Likewise.
2254 (parse_args) ['F']: Set do_debug_frames_interp.
2255 (Frame_Chunk): Make data_factor signed, add fde_encoding.
2256 (frame_display_row): Don't trunc pc_begin to int.
2257 (size_of_encoded_value): New.
2258 (display_debug_frames): Handle 64-bit targets. Print raw data
2259 unless do_debug_frames_interp.
2260 (debug_displays): Remove duplicate .debug_frame.
2261
4fe85591
NC
22622001-05-15 Ralf Baechle <ralf@gnu.org>
2263
2264 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
2265 The former constant was never in active use and is used otherwise
2266 by the ABI.
2267
579f31ac
JJ
22682001-05-11 Jakub Jelinek <jakub@redhat.com>
2269
2270 * readelf.c (process_unwind): Print all unwind sections, not just
2271 one.
2272
78f4a3f7
AM
22732001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2274
2275 * readelf.c (process_unwind): Remove const specifier.
2276
1c529ca6
NC
22772001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
2278
2279 * strings.c (isgraphic): Do not use isascii() unless it is needed
2280 for isprint() to work.
2281 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
2282
87e6d782
NC
22832001-04-27 Johan Rydberg <jrydberg@opencores.org>
2284
bb279dc0 2285 * NEWS: Announce support for OpenRISC.
87e6d782 2286
4bd3d870 22872001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
49b4e386
AJ
2288
2289 * dlltool.c (do_default_excludes): Initialise to true.
2290
21211521
AM
22912001-04-10 Alan Modra <amodra@one.net.au>
2292
2293 * MAINTAINERS: Update my email address
2294 * nm.c (print_symbol_info_bsd): Use a simple printf string.
2295
0c66b61e 22962001-04-05 Hans-Peter Nilsson <hp@axis.com>
ff94ebf2
HPN
2297
2298 * readelf.c (display_debug_lines): Fix typo for "Prologue".
2299
e58d53af
L
23002001-03-30 H.J. Lu <hjl@gnu.org>
2301
2302 * readelf.c (process_unwind): Just return if do_unwind is 0.
2303
bee72332
DD
23042001-03-28 Roger Sayle <roger@metaphorics.com>
2305
2306 * dlltool.c (make_one_lib_file): Fix section flags for
2307 .text, .data and .bss in stub ds*.o files to match those
2308 generated by gas.
2309
f1467e33
L
23102001-03-29 H.J. Lu <hjl@gnu.org>
2311
2312 * readelf.c (process_unwind): Only do unwind sections for
2313 IA64.
2314
1c6fb4fe
L
23152001-03-28 H.J. Lu <hjl@gnu.org>
2316
2317 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
2318 * Makefile.in: Regenerate.
2319
0879a67a
AJ
23202001-03-26 Andreas Jaeger <aj@suse.de>
2321
2322 * binutils.texi (nm): Fix texi syntax.
2323
0285c67d
NC
23242001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2325
2326 * binutils.texi: Put @c man begin and @c man end indications
2327 to generate man pages using texi2pod and pod2man. Put @c man title
2328 to identify each man. Add SEEALSO entries.
2329 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
2330 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
2331 sort the list.
2332 (*.1): Build the man pages from binutils.texi.
2333 * Makefile.in: Regenerate.
2334
04847a4d
CF
23352001-03-13 Eric Kohl <ekohl@rz-online.de>
2336
2337 * defparse.y (opt_equal_name): allow "." in name.
2338 * dlltool.c (def_exports): Added ability to generate forwarded exports.
2339 (gen_exp_file): Likewise.
2340
43a0748c
NC
23412001-03-12 Stefan Geuken <mail@stefan-geuken.de>
2342
2343 * NEWS: Document addition of -B switch to objcopy.
2344 * binutils.texi: Document addition of -B switch to objcopy.
2345 * objcopy.c: (copy_options): Add --binary-architecture.
2346 (copy_usage): Document -B/--binary-architecture.
2347 (copy_main): Support -B/--binary-architecture. Set
2348 bfd_external_binary_architecture.
0879a67a 2349
b7498e0e
NC
23502001-03-11 Andreas Jaeger <aj@suse.de>
2351
2352 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
2353 (dump_relocations): Likewise.
2354 (get_machine_name): Likewise.
2355
a59e3bd7
NC
23562001-02-28 Nick Clifton <nickc@redhat.com>
2357
2358 * readelf.c: (struct unw_aux_info): Remove const modifier for
2359 'strtab' field.
2360 (process_unwind): Remove non-K&R compliant LHS type cast in call
2361 to GET_DATA_ALLOC macro.
2362
a5bcd848
PB
23632001-02-28 Philip Blundell <pb@futuretv.com>
2364
2365 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
2366 ABI is in use; remove ambiguity between the "unknown" EABI and
2367 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
2368 renamed EF_xx constants.
2369
27b7e12d
AM
23702001-02-27 Alan Modra <alan@linuxcare.com.au>
2371
2372 * configure.in (BFD_VERSION): New.
2373 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
2374 * configure: Regenerate.
2375 * Makefile.am: Run "make dep-am"
2376 * Makefile.in: Regenerate.
2377
a9f10786
NC
23782001-02-14 Nick Clifton <nickc@redhat.com>
2379
2380 * MAINTAINERS: Add "Obvious Fix" rule.
2381
3c44da9a
MS
23822001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2383
2384 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
2385 literal concatenation.
2386
ecd03389
MS
23872001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2388
2389 * readelf.c (struct unw_aux_info): Remove const from the info member.
2390 (process_unwind): Don't type-cast the third argument to the
2391 GET_DATA_ALLOC macro.
2392
88ec60c7
NC
23932001-02-11 Nick Clifton <nickc@redhat.com>
2394
2395 * readelf.c (dump_relocations): Free corrected allocated
2396 array.
2397 (process_unwind): Fix compile time warning.
2398
f5e21966
NC
23992001-02-10 Nick Clifton <nickc@redhat.com>
2400
2401 * binutils.texi: Document new --unwind option to readelf.
2402
a85d7ed0
NC
24032001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
2404
2405 * readelf.c: Add linux target for S/390.
2406
7bb10502
AM
24072001-02-10 Alan Modra <alan@linuxcare.com.au>
2408
2409 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
2410 printf is a macro.
2411
8ca8f343
HPN
24122001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
2413
2414 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
2415 * aclocal.m4: Regenerate.
2416 * configure: Regenerate.
2417
7340082d
NC
24182001-02-07 Todd Vierling <tv@wasabisystems.com>
2419
2420 * bucomm.c (bfd_target_vector): Change extern array to pointer.
2421 * objdump.c (bfd_target_vector): Likewise.
2422
4d6ed7c8
NC
24232001-02-07 David Mosberger <davidm@hpl.hp.com>
2424
2425 * readelf.c (process_unwind): New function.
2426 (slurp_ia64_unwind_table): Ditto.
2427 (dump_ia64_unwind): Ditto.
2428 (find_symbol_for_address): Ditto.
2429 (slurp_rela_relocs): New function (split off from dump_relocations()).
2430 (slurp_rel_relocs): Ditto.
2431 (parse_args): Handle '-u' option.
2432
2433 * unwind-ia64.c: New file.
2434 * unwind-ia64.h: New file.
2435 * Makefile.am: Include unwind-ia64.c in readelf build.
2436 * Makefile.in: Regenerate.
7340082d 2437 * po/binutils.pot: Regenerate.
4d6ed7c8 2438
c7217458
PB
24392001-02-04 Philip Blundell <philb@gnu.org>
2440
2441 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
2442 * configure: Regenerate.
2443
956eedd4
AM
24442001-01-31 Steve deRosier <sderosier@vari-lite.com>
2445
2446 * ieee.c (ieee_add_bb11): Don't check for backslashes
2447 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
2448
8855cbca
AM
24492001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
2450
c7f2731e
AM
2451 * ieee.c: Update copyright.
2452 (ieee_start_compilation_unit): Don't check for backslashes
2453 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
2454
8855cbca
AM
2455 * stabs.c: Update copyright. Include "filenames.h".
2456 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
2457
329de803 24582001-01-23 Jakub Jelinek <jakub@redhat.com>
00d93f34
JJ
2459
2460 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
2461 sections are present before using them. Remove code duplication.
2462 (process_symbol_table): Check if VERDEF or VERNEED sections are
2463 present before using them.
2464
23719f39
NC
24652001-01-17 Nick Clifton <nickc@redhat.com>
2466
2467 * objcopy.c (copy_object): Fail if attempting to convert the
2468 endianness of the input object file.
2469
2470 * binutils.texi: Explain that objcopy cannot convert endianness.
c7f2731e 2471
f726e849
NC
24722001-01-16 Nick Clifton <nickc@redhat.com>
2473
2474 * readelf.c (string_table_length): New variable.
2475 (SECTION_NAME): Catch out of range indices and missing section
2476 pointers.
2477 (process_section_headers): Delete useless local variable
2478 string_table_offset. Set the value of string_table_length
2479 after loading the string table.
2480 (process_mips_specific): Use SECTION_NAME macro.
2481 (process_file): Set string_table_length to 0 when it is freed.
2482
d0398d6a
NC
24832001-01-12 Nick Clifton <nickc@redhat.com>
2484
2485 * version.c (print_version): Update copyright date.
2486
0d2bcfaf
NC
24872001-01-11 Peter Targett <peter.targett@arccores.com>
2488
2489 * readelf.c (dump_relocations): Include selection with EM_ARC.
2490 (get_machine_name) Update name to "ARC".
2491
8b1e6df3
NC
24922001-01-09 Nick Clifton <nickc@redhat.com>
2493
2494 * Makefile.am: Add rule to build objdump.o from objdump.c and
2495 using OBJDUMP_DEFS.
2496 * Makefile.in: Regenerate.
2497
2498 * configure.in: Define OBJDUMP_DEFS. Default to empty.
2499 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
2500 -DDISASSEMBLER_NEEDS_RELOCS.
34cc70e3 2501 * configure: Regenerate.
8b1e6df3
NC
2502
2503 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
2504 is defined read in the relocs even if dump_reloc_info is
2505 false.
2506
2f952d20
PB
25072001-01-07 Philip Blundell <philb@gnu.org>
2508
2509 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
2510 `bug-binutils'.
2511 * README: Likewise.
2512
a8c548cb
NC
25132000-12-19 Nick Clifton <nickc@redhat.com>
2514
2515 * dlltool.c: Add missing support for arm-epoc-pe.
2516 * configure.in: Add missing support for arm-epoc-pe.
2517 * configure: Regenerate.
2518
cc5fda35
NC
25192000-12-15 Nick Clifton <nickc@redhat.com>
2520
2521 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
2522 Mode parts of the x86 port.
2523
bcedfee6
NC
25242000-12-04 Andreas Jaeger <aj@suse.de>
2525
2526 * readelf.c (guess_is_rela): Add EM_X86_64.
2527 (dump_relocations): Add EM_X86_64.
2528 (get_machine_name): Add EM_X86_64.
2529 Include "elf/x86-64.h".
2530
584da044
NC
25312000-12-12 Nick Clifton <nickc@redhat.com>
2532
2533 * readelf.c: Fix formatting.
2534
7559e86e 25352000-12-11 Jan Hubicka <jh@suse.cz>
b8355149
JH
2536
2537 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
2538
a98cc2b2
AH
25392000-12-07 Andrew Haley <aph@redhat.com>
2540
2541 * readelf.c (display_debug_frames): Only display columns that are
2542 referenced by the frame debug info.
2543
c7987a69
NC
25442000-12-05 Nick Clifton <nickc@redhat.com>
2545
2546 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
2547
09fd7e38
JM
25482000-12-04 Jason Merrill <jason@redhat.com>
2549
2550 * readelf.c (process_section_headers): Handle linkonce.wi sections.
2551 (display_debug_section): Likewise.
2552 (display_debug_info): Display CU header before bailing.
2553
e7af610e
NC
25542000-12-01 Chris Demetriou <cgd@sibyte.com>
2555
09fd7e38
JM
2556 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
2557 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
2558 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
e7af610e 2559
09fd7e38
JM
2560 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
2561 and E_MIPS_ARCH_64.
84ea6cf2 2562
09fd7e38
JM
2563 * readelf.c (get_machine_flags): Add case for
2564 E_MIPS_MACH_SB1.
c6c98b38 2565
75066968
DD
25662000-11-30 Richard Earnshaw <rearnsha@arm.com>
2567
2568 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
2569
5c4666ea
HPN
25702000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
2571