9903634d6db0f0800424f95b65a5ac197896a44e
[binutils-gdb.git] / binutils / ChangeLog
1 2003-02-12 Bob Wilson <bob.wilson@acm.org>
2
3 * nm.c (usage): Add `java' and `gnat' demangle styles and make
4 quotes consistent.
5 * objdump.c (usage): Ditto. Also fix some typos.
6
7 * readelf.c (parse_args): Include 'H' option in call to getopt_long.
8
9 2003-02-10 Nick Clifton <nickc@redhat.com>
10
11 * readelf.c (decode_ARM_machine_flags): Handle the
12 EF_ARM_MAVERICK_FLOAT flag.
13
14 2003-02-04 Andreas Schwab <schwab@suse.de>
15
16 * rddbg.c (read_section_stabs_debugging_info): Cast ptrdiff_t to
17 long and use %ld in printf format.
18
19 2003-01-28 Richard Sandiford <rsandifo@redhat.com>
20
21 * readelf.c (dump_relocations): Reorder the r_info field for
22 little-endian mips elf64. Move #ifdef BFD64 to cover the new code.
23
24 2003-01-21 Daniel Berlin <dan@dberlin.org>
25
26 * readelf.c (display_debug_loc): Skip address base changes.
27
28 2003-01-17 Fabio Alemagna <falemagn@aros.org>
29
30 * readelf.c (get_osabi_name): Handle ELFOSABI_AROS, ELFOSABI_OPENVMS
31 and ELFOSABI_NSK.
32
33 2003-01-16 Alan Modra <amodra@bigpond.net.au>
34
35 * readelf.c: Include elf/ppc64.h.
36 (dump_relocations <EM_PPC64>): Use elf_ppc64_reloc_type.
37 * Makefile.am: Run "make dep-am".
38 * Makefile.in: Regenerate.
39
40 2003-01-02 Ben Elliston <bje@redhat.com>
41
42 * readelf.c (guess_is_rela): Handle EM_IQ2000.
43 (get_machine_name): Likewise.
44 (dump_relocations): Likewise.
45 * NEWS: Mention IQ2000 support.
46
47 2003-01-02 Richard Sandiford <rsandifo@redhat.com>
48
49 * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_32R2.
50
51 2002-12-30 Chris Demetriou <cgd@broadcom.com>
52
53 * doc/binutils.texi (objdump): Note MIPS HWR (Hardware Register)
54 changes in MIPS -M options.
55
56 2002-12-30 Dmitry Diky <diwil@mail.ru>
57
58 * Makefile.am: Add msp430 target.
59 * Makefile.in: Regenerate.
60 * readelf.c: Add support for msp430 target.
61
62 2002-12-27 Chris Demetriou <cgd@broadcom.com>
63
64 * doc/binutils.texi (objdump): Document MIPS -M options.
65
66 2002-12-23 Andreas Schwab <schwab@suse.de>
67
68 * readelf.c (main): Reset dump request after each file.
69
70 2002-12-23 Nick Clifton <nickc@redhat.com>
71
72 * nlmconv.c (main): Pass TRUE as third argument to
73 bfd_arch_get_compatible.
74
75 2002-12-23 Nick Clifton <nickc@redhat.com>
76
77 * strings.c (isgraphic): Replace definition with STRING_ISGRAPHIC
78 macro. Handle 'S' encoding, accepting 8-bit characters.
79 (main): Parse 'S' encoding.
80 (get_char): Accept 'S' encoding.
81 (print_strings): Use STRING_ISGRAPHIC.
82 (usage): Document support of 'S' encoding.
83 * doc/binutils.texi: Document support of 'S' encoding/
84 * NEWS: Mention new feature.
85
86 2002-12-20 Alan Modra <amodra@bigpond.net.au>
87
88 * README <building ar>: Don't use libibery's needed_list or
89 required_list, instead link libiberty/*.o.
90
91 2002-12-19 Kazu Hirata <kazu@cs.umass.edu>
92
93 * doc/binutils.texi: Fix typos.
94
95 2002-12-14 John David Anglin <dave@hiauly1.hia.nrc.ca>
96
97 * doc/binutils.texi: Add missing parenthesis.
98
99 2002-12-15 Nick Kelsey <nickk@ubicom.com>
100
101 * objcopy.c: Add --prefix-symbols=<prefix> option to rename all
102 symbols by adding the given prefix to the begining of the symbol
103 name. This is useful to provide name space seperation regardless
104 of how the object file was created. Added --prefix-sections=
105 <prefix> and --prefix-alloc-sections=<prefix> options to rename all
106 sections (or all sections with the alloc flag set) by adding the given
107 prefix to the begining of the symbol name.
108 * NEWS: Mention this new feature.
109 * doc/binutils.texi: Document this new feature.
110
111 2002-12-13 Alan Modra <amodra@bigpond.net.au>
112
113 * dlltool.c (mcore_elf_gen_out_file): Replace all occurrences of
114 dyn_string_append with dyn_string_append_cstr.
115
116 * emul_aix.c (ar_emul_aix_create): Remove unused function.
117
118 2002-12-10 James Cownie <jcownie@etnus.com>
119
120 * readelf.h (get_TAG_name, get_AT_name,
121 read_and_display_attr_value): Add support for UPC extensions to
122 DWARF2 spec.
123 * NEWS: Mention this new support.
124
125 2002-12-08 Alan Modra <amodra@bigpond.net.au>
126
127 * NEWS: Mention that bfd no longer declares a "boolean" type.
128
129 2002-12-07 Alan Modra <amodra@bigpond.net.au>
130
131 * readelf.c (process_program_headers): When setting loadaddr, don't
132 assume segment size is 4k. Use p_align instead.
133 (loadaddr): Change from int to long.
134 (dynamic_addr, dynamic_info, version_info): Likewise.
135 (process_dynamic_segment <syminsz>): Likewise.
136 (process_dynamic_segment): Adjust print format string.
137 (rela_addr, rela_size): Delete.
138 (process_relocs): Formatting.
139
140 2002-12-05 Jim Wilson <wilson@redhat.com>
141
142 * configure.in (OBJDUMP_DEFS): Define SKIP_ZEROES as 16 for IA-64.
143 * configure: Regenerate.
144
145 2002-12-04 Ian Lance Taylor <ian@airs.com>
146
147 * MAINTAINERS: Change e-mail address back to airs.com.
148
149 2002-12-04 Aldy Hernandez <aldyh@redhat.com>
150
151 * MAINTAINERS: Add self.
152
153 2002-11-30 Alan Modra <amodra@bigpond.net.au>
154
155 * addr2line.c, ar.c, arsup.c, binemul.c, binemul.h, bucomm.c, bucomm.h,
156 budbg.h, debug.c, debug.h, dlltool.c, emul_aix.c, ieee.c, nlmconv.c,
157 nlmconv.h, nlmheader.y, nm.c, objcopy.c, objdump.c, prdbg.c, rdcoff.c,
158 rddbg.c, readelf.c, rename.c, size.c, stabs.c, strings.c,
159 unwind-ia64.h, wrstabs.c: Replace boolean with bfd_boolean, true with
160 TRUE, false with FALSE. Simplify comparisons of bfd_boolean vars
161 with TRUE/FALSE. Formatting.
162
163 2002-11-29 Jakub Jelinek <jakub@redhat.com>
164
165 * readelf.c Replace occurrences of Elf32_Internal_* and
166 Elf64_Internal_* with Elf_Internal_*.
167 (slurp_rel_relocs): Change Elf_Internal_Rel to Elf_Internal_Rela.
168 Zero r_addend fields.
169 (dump_relocations): Remove relas variable, change Elf_Internal_Rel to
170 Elf_Internal_Rela.
171
172 2002-11-23 Nick Clifton <nickc@redhat.com>
173
174 * size.c (usage): Fix typo describing switch for hex format.
175
176 2002-11-18 Svein E. Seldal <Svein.Seldal@solidas.com>
177
178 * testsuite/binutils-all/objcopy.exp: Disable tic4x from test
179 * testsuite/binutils-all/objdump.exp: Setup proper values for tic4x
180 testcase
181
182 2002-11-14 Nick Clifton <nickc@redhat.com>
183
184 * readelf.c (process_program_headers): Add comment about return
185 value. Ensure that 0 is returned if the headers are not loaded.
186 (process_file): If process_section_headers failed to load the
187 headers disable any tests that rely upon them. Similarly for
188 process_program_headers.
189
190 2002-11-12 Nick Clifton <nickc@redhat.com>
191
192 * po/da.po: Updated Danish translation.
193
194 2002-11-12 Klee Dienes <kdienes@apple.com>
195
196 * rddbg.c (read_section_stabs_debugging_info): Also recognize
197 LC_SYMTAB.stab/LC_SYMTAB.stabstr as a valid pair of sections.
198
199 2002-11-11 Christopher Faylor <cgf@redhat.com>
200
201 * MAINTAINERS: Reinstate DJ Delorie as COFF maintainer. Drop COFF from
202 cgf maintainership.
203
204 2002-11-11 Christopher Faylor <cgf@redhat.com>
205
206 * MAINTAINERS: Replace DJ Delorie as PE/COFF maintainer.
207
208 2002-11-07 Nick Clifton <nickc@redhat.com>
209
210 * configure.in (ALL_LINGUAS): Add 'da'.
211 * configure: Regenerate.
212 * po/da.po: New Danish translation.
213
214 * readelf.c (get_symbol_index_type): Revert part of previous
215 patch: Display unknown symbol types in decimal, not hex.
216
217 2002-11-07 Danny Smith <dannysmith@users.sourceforge.net>
218
219 * dlltool.c (add_excludes): Don't prefix excluded fastcall
220 symbols with underscore.
221 (xlate): Ignore add_underscore for decorated fastcall symbols.
222
223 2002-11-07 Eric Kohl <ekohl@rz-online.de>
224
225 * deflex.l: Accept '@' as first character of an ID.
226 * dlltool.c (gen_exp_file): Use existing '@' prefix rather than
227 ASM_PREFIX for fastcall symbols.
228 (scan_drectve_symbols): Handle fastcall symbols when generating
229 undecorated aliases for symbols in drectve section.
230 (scan_filtered_symbols): Likewise, with export-all.
231 (xlate): Likewise, with --kill-at.
232 (make_imp_label): New function to handle fastcall symbols
233 correctly.
234 (make_one_lib_file): Use make_imp_label instead of make_label
235 for imp symbols.
236
237 2002-11-06 Svein E. Seldal <Svein.Seldal@solidas.com>
238
239 * MAINTAINERS: Add self as TIC4X maintainer.
240
241 2002-11-06 Hiroyuki Machida <machida@sm.sony.co.jp>
242
243 * readelf.c (get_symbol_index_type): Add hex number to
244 PROCESSOR-specific, OS-specific, reserved and unknown symbol
245 types.
246
247 2002-11-04 Alan Modra <amodra@bigpond.net.au>
248
249 * readelf.c (byte_get_little_endian): Comment typo fix.
250 (print_symbol): Constify "symbol" arg. Don't pass "symbol" to printf
251 as the format string.
252 (dump_relocations): Correct section sym names.
253 (process_section_headers): Clear symtab_shndx_hdr.
254 (read_and_display_attr_value): Don't pass indirect string to printf
255 as the format string.
256 (display_debug_frames): Indicate when zero terminator found. Decode
257 DW_EH_PE_pcrel addresses.
258
259 2002-10-23 Svein E. Seldal <Svein.Seldal@solidas.com>
260
261 * configure.in: Define SKIP_ZEROES as 32 for tic4x target in
262 order to ensure proper disassembly of the valid 0-value opcode.
263 * configure: Regenerate.
264 * aclocal.m4: Regenerate.
265 * config.in: Regenerate.
266 * configure.in: Regenerate.
267 * doc/Makefile.in: Regenerate.
268 * po/binutils.pot: Regenerate.
269
270 2002-10-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
271
272 * MAINTAINERS: Add self as SH maintainer.
273
274 2002-10-23 Ben Elliston <bje@redhat.com>
275
276 * doc/binutils.texi (objdump): Document -z and move the entry for
277 --disassemble-zeroes to the end of the options section (for `z').
278
279 2002-10-21 Nick Clifton <nickc@redhat.com>
280
281 * MAINTAINERS: Discontinue Hans-Peter Nilsson as SH maintainer.
282
283 2002-10-21 Svein E. Seldal <Svein.Seldal@solidas.com>
284
285 * objdump.c (dump_data): Correct addr_offset for opb != 1.
286
287 2002-10-15 Alan Modra <amodra@bigpond.net.au>
288
289 * bucomm.c (list_supported_targets): Use bfd_target_list.
290
291 * objcopy.c (copy_file): Report ambiguous bfd_object matches, and
292 other object errors in preference to bfd_core errors.
293
294 2002-10-14 Alan Modra <amodra@bigpond.net.au>
295
296 * Makefile.am: Run "make dep-am".
297 * objdump.c: #include "bfdver.h".
298 * version.c: Likewise.
299 * Makefile.in: Regenerate.
300 * config.in: Regenerate.
301 * configure: Regenerate.
302 * po/POTFILES.in: Regenerate.
303
304 2002-10-09 Daniel Jacobowitz <drow@mvista.com>
305
306 * readelf.c (display_debug_info): Ignore empty .rela.debug_info
307 sections. Allow relocations against the absolute symbol. Don't
308 use the value in compunit.cu_abbrev_offset if we found a RELA
309 relocation.
310
311 2002-10-07 Gordon Chaffee <chaffee@netvmg.com>
312
313 * addr2line.c (slurp_symtab): Read in dynamic symbols if no
314 ordinary ones are available.
315
316 2002-09-30 H.J. Lu <hjl@gnu.org>
317
318 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_4120,
319 E_MIPS_MACH_5400 and E_MIPS_MACH_5500.
320
321 2002-09-17 Zack Weinberg <zack@codesourcery.com>
322
323 * Makefile.am (CFILES): Add cxxfilt.c.
324 (cxxfilt_SOURCES): Now just cxxfilt.c $(BULIBS).
325 (cxxfilt_LDADD): Delete.
326 Remove all references to underscore.c.
327 Regen dependencies.
328 * configure.in: Define TARGET_PREPENDS_UNDERSCORE in
329 config.h from $UNDERSCORE, rather than AC_SUBSTing it.
330 * binutils/cxxfilt.c: Moved here from gcc/cp, minor
331 adjustments to fit into binutils framework.
332 * configure, config.in, Makefile.in, doc/Makefile.in: Regenerate.
333
334 2002-09-12 Roland McGrath <roland@redhat.com>
335
336 * readelf.c (decode_location_expression): DW_OP_calli -> DW_OP_call_ref
337 Handle DW_OP_GNU_push_tls_address.
338
339 2002-09-11 Nick Clifton <nickc@redhat.com>
340
341 * po/tr.po: Updated Turkish translation.
342
343 2002-09-10 Nick Clifton <nickc@redhat.com>
344
345 * MAINTAINERS: Add Ben Elliston as a maintainer for configure and
346 testsuite changes. Add paragraphs about testsuite and config
347 patches.
348
349 2002-08-29 Nick Clifton <nickc@redhat.com>
350
351 * readelf.c (get_machine_flags): Remove redundant reference to
352 E_V850EA_ARCH.
353
354 2002-08-28 Alan Modra <amodra@bigpond.net.au>
355
356 * objdump.c (dump_bfd): Restore lines accidentally deleted in
357 last commit.
358
359 2002-08-28 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
360
361 * objdump.c (dump_headers): Add printing of HAS_LOAD_PAGE flag.
362 (dump_bfd_header): Likewise.
363
364 2002-08-27 Alan Modra <amodra@bigpond.net.au>
365
366 * nm.c: Revert last change.
367
368 2002-08-26 Alan Modra <amodra@bigpond.net.au>
369
370 * nm.c (display_rel_file): Don't report "no symbols" as an error.
371 * objdump.c (slurp_symtab): Likewise.
372 (slurp_dynamic_symtab): Likewise.
373 (dump_symbols): Likewise. Do print "no symbols" to stdout.
374
375 2002-08-24 Geoffrey Keating <geoffk@redhat.com>
376
377 * MAINTAINERS: Change my mailing address.
378
379 2002-08-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
380
381 * MAINTAINERS: Add Dave Anglin as HPPA co-maintainer.
382
383 2002-08-22 Nick Clifton <nickc@redhat.com>
384
385 * MAINTAINERS: Add Jeff Law as (maintainance) maintainer for
386 HPPA.
387
388 2002-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
389
390 * readelf.c (parse_args): Change debug_dump_opt to static.
391
392 2002-08-16 Sivaguru Sankaridurg <siva@eternal-systems.com>
393
394 * stabs.c (parse_stab_argtype): Pass length of physname to
395 stab_demangle_argtypes.
396 (stab_demangle_argtypes): Add new parameter - length of physname.
397 Pass length of physname on to stab_demangle_prefix.
398 (stab_demangle_prefix): Add new parameter - length of physname.
399 Use length of physname (if supplied) to compute end of function
400 name.
401
402 2002-08-15 Alan Modra <amodra@bigpond.net.au>
403
404 * readelf.c: Include elf/i370.h.
405 (dump_relocations): Handle EM_S370.
406 (dynamic_segment_parisc_val): Print \n.
407 (process_dynamic_segment <DT_BIND_NOW>): Here too.
408
409 2002-08-14 Nick Clifton <nickc@redhat.com>
410
411 * nm.c (usage): Change 'gnu-new-abi' to 'gnu-v3'.
412 * objdump.c (usage): Likewise.
413 * doc/binutils.texi: Likewise.
414
415 2002-08-14 Luke Dunstan <infidel@users.sourceforge.net>
416
417 * rcparse.y (acc_entry): Don't warn about ALT use with
418 non-VIRTKEY.
419
420 2002-08-13 H.J. Lu <hjl@gnu.org>
421
422 * objcopy.c (copy_object): Don't warn about the unsupported
423 architecture unless the input target is defaulted or the
424 output architecture is different from the input.
425
426 2002-08-09 Nick Clifton <nickc@redhat.com>
427
428 * po/sv.po: Updated Swedish translation.
429
430 2002-08-05 Alan Modra <amodra@bigpond.net.au>
431
432 * prdbg.c (pr_fix_visibility): Remove assert.
433
434 2002-07-31 Nick Clifton <nickc@redhat.com>
435
436 * addr2line.c (process_file): Rename parameter 'filename' to
437 'file_name' in order to avoid shadowing global symbol of the
438 same name.
439 (main): Likewise.
440
441 2002-07-30 Jakub Jelinek <jakub@redhat.com>
442
443 * readelf.c (OPTION_DEBUG_DUMP): Define.
444 (options): Use it.
445 (usage): Update help.
446 (parse_args): Handle --debug-dump separately from -w.
447 * doc/binutils.texi (readelf): Update documentation.
448
449 2002-07-25 Nick Clifton <nickc@redhat.com>
450
451 * po/es.po: Updated Spanish translation.
452 * po/fr.po: Updated French translation.
453
454 2002-07-24 Nick Clifton <nickc@redhat.com>
455
456 * po/es.po: Updated Spanish translation.
457
458 2002-07-23 Alan Modra <amodra@bigpond.net.au>
459
460 * Makefile.am: Run "make dep-am".
461 * Makefile.in: Regenerate.
462
463 2002-07-23 Nick Clifton <nickc@redhat.com>
464
465 * po/fr.po: Updated French translation.
466
467 2002-07-23 Eric S. Raymond <esr@golux.thyrsus.com>
468
469 * doc/binutils.texi (addr2line <man synopsis>): Correct brackets.
470
471 2002-07-20 Alan Modra <amodra@bigpond.net.au>
472
473 * budemang.c: Include config.h and string.h/strings.h.
474
475 2002-07-18 Denis Chertykov <denisc@overta.ru>
476 Frank Ch. Eigler <fche@redhat.com>
477
478 * readelf.c: Include "elf/ip2k.h".
479 (guess_is_rela): Add support for EM_IP2K and EM_IP2K_OLD.
480 (dump_relocations): Likewise.
481 (get_machine_name): Likewise.
482 * NEWS: Mention IP2K support.
483
484 2002-07-16 Nick Clifton <nickc@cambridge.redhat.com>
485
486 * NEWS: Add 'Changes in 2.13'.
487
488 2002-07-10 Jakub Jelinek <jakub@redhat.com>
489
490 * readelf.c (get_dynamic_type): Handle DT_GNU_PRELINKED,
491 DT_GNU_CONFLICT* and DT_GNU_LIBLISZ*.
492 (get_section_type_name): Handle SHT_GNU_LIBLIST.
493 (process_dynamic_segment): Handle DT_GNU_CONFLICTSZ,
494 DT_GNU_LIBLISTSZ and DT_GNU_PRELINKED.
495 (process_gnu_liblist): New.
496 (process_file): Call it.
497
498 2002-07-03 Alan Modra <amodra@bigpond.net.au>
499
500 * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
501 * Makefile.in: Regenerate.
502
503 2002-07-02 Alan Modra <amodra@bigpond.net.au>
504
505 * budemang.c: New file, "demangle" function.
506 * budemang.h: New file.
507 * addr2line.c (translate_addresses): Use "demangle".
508 * nm.c (print_symname): Likewise.
509 * objdump.c (objdump_print_symname): Likewise.
510 (dump_symbols): Likewise. Also, don't use bfd_asymbol_name macro
511 here since that obfuscates.
512 * rdcoff.c: Don't #include demangle.h.
513 * Makefile.am (CFILES): Add budemang.c, emul_aix.c,
514 emul_vanilla.c. Remove emul_$(EMULATION).c. Sort.
515 (HFILES): Add budemang.h. Sort.
516 (nm_new_SOURCES, objdump_SOURCES, addr2line_SOURCES): Add budemang.c.
517 Run "make dep-am".
518 * Makefile.in: Regenerate.
519
520 2002-07-01 Matt Thomas <matt@3am-software.com>
521
522 * readelf.c: Include "elf/vax.h".
523 (guess_is_rela): Move EM_VAX from unknown to RELA case.
524 (dump_relocations): Handle VAX relocations.
525 (get_machine_flags): Handle VAX machine flags.
526
527 2002-06-29 Stephane Carrez <stcarrez@nerim.fr>
528
529 * readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.
530
531 2002-06-26 Nick Clifton <nickc@cambridge.redhat.com>
532
533 * MAINTAINERS: Remove Tom Rix from d10v and pcc maintainerships.
534
535 2002-06-26 Alan Modra <amodra@bigpond.net.au>
536
537 * nm.c (print_symname): When demangling, strip leading dots from
538 symbol names to avoid confusing the demangler.
539
540 2002-06-25 H.J. Lu <hjl@gnu.org>
541
542 * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
543 * Makefile.in: Regenerated.
544
545 2002-06-21 Igor Schein <igor@txc.com>
546
547 * configure.in: Quote bu_cv_have_fopen64.
548 * configure: Regenerate.
549
550 2002-06-21 Mitsru Chinen <chinen@jp.ibm.com>
551
552 * configure.in: Check for strcoll.
553 * configure: Regenerate.
554 * config.in: Regenerate.
555 * nm.c (main): Set locale for LC_COLLATE category.
556 (non_numeric_forward): Use strcoll if available.
557
558 2002-06-20 Dave Brolley <brolley@redhat.com>
559
560 * MAINTAINERS: Add self as fr30 and frv maintainer.
561
562 2002-06-18 H.J. Lu (hjl@gnu.org)
563
564 * nm.c: Include "elf/common.h".
565 (extended_symbol_info): Add elfinfo, a pointer to
566 elf_symbol_type.
567 (SYM_SIZE): Use elfinfo if it is not NULL.
568 (get_symbol_type): New function.
569 (display_archive): Set print_width for each archive member.
570 (display_file): Likewise.
571 (display_rel_file): Don't set print_width here.
572 (print_object_filename_sysv): Handle print_width.
573 (print_archive_member_sysv): Likewise.
574 (print_symbols): Pass (bfd_vma) 0 to print_symbol.
575 (print_symbol): Set the elfinfo field in extended_symbol_info
576 for ELF.
577 (print_object_filename_sysv): Fix the output format.
578 (print_symbol_info_sysv): Print type and section for ELF.
579
580 2002-06-18 Elias Athanasopoulos <eathan@otenet.gr>
581
582 * nm.c (print_size_symbols): Remove assignment, which makes
583 the symbol's size equal to its value when --size-sort is
584 used.
585
586 2002-06-18 Dave Brolley <brolley@redhat.com>
587
588 From Catherine Moore:
589 * readelf.c (elf/frv.h): #include it.
590 (guess_is_rela): Support EM_CYGNUS_FRV.
591 (dump_relocations): Ditto.
592 (get_machine_name): Ditto.
593 * Makefile.am (readelf.o): add dependency on $(INCDIR)/elf/frv.h.
594
595 2002-06-18 Jakub Jelinek <jakub@redhat.com>
596
597 * readelf.c (get_file_header): Only read the first section header if
598 e_shoff is non-zero.
599
600 2002-06-15 H.J. Lu (hjl@gnu.org)
601
602 * nm.c (print_size): New variable. Initialize to 0.
603 (long_options): Add 'S'/"print-size".
604 (main): Handle 'S'.
605 (print_symbol_info_bsd): Print size only if print_size is not
606 0.
607
608 * doc/binutils.texi: Document -S/--print-size.
609
610 2002-6-13 Elias Athanasopoulos <eathan@otenet.gr>
611
612 * nm.c (struct extended_symbol_info): New strcuture: Add the size
613 of the symbols to the information provided by the symbol_info
614 structure.
615 (print_symbols): Pass the symbol size to print_symbol.
616 (print_size_symbols): Pass the symbol size to print_symbol.
617 (print_symbol): Extra argument: The size of the symbol. Store
618 this in the extended_symbol_info structure.
619 (print_symbol_info): Change type of info parameter to
620 extended_symbol_info. Display the size, if known.
621 (print_symbol_info_posix): Likewise.
622 (print_symbol_info_sysv): Likewise.
623
624 2002-06-08 Alan Modra <amodra@bigpond.net.au>
625
626 * Makefile.am: Run "make dep-am".
627 * Makefile.in: Regenerate.
628 * doc/Makefile.in: Regnerate.
629
630 * bucomm.c: Replace CONST with const.
631 * nm.c: Likewise.
632 * objdump.c: Likewise.
633
634 2002-06-07 H.J. Lu <hjl@gnu.org>
635
636 * readelf.c (DW_CFA_GNU_args_size): Don't define.
637 (DW_CFA_GNU_negative_offset_extended): Likewise.
638 (DW_CFA_GNU_window_save): Likewise.
639 (display_debug_frames): Handle DW_CFA_offset_extended_sf,
640 DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
641
642 2002-06-07 Elias Athanasopoulos <eathan@otenet.gr>
643
644 * nm.c: When computing size of symbols for an ELF target use the
645 internal size field.
646
647 2002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
648
649 * testsuite/binutils-all/objcopy.exp: clear xfail for
650 "hppa*64*-*-hpux*".
651 * testsuite/binutils-all/hppa/objdump.exp: Return if
652 "*64*-*-*".
653
654 2002-06-05 Alan Modra <amodra@bigpond.net.au>
655
656 * objcopy.c (copy_section): Don't copy SEC_GROUP sections.
657
658 2002-06-03 Elias Athanasopoulos <eathan@otenet.gr>
659
660 * objdump.c: Fix formatting.
661
662 2002-05-29 Ben Elliston <bje@redhat.com>
663
664 * MAINTAINERS: Add self as M68k maintainer.
665
666 2002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
667
668 * readelf.c: Modified/Added DLX elf support.
669
670 2002-05-27 Nick Clifton <nickc@cambridge.redhat.com>
671
672 * arsup.c: Fix formatting.
673 * debug.c (debug_record_label): Add missing colon to error
674 message.
675 * ieee.c (parse_ieee_ty): Fix spelling typo.
676 * readelf.c (process_program_headers): Remove English assumption
677 about making a plural word.
678 (process_section_headers): Likewise.
679 (process_relocs): Allow quotes to be translated.
680 (process_unwind): Likewise,
681 (process_mips_specific): Improve error message.
682 (get_note_type): Fix spelling typo.
683
684 * configure.in (ALL_LINGUAS): Add sv
685 * po/sv.po: New file.
686
687 2002-05-27 Alan Modra <amodra@bigpond.net.au>
688
689 * unwind-ia64.c (unw_print_brmask): Don't use sprintf.
690 (unw_print_grmask): Likewise.
691 (unw_print_frmask): Likewise.
692
693 2002-05-26 Kazu Hirata <kazu@cs.umass.edu>
694
695 * arsup.c: Remove ARGSUSED.
696 * debug.c: Likewise.
697 * ieee.c: Likewise.
698 * nlmconv.c: Likewise.
699 * prdbg.c: Likewise.
700 * stabs.c: Likewise.
701 * wrstabs.c: Likewise.
702
703 2002-05-25 Alan Modra <amodra@bigpond.net.au>
704
705 * arlex.l: Use #include "" instead of <> for local header files.
706 * coffdump.c: Likewise.
707 * coffgrok.c: Likewise.
708 * nlmconv.c: Likewise.
709 * nlmheader.y: Likewise.
710 * srconv.c: Likewise.
711 * strings.c: Likewise.
712 * sysdump.c: Likewise.
713 * unwind-ia64.h: Likewise.
714 * windres.h: Likewise.
715 * winduni.h: Likewise.
716
717 2002-05-24 Tom Rix <trix@redhat.com>
718
719 * MAINTAINERS: Add self as the d10v maintainer.
720
721 2002-05-24 TAMURA Kent <kent@netbsd.org>
722
723 * configure.in: Builds dlltool for i386-netbsdpe.
724 * configure: Regenerate.
725
726 2002-05-23 Kazu Hirata <kazu@cs.umass.edu>
727
728 * size.c: Fix formatting.
729 * srconv.c: Likewise.
730 * stabs.c: Likewise.
731 * sysdump.c: Likewise.
732 * unwind-ia64.c: Likewise.
733 * wrstabs.c: Likewise.
734
735 2002-05-23 Jakub Jelinek <jakub@redhat.com>
736
737 * readelf.c (get_segment_type): Add PT_TLS.
738 (get_elf_section_flags): Add SHF_TLS.
739 (get_dynamic_flags): Optimize. Add DF_STATIC_TLS.
740 (process_dynamic_segment): Use puts instead of printf.
741 (get_symbol_type): Support STT_TLS.
742 * objdump.c (dump_section_header): Remove SEC_CONSTRUCTOR_TEXT,
743 SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS.
744 Add SEC_THREAD_LOCAL.
745
746 2002-05-23 Kazu Hirata <kazu@cs.umass.edu>
747
748 * rdcoff.c: Fix formatting.
749 * rddbg.c: Likewise.
750 * readelf.c: Likewise.
751 * rename.c: Likewise.
752 * resbin.c: Likewise.
753 * resrc.c: Likewise.
754 * resres.c: Likewise.
755
756 2002-05-21 Kazu Hirata <kazu@cs.umass.edu>
757
758 * filemode.c: Fix formatting.
759 * ieee.c: Likewise.
760 * is-ranlib.c: Likewise.
761 * is-strip.c: Likewise.
762 * maybe-ranlib.c: Likewise.
763 * maybe-strip.c: Likewise.
764 * nlmconv.c: Likewise.
765 * nm.c: Likewise.
766 * not-ranlib.c: Likewise.
767 * not-strip.c: Likewise.
768 * objcopy.c: Likewise.
769 * objdump.c: Likewise.
770
771 2002-05-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
772
773 * objdump.c (dump_headers): Fix output formatting for ELF32
774 architectures in a BFD64 enabled toolchain.
775
776 2002-05-20 Kazu Hirata <kazu@cs.umass.edu>
777
778 * debug.c: Fix formatting.
779 * debug.h: Likewise.
780 * dlltool.c: Likewise.
781 * dllwrap.c: Likewise.
782 * emul_aix.c: Likewise.
783 * emul_vanilla.c: Likewise.
784
785 2002-05-19 Kazu Hirata <kazu@cs.umass.edu>
786
787 * addr2line.c: Fix formatting.
788 * ar.c: Likewise.
789 * arsup.c: Likewise.
790 * arsup.h: Likewise.
791 * binemul.c: Likewise.
792 * binemul.h: Likewise.
793 * bucomm.c: Likewise.
794 * coffdump.c: Likewise.
795 * coffgrok.c: Likewise.
796 * coffgrok.h: Likewise.
797
798 2002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
799
800 * MAINTAINERS: Add myself as the second AVR port maintainer.
801
802 2002-05-16 Stephane Carrez <stcarrez@nerim.fr>
803
804 * MAINTAINERS: Update my email address.
805
806 2002-05-09 Nick Clifton <nickc@cambridge.redhat.com>
807
808 * MAINTAINERS: Add Jason Thorpe as VAX maintainer.
809
810 2002-05-09 Alan Modra <amodra@bigpond.net.au>
811
812 * configure.in: Replace `*pe' with `pe' throughout.
813 * configure: Regenerate.
814
815 2002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
816
817 * Makefile.am: Honour DESTDIR.
818 * Makefile.in: Regenerate.
819
820 2002-05-06 Alan Modra <amodra@bigpond.net.au>
821
822 * dlltool.c (process_def_file): Add missing prototype.
823 (new_directive, assemble_file, main): Likewise.
824 (process_def_file, new_directive): Make static.
825 (inform): Rewrite using VA_FIXEDARG.
826 * dllwrap.c (mybasename): Add missing prototype.
827 (strhash, main): Likewise.
828 (inform): Rewrite using VA_FIXEDARG.
829 (warn): Likewise.
830 (cleanup_and_exit): Use old style function definition.
831 (strhash): Likewise.
832 * windres.c (define_resource): Use one memset to clear all of
833 struct res_resource.
834
835 * rcparse.y: Remove newcmd rule. Move rcparse_discard_strings
836 call to rules that need no lookahead. Check for no lookahead.
837
838 2002-05-06 Borut Razem <borut.razem@siol.net>
839
840 * rclex.l (get_string): Correct "strings" list handling.
841 * resrc.c (read_rc_file): Discard strings.
842
843 2002-05-04 Alan Modra <amodra@bigpond.net.au>
844
845 * ar.c (replace_members): Remove unused var. Formatting fix.
846 * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
847
848 * MAINTAINERS: Sort port maintainers by CPU.
849
850 2002-05-04 Bob Byrnes <byrnes@curl.com>
851
852 * size.c (display_archive): Add last_arfile and code to close archives.
853
854 2002-05-01 Alan Modra <amodra@bigpond.net.au>
855
856 * nm.c (print_symbol): Check returned filename from
857 bfd_find_nearest_line is non-NULL.
858
859 2002-04-25 Elena Zannoni <ezannoni@redhat.com>
860
861 * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
862
863 2002-04-24 Christian Groessler <chris@groessler.org>
864
865 * MAINTAINERS: Changed my email address.
866
867 2002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
868
869 * arparse.y: Fix syntax warning.
870
871 2002-04-16 Nick Clifton <nickc@cambridge.redhat.com>
872
873 * readelf.c (fetch_location_list): Remove unused function.
874
875 * readelf.c (process_corefile_note_segment): Catch corrupt notes
876 and display a warning message, then exit the loop.
877
878 * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
879
880 2002-04-15 Nick Clifton <nickc@cambridge.redhat.com>
881
882 * resrc.c (write_rc_dialog): If charset is non-default value
883 display all of the DIALOGEX parameters.
884
885 2002-04-15 Eric Kohl <ekohl@rz-online.de>
886
887 * rcparse.y: Allow two to five parameter in FONT statement of
888 DIALOGEX resources.
889 * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
890 resource data.
891 (res_to_bin_dialog): Likewise.
892 * windres.h: Added misssing charset variable to dialog_ex
893 structure.
894
895 2002-04-10 Nick Clifton <nickc@cambridge.redhat.com>
896
897 * rcparse.y: Set MEMFLAG_PURE by default.
898
899 2002-04-09 Bernd Herd <info@herdsoft.com>
900
901 * rcparse.y: CLASS definitions in DIALOG resources
902 are quoted.
903 Fix typo in BEDIT warning.
904 Don't add default dialog style when explicit style specified.
905 Add WS_CAPTION dialog style if CAPTION is specified.
906
907 * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
908 (handle_quotes) "\a" escape (used for right justified key
909 definitions in menus) is encodes as binary 8.
910
911 * resrc.c (write_rc_dialog): Print style even if it is 0.
912 (write_rc_directory): Fix overlooked sublang shift bug.
913 (bin_to_res_dialog): Don't print empty dialog caption.
914
915 * resbin.c (bin_to_res_dialog): Use signature to identify
916 DIALOGEX.
917
918 * windres.c (main): Set default LANGUAGE to english/us.
919
920 2002-04-09 Gunnar Degnbol <degnbol@danbbs.dk>
921
922 * resrc.c: print CLASS names in quotes
923
924 2002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
925
926 * MAINTAINERS: Update my email address.
927
928 2002-04-04 Alan Modra <amodra@bigpond.net.au>
929
930 * dep-in.sed: Cope with absolute paths.
931 * Makefile.am (dep.sed): Subst TOPDIR.
932 Run "make dep-am".
933 * Makefile.in: Regenerate.
934
935 2002-03-27 Peter Targett <peter.targett@arc.com>
936
937 * MAINTAINERS: Update my email address.
938
939 2002-03-21 Alan Modra <amodra@bigpond.net.au>
940
941 * Makefile.am: Run "make dep-am".
942 * Makefile.in: Regenerate.
943 * doc/Makefile.in: Regenerate.
944 * po/POTFILES.in: Regenerate.
945 * aclocal.m4: Regenerate.
946 * config.in: Regenerate.
947 * configure: Regenerate.
948
949 2002-03-20 Daniel Berlin <dan@dberlin.org>
950
951 * readelf.c: Add support for displaying dwarf2 location lists.
952 (do_debug_loc, debug_loc_section, debug_loc_size): New.
953 (parse_args): Use 'O' as shorthand for displaying location list
954 section.
955 (process_section_headers): Handle debug_loc as well.
956 (load_debug_loc): New.
957 (free_debug_loc): New.
958 (fetch_location_list): New.
959 (display_debug_loc): New.
960 (display_debug_info): Call load_debug_loc and free_debug_loc.
961 (debug_displays): We can display .debug_loc now, too.
962 (usage): Update usage string.
963 (read_and_display_attr_value): Note location lists, but don't
964 display them inline.
965
966 2002-03-18 Tom Rix <trix@redhat.com>
967
968 * Makefile.am: Add binutils emulation support.
969 * configure.in: Same.
970 * configure.tgt: New file. Same.
971 * ar.c (main): Use ar_emul_parse_arg.
972 (usage): Use ar_emul_usage.
973 (replace_members): Use ar_emul_replace, ar_emul_append.
974 * binemul.c: New file. Define the binutils emulation
975 layer. Define default methods.
976 * binemul.h: New file. Binutils emulation layer header file.
977 * emul_aix.c: New file. AIX binutils emulation.
978 * emul_vanilla.c: New file. Default binutils emulation.
979 * Makefile.in: Regenerate.
980 * configure: Same.
981
982 2002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
983
984 * po/fr.po: Updated version.
985
986 2002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
987
988 * po/fr.po: Updated version.
989
990 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
991
992 * README: Update some version numbers.
993
994 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
995
996 * doc/binutils.texi (Target Selection): Fix LD crossreferences.
997 (Architecture Selection): Likewise.
998
999 2002-03-01 Dmitry Timoshkov <dmitry@baikal.ru>
1000
1001 * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
1002 generating .exp file.
1003
1004 2002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
1005
1006 * readelf.c (dump_relocations): Fix typo.
1007
1008 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
1009
1010 * NEWS: Mark 2.12 branch.
1011
1012 2002-02-18 Timothy Daly <remote_bob@yahoo.com>
1013
1014 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
1015 types for 64-bit MIPS. Narrow some fields for 80-char
1016 output.
1017 (dump_relocations): Change spelling from 'unrecognised'
1018 to 'unrecognized'.
1019 (decode_ARM_machine_flags): Likewise.
1020 (parse_args): Likewise.
1021 (read_and_display_attr_value): Likewise.
1022 (display_debug_section): Likewise.
1023
1024 2002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
1025
1026 * NEWS: Mention support for MMIX.
1027
1028 2002-02-13 Matt Fredette <fredette@netbsd.org>
1029
1030 * readelf.c (get_machine_flags): Recognize EF_M68000.
1031
1032 2002-02-12 Alexandre Oliva <aoliva@redhat.com>
1033
1034 * MAINTAINERS: Added self as MN10300 co-maintainer.
1035
1036 2002-02-12 Alan Modra <amodra@bigpond.net.au>
1037
1038 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
1039 DT_PPC64_OPDSZ.
1040
1041 2002-02-11 Daniel Jacobowitz <drow@mvista.com>
1042
1043 * MAINTAINERS: List myself as branch maintainer.
1044
1045 2002-02-11 Alan Modra <amodra@bigpond.net.au>
1046
1047 * configure: Regenerate.
1048 * objcopy.c: Update copyright date.
1049 * doc/Makefile.in: Regenerate.
1050
1051 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
1052
1053 * nlmconv.c: Back out localtime PARAMS change.
1054
1055 2002-02-11 Alan Modra <amodra@bigpond.net.au>
1056
1057 * objcopy.c (MKDIR): Define.
1058 (copy_archive): Make name_list.name const. Use MKDIR.
1059 Handle duplicate files in archives by making more temp dirs.
1060
1061 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
1062
1063 * coffdump.c: Include "getopt.h" after "bucomm.h"
1064 so that macros are defined correctly.
1065 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
1066 prototype. Prototype main.
1067 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
1068
1069 2002-02-06 Alexandre Oliva <aoliva@redhat.com>
1070
1071 * MAINTAINERS: Added self as SH co-maintainer.
1072
1073 2002-02-05 Nick Clifton <nickc@redhat.com>
1074
1075 * po/tr.po: Updated translation.
1076
1077 2002-02-01 Alan Modra <amodra@bigpond.net.au>
1078
1079 * Makefile.am: Run "make dep-am"
1080 * Makefile.in: Regenerate.
1081
1082 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
1083
1084 * nm.c (print_value): Mark abfd unused.
1085
1086 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
1087
1088 * unwind-ia64.c (unw_decoder): Change second argument
1089 to unsigned int, to match function prototypes.
1090
1091 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
1092
1093 * objdump.c: Include "getopt.h" after "bucomm.h" so that
1094 __GNU_LIBRARY__ will be defined.
1095 * size.c: Likewise.
1096
1097 2002-01-27 Daniel Jacobowitz <drow@mvista.com>
1098
1099 * configure: Regenerated.
1100
1101 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
1102
1103 * doc/Makefile.am (install): Depend on install-info.
1104 * doc/Makefile.in: Regenerate.
1105
1106 2002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
1107
1108 * objcopy.c (strip_usage): Document -d as an alias
1109 --strip-debug.
1110
1111 * size.c (usage): Document [-t | --totals] options.
1112 (long_options): Add --totals option.
1113 (main): If the [-t | --totals] option is specified and
1114 the output format is Berkeley-style, print the total
1115 text, data, and bss sizes of all objects listed.
1116 (print_berkeley_format): If the [-t | --totals] option
1117 is specified, track the total text, data, and bss
1118 sizes.
1119 * doc/binutils.texi (size): Document [-t | --totals] options.
1120 (strip): Document -d as an alias for --strip-debug.
1121 * NEWS: Mention new feature of size.
1122
1123 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
1124
1125 * po/fr.po: Updated version.
1126 * po/es.po: Updated version.
1127
1128 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
1129
1130 * addr2line.c (usage): Update text to provide verbose
1131 description of the command line options.
1132 * ar.c (usage): Update text to provide verbose
1133 description of the command line options.
1134 (main): Accept -h and -H when running as ranlib.
1135 * coffdump.c (show_usage): Update text to provide verbose
1136 description of the command line options.
1137 * dlltool.c (main): Accept -H as an alias for --help.
1138 * nlmconv.c (show_usage): Update text to provide verbose
1139 description of the command line options.
1140 * nm.c (usage): Replace OPTIONS with option(s).
1141 (main): Accept -H as an alias for --help.
1142 * objcopy.c (strip_main): Accept -H as an alias for --help.
1143 * objdump.c (main): Accept -v as an alias for --verbose.
1144 * readelf.c (usage): Adjust format to match style used in
1145 other binutils.
1146 * size.c (usage): Update text to provide verbose description
1147 of the command line options.
1148 (main): Accept -v, -h and -H as command line options.
1149 * srconv.c (show_usage): Update text to provide verbose
1150 description of the command line options.
1151 * strings.c (main): Accept -H and -v as command line options.
1152 (usage): Update text to provide verbose description of the
1153 command line options.
1154 * sysdump.c (show_usage): Update text to provide verbose
1155 description of the command line options.
1156 * windres.c (usage): Adjust format to match style used in
1157 other binutils.
1158
1159 * coffdump.c: Fix formatting.
1160 * nlmconv.c: Fix formatting.
1161 * srconv.c: Fix formatting.
1162 * sysdump.c: Fix formatting.
1163
1164 2002-01-22 Alan Modra <amodra@bigpond.net.au>
1165
1166 * Makefile.am: Run "make dep-am".
1167 * Makefile.in: Regenerate.
1168
1169 2002-01-18 Andreas Jaeger <aj@suse.de>
1170
1171 * version.c (print_version): Update year.
1172
1173 2002-01-17 Alan Modra <amodra@bigpond.net.au>
1174
1175 * readelf.c (get_machine_name): Handle EM_PPC64.
1176 (guess_is_rela): Here too.
1177
1178 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
1179
1180 * po/binutils.pot: Regenerate.
1181 * po/fr.po: Regenerate.
1182 * po/tr.po: Regenerate.
1183
1184 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
1185
1186 * po/tr.po: Import new version.
1187
1188 2002-01-16 Alan Modra <amodra@bigpond.net.au>
1189
1190 * readelf.c (get_ppc64_dynamic_type): New.
1191 (get_dynamic_type): Call it.
1192
1193 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
1194
1195 * objcopy.c (copy_usage): Use "options" instead of "switches".
1196 (strip_usage): Use "options" instead of "switches".
1197 * doc/binutils.texi (dlltool): Refer to "options" instead of
1198 "switches".
1199
1200 2002-01-14 Richard Earnshaw <rearnsha@arm.com>
1201
1202 * MAINTAINERS: Add self as co-maintainer for the ARM code.
1203
1204 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
1205
1206 * po/es.po: Import from translation project.
1207 * configure.in (ALL_LINGUAS): Add es.
1208 * configure: Regenerate.
1209
1210 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
1211
1212 * readelf.c (get_netbsd_elfcore_note_type): Use
1213 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
1214
1215 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
1216
1217 * readelf.c: Update copyright years.
1218 (get_note_type): Return a const char *.
1219 (get_netbsd_elfcore_note_type): New function.
1220 (process_note): Use get_netbsd_elfcore_note_type to get
1221 the note type string for NetBSD ELF core files.
1222
1223 2002-01-06 Steve Ellcey <sje@cup.hp.com>
1224
1225 * readelf.c (get_ia64_segment_type): Add support for macros.
1226 (get_segment_type): Add support for IA64 specific macros.
1227
1228 2001-12-20 Julian v. Bock <julian@wongr.net>
1229
1230 * readelf.c (print_symbol): New function: Print a formatted symbol
1231 name. If --wide is specified do not truncate it.
1232 (dump_relocations): Use print_symbol() to print symbol names.
1233 (process_symbol_table): Likewise.
1234 (process_syminfo): Likewise.
1235 (process_mips_specific): Likewise.
1236 (usage): Document new feature of --wide switch.
1237 * doc/binutils.texi (objdump): Document additional behaviour of
1238 --wide.
1239
1240 2001-12-18 Michael Snyder <msnyder@redhat.com>
1241
1242 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
1243 (copy_object): Don't set the start address or flags of a core file.
1244 (copy_section): Don't relocate a core file. Don't copy contents
1245 if the input section has the contents flag set, but the output
1246 section does not (which happens with the fake 'note' pseudo-
1247 sections that BFD creates for corefiles).
1248
1249 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1250
1251 * readelf.c (get_machine_flags): Recognize header flags for ABI and
1252 ASE extensions. More robust code for ISA checking. Ignore empty fields
1253 in header flags for GNU extensions.
1254
1255 2001-12-18 Alan Modra <amodra@bigpond.net.au>
1256
1257 * objcopy.c (copy_archive): Set output bfd format outside the loop.
1258
1259 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
1260
1261 * po/ja.po: Import from translation project.
1262 * configure.in (ALL_LINGUAS): Add ja.
1263 * configure: Regenerate.
1264
1265 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1266
1267 * addr2line.c (main): Protoype.
1268 * ar.c (main): Protoype.
1269 * nm.c (main): Protoype.
1270 * objcopy.c (main): Protoype.
1271 * objdump.c (main): Protoype.
1272 * size.c (main): Protoype.
1273 * strings.c (main): Protoype.
1274
1275 2001-12-17 Alan Modra <amodra@bigpond.net.au>
1276
1277 * readelf.c (symtab_shndx_hdr): New global.
1278 (SECTION_HEADER_INDEX): Define.
1279 (SECTION_HEADER_NUM): Define.
1280 (SECTION_HEADER): Define.
1281 (GET_ELF_SYMBOLS): Pass two params rather than three.
1282 (get_32bit_elf_symbols): Take file and section args. Read and
1283 use SHT_SYMTAB_SHNDX.
1284 (get_64bit_elf_symbols): Likewise.
1285 (dump_relocations): Use SECTION_HEADER to index "section_headers".
1286 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
1287 Remember symtab_shdx_hdr.
1288 (process_program_headers): Scan from index 1 for segment map.
1289 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
1290 "section_headers".
1291 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
1292 (process_unwind): Likewise.
1293 (process_version_sections): Likewise.
1294 (process_symbol_table): Likewise.
1295 (display_debug_info): Likewise.
1296 (process_dynamic_segment): Fake up a symtab section for changed
1297 GET_ELF_SYMBOLS.
1298 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
1299 (process_program_headers): Kill signed/unsigned warning.
1300 (load_debug_str): Likewise.
1301 (display_debug_info): Likewise.
1302
1303 2001-12-13 Jakub Jelinek <jakub@redhat.com>
1304
1305 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
1306
1307 2001-12-11 Alan Modra <amodra@bigpond.net.au>
1308
1309 * readelf.c (process_file_header): Print extended e_shnum and
1310 e_shdtrndx values. Set elf_header values for same.
1311 (get_32bit_section_headers): Add "num" arg to read "num" headers.
1312 (get_64bit_section_headers): Likewise.
1313 (process_section_headers): Update calls.
1314 (get_file_header): Call get_32bit_section_headers or 64bit variant.
1315
1316 2001-12-10 Jakub Jelinek <jakub@redhat.com>
1317
1318 * objcopy.c (setup_section): Copy entsize.
1319
1320 2001-12-07 Geoffrey Keating <geoffk@redhat.com>
1321
1322 * readelf.c (guess_is_rela): Add support for stormy16.
1323 (dump_relocations): Likewise.
1324 (get_machine_name): Likewise.
1325
1326 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
1327
1328 * dllwrap.c (main) Replace multiple strings describing a
1329 single error with a single, newline escaped sentence to permit
1330 better translation into foreign languages.
1331
1332 * readelf.c (get_elf_class): Remove internalionalisation of ELF
1333 class names.
1334
1335 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1336
1337 * strings.c (get_char): Initialize value.
1338
1339 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1340
1341 * arlex.l: Silence compile warnings.
1342 * arsup.h: Likewise. Fix formatting.
1343
1344 2001-12-04 Jakub Jelinek <jakub@redhat.com>
1345
1346 * strings.c: Include config.h before bfd.h.
1347 (file_off): New type.
1348 (file_open): Define.
1349 (print_strings): Use file_off instead of file_ptr. Print addresses
1350 which don't fit into long correctly.
1351 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
1352 available.
1353 (strings_file): Use file_off instead of file_ptr. Use file_open.
1354 * configure.in: Check for getc_unlocked.
1355 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
1356 be defined for it.
1357 * configure: Rebuilt.
1358 * config.h.in: Rebuilt.
1359
1360 2001-11-29 H.J. Lu <hjl@gnu.org>
1361
1362 * bucomm.c (make_tempname): Revert the changes made on
1363 2001-11-14 and 2001-11-12. They won't work with directories.
1364
1365 2001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
1366
1367 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
1368 CFLAGS_FOR_TARGET to runtest in environment.
1369 * Makefile.in: Rebuild.
1370 * doc/Makefile.in: Rebuild.
1371
1372 2001-11-28 Mike Stump <mrs@wrs.com>
1373
1374 * objcopy.c (setup_section): Preserve SEC_RELOC when
1375 --set-section-flags is used.
1376
1377 2001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
1378
1379 * readelf.c (do_debug_str): New variable.
1380 (display_debug_str): New function: Display the contents of a
1381 .debug_str section.
1382 (load_debug_str): New function: Load in the contents of a
1383 .debug_str section.
1384 (free_debug_str): New function: Free the memory used by
1385 load_debug_str().
1386 (fetch_indirect_string): Retrieve a string from the .debug_str
1387 section.
1388 (usage): Add -ws.
1389 (parse_args): Accept -ws.
1390 (process_section_headers): Allow the display of the .debug_str
1391 section.
1392 (read_and_display_attr_value): Use fetch_indirect_string. Show
1393 offset into .debug_str section.
1394 (display_debug_info): Use load_debug_str and free_debug_str.
1395 (debug_displays): Add .debug_str.
1396 * doc/binutils.texi: Document -ws.
1397
1398 2001-11-19 Andreas Jaeger <aj@suse.de>
1399
1400 * testsuite/binutils-all/objdump.exp: Add x86-64.
1401
1402 2001-11-15 Andreas Schwab <schwab@suse.de>
1403
1404 * readelf.c: Fix warnings without terminating newline.
1405
1406 2001-11-15 Alan Modra <amodra@bigpond.net.au>
1407
1408 * doc/binutils.texi (objdump): Document ppc -M options.
1409
1410 2001-11-14 Andreas Jaeger <aj@suse.de>
1411
1412 * doc/binutils.texi (objdump): Fix description to use x86-64.
1413
1414 2001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
1415
1416 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
1417 not all systems provide mkstemp.
1418
1419 2001-11-14 Alan Modra <amodra@bigpond.net.au>
1420
1421 * doc/binutils.texi (objdump): Document x86 -M options.
1422
1423 2001-11-13 Keith Walker <keith.walker@arm.com>
1424
1425 * readelf.c (read_and_display_attr_value): New function to
1426 handle DW_FORM_indirect.
1427 (read_and_display_attr): Use it.
1428
1429 2001-11-13 Geoffrey Keating <geoffk@redhat.com>
1430
1431 * readelf.c (display_debug_lines): Deal with unknown standard
1432 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
1433 DW_LNS_set_isa.
1434
1435 2001-11-13 Timothy Wall <twall@alum.mit.edu>
1436
1437 * MAINTAINERS: Add self as tic54x maintainer. This target
1438 includes the IBM C54XDSP clone.
1439
1440 2001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
1441
1442 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
1443
1444 2001-11-09 Jeffrey A Law (law@cygnus.com)
1445
1446 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
1447 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
1448 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
1449 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
1450 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
1451 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
1452 (unw_decode_b2, unw_decode_b3_b4): Likewise.
1453
1454 * readelf.c (get_elf_class): Fix ISO portability glitch.
1455 (get_data_encoding, get_osabi_name, request_dump): Likewise.
1456
1457 2001-11-07 Jakub Jelinek <jakub@redhat.com>
1458
1459 * readelf.c (debug_str, debug_str_size): New.
1460 (display_debug_abbrev): If no abbrevs were read, skip the CU.
1461 Call free_abbrevs.
1462 (read_and_display_addr): Handle DW_FORM_strp.
1463 (display_debug_info): Read .debug_str section if present,
1464 so that DW_FORM_strp can be handled.
1465 Fix test for non-existant .debug_abbrev section.
1466
1467 2001-11-05 Jakub Jelinek <jakub@redhat.com>
1468
1469 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
1470
1471 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
1472
1473 2001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
1474
1475 * MAINTAINERS: Add self as s390/s390x maintainer.
1476
1477 2001-11-02 Tom Rix <trix@bluey.cygnus.com>
1478
1479 * MAINTAINERS: Add self as PPC XCOFF maintainer.
1480
1481 2001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
1482
1483 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
1484 * configure: Regernate.
1485 * po/fr.po: New file.
1486 * po/tr.po: New file.
1487
1488 2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
1489
1490 * MAINTAINERS: Add self as MMIX port maintainer.
1491 * readelf.c: Include elf/mmix.h.
1492 (guess_is_rela): MMIX is RELA.
1493 (dump_relocations): Handle MMIX relocations.
1494 * Makefile.am: Regenerate dependencies.
1495 * Makefile.in: Regenerate.
1496
1497 2001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
1498
1499 * readelf.c (parse_args): Handle multiple options to the -w
1500 switch.
1501
1502 2001-10-12 Jakub Jelinek <jakub@redhat.com>
1503
1504 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
1505 LOPROC, LOOS and LOUSER.
1506
1507 2001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
1508
1509 * MAINTAINERS: Update my email address.
1510
1511 2001-10-03 Alan Modra <amodra@bigpond.net.au>
1512
1513 * doc/Makefile.in: Regenerate.
1514 * configure: Regenerate.
1515
1516 2001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
1517
1518 * readelf.c (display_debug_line, display_debug_pubnames,
1519 display_debug_info, display_debug_frames): Detect and warn
1520 about 64-bit format entries.
1521 (display_debug_aranges): Reword 64-bit warning.
1522 (debug_displays): Add .debug_pubtypes as a known, but not yet
1523 supported, debug section.
1524
1525 2001-10-02 Alan Modra <amodra@bigpond.net.au>
1526
1527 * coffdump.c (PROGRAM_VERSION): Delete.
1528 (main <'V'>): Call print_version.
1529 * srconv.c: Likewise.
1530 * sysdump.c: Likewise.
1531 * version.c (program_version): Remove.
1532 (print_version): Use BFD_VERSION_STRING. Just print the current
1533 year in copyright message.
1534 * addr2line.c (program_version): Remove unused declaration.
1535 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
1536 place of BFD_VERSION.
1537 * Makefile.am (Makefile): Depend on bfd/configure.in.
1538 (cplus-dem.o): Depend on Makefile.
1539 Run "make dep-am".
1540 * Makefile.in: Regenerate.
1541
1542 2001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
1543
1544 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
1545 format .debug_arange sections.
1546 (main): Add missing prototype.
1547
1548 2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
1549
1550 * Makefile.am: Update dependencies with "make dep-am".
1551 * Makefile.in: Regenerate.
1552
1553 2001-09-28 Richard Henderson <rth@redhat.com>
1554
1555 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
1556
1557 2001-09-26 Alan Modra <amodra@bigpond.net.au>
1558
1559 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
1560 VA_CLOSE.
1561 (non_fatal): Likewise.
1562 * objdump.c (objdump_sprintf): Likewise.
1563 * readelf.c (error): Likewise.
1564 (warn): Likewise.
1565
1566 2001-09-25 Jakub Jelinek <jakub@redhat.com>
1567
1568 * readelf.c (do_wide): New.
1569 (options): Add --wide.
1570 (usage, parse_args): Likewise.
1571 (process_program_headers): Put each segment on a single line if
1572 --wide is given.
1573 (process_section_headers): Put each section on a single line if
1574 --wide is given.
1575 * doc/binutils.texi: Document it.
1576 * NEWS: Likewise.
1577
1578 2001-09-25 Alan Modra <amodra@bigpond.net.au>
1579
1580 * readelf.c (print_vma): Print 8 digits of low hex value.
1581
1582 2001-09-24 Andreas Jaeger <aj@suse.de>
1583
1584 * nlmconv.c: Fix warnings about unused attributes and function
1585 prototypes.
1586
1587 * strings.c: Add prototype for get_char.
1588
1589 2000-09-19 H.J. Lu <hjl@gnu.org>
1590
1591 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
1592 $(srcdir)/cxxfilt.man.
1593 * doc/Makefile.in: Rebuild.
1594
1595 2001-09-19 Alan Modra <amodra@bigpond.net.au>
1596
1597 * objcopy.c (copy_main): Correct rename-section string parsing.
1598 Consolidate new_name parsing, and error messages.
1599
1600 2001-09-18 Bruno Haible <haible@clisp.cons.org>
1601
1602 * addr2line.c: Don't include <ctype.h>.
1603 (main): For gettext, also set the LC_CTYPE locate facet.
1604 * ar.c (main): Likewise.
1605 * coffdump.c (main): Likewise.
1606 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
1607 (main): For gettext, also set the LC_CTYPE locate facet.
1608 Use ISALNUM instead of isalpha/isdigit.
1609 * dllwrap.c: Don't include <ctype.h>.
1610 (main): For gettext, also set the LC_CTYPE locate facet.
1611 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
1612 (main): For gettext, also set the LC_CTYPE locate facet.
1613 Use TOUPPER instead of islower/toupper.
1614 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
1615 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
1616 Use TOUPPER instead of islower/toupper.
1617 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
1618 * objcopy.c (main): Likewise.
1619 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
1620 (disassemble_bytes): Use ISPRINT instead of isprint.
1621 (dump_section_stabs): Use ISDIGIT instead of isdigit.
1622 (dump_data): Use ISPRINT instead of isprint.
1623 (main): For gettext, also set the LC_CTYPE locate facet.
1624 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
1625 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
1626 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
1627 Use TOUPPER instead of islower/toupper.
1628 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
1629 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
1630 (write_rc_accelerators): Use ISPRINT instead of isprint.
1631 (write_rc_rcdata): Likewise.
1632 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
1633 * srconv.c (main): Likewise.
1634 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
1635 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
1636 isdigit/isupper/islower.
1637 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
1638 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
1639 stab_demangle_prefix, stab_demangle_qualified,
1640 stab_demangle_template, stab_demangle_type,
1641 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
1642 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
1643 (isgraphic): Use ISPRINT instead of isascii/isprint.
1644 (main): Remove HAVE_LC_MESSAGES dependency.
1645 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
1646 (pbarray): Use ISPRINT instead of isprint.
1647 (main): For gettext, also set the LC_CTYPE locate facet.
1648 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
1649 (format_from_filename): Use ISPRINT instead of isprint.
1650 (main): For gettext, also set the LC_CTYPE locate facet.
1651 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
1652 (unicode_print): Use ISPRINT instead of isprint.
1653 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
1654 (stab_variable): Use ISDIGIT instead of isdigit.
1655
1656 2001-09-18 Alan Modra <amodra@bigpond.net.au>
1657
1658 * ar.c (print_contents): Cast args of bfd_seek to the right types.
1659 Replace bfd_read call with call to bfd_bread.
1660 (extract_file): Likewise.
1661
1662 * objdump.c (dump_section_header): Cast section->filepos to
1663 unsigned long to suit printf format string.
1664 * readelf.c (process_section_headers): Similarly for sh_offset.
1665 (process_unwind): Likewise.
1666
1667 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
1668
1669 * strings.c (encoding, encoding_bytes): New variables.
1670 (long_options): Add --encoding.
1671 (main): Accept -e and --encoding.
1672 (get_char): New function. Read a, possibly wide, character from
1673 the input stream.
1674 (print_strings): Use get_char().
1675 (usage): Document new command line option.
1676 * doc/binutils.texi: Document new command line option.
1677 * NEWS: Announce new command line option.
1678
1679 2001-09-12 Alexandre Oliva <aoliva@redhat.com>
1680
1681 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
1682 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
1683 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
1684 Removed EM_CYGNUS_ARC.
1685
1686 2001-09-04 Jeffrey A Law (law@cygnus.com)
1687
1688 * readelf.c: Include elf/h8 for H8 series definitions.
1689 (guess_is_rela): H8 series if RELA.
1690 (dump_relocations): Handle H8 series relocations.
1691
1692 2001-08-31 Eric Christopher <echristo@redhat.com>
1693
1694 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
1695
1696 2001-08-29 Peter Targett <peter.targett@arccores.com>
1697
1698 * MAINTAINERS: Include ARC Maintainer.
1699
1700 2001-08-29 Ben Elliston <bje@redhat.com>
1701
1702 * stabs.c (stab_demangle_template): Initialise s4.
1703
1704 2001-08-27 Alan Modra <amodra@bigpond.net.au>
1705
1706 * readelf.c (dump_relocations): Recognise EM_PPC64.
1707
1708 2001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1709
1710 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
1711
1712 2001-08-25 H.J. Lu <hjl@gnu.org>
1713
1714 * nm.c (print_width): New.
1715 (display_rel_file): Set `print_width' according to
1716 bfd_sprintf_vma.
1717 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
1718
1719 2001-08-24 Alexandre Oliva <aoliva@redhat.com>
1720
1721 * objcopy.c (use_alt_mach_code): New variable.
1722 (OPTION_ALT_MACH_CODE): Define.
1723 (copy_options): Added --alt-machine-code.
1724 (copy_main): Handle it.
1725 (copy_object): Switch to alternate machine code if requested.
1726 * doc/binutils.texi: Document new option.
1727 * NEWS: Likewise.
1728
1729 2001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1730
1731 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
1732
1733 2001-08-21 H.J. Lu <hjl@gnu.org>
1734
1735 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
1736 (display_debug_info): Cast for 64bit hosts.
1737 (display_debug_frames): Likewise.
1738 (process_mips_specific): Likewise.
1739
1740 2001-08-21 Andreas Jaeger <aj@suse.de>
1741
1742 * coffgrok.h: Add missing parameter for prototype of coff_grok.
1743
1744 * sysdump.c: Add missing prototypes.
1745 * srconv.c: Likewise.
1746 * unwind-ia64.c: Likewise.
1747 * coffdump.c: Likewise.
1748
1749 * sysinfo.y: Print prototypes, include <ansidecl.h>.
1750
1751 * coffgrok.c: Add missing prototypes, include libiberty.h instead
1752 of declaring xcalloc.
1753
1754 2001-08-10 H.J. Lu <hjl@gnu.org>
1755
1756 * nm.c (print_value): Add one arg, bfd *.
1757 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
1758 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
1759 (print_symbol_info_sysv): Likewise.
1760 (print_symbol_info_posix): Likewise.
1761
1762 * objdump.c (dump_section_header): Replace printf_vma with
1763 bfd_printf_vma.
1764 (print_section_stabs): Likewise.
1765 (dump_bfd_header): Likewise.
1766 (objdump_print_value): Replace sprintf_vma with
1767 bfd_sprintf_vma.
1768 (disassemble_bytes): Likewise.
1769 (dump_reloc_set): Likewise.
1770
1771 2001-08-10 Andreas Jaeger <aj@suse.de>
1772
1773 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
1774 to build warnings.
1775 * configure: Regenerate.
1776
1777 2001-08-09 Alan Modra <amodra@bigpond.net.au>
1778
1779 * readelf.c: Add missing prototypes.
1780 * objdump.c: Likewise. Format existing prototypes.
1781
1782 2001-08-08 Alexandre Oliva <aoliva@redhat.com>
1783
1784 * readelf.c (display_debug_info): Add to abbrev_offset the addend
1785 of any RELA relocation for the abbrev_offset memory location that
1786 refers to the .debug_abbrev section symbol.
1787
1788 2001-08-07 H.J. Lu <hjl@gnu.org>
1789
1790 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
1791 (main): Return process_file ().
1792
1793 2001-08-05 Philip Blundell <philb@gnu.org>
1794
1795 * doc/binutils.texi: Use "Thumb" not "THUMB".
1796
1797 2001-08-03 John Healy <jhealy@redhat.com>
1798
1799 Patch suggested by Frank Eigler <fche@redhat.com>.
1800 * objdump.c (disassemble_data): Fill in section member of the
1801 disasm_info structure.
1802
1803 2001-08-03 Tom Walsh <tom@cyberiansoftware.com>
1804
1805 * configure.in: Added --with-windres option.
1806 * configure: Regenerated.
1807
1808 2001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1809
1810 * doc/binutils.texi: Use @command{name} for commands;
1811 use @option{-opt} for options; use @table @env for list of options;
1812 remove spaces arround [ | ] in synopsis.
1813
1814 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
1815 center title.
1816
1817 2001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
1818
1819 * objcopy.c: Fix formatting.
1820 (section_rename): New structure.
1821 (OPTION_RENAME_SECTION): New switch.
1822 (copy_usage): Document new switch.
1823 (add_section_rename): New function: Add a node to the section
1824 rename list.
1825 (find_section_rename): New function: Find the new name and
1826 flags for a section.
1827 (setup_section): Call find_section_name to determine the name
1828 of the output section.
1829 (copy_main): Handle OPTION_RENAME_SECTION.
1830 * binutils.texi: Document new switch.
1831 * NEWS: Mention new switch.
1832
1833 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
1834
1835 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
1836 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
1837 bug-binutils@gcc.org.
1838
1839 2001-07-28 Matthias Kramm <kramm@quiss.org>
1840
1841 * bucomm.c (list_supported_architectures): New function.
1842 * bucomm.h (list_supported_architectures): Declare.
1843 * objdump.c (usage): Call the above.
1844
1845 2001-07-25 Dave Brolley <brolley@redhat.com>
1846
1847 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
1848 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
1849
1850 2001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
1851
1852 * README: Update for 2.11. Change bug reporting email address.
1853 * MAINTAINERS: Tidy up. Change bug reporting email address.
1854
1855 2001-07-16 DJ Delorie <dj@redhat.com>
1856
1857 * resres.c (write_res_header): Align header size.
1858 (res_align_file): Calculate alignment correctly.
1859
1860 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
1861 correct 10).
1862 * resrc.c (write_rc_resource): Likewise.
1863 * windres.h (SUBLANG_SHIFT): Define - as 10.
1864
1865 2001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
1866
1867 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
1868
1869 2001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
1870
1871 * MAINTAINERS: Add notes about branch checkins.
1872
1873 2001-07-05 Daniel Berlin <dan@cgsoftware.com>
1874
1875 * readelf.c (display_debug_macinfo): New function, display
1876 .debug_macinfo section.
1877 (do_debug_macinfo): New variable.
1878 (parse_args): Handle "-w[mM]" to mean display macro info.
1879 (process_section_headers): Handle debug_macinfo.
1880 (debug_displays): Replace unsupported function with macinfo
1881 function for .debug_macinfo display.
1882 * doc/binutils.texi: Document new command line switch.
1883 * NEWS: Document new feature of readelf.
1884
1885 2001-07-05 H.J. Lu <hjl@gnu.org>
1886
1887 * objcopy.c (filter_symbols): Don't turn undefined symbols
1888 into local.
1889
1890 2001-07-03 H.J. Lu <hjl@gnu.org>
1891
1892 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
1893 $@.pod.
1894 (ar.1): Likewise.
1895 (dlltool.1): Likewise.
1896 (nlmconv.1): Likewise.
1897 (nm.1): Likewise.
1898 (objcopy.1): Likewise.
1899 (objdump.1): Likewise.
1900 (ranlib.1): Likewise.
1901 (readelf.1): Likewise.
1902 (size.1): Likewise.
1903 (strings.1): Likewise.
1904 (strip.1): Likewise.
1905 (windres.1): Likewise.
1906 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
1907 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
1908 $(DEMANGLER_NAME).
1909 (as.1): Removed.
1910 * doc/Makefile.in: Regenerated.
1911
1912 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
1913
1914 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
1915
1916 2001-07-01 Daniel Berlin <dan@cgsoftware.com>
1917
1918 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
1919
1920 2001-06-29 James Cownie <jcownie@etnus.com>
1921
1922 * readelf.c: Support DWARF 2.1 attributes.
1923
1924 2001-06-28 Alan Modra <amodra@bigpond.net.au>
1925
1926 * readelf.c (GET_DATA_ALLOC): Remove.
1927 (GET_DATA): Remove.
1928 (get_data): New function combining above macros, with an extra
1929 test for zero size.
1930 (slurp_rela_relocs): Use get_data, and catch error return.
1931 (slurp_rel_relocs): Likewise.
1932 (get_32bit_program_headers): Likewise.
1933 (get_64bit_program_headers): Likewise.
1934 (get_32bit_section_headers): Likewise.
1935 (get_64bit_section_headers): Likewise.
1936 (get_32bit_elf_symbols): Likewise.
1937 (get_64bit_elf_symbols): Likewise.
1938 (process_section_headers): Likewise.
1939 (process_relocs): Likewise.
1940 (slurp_ia64_unwind_table): Likewise.
1941 (process_unwind): Likewise.
1942 (get_32bit_dynamic_segment): Likewise.
1943 (get_64bit_dynamic_segment): Likewise.
1944 (process_dynamic_segment): Likewise.
1945 (process_version_sections): Likewise.
1946 (process_symbol_table): Likewise.
1947 (dump_section): Likewise.
1948 (display_debug_info): Likewise.
1949 (display_debug_section): Likewise.
1950 (process_section_contents): Likewise.
1951 (process_corefile_note_segment): Likewise.
1952 (process_mips_specific): Likewise. Also free econf32, econf64.
1953
1954 2001-06-25 Alan Modra <amodra@bigpond.net.au>
1955
1956 * readelf.c (dump_relocations): Print "bad symbol index" if
1957 symtab == NULL with non-zero symtab_index.
1958 (process_relocs): Don't bomb if reloc section has no symsec.
1959
1960 2001-06-24 H.J. Lu <hjl@gnu.org>
1961
1962 * objcopy.c (strip_main): Revert the change made on 2001-05-30
1963 by accident.
1964 (copy_main): Apply the the change made to strip_main on
1965 2001-05-30 by accident.
1966
1967 2001-06-23 Andreas Jaeger <aj@suse.de>
1968
1969 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
1970 parameter 'code'.
1971 (unw_decode_x2): Likewise.
1972 (unw_decode_x3): Likewise.
1973 (unw_decode_x4): Likewise.
1974
1975 2001-06-23 Ben Elliston <bje@redhat.com>
1976
1977 * MAINTAINERS: Add myself as M88k maintainer.
1978
1979 2001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
1980
1981 * objcopy.c (strip_main): Support -o or --output-file command lien
1982 switch.
1983
1984 2001-06-19 H.J. Lu <hjl@gnu.org>
1985
1986 * doc/Makefile.in: Regenerated.
1987
1988 2001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
1989
1990 * readelf.c: Restore formatting.
1991
1992 2001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
1993
1994 * Makefile.am: Move documentation into doc subdirectory.
1995 * Makefile.in: Regenerated.
1996 * binutils.texi: Move into doc subdirectory.
1997 * addr2line.1: Removed.
1998 * ar.1: Likewise.
1999 * dlltool.1: Likewise.
2000 * nlmconv.1: Likewise.
2001 * nm.1: Likewise.
2002 * objcopy.1: Likewise.
2003 * objdump.1: Likewise.
2004 * ranlib.1: Likewise.
2005 * readelf.1: Likewise.
2006 * size.1: Likewise.
2007 * strings.1: Likewise.
2008 * strip.1: Likewise.
2009 * windres.1: Likewise.
2010 * cxxfilt.man: Likewise.
2011 * doc: New Directory.
2012 * doc/Makefile.am: New file.
2013 * doc/Makefile.in: Generate.
2014
2015 2001-06-09 Alan Modra <amodra@bigpond.net.au>
2016
2017 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
2018
2019 2001-06-01 Alan Modra <amodra@bigpond.net.au>
2020
2021 * MAINTAINERS: Update my email address.
2022
2023 2001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
2024
2025 * objcopy.c: Add new switches: --keep-global-symbol,
2026 --keep-symbols, --localize-symbols, --keep-global-symbols and
2027 --weaken-symbols.
2028 * binutils.texi: Document new switches.
2029 * objcopy.1: Regenerate.
2030 * NEWS: Announce new feature.
2031
2032 2001-05-28 Andreas Jaeger <aj@suse.de>
2033
2034 * readelf.c (display_debug_frames): Fix warnings: Remove unused
2035 variables, fix format strings.
2036
2037 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
2038
2039 * objdump.c (disassemble_bytes): Remove section VMA adjustment
2040 when computing the address of the line to show.
2041
2042 2001-05-16 Richard Henderson <rth@redhat.com>
2043
2044 * readelf.c (do_debug_frames_interp): New.
2045 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
2046 (byte_get_big_endian): Likewise.
2047 (parse_args) ['F']: Set do_debug_frames_interp.
2048 (Frame_Chunk): Make data_factor signed, add fde_encoding.
2049 (frame_display_row): Don't trunc pc_begin to int.
2050 (size_of_encoded_value): New.
2051 (display_debug_frames): Handle 64-bit targets. Print raw data
2052 unless do_debug_frames_interp.
2053 (debug_displays): Remove duplicate .debug_frame.
2054
2055 2001-05-15 Ralf Baechle <ralf@gnu.org>
2056
2057 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
2058 The former constant was never in active use and is used otherwise
2059 by the ABI.
2060
2061 2001-05-11 Jakub Jelinek <jakub@redhat.com>
2062
2063 * readelf.c (process_unwind): Print all unwind sections, not just
2064 one.
2065
2066 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2067
2068 * readelf.c (process_unwind): Remove const specifier.
2069
2070 2001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
2071
2072 * strings.c (isgraphic): Do not use isascii() unless it is needed
2073 for isprint() to work.
2074 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
2075
2076 2001-04-27 Johan Rydberg <jrydberg@opencores.org>
2077
2078 * NEWS: Announce support for OpenRISC.
2079
2080 2001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
2081
2082 * dlltool.c (do_default_excludes): Initialise to true.
2083
2084 2001-04-10 Alan Modra <amodra@one.net.au>
2085
2086 * MAINTAINERS: Update my email address
2087 * nm.c (print_symbol_info_bsd): Use a simple printf string.
2088
2089 2001-04-05 Hans-Peter Nilsson <hp@axis.com>
2090
2091 * readelf.c (display_debug_lines): Fix typo for "Prologue".
2092
2093 2001-03-30 H.J. Lu <hjl@gnu.org>
2094
2095 * readelf.c (process_unwind): Just return if do_unwind is 0.
2096
2097 2001-03-28 Roger Sayle <roger@metaphorics.com>
2098
2099 * dlltool.c (make_one_lib_file): Fix section flags for
2100 .text, .data and .bss in stub ds*.o files to match those
2101 generated by gas.
2102
2103 2001-03-29 H.J. Lu <hjl@gnu.org>
2104
2105 * readelf.c (process_unwind): Only do unwind sections for
2106 IA64.
2107
2108 2001-03-28 H.J. Lu <hjl@gnu.org>
2109
2110 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
2111 * Makefile.in: Regenerate.
2112
2113 2001-03-26 Andreas Jaeger <aj@suse.de>
2114
2115 * binutils.texi (nm): Fix texi syntax.
2116
2117 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2118
2119 * binutils.texi: Put @c man begin and @c man end indications
2120 to generate man pages using texi2pod and pod2man. Put @c man title
2121 to identify each man. Add SEEALSO entries.
2122 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
2123 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
2124 sort the list.
2125 (*.1): Build the man pages from binutils.texi.
2126 * Makefile.in: Regenerate.
2127
2128 2001-03-13 Eric Kohl <ekohl@rz-online.de>
2129
2130 * defparse.y (opt_equal_name): allow "." in name.
2131 * dlltool.c (def_exports): Added ability to generate forwarded exports.
2132 (gen_exp_file): Likewise.
2133
2134 2001-03-12 Stefan Geuken <mail@stefan-geuken.de>
2135
2136 * NEWS: Document addition of -B switch to objcopy.
2137 * binutils.texi: Document addition of -B switch to objcopy.
2138 * objcopy.c: (copy_options): Add --binary-architecture.
2139 (copy_usage): Document -B/--binary-architecture.
2140 (copy_main): Support -B/--binary-architecture. Set
2141 bfd_external_binary_architecture.
2142
2143 2001-03-11 Andreas Jaeger <aj@suse.de>
2144
2145 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
2146 (dump_relocations): Likewise.
2147 (get_machine_name): Likewise.
2148
2149 2001-02-28 Nick Clifton <nickc@redhat.com>
2150
2151 * readelf.c: (struct unw_aux_info): Remove const modifier for
2152 'strtab' field.
2153 (process_unwind): Remove non-K&R compliant LHS type cast in call
2154 to GET_DATA_ALLOC macro.
2155
2156 2001-02-28 Philip Blundell <pb@futuretv.com>
2157
2158 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
2159 ABI is in use; remove ambiguity between the "unknown" EABI and
2160 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
2161 renamed EF_xx constants.
2162
2163 2001-02-27 Alan Modra <alan@linuxcare.com.au>
2164
2165 * configure.in (BFD_VERSION): New.
2166 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
2167 * configure: Regenerate.
2168 * Makefile.am: Run "make dep-am"
2169 * Makefile.in: Regenerate.
2170
2171 2001-02-14 Nick Clifton <nickc@redhat.com>
2172
2173 * MAINTAINERS: Add "Obvious Fix" rule.
2174
2175 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2176
2177 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
2178 literal concatenation.
2179
2180 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2181
2182 * readelf.c (struct unw_aux_info): Remove const from the info member.
2183 (process_unwind): Don't type-cast the third argument to the
2184 GET_DATA_ALLOC macro.
2185
2186 2001-02-11 Nick Clifton <nickc@redhat.com>
2187
2188 * readelf.c (dump_relocations): Free corrected allocated
2189 array.
2190 (process_unwind): Fix compile time warning.
2191
2192 2001-02-10 Nick Clifton <nickc@redhat.com>
2193
2194 * binutils.texi: Document new --unwind option to readelf.
2195
2196 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
2197
2198 * readelf.c: Add linux target for S/390.
2199
2200 2001-02-10 Alan Modra <alan@linuxcare.com.au>
2201
2202 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
2203 printf is a macro.
2204
2205 2001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
2206
2207 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
2208 * aclocal.m4: Regenerate.
2209 * configure: Regenerate.
2210
2211 2001-02-07 Todd Vierling <tv@wasabisystems.com>
2212
2213 * bucomm.c (bfd_target_vector): Change extern array to pointer.
2214 * objdump.c (bfd_target_vector): Likewise.
2215
2216 2001-02-07 David Mosberger <davidm@hpl.hp.com>
2217
2218 * readelf.c (process_unwind): New function.
2219 (slurp_ia64_unwind_table): Ditto.
2220 (dump_ia64_unwind): Ditto.
2221 (find_symbol_for_address): Ditto.
2222 (slurp_rela_relocs): New function (split off from dump_relocations()).
2223 (slurp_rel_relocs): Ditto.
2224 (parse_args): Handle '-u' option.
2225
2226 * unwind-ia64.c: New file.
2227 * unwind-ia64.h: New file.
2228 * Makefile.am: Include unwind-ia64.c in readelf build.
2229 * Makefile.in: Regenerate.
2230 * po/binutils.pot: Regenerate.
2231
2232 2001-02-04 Philip Blundell <philb@gnu.org>
2233
2234 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
2235 * configure: Regenerate.
2236
2237 2001-01-31 Steve deRosier <sderosier@vari-lite.com>
2238
2239 * ieee.c (ieee_add_bb11): Don't check for backslashes
2240 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
2241
2242 2001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
2243
2244 * ieee.c: Update copyright.
2245 (ieee_start_compilation_unit): Don't check for backslashes
2246 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
2247
2248 * stabs.c: Update copyright. Include "filenames.h".
2249 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
2250
2251 2001-01-23 Jakub Jelinek <jakub@redhat.com>
2252
2253 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
2254 sections are present before using them. Remove code duplication.
2255 (process_symbol_table): Check if VERDEF or VERNEED sections are
2256 present before using them.
2257
2258 2001-01-17 Nick Clifton <nickc@redhat.com>
2259
2260 * objcopy.c (copy_object): Fail if attempting to convert the
2261 endianness of the input object file.
2262
2263 * binutils.texi: Explain that objcopy cannot convert endianness.
2264
2265 2001-01-16 Nick Clifton <nickc@redhat.com>
2266
2267 * readelf.c (string_table_length): New variable.
2268 (SECTION_NAME): Catch out of range indices and missing section
2269 pointers.
2270 (process_section_headers): Delete useless local variable
2271 string_table_offset. Set the value of string_table_length
2272 after loading the string table.
2273 (process_mips_specific): Use SECTION_NAME macro.
2274 (process_file): Set string_table_length to 0 when it is freed.
2275
2276 2001-01-12 Nick Clifton <nickc@redhat.com>
2277
2278 * version.c (print_version): Update copyright date.
2279
2280 2001-01-11 Peter Targett <peter.targett@arccores.com>
2281
2282 * readelf.c (dump_relocations): Include selection with EM_ARC.
2283 (get_machine_name) Update name to "ARC".
2284
2285 2001-01-09 Nick Clifton <nickc@redhat.com>
2286
2287 * Makefile.am: Add rule to build objdump.o from objdump.c and
2288 using OBJDUMP_DEFS.
2289 * Makefile.in: Regenerate.
2290
2291 * configure.in: Define OBJDUMP_DEFS. Default to empty.
2292 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
2293 -DDISASSEMBLER_NEEDS_RELOCS.
2294 * configure: Regenerate.
2295
2296 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
2297 is defined read in the relocs even if dump_reloc_info is
2298 false.
2299
2300 2001-01-07 Philip Blundell <philb@gnu.org>
2301
2302 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
2303 `bug-binutils'.
2304 * README: Likewise.
2305
2306 2000-12-19 Nick Clifton <nickc@redhat.com>
2307
2308 * dlltool.c: Add missing support for arm-epoc-pe.
2309 * configure.in: Add missing support for arm-epoc-pe.
2310 * configure: Regenerate.
2311
2312 2000-12-15 Nick Clifton <nickc@redhat.com>
2313
2314 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
2315 Mode parts of the x86 port.
2316
2317 2000-12-04 Andreas Jaeger <aj@suse.de>
2318
2319 * readelf.c (guess_is_rela): Add EM_X86_64.
2320 (dump_relocations): Add EM_X86_64.
2321 (get_machine_name): Add EM_X86_64.
2322 Include "elf/x86-64.h".
2323
2324 2000-12-12 Nick Clifton <nickc@redhat.com>
2325
2326 * readelf.c: Fix formatting.
2327
2328 2000-12-11 Jan Hubicka <jh@suse.cz>
2329
2330 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
2331
2332 2000-12-07 Andrew Haley <aph@redhat.com>
2333
2334 * readelf.c (display_debug_frames): Only display columns that are
2335 referenced by the frame debug info.
2336
2337 2000-12-05 Nick Clifton <nickc@redhat.com>
2338
2339 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
2340
2341 2000-12-04 Jason Merrill <jason@redhat.com>
2342
2343 * readelf.c (process_section_headers): Handle linkonce.wi sections.
2344 (display_debug_section): Likewise.
2345 (display_debug_info): Display CU header before bailing.
2346
2347 2000-12-01 Chris Demetriou <cgd@sibyte.com>
2348
2349 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
2350 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
2351 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
2352
2353 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
2354 and E_MIPS_ARCH_64.
2355
2356 * readelf.c (get_machine_flags): Add case for
2357 E_MIPS_MACH_SB1.
2358
2359 2000-11-30 Richard Earnshaw <rearnsha@arm.com>
2360
2361 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
2362
2363 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
2364
2365 * MAINTAINERS: Add J\81örn Rennecke and self as SH maintainers.
2366 Change sourceware.cygnus.com to sources.redhat.com.
2367 Fix typo for "amongst".
2368
2369 2000-11-28 Nick Clifton <nickc@redhat.com>
2370
2371 * strip.1 (COPYING): Mention that the GNU Free Documentation
2372 License is present in the sources, but not the output, and
2373 also available from the GNU website.
2374 (GNU Free Documentation License): Comment out this section.
2375 * strings.1: Ditto.
2376 * size.1: Ditto.
2377 * ranlib.1: Ditto.
2378 * objdump.1: Ditto.
2379 * objcopy.1: Ditto.
2380 * nm.1: Ditto.
2381 * nlmconv.1: Ditto.
2382 * ar.1: Ditto.
2383 * addr2line.1: Ditto.
2384
2385 2000-11-27 DJ Delorie <dj@redhat.com>
2386
2387 * readelf.c (usage): Add -wf (--debug-dump=frames) option.
2388 (parse_args): Support -wf option.
2389 (process_section_headers): Ditto.
2390 (debug_displays): Ditto.
2391 (display_debug_frames): New, dump *_frame sections.
2392 (frame_need_space): Support for above.
2393 (frame_display_row): Ditto.
2394 * binutils.texi: Document it.
2395
2396 2000-11-24 Nick Clifton <nickc@redhat.com>
2397
2398 * NEWS: Announce support for v5t, v5te and XScale.
2399
2400 2000-11-22 Nick Clifton <nickc@redhat.com>
2401
2402 * readelf.c (get_machine_name): Add EM_JAVELIN, EM_FIREPATH,
2403 EM_ZSP, EM_MMIX, EM_HUANY, EM_PRISM.
2404 (get_section_type_name): Add SHT_GROUP and SHT_SYMTAB_SHNDX.
2405 (get_elf_section_flags: Add SHF_GROUP.
2406 (process_section_headers): Adjust output for 32-bit binaries
2407 to look nice on an 80 column terminal.
2408
2409 2000-11-20 H.J. Lu <hjl@gnu.org>
2410
2411 * readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
2412 ELFOSABI_AIX.
2413
2414 2000-11-17 Richard Henderson <rth@redhat.com>
2415
2416 * readelf.c (display_debug_lines): Adjust last change to
2417 use sizeof (external->li_length).
2418
2419 2000-11-17 Richard Henderson <rth@redhat.com>
2420
2421 * readelf.c (display_debug_lines): Fix section length check
2422 and end_of_sequence computation.
2423
2424 2000-11-06 Nick Clifton <nickc@redhat.com>
2425
2426 * binutils.texi: Add GNU Free Documentation License.
2427 * objcopy.1: Add GNU Free Documentation License.
2428 * objdump.1: Add GNU Free Documentation License.
2429 * addr2line.1: Add GNU Free Documentation License.
2430 * ar.1: Add GNU Free Documentation License.
2431 * nlmconv.1: Add GNU Free Documentation License.
2432 * nm.1: Add GNU Free Documentation License.
2433 * ranlib.1: Add GNU Free Documentation License.
2434 * size.1: Add GNU Free Documentation License.
2435 * strings.1: Add GNU Free Documentation License.
2436 * strip.1: Add GNU Free Documentation License.
2437
2438 2000-10-06 Luciano Gemme <ishitawa@yahoo.com>
2439
2440 * objcopy.c (--srec-len=nn): New parameter to set the
2441 maximum length of generated Srecords.
2442 (--srec-forceS3): New parameter that restricts the generation of
2443 Srecords to type S3 only.
2444 * binutils.texi: Document new command line switches.
2445 * objcopy.1: Docuemnt the new command line switches.
2446 * NEWS: Announce the existence of the new command line switches.
2447
2448 2000-10-31 Nick Clifton <nickc@redhat.com>
2449
2450 * MAINTAINERS: Add Jim Wilson as the maintainer for the IA64
2451 code. Add Eric Chrisopher as maintainer of MN10300 port.
2452
2453 2000-10-12 Roger Sayle <roger@metaphorics.com>
2454
2455 * Make comma after string after icon/control optional.
2456
2457 2000-09-13 Anders Norlander <anorland@acc.umu.se>
2458
2459 * readelf.c (get_machine_flags): Also print EF_MIPS_MACH field.
2460
2461 * NEWS: Mention support for MIPS32.
2462
2463 2000-09-08 Nick Clifton <nickc@redhat.com>
2464
2465 * MAINTAINERS: Add Stephane Carrez as maintainer for 68HC[11|12].
2466
2467 2000-09-07 H.J. Lu <hjl@gnu.org>
2468
2469 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
2470 * configure: Rebuild.
2471
2472 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
2473
2474 * configure: Rebuilt with new libtool.m4.
2475
2476 2000-09-05 Nick Clifton <nickc@redhat.com>
2477
2478 * aclocal.m4: Regenerate.
2479 * config.in: Regenerate.
2480 * configure: Regenerate.
2481
2482 2000-09-04 Todd Vierling <tv@wasabisystems.com>
2483
2484 * strip.1: Fix stray '\' in -o formatting.
2485
2486 2000-09-02 Nick Clifton <nickc@redhat.com>
2487
2488 * configure.in: Increase version number to 2.10.91.
2489 * configure: Regenerate.
2490 * aclocal.m4: Regenerate.
2491 * config.in: Regenerate.
2492 * po/binutils.pot: Regenerate.
2493
2494 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
2495
2496 * acinclude.m4: Include libtool and gettext macros from the
2497 top level.
2498 * aclocal.m4, configure: Rebuilt.
2499
2500 2000-08-30 Jamie Guinan <guinan@bluebutton.com>
2501
2502 * resrc.c (close_input_stream): Delete extraneous logic
2503
2504 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
2505
2506 * NEWS: Mention support for CRIS.
2507
2508 2000-08-21 Nick Clifton <nickc@redhat.com>
2509
2510 * addr2line.c: Changed email address for Ulrich Lauther.
2511
2512 2000-08-17 Christopher C. Chimelis <chris@debian.org>
2513
2514 * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
2515
2516 2000-08-17 Nick Clifton <nickc@redhat.com>
2517
2518 * readelf.c (display_debug_pubnames): Only issue warning
2519 message once. Terminate message with a new line.
2520 (display_debug_aranges): Only display version 2 debug info.
2521
2522 2000-08-14 Todd Vierling <tv@wasabisystems.com>
2523
2524 * objcopy.c (strip_main): Silently accept -d as an alias for -g
2525 for compatability with old BSD systems.
2526
2527 2000-08-14 Jason Eckhardt <jle@cygnus.com>
2528
2529 * NEWS: Mention i860 support.
2530
2531 2000-08-11 Carlo Wood <carlo@alinoe.com>
2532
2533 * addr2line.c (main): Add const to char *.
2534
2535 2000-08-11 Geoff Keating <geoffk@cygnus.com>
2536
2537 * ar.c (main): Don't crash if called with no arguments
2538 or only '-X32_64' as an argument.
2539
2540 2000-08-08 DJ Delorie <dj@redhat.com>
2541
2542 * resrc.c: use "gcc -xc" instead of -xc-header
2543
2544 2000-08-05 Jason Eckhardt <jle@cygnus.com>
2545
2546 * readelf.c (elf/i860.h): Include.
2547 (dump_relocations): Add recognition of i860 architecture.
2548 (guess_is_rela): Add recognition of i860 architecture.
2549
2550 2000-08-03 Nick Clifton <nickc@cygnus.com>
2551
2552 * MAINTAINERS: Add information about CGEN maintainers.
2553
2554 2000-07-26 Geoff Keating <geoffk@cygnus.com>
2555
2556 * nm.c (main): Ignore '-X32_64' as an option.
2557 * ar.c (main): Likewise.
2558 * binutils.texi (nm): Document new option.
2559 (ar): Likewise.
2560
2561 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2562
2563 * rdcoff.c (external_coff_symbol_p): K&R-ise.
2564
2565 2000-07-20 H.J. Lu <hjl@gnu.org>
2566
2567 * binutils.texi: Put back "@end table" deleted by
2568 accident.
2569
2570 2000-07-05 Kenneth Block <krblock@computer.org>
2571
2572 * nm.c: Add optional style to demangle switch.
2573 * objdump.c: Add optional style to demangle switch.
2574 * addr2line.c: Add optional style to demangle switch.
2575 * binutils.texi: Document optional style to demangle
2576 switch.
2577
2578 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
2579
2580 * MAINTAINERS: Add self as CRIS port maintainer.
2581 * readelf.c: Include elf/cris.h.
2582 (guess_is_rela): Handle EM_CRIS.
2583 (dump_relocations): Ditto.
2584 (get_machine_name): Ditto.
2585 * Makefile.am: Rebuild dependencies.
2586 * Makefile.in: Regenerate.
2587 * po/binutils.pot: Regenerate.
2588
2589 2000-07-19 H.J. Lu <hjl@gnu.org>
2590
2591 * readelf.c (get_dynamic_type): Change "AUXILARY" to
2592 "AUXILIARY".
2593 (process_dynamic_segment): Print out strings for DT_CONFIG,
2594 DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
2595
2596 2000-07-19 Mark Kettenis <kettenis@gnu.org>
2597
2598 * nm.c (usage): Change output of `nm --help' to include a
2599 description of the purpose of the program and a detailed
2600 description of the accepted options.
2601
2602 2000-07-19 H.J. Lu <hjl@gnu.org>
2603
2604 * readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
2605 to DF_1_NODEFLIB.
2606
2607 2000-07-19 H.J. Lu <hjl@gnu.org>
2608
2609 * readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
2610
2611 2000-07-19 H.J. Lu <hjl@gnu.org>
2612
2613 * readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
2614 DT_FEATURE.
2615 (process_dynamic_segment): Likewise.
2616
2617 * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
2618 DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
2619 (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
2620 DF_1_NODUMP and DF_1_CONLFAT.
2621
2622 2000-07-18 Nick Clifton <nickc@cygnus.com>
2623
2624 * binutils.texi (readelf): Fix spelling typo.
2625
2626 2000-07-11 Mark Kettenis <kettenis@gnu.org>
2627
2628 * objdump.c (usage): Make output of `objdump --help' more
2629 consistent with the rest of the GNU world. Add a line describing
2630 the purpose of the program.
2631
2632 2000-07-10 David Huggins-Daines <dhd@linuxcare.com>
2633
2634 * stabs.c (parse_stab_range_type): Cast to proper type to fix
2635 warning.
2636
2637 2000-07-10 Ryan Bradetich <rbradetich@uswest.net>
2638
2639 * readelf.c (get_dynamic_data): Add casts and use unsigned chars
2640 to fix warnings.
2641 (process_symbol_table): Ditto.
2642 (procesS_extended_line_op): Ditto.
2643 (display_debug_lines): Ditto.
2644 (display_debug_pubnames): Ditto.
2645 (read_and_display_attr): Ditto.
2646
2647 2000-07-09 Nick Clifton <nickc@cygnus.com>
2648
2649 * MAINTAINERS: Add several more port specific maintainers.
2650
2651 2000-07-05 Nick Clifton <nickc@cygnus.com>
2652
2653 * MAINTAINERS: Add blanket write privs for Michael Meissner.
2654
2655 2000-06-05 DJ Delorie <dj@redhat.com>
2656
2657 * MAINTAINERS: New.
2658
2659 2000-07-01 Eric Fifer <EFifer@sanwaint.com>
2660
2661 * dllwrap.c: Changed mistaken dyn_string_append() calls
2662 to dyn_string_append_cstr().
2663
2664 2000-07-01 Alexander Aganichev <AAganichev@hypercom.com>
2665
2666 * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
2667 struct debug_type stores size in bytes.
2668
2669 2000-07-01 Alan Modra <alan@linuxcare.com.au>
2670
2671 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
2672 (CLEANFILES): Add DEPA.
2673 * Makefile.in: Regenerate.
2674
2675 2000-06-27 Alan Modra <alan@linuxcare.com.au>
2676
2677 * ar.c: Revert incorrect 2000-06-25 patch.
2678 * bucomm.c: Likewise.
2679
2680 2000-06-25 Mark Elbrecht <snowball3@bigfoot.com>
2681
2682 * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external.
2683 (external_coff_symbol_p): New function.
2684 (parse_coff): Use it.
2685
2686 2000-06-25 Alexander Aganichev <AAganichev@hypercom.com>
2687
2688 * ar.c (normalize): Advance past both characters in a DOS based
2689 <letter>: filepath prefix.
2690 (main): Likewise.
2691 * bucomm.c (make_tempname): Likewise.
2692
2693 2000-06-24 Nick Clifton <nickc@cygnus.com>
2694
2695 * objdump.c (usage): Fix description of --stabs switch.
2696
2697 2000-06-22 Alan Modra <alan@linuxcare.com.au>
2698
2699 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
2700 find one.
2701 * Makefile.in: Regenerate.
2702
2703 2000-06-20 Alexander Aganichev <AAganichev@hypercom.com>
2704
2705 * ar.c (normalize): Correct pointer comparison when checking for
2706 backslashes.
2707 (main): Likewise.
2708 * bucomm.c (make_tempname): Likewise.
2709
2710 * ieee.c (ieee_start_compilation_unit): Correct pointer comparison
2711 and search for backslashes in the original pathname.
2712 (ieee_add_bb11): Likewise.
2713
2714 2000-06-18 Nick Clifton <nickc@redhat.com>
2715
2716 * ar.c (print_contents): Improve verbose message.
2717
2718 2000-06-15 H.J. Lu <hjl@gnu.org>
2719
2720 * dyn-string.c: Removed. Not needed with dyn-string.c in
2721 libiberty.
2722 * dyn-string.h: Likewise.
2723
2724 * Makefile.am: Remove references to dyn-string.c and
2725 dyn-string.h. Rebuild dependency.
2726 * Makefile.in: Rebuild.
2727
2728 2000-06-15 H.J. Lu <hjl@gnu.org>
2729
2730 * binutils.texi: Put a warning on copying relocatable object
2731 files between two different formats.
2732
2733 2000-06-13 DJ Delorie <dj@cygnus.com>
2734
2735 * rcparse.y (control): ICON controls take an id as the first
2736 parameter, not an optional string. Also, call new convenience
2737 function that takes res_id's.
2738 * resrc.c (define_control): missing text means zero-length string,
2739 not zero ID.
2740 (define_icon_control): New.
2741 * windres.h: declare define_icon_control.
2742
2743 2000-06-13 H.J. Lu <hjl@gnu.org>
2744
2745 * configure: Regenerate.
2746
2747 2000-06-08 David O'Brien <obrien@FreeBSD.org>
2748
2749 * configure.in (VERSION): Update to show this is the CVS mainline.
2750
2751 2000-06-02 David O'Brien <obrien@FreeBSD.org>
2752
2753 * strings.c (isgraphic): Interpret <TAB> as a printable character,
2754 analogous to <SPACE>.
2755
2756 2000-05-30 Alan Modra <alan@linuxcare.com.au>
2757
2758 * objdump.c (display_target_list): Use bfd_close_all_done, not
2759 bfd_close to fix crash caused by 2000-05-24 change.
2760
2761 2000-05-25 DJ Delorie <dj@cygnus.com>
2762
2763 * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
2764
2765 2000-05-26 Alan Modra <alan@linuxcare.com.au>
2766
2767 * Makefile.am: Update dependencies with "make dep-am"
2768 * Makefile.in: Regenerate.
2769
2770 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
2771
2772 * ar.c: Include filenames.h.
2773 (normalize) [HAVE_DOS_BASED_FILE_SYSTEM]: Support backslashes
2774 and drive letters in file names.
2775 (main): Support backslashes and drive letters in argv[0]. Drop
2776 the .exe suffix, if any, in argv[0] if is_ranlib is negative. Use
2777 FILENAME_CMP instead of strcmp to compare file names.
2778 (open_inarch) [__GO32__]: Don't ifdef errno != ENOENT test for
2779 DJGPP v2.
2780 (do_quick_append) [__GO32__]: Ditto.
2781 (get_pos_bfd, delete_members, move_members, replace_members):
2782 Compare file names with FILENAME_CMP.
2783
2784 * bucomm.c: Include filenames.h.
2785 (make_tempname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support mixed
2786 forward/backward slashes and drive letters in file names.
2787
2788 * ieee.c (ieee_start_compilation_unit, ieee_add_bb11): Support
2789 mixed forward/backward slashes and drive letters in file names.
2790
2791 * strings.c (O_BINARY, setmode, SET_BINARY): Define.
2792 (main) [SET_BINARY]: Use SET_BINARY to switch stdin into binary
2793 mode.
2794
2795 * objcopy.c: Include filenames.h.
2796 (main) [HAVE_DOS_BASED_FILE_SYSTEM]: Drop the .exe suffix
2797 before comparing to "strip".
2798 Use FILENAME_CMP to compare file names.
2799
2800 * arsup.c: Include filenames.h.
2801 (map_over_list, ar_delete, ar_replace, ar_extract): Use
2802 FILENAME_CMP to compare file names.
2803 (ar_open): Prepend "tmp-" instead of appending "-tmp", to create
2804 the temporary file name.
2805
2806 * configure.in: Check for setmode.
2807 * configure: Regenerate.
2808
2809 2000-05-24 Alan Modra <alan@linuxcare.com.au>
2810
2811 * objdump.c (display_target_list): Close the bfd.
2812 (display_info_table): Likewise.
2813
2814 2000-05-14 H.J. Lu (hjl@gnu.org)
2815
2816 * objcopy.c (filter_symbols): Don't strip global symbols in
2817 relocatable object files.
2818
2819 2000-05-14 Alan Modra <alan@linuxcare.com.au>
2820
2821 * size.c (usage): Associate short options with corresponding long
2822 option to give a clue as to their function.
2823
2824 2000-05-14 Philippe De Muyter <phdm@macqel.be>
2825
2826 * size.c (main): Accept and ignore `-f' option.
2827
2828 2000-05-13 Alan Modra <alan@linuxcare.com.au>
2829
2830 * bucomm.h (gettext, dgettext, dcgettext, textdomain,
2831 bindtextdomain): Replace defines with those from intl/libgettext.h
2832 to quieten gcc warnings.
2833
2834 2000-05-12 H.J. Lu <hjl@gnu.org>
2835
2836 * nlmconv.c (temp_filename): Removed.
2837
2838 * nlmconv.c (link_inputs): Use make_temp_file () instead of
2839 choose_temp_base ().
2840 * objdump.c (display_target_list): Likewise.
2841 (display_info_table): Likewise.
2842
2843 2000-05-08 Alan Modra <alan@linuxcare.com.au>
2844
2845 * objcopy.c (setup_section): Add const and gettext calls for err.
2846
2847 2000-05-02 H.J. Lu <hjl@gnu.org>
2848
2849 * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
2850 ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
2851 ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
2852 ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
2853 and ELFOSABI_OPENBSD.
2854
2855 2000-05-02 Kazu Hirata <kazu@hxi.com>
2856
2857 * coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
2858 * srconv.c: Likewise.
2859 * sysdump.c: Likewise.
2860
2861 2000-04-23 Denis Chertykov <denisc@overta.ru>
2862
2863 * readelf.c (guess_is_rela): AVR uses RELA relocations.
2864 (get_machine_name): machine name for EM_AVR added.
2865
2866 2000-04-21 Richard Henderson <rth@cygnus.com>
2867 David Mosberger <davidm@hpl.hp.com>
2868
2869 * Makefile.am (readelf.o): Add elf/ia64.h.
2870 * Makefile.in: Rebuild.
2871 * readelf.c: Include elf/ia64.h.
2872 (guess_is_rela, dump_relocations): Handle EM_IA_64.
2873
2874 2000-04-17 Timothy Wall <twall@cygnus.com>
2875
2876 * objdump.c (disassemble_data): Set octets per byte *after*
2877 resolving arch/mach for binary files.
2878
2879 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2880
2881 * arlex.l: Add directives to increase lex buffer size.
2882
2883 * objdump.c, readelf.c: Don't include strarg.h or varargs.h. They are
2884 already included by bucomm.h.
2885
2886 2000-04-10 Philippe De Muyter <phdm@macqel.be>
2887
2888 * readelf.c (dynamic_segment_mips_val): Call `sprintf', not
2889 `strftime' since strftime is not available on all systems.
2890 (process_mips_specific): Ditto.
2891
2892 2000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
2893
2894 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
2895 --enable-build-warnings option.
2896 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
2897 * Makefile.in, configure: Re-generate.
2898
2899 2000-04-06 Alan Modra <alan@linuxcare.com.au>
2900
2901 * addr2line.c: Update copyright.
2902 * objcopy.1: Likewise, and title.
2903 * strings.1: Likewise.
2904
2905 * version.c (print_version): Add 2000.
2906
2907 * rddbg.c (read_section_stabs_debugging_info): Don't use
2908 bfd_size_type for strx to avoid printf problems if BFD64.
2909
2910 * bucomm.c: (report): Remove `static'.
2911 Move inclusion of stdarg.h/vararg.h from here.
2912 * bucomm.h: To here.
2913 (CONST): Change all occurences to const.
2914 (report): Declare it.
2915 (bfd_fatal): Add ATTRIBUTE_NORETURN.
2916 (fatal): Add ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN.
2917 (non_fatal): Add ATTRIBUTE_PRINTF_1.
2918
2919 * ar.c (main): Use fatal or non_fatal instead of fprintf.
2920 Correct a typo in an error message.
2921 (do_quick_append): Use non_fatal instead of fprintf.
2922 (move_members): Use fatal instead of fprintf, exit.
2923 * coffdump.c (main): Same here.
2924
2925 * dlltool.c (display): Delete.
2926 (warn): Delete.
2927 (inform): Use `report' instead of `display'.
2928 (rvaafter): Remove trailing \n from fatal error msg.
2929 (rvabefore): Ditto.
2930 (asm_prefix): Ditto.
2931 (yyerror): Replace `warn' with `non_fatal', and remove \n.
2932 (def_name): Likewise.
2933 (run): Likewise.
2934 (scan_all_symbols): Likewise.
2935 (gen_lib_file): Likewise.
2936 (def_library): Likewise. Remove extra program_name too.
2937 (run): Remove \n from inform strings.
2938 (scan_drectve_symbols): Likewise.
2939 (add_excludes): Likewise.
2940 (scan_open_obj_file): Likewise.
2941 (gen_exp_file): Likewise.
2942 (gen_lib_file): Likewise.
2943 (process_duplicates): Likewise.
2944
2945 * Makefile.am (dllwrap_SOURCES): Add version.c.
2946 * dllwrap.c (program_version): Delete.
2947 (print_version): Delete.
2948 (display): Always print trailing \n.
2949 (warn): New.
2950 (delete_temp_files): Use warn instead of fprintf. Use gettext.
2951 (run): Here too.
2952 (main): And here.
2953 (usage): gettext'ify.
2954 (long_options): Add missing initialisers.
2955
2956 * nlmconv.c (main): Use fatal/non_fatal instead of fprintf.
2957 (select_output_format): Likewise.
2958 (powerpc_mangle_relocs): Likewise.
2959 (link_inputs): Likewise.
2960
2961 * nm.c (set_print_radix): Use fatal instead of fprintf, exit.
2962 (set_output_format): Likewise.
2963 (main): Use non_fatal instead of fprintf.
2964 (display_rel_file): Likewise.
2965
2966 * objdump.c (slurp_symtab): Use non_fatal instead of fprintf.
2967 (slurp_dynamic_symtab): Same here.
2968 (disassemble_data): And here.
2969 (read_section_stabs): And here.
2970 (read_section_stabs): And here.
2971 (dump_bfd): And here.
2972 (main): And here.
2973 (objdump_sprintf): Use fatal instead of fprintf, exit.
2974 (disassemble_data): Same here.
2975
2976 * rdcoff.c (parse_coff_type): Use non_fatal instead of fprintf.
2977 (parse_coff_struct_type): Same here.
2978 (parse_coff_enum_type): And here.
2979 (parse_coff): And here.
2980 * rddbg.c (read_debugging_info): And here.
2981 * size.c (main): And here.
2982 * windres.c (format_from_name): And here.
2983 * wrstabs.c (stab_write_symbol): Here too.
2984 (write_stabs_in_sections_debugging_info): And here.
2985 (stab_int_type): And here.
2986 (stab_struct_field): And here.
2987 (stab_typdef): And here.
2988
2989 * rescoff.c (read_coff_rsrc): Use fatal instead of fprintf, exit.
2990 * srconv.c (main): Same here.
2991 * strings.c (main): And here.
2992 (integer_arg): And here.
2993 * sysdump.c (main): And here.
2994
2995 2000-04-06 Timothy Wall <twall@cygnus.com>
2996
2997 * objdump.c (dump_section_header): Print CLINK and BLOCK flags.
2998
2999 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
3000
3001 * readelf.c (decode_location_expression): Loop through multiple
3002 operations.
3003 (read_and_display_attr): Pass in length.
3004
3005 * readelf.c (read_and_display_attr): Add CU offset to references.
3006 (display_debug_info): Pass it in.
3007
3008 2000-04-06 Nick Clifton <nickc@cygnus.com>
3009
3010 * readelf.c (decode_ARM_machine_flags): New function.
3011 (get_machine_flags): Call decode_ARM_machine_flags for ARM
3012 targets.
3013
3014 (get_machine_name): Catch EM_AVR
3015
3016 2000-04-05 Alan Modra <alan@linuxcare.com.au>
3017
3018 * binutils.texi: Remove optional `=' from long options that have
3019 an `=' in the argument.
3020 * objcopy.1: Here too. Remove extra space on discard-all.
3021
3022 * binutils.texi (objcopy): Mention --redefine-sym.
3023 * objcopy.1: Here too.
3024 * NEWS: And here.
3025
3026 * objcopy.c (parse_flags): Split off flag names from error message
3027 gettext as they are not translated.
3028 (copy_main): Similarly split off option name for --add-section,
3029 --set-section-flags, --change-section-vma, --change-section-lma
3030 error messages.
3031 Some white space changes.
3032
3033 from Matthew Benjamin <matt@linuxbox.nu>
3034 * objcopy.c (struct redefine_node): New.
3035 (redefine_sym_list): New.
3036 (redefine_list_append): New.
3037 (lookup_sym_redefinition): New.
3038 (OPTION_REDEFINE_SYM): New.
3039 (copy_options): Add --redefine-sym option.
3040 (copy_usage): Mention it.
3041 (filter_symbols): Rename symbols on redefine_sym_list.
3042 (copy_object): Call filter_symbols if redefine_sym_list != NULL.
3043 (copy_main): Handle OPTION_REDEFINE_SYM.
3044
3045 2000-04-04 H.J. Lu <hjl@gnu.org>
3046
3047 * readelf.c (process_symbol_table): Correctly read in symbol
3048 versioning information.
3049
3050 2000-04-04 Alan Modra <alan@linuxcare.com.au>
3051
3052 * po/binutils.pot: Regenerate.
3053
3054 * addr2line.c (usage): Restore translated part of bug string.
3055 * ar.c (usage): Likewise.
3056 * nlmconv.c (show_usage): Likewise.
3057 * nm.c (usage): Likewise.
3058 * objcopy.c (copy_usage): Likewise.
3059 (strip_usage): Likewise.
3060 * objdump.c (usage): Likewise.
3061 * readelf.c (usage): Likewise.
3062 * size.c (usage): Likewise.
3063 * strings.c (usage): Likewise.
3064 * windres.c (usage): Likewise.
3065
3066 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
3067 (DEP): Quote when passing vars to sub-make. Add warning
3068 message to end.
3069 (DEP1): Rewrite for "gcc -MM".
3070 (CLEANFILES): Add DEP2.
3071 Update dependencies.
3072 * Makefile.in: Regenerate.
3073
3074 2000-04-04 H.J. Lu <hjl@gnu.org>
3075
3076 * Makefile.am (GENERATED_HFILES): Add rcparse.h
3077 (arparse.h): Depend on arparse.c
3078 (defparse.h, nlmheader.h, rcparse.h, sysinfo.h): Similarly.
3079
3080 2000-04-03 H.J. Lu (hjl@gnu.org)
3081
3082 * size.c (usage): Use REPORT_BUGS_TO.
3083
3084 2000-04-03 Alan Modra <alan@linuxcare.com.au>
3085
3086 * bucomm.h: #include "bin-bugs.h"
3087 * addr2line.c (usage): Use REPORT_BUGS_TO.
3088 * ar.c (usage): Likewise.
3089 * nlmconv.c (show_usage): Likewise.
3090 * nm.c (usage): Likewise.
3091 (OPTION_TARGET): Define.
3092 (long_options): Use OPTION_TARGET rather than 200.
3093 (main): Likewise.
3094
3095 * objcopy.c (copy_usage): Use REPORT_BUGS_TO.
3096 (strip_usage): Likewise.
3097 * objdump.c (usage): Likewise.
3098 * readelf.c (usage): Likewise.
3099 * strings.c (usage): Likewise.
3100 * windres.c (usage): Likewise.
3101
3102 2000-03-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
3103
3104 * readelf.c: Include sys/types.h before sys/stat.h for ultrix.
3105
3106 2000-03-27 Nick Clifton <nickc@cygnus.com>
3107
3108 * rddbg.c (read_section_stabs_debugging_info): Catch out of range
3109 string offsets in corrupt stabs entries.
3110
3111 2000-03-27 Alan Modra <alan@linuxcare.com.au>
3112
3113 * readelf.c: Include elf/avr.h
3114 (dump_relocations): Add EM_AVR case.
3115
3116 2000-03-09 Tim Waugh <twaugh@redhat.com>
3117
3118 * strings.1: Correct '-bytes' to '--bytes'.
3119
3120 2000-03-08 H.J. Lu <hjl@gnu.org>
3121
3122 * Makefile.am (install-exec-local): Depend on
3123 install-binPROGRAMS for parallel make.
3124 * Makefile.in: Regenerated.
3125
3126 2000-02-27 Ian Lance Taylor <ian@zembu.com>
3127
3128 From Brad Lucier <lucier@math.purdue.edu>:
3129 * readelf.c (process_dynamic_segment): Add cast to make sure
3130 argument to %* is int.
3131
3132 2000-02-25 H.J. Lu <hjl@gnu.org>
3133
3134 * configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
3135
3136 2000-02-24 Nick Clifton <nickc@cygnus.com>
3137
3138 * configure.in: Add arm-wince, mips-pe and sh-pe targets.
3139 * configure: Regenerate.
3140
3141 * dlltool.c: Add support for sh-pe and mips-pe targets.
3142 * rescoff.c: Add support for sh-pe and mips-pe targets.
3143
3144 2000-02-23 H.J. Lu <hjl@gnu.org>
3145
3146 * readelf.c (get_osabi_name): Handle ELFOSABI_LINUX.
3147
3148 2000-02-22 Nick Clifton <nickc@cygnus.com>
3149
3150 * readelf.c (process_symbol_table): Remove use of ELF_ST_OTHER.
3151
3152 2000-02-22 Ian Lance Taylor <ian@zembu.com>
3153
3154 From Brad Lucier <lucier@math.purdue.edu>:
3155 * readelf.c (process_version_sections): Add casts to make sure
3156 argument to %* is an int.
3157 (process_mips_specific): Add casts to make printf arguments match
3158 format.
3159
3160 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
3161
3162 * objdump.c (dump_section_header): Change `opb' to unsigned.
3163 (find_symbol_for_address): Same here.
3164 (disassemble_data): And here. Change `addr_offset',
3165 `stop_offset', `nextstop_offset' to unsigned long.
3166 (dump_data): Change opb to unsigned.
3167
3168 2000-02-18 Frank Ch. Eigler <fche@redhat.com>
3169
3170 * resrc.c: Remove unmatched #if for cygwin.
3171
3172 2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com>
3173
3174 * binutils.texi: Document the change of flavor name from atpcs-special
3175 to special-atpcs to prevent name conflict in gdb.
3176
3177 2000-02-08 Timothy Wall <twall@redhat.com>
3178
3179 * objdump.c (show_line): Fix bug preventing printing of the very
3180 first line (line zero) of a file when interlisting source and
3181 assembly. Added option to print entire context from start of file
3182 when the first line from that file is encountered.
3183
3184 2000-02-03 Timothy Wall <twall@redhat.com>
3185
3186 * objdump.c (dump_section_header, find_symbol_for_address,
3187 show_line, disassemble_bytes, disassemble_data, dump_data):
3188 distinguish between octets and bytes.
3189
3190 2000-01-27 Thomas de Lellis <tdel@windriver.com>
3191
3192 * nm.c (print_symbol_info_bsd): Use bfd_is_undefined_symclass to
3193 check to unresolved symbols.
3194 (print_symbol_info_sysv): Ditto.
3195 (print_symbol_info_posix): Ditto.
3196
3197 * binutils.texi: Document new 'V' symclass flag for nm.
3198
3199 2000-01-27 Nick Clifton <nickc@redhat.com>
3200
3201 * binutils.texi (objdump): Document new ARM specific
3202 disassembler options.
3203
3204 * objdump.c (usage): Call disassembler_usage().
3205
3206 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
3207
3208 * readelf.c (get_dynamic_flags): Return buff.
3209 (process_dynamic_segment): Don't pass error strings to printf
3210 as format arg.
3211 (read_and_display_attr): Use lx and ld to print longs.
3212 (process_corefile_note_segment): Cast bfd_vma to unsigned long
3213 before printing.
3214 Update copyright.
3215
3216 2000-01-17 Nick Clifton <nickc@cygnus.com>
3217
3218 * readelf.c (get_osabi_name): Recognise ELFOSABI_ARM.
3219
3220 2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
3221
3222 * debug.c (debug_name_type): Return DEBUG_TYPE_NULL rather than
3223 false.
3224 (debug_tag_type): Here too.
3225 * ieee.c (ieee_builtin_type): And here.
3226 * stabs.c (parse_stab_type, parse_stab_array_type): And here.
3227
3228 2000-01-13 Nick Clifton <nickc@cygnus.com>
3229
3230 * readelf.c (get_machine_name): Change EM_S370 to return "IBM
3231 System/370".
3232
3233 2000-01-11 Nick Clifton <nickc@cygnus.com>
3234
3235 * readelf.c (get_dynamic_type): Remove DT_ENCODING.
3236
3237 2000-01-10 Nick Clifton <nickc@cygnus.com>
3238
3239 * readelf.c (get_note_type): Display NT_WIN32PSTATUS notes.
3240
3241 2000-01-07 Mumit Khan <khan@xraylith.wisc.edu>
3242
3243 * windres.c (long_options): Add --use-temp-file and
3244 --no-use-temp-file options.
3245 (usage): Document.
3246 (main): Handle.
3247
3248 * windres.h: Update read_rc_file prototype.
3249
3250 * resrc.c (cpp_temp_file): New static variable.
3251 (istream_type): New static variable.
3252 (close_pipe): Delete function.
3253 (run_cmd): New static function.
3254 (open_input_stream): New static function.
3255 (close_input_stream): New static function.
3256 (look_for_default): Handle DOS directory separator. Use
3257 open_input_stream instead of popen.
3258 (read_rc_file): Likewise.
3259
3260 * binutils.texi: Document --use-temp-file, --no-use-temp-file
3261 options.
3262
3263 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
3264
3265 * dlltool.c (create_compat_implib): New variable.
3266 (gen_exp_file): Use.
3267 (make_one_lib_file): Use.
3268 (long_options): Add --compat-implib option.
3269 (usage): Handle.
3270 (main): Handle.
3271
3272 * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
3273 (main): Use. Don't look for "32" in cygwin and mingw target names.
3274
3275 2000-01-03 Nick Clifton <nickc@cygnus.com>
3276
3277 * binutils.texi: Document new, ARM specific disassembler
3278 command line switch "-M force-thumb".
3279
3280 For older changes see ChangeLog-9899
3281 \f
3282 Local Variables:
3283 mode: change-log
3284 left-margin: 8
3285 fill-column: 74
3286 version-control: never
3287 End: