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