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