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