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