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