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