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