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