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