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