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