Add tic4x target.
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
810dfa6e
L
12002-09-30 H.J. Lu <hjl@gnu.org>
2
3 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_4120,
4 E_MIPS_MACH_5400 and E_MIPS_MACH_5500.
5
bb279dc0
ZW
62002-09-17 Zack Weinberg <zack@codesourcery.com>
7
8 * Makefile.am (CFILES): Add cxxfilt.c.
9 (cxxfilt_SOURCES): Now just cxxfilt.c $(BULIBS).
10 (cxxfilt_LDADD): Delete.
11 Remove all references to underscore.c.
12 Regen dependencies.
13 * configure.in: Define TARGET_PREPENDS_UNDERSCORE in
14 config.h from $UNDERSCORE, rather than AC_SUBSTing it.
15 * binutils/cxxfilt.c: Moved here from gcc/cp, minor
16 adjustments to fit into binutils framework.
17 * configure, config.in, Makefile.in, doc/Makefile.in: Regenerate.
18
065c959b
NC
192002-09-12 Roland McGrath <roland@redhat.com>
20
21 * readelf.c (decode_location_expression): DW_OP_calli -> DW_OP_call_ref
22 Handle DW_OP_GNU_push_tls_address.
23
e09f4395
NC
242002-09-11 Nick Clifton <nickc@redhat.com>
25
26 * po/tr.po: Updated Turkish translation.
27
873e0588
NC
282002-09-10 Nick Clifton <nickc@redhat.com>
29
30 * MAINTAINERS: Add Ben Elliston as a maintainer for configure and
31 testsuite changes. Add paragraphs about testsuite and config
32 patches.
33
069fe61f
NC
342002-08-29 Nick Clifton <nickc@redhat.com>
35
36 * readelf.c (get_machine_flags): Remove redundant reference to
37 E_V850EA_ARCH.
38
fe0507eb
AM
392002-08-28 Alan Modra <amodra@bigpond.net.au>
40
41 * objdump.c (dump_bfd): Restore lines accidentally deleted in
42 last commit.
43
026df7c5
NC
442002-08-28 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
45
bb279dc0 46 * objdump.c (dump_headers): Add printing of HAS_LOAD_PAGE flag.
026df7c5
NC
47 (dump_bfd_header): Likewise.
48
68a4c073
AM
492002-08-27 Alan Modra <amodra@bigpond.net.au>
50
51 * nm.c: Revert last change.
52
a1df01d1
AM
532002-08-26 Alan Modra <amodra@bigpond.net.au>
54
55 * nm.c (display_rel_file): Don't report "no symbols" as an error.
56 * objdump.c (slurp_symtab): Likewise.
57 (slurp_dynamic_symtab): Likewise.
58 (dump_symbols): Likewise. Do print "no symbols" to stdout.
59
a926ab2f
GK
602002-08-24 Geoffrey Keating <geoffk@redhat.com>
61
62 * MAINTAINERS: Change my mailing address.
63
fcf62380
DA
642002-08-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
65
66 * MAINTAINERS: Add Dave Anglin as HPPA co-maintainer.
67
51e28791
NC
682002-08-22 Nick Clifton <nickc@redhat.com>
69
70 * MAINTAINERS: Add Jeff Law as (maintainance) maintainer for
71 HPPA.
72
c5b060ad
AM
732002-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
74
75 * readelf.c (parse_args): Change debug_dump_opt to static.
76
4b73ca92
NC
772002-08-16 Sivaguru Sankaridurg <siva@eternal-systems.com>
78
79 * stabs.c (parse_stab_argtype): Pass length of physname to
80 stab_demangle_argtypes.
81 (stab_demangle_argtypes): Add new parameter - length of physname.
82 Pass length of physname on to stab_demangle_prefix.
83 (stab_demangle_prefix): Add new parameter - length of physname.
84 Use length of physname (if supplied) to compute end of function
85 name.
86
35b1837e
AM
872002-08-15 Alan Modra <amodra@bigpond.net.au>
88
89 * readelf.c: Include elf/i370.h.
90 (dump_relocations): Handle EM_S370.
91 (dynamic_segment_parisc_val): Print \n.
92 (process_dynamic_segment <DT_BIND_NOW>): Here too.
93
762baac5
NC
942002-08-14 Nick Clifton <nickc@redhat.com>
95
96 * nm.c (usage): Change 'gnu-new-abi' to 'gnu-v3'.
97 * objdump.c (usage): Likewise.
98 * doc/binutils.texi: Likewise.
99
85c09e8a
NC
1002002-08-14 Luke Dunstan <infidel@users.sourceforge.net>
101
102 * rcparse.y (acc_entry): Don't warn about ALT use with
103 non-VIRTKEY.
104
212a3c4d
L
1052002-08-13 H.J. Lu <hjl@gnu.org>
106
107 * objcopy.c (copy_object): Don't warn about the unsupported
108 architecture unless the input target is defaulted or the
109 output architecture is different from the input.
110
2b692c59
NC
1112002-08-09 Nick Clifton <nickc@redhat.com>
112
113 * po/sv.po: Updated Swedish translation.
114
09de7a73
AM
1152002-08-05 Alan Modra <amodra@bigpond.net.au>
116
117 * prdbg.c (pr_fix_visibility): Remove assert.
118
47badb7b
NC
1192002-07-31 Nick Clifton <nickc@redhat.com>
120
121 * addr2line.c (process_file): Rename parameter 'filename' to
122 'file_name' in order to avoid shadowing global symbol of the
123 same name.
124 (main): Likewise.
125
2979dc34
JJ
1262002-07-30 Jakub Jelinek <jakub@redhat.com>
127
128 * readelf.c (OPTION_DEBUG_DUMP): Define.
129 (options): Use it.
130 (usage): Update help.
131 (parse_args): Handle --debug-dump separately from -w.
132 * doc/binutils.texi (readelf): Update documentation.
133
219576a4
NC
1342002-07-25 Nick Clifton <nickc@redhat.com>
135
136 * po/es.po: Updated Spanish translation.
137 * po/fr.po: Updated French translation.
138
bf4f22e6 1392002-07-24 Nick Clifton <nickc@redhat.com>
bb279dc0 140
bf4f22e6
NC
141 * po/es.po: Updated Spanish translation.
142
c5b3a82a
AM
1432002-07-23 Alan Modra <amodra@bigpond.net.au>
144
145 * Makefile.am: Run "make dep-am".
146 * Makefile.in: Regenerate.
147
0461a601
NC
1482002-07-23 Nick Clifton <nickc@redhat.com>
149
bf4f22e6 150 * po/fr.po: Updated French translation.
0461a601 151
bf44dd74
AM
1522002-07-23 Eric S. Raymond <esr@golux.thyrsus.com>
153
154 * doc/binutils.texi (addr2line <man synopsis>): Correct brackets.
155
2c205ff2
AM
1562002-07-20 Alan Modra <amodra@bigpond.net.au>
157
63eb0809 158 * budemang.c: Include config.h and string.h/strings.h.
2c205ff2 159
1e4cf259
NC
1602002-07-18 Denis Chertykov <denisc@overta.ru>
161 Frank Ch. Eigler <fche@redhat.com>
162
163 * readelf.c: Include "elf/ip2k.h".
164 (guess_is_rela): Add support for EM_IP2K and EM_IP2K_OLD.
165 (dump_relocations): Likewise.
166 (get_machine_name): Likewise.
167 * NEWS: Mention IP2K support.
168
2cbb2eef
NC
1692002-07-16 Nick Clifton <nickc@cambridge.redhat.com>
170
171 * NEWS: Add 'Changes in 2.13'.
172
047b2264
JJ
1732002-07-10 Jakub Jelinek <jakub@redhat.com>
174
175 * readelf.c (get_dynamic_type): Handle DT_GNU_PRELINKED,
176 DT_GNU_CONFLICT* and DT_GNU_LIBLISZ*.
177 (get_section_type_name): Handle SHT_GNU_LIBLIST.
178 (process_dynamic_segment): Handle DT_GNU_CONFLICTSZ,
179 DT_GNU_LIBLISTSZ and DT_GNU_PRELINKED.
180 (process_gnu_liblist): New.
181 (process_file): Call it.
182
97230b15
AM
1832002-07-03 Alan Modra <amodra@bigpond.net.au>
184
185 * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
186 * Makefile.in: Regenerate.
187
a6637ec0
AM
1882002-07-02 Alan Modra <amodra@bigpond.net.au>
189
190 * budemang.c: New file, "demangle" function.
191 * budemang.h: New file.
192 * addr2line.c (translate_addresses): Use "demangle".
193 * nm.c (print_symname): Likewise.
194 * objdump.c (objdump_print_symname): Likewise.
195 (dump_symbols): Likewise. Also, don't use bfd_asymbol_name macro
196 here since that obfuscates.
197 * rdcoff.c: Don't #include demangle.h.
198 * Makefile.am (CFILES): Add budemang.c, emul_aix.c,
199 emul_vanilla.c. Remove emul_$(EMULATION).c. Sort.
200 (HFILES): Add budemang.h. Sort.
201 (nm_new_SOURCES, objdump_SOURCES, addr2line_SOURCES): Add budemang.c.
202 Run "make dep-am".
203 * Makefile.in: Regenerate.
204
179d3252
JT
2052002-07-01 Matt Thomas <matt@3am-software.com>
206
207 * readelf.c: Include "elf/vax.h".
208 (guess_is_rela): Move EM_VAX from unknown to RELA case.
209 (dump_relocations): Handle VAX relocations.
210 (get_machine_flags): Handle VAX machine flags.
211
75751cd9
SC
2122002-06-29 Stephane Carrez <stcarrez@nerim.fr>
213
214 * readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.
215
e5851ab8
NC
2162002-06-26 Nick Clifton <nickc@cambridge.redhat.com>
217
218 * MAINTAINERS: Remove Tom Rix from d10v and pcc maintainerships.
219
eb3f2f5c
AM
2202002-06-26 Alan Modra <amodra@bigpond.net.au>
221
222 * nm.c (print_symname): When demangling, strip leading dots from
223 symbol names to avoid confusing the demangler.
224
a13a0de8
L
2252002-06-25 H.J. Lu <hjl@gnu.org>
226
227 * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
228 * Makefile.in: Regenerated.
229
6db7a086
AM
2302002-06-21 Igor Schein <igor@txc.com>
231
232 * configure.in: Quote bu_cv_have_fopen64.
233 * configure: Regenerate.
234
9710509e
AM
2352002-06-21 Mitsru Chinen <chinen@jp.ibm.com>
236
237 * configure.in: Check for strcoll.
238 * configure: Regenerate.
239 * config.in: Regenerate.
240 * nm.c (main): Set locale for LC_COLLATE category.
241 (non_numeric_forward): Use strcoll if available.
242
a9f0b5e7
DB
2432002-06-20 Dave Brolley <brolley@redhat.com>
244
245 * MAINTAINERS: Add self as fr30 and frv maintainer.
246
33f5f537
L
2472002-06-18 H.J. Lu (hjl@gnu.org)
248
249 * nm.c: Include "elf/common.h".
250 (extended_symbol_info): Add elfinfo, a pointer to
251 elf_symbol_type.
252 (SYM_SIZE): Use elfinfo if it is not NULL.
253 (get_symbol_type): New function.
254 (display_archive): Set print_width for each archive member.
255 (display_file): Likewise.
256 (display_rel_file): Don't set print_width here.
257 (print_object_filename_sysv): Handle print_width.
258 (print_archive_member_sysv): Likewise.
259 (print_symbols): Pass (bfd_vma) 0 to print_symbol.
260 (print_symbol): Set the elfinfo field in extended_symbol_info
261 for ELF.
262 (print_object_filename_sysv): Fix the output format.
263 (print_symbol_info_sysv): Print type and section for ELF.
264
2652002-06-18 Elias Athanasopoulos <eathan@otenet.gr>
266
267 * nm.c (print_size_symbols): Remove assignment, which makes
bb279dc0 268 the symbol's size equal to its value when --size-sort is
33f5f537
L
269 used.
270
5c70f934
DB
2712002-06-18 Dave Brolley <brolley@redhat.com>
272
273 From Catherine Moore:
274 * readelf.c (elf/frv.h): #include it.
275 (guess_is_rela): Support EM_CYGNUS_FRV.
276 (dump_relocations): Ditto.
277 (get_machine_name): Ditto.
278 * Makefile.am (readelf.o): add dependency on $(INCDIR)/elf/frv.h.
279
7ece0d85
JJ
2802002-06-18 Jakub Jelinek <jakub@redhat.com>
281
282 * readelf.c (get_file_header): Only read the first section header if
283 e_shoff is non-zero.
284
72797995
L
2852002-06-15 H.J. Lu (hjl@gnu.org)
286
287 * nm.c (print_size): New variable. Initialize to 0.
288 (long_options): Add 'S'/"print-size".
289 (main): Handle 'S'.
290 (print_symbol_info_bsd): Print size only if print_size is not
291 0.
292
293 * doc/binutils.texi: Document -S/--print-size.
294
977f7911
NC
2952002-6-13 Elias Athanasopoulos <eathan@otenet.gr>
296
297 * nm.c (struct extended_symbol_info): New strcuture: Add the size
298 of the symbols to the information provided by the symbol_info
299 structure.
300 (print_symbols): Pass the symbol size to print_symbol.
301 (print_size_symbols): Pass the symbol size to print_symbol.
302 (print_symbol): Extra argument: The size of the symbol. Store
303 this in the extended_symbol_info structure.
304 (print_symbol_info): Change type of info parameter to
305 extended_symbol_info. Display the size, if known.
306 (print_symbol_info_posix): Likewise.
307 (print_symbol_info_sysv): Likewise.
308
b1f88ebe
AM
3092002-06-08 Alan Modra <amodra@bigpond.net.au>
310
fa449227
AM
311 * Makefile.am: Run "make dep-am".
312 * Makefile.in: Regenerate.
313 * doc/Makefile.in: Regnerate.
314
b1f88ebe
AM
315 * bucomm.c: Replace CONST with const.
316 * nm.c: Likewise.
317 * objdump.c: Likewise.
318
91a106e6
L
3192002-06-07 H.J. Lu <hjl@gnu.org>
320
321 * readelf.c (DW_CFA_GNU_args_size): Don't define.
322 (DW_CFA_GNU_negative_offset_extended): Likewise.
323 (DW_CFA_GNU_window_save): Likewise.
324 (display_debug_frames): Handle DW_CFA_offset_extended_sf,
325 DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
326
6ab6b380 3272002-06-07 Elias Athanasopoulos <eathan@otenet.gr>
bb279dc0 328
6ab6b380
NC
329 * nm.c: When computing size of symbols for an ELF target use the
330 internal size field.
331
e28e05a3
JL
3322002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
333
334 * testsuite/binutils-all/objcopy.exp: clear xfail for
335 "hppa*64*-*-hpux*".
336 * testsuite/binutils-all/hppa/objdump.exp: Return if
337 "*64*-*-*".
338
dc156bc0
AM
3392002-06-05 Alan Modra <amodra@bigpond.net.au>
340
341 * objcopy.c (copy_section): Don't copy SEC_GROUP sections.
342
3432002-06-03 Elias Athanasopoulos <eathan@otenet.gr>
28b18af1
AM
344
345 * objdump.c: Fix formatting.
346
d79e4ea3
BE
3472002-05-29 Ben Elliston <bje@redhat.com>
348
349 * MAINTAINERS: Add self as M68k maintainer.
350
d172d4ba
NC
3512002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
352
353 * readelf.c: Modified/Added DLX elf support.
354
7edb8f29
NC
3552002-05-27 Nick Clifton <nickc@cambridge.redhat.com>
356
3a1a2036
NC
357 * arsup.c: Fix formatting.
358 * debug.c (debug_record_label): Add missing colon to error
359 message.
360 * ieee.c (parse_ieee_ty): Fix spelling typo.
361 * readelf.c (process_program_headers): Remove English assumption
362 about making a plural word.
363 (process_section_headers): Likewise.
364 (process_relocs): Allow quotes to be translated.
365 (process_unwind): Likewise,
366 (process_mips_specific): Improve error message.
367 (get_note_type): Fix spelling typo.
368
7edb8f29
NC
369 * configure.in (ALL_LINGUAS): Add sv
370 * po/sv.po: New file.
371
3eee1e9d
AM
3722002-05-27 Alan Modra <amodra@bigpond.net.au>
373
374 * unwind-ia64.c (unw_print_brmask): Don't use sprintf.
375 (unw_print_grmask): Likewise.
376 (unw_print_frmask): Likewise.
377
d43efbe3
KH
3782002-05-26 Kazu Hirata <kazu@cs.umass.edu>
379
380 * arsup.c: Remove ARGSUSED.
381 * debug.c: Likewise.
382 * ieee.c: Likewise.
383 * nlmconv.c: Likewise.
384 * prdbg.c: Likewise.
385 * stabs.c: Likewise.
386 * wrstabs.c: Likewise.
387
e9792343
AM
3882002-05-25 Alan Modra <amodra@bigpond.net.au>
389
390 * arlex.l: Use #include "" instead of <> for local header files.
391 * coffdump.c: Likewise.
392 * coffgrok.c: Likewise.
393 * nlmconv.c: Likewise.
394 * nlmheader.y: Likewise.
395 * srconv.c: Likewise.
396 * strings.c: Likewise.
397 * sysdump.c: Likewise.
398 * unwind-ia64.h: Likewise.
399 * windres.h: Likewise.
400 * winduni.h: Likewise.
401
d7e53452
TR
4022002-05-24 Tom Rix <trix@redhat.com>
403
404 * MAINTAINERS: Add self as the d10v maintainer.
405
436e8db0
NC
4062002-05-24 TAMURA Kent <kent@netbsd.org>
407
408 * configure.in: Builds dlltool for i386-netbsdpe.
409 * configure: Regenerate.
410
9f66665a
KH
4112002-05-23 Kazu Hirata <kazu@cs.umass.edu>
412
413 * size.c: Fix formatting.
414 * srconv.c: Likewise.
415 * stabs.c: Likewise.
416 * sysdump.c: Likewise.
417 * unwind-ia64.c: Likewise.
418 * wrstabs.c: Likewise.
419
13ae64f3
JJ
4202002-05-23 Jakub Jelinek <jakub@redhat.com>
421
422 * readelf.c (get_segment_type): Add PT_TLS.
423 (get_elf_section_flags): Add SHF_TLS.
424 (get_dynamic_flags): Optimize. Add DF_STATIC_TLS.
425 (process_dynamic_segment): Use puts instead of printf.
426 (get_symbol_type): Support STT_TLS.
427 * objdump.c (dump_section_header): Remove SEC_CONSTRUCTOR_TEXT,
428 SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS.
429 Add SEC_THREAD_LOCAL.
430
53c7db4b
KH
4312002-05-23 Kazu Hirata <kazu@cs.umass.edu>
432
433 * rdcoff.c: Fix formatting.
434 * rddbg.c: Likewise.
435 * readelf.c: Likewise.
436 * rename.c: Likewise.
437 * resbin.c: Likewise.
438 * resrc.c: Likewise.
439 * resres.c: Likewise.
440
0af11b59
KH
4412002-05-21 Kazu Hirata <kazu@cs.umass.edu>
442
443 * filemode.c: Fix formatting.
444 * ieee.c: Likewise.
445 * is-ranlib.c: Likewise.
446 * is-strip.c: Likewise.
447 * maybe-ranlib.c: Likewise.
448 * maybe-strip.c: Likewise.
449 * nlmconv.c: Likewise.
450 * nm.c: Likewise.
451 * not-ranlib.c: Likewise.
452 * not-strip.c: Likewise.
453 * objcopy.c: Likewise.
454 * objdump.c: Likewise.
455
21611032
TS
4562002-05-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
457
458 * objdump.c (dump_headers): Fix output formatting for ELF32
459 architectures in a BFD64 enabled toolchain.
460
26044998
KH
4612002-05-20 Kazu Hirata <kazu@cs.umass.edu>
462
463 * debug.c: Fix formatting.
464 * debug.h: Likewise.
465 * dlltool.c: Likewise.
466 * dllwrap.c: Likewise.
467 * emul_aix.c: Likewise.
468 * emul_vanilla.c: Likewise.
469
f462a9ea
KH
4702002-05-19 Kazu Hirata <kazu@cs.umass.edu>
471
472 * addr2line.c: Fix formatting.
473 * ar.c: Likewise.
474 * arsup.c: Likewise.
475 * arsup.h: Likewise.
476 * binemul.c: Likewise.
477 * binemul.h: Likewise.
478 * bucomm.c: Likewise.
479 * coffdump.c: Likewise.
480 * coffgrok.c: Likewise.
481 * coffgrok.h: Likewise.
482
e0159aa9
MM
4832002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
484
485 * MAINTAINERS: Add myself as the second AVR port maintainer.
486
074b403e
SC
4872002-05-16 Stephane Carrez <stcarrez@nerim.fr>
488
489 * MAINTAINERS: Update my email address.
490
2b9c8201
NC
4912002-05-09 Nick Clifton <nickc@cambridge.redhat.com>
492
493 * MAINTAINERS: Add Jason Thorpe as VAX maintainer.
494
e1d5b1e7
AM
4952002-05-09 Alan Modra <amodra@bigpond.net.au>
496
497 * configure.in: Replace `*pe' with `pe' throughout.
498 * configure: Regenerate.
499
d3d8a9ee
NC
5002002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
501
502 * Makefile.am: Honour DESTDIR.
503 * Makefile.in: Regenerate.
504
405c98a4
AM
5052002-05-06 Alan Modra <amodra@bigpond.net.au>
506
a02d5965
AM
507 * dlltool.c (process_def_file): Add missing prototype.
508 (new_directive, assemble_file, main): Likewise.
509 (process_def_file, new_directive): Make static.
510 (inform): Rewrite using VA_FIXEDARG.
511 * dllwrap.c (mybasename): Add missing prototype.
512 (strhash, main): Likewise.
513 (inform): Rewrite using VA_FIXEDARG.
514 (warn): Likewise.
515 (cleanup_and_exit): Use old style function definition.
516 (strhash): Likewise.
517 * windres.c (define_resource): Use one memset to clear all of
518 struct res_resource.
519
405c98a4 520 * rcparse.y: Remove newcmd rule. Move rcparse_discard_strings
a02d5965 521 call to rules that need no lookahead. Check for no lookahead.
405c98a4
AM
522
5232002-05-06 Borut Razem <borut.razem@siol.net>
524
525 * rclex.l (get_string): Correct "strings" list handling.
526 * resrc.c (read_rc_file): Discard strings.
527
91593c9d
AM
5282002-05-04 Alan Modra <amodra@bigpond.net.au>
529
e58a75dc
AM
530 * ar.c (replace_members): Remove unused var. Formatting fix.
531 * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
532
91593c9d
AM
533 * MAINTAINERS: Sort port maintainers by CPU.
534
6b52b824
AM
5352002-05-04 Bob Byrnes <byrnes@curl.com>
536
537 * size.c (display_archive): Add last_arfile and code to close archives.
538
dd70071f
AM
5392002-05-01 Alan Modra <amodra@bigpond.net.au>
540
541 * nm.c (print_symbol): Check returned filename from
542 bfd_find_nearest_line is non-NULL.
543
6c95717a 5442002-04-25 Elena Zannoni <ezannoni@redhat.com>
bb279dc0
ZW
545
546 * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
6c95717a 547
3c25c5f6
NC
5482002-04-24 Christian Groessler <chris@groessler.org>
549
550 * MAINTAINERS: Changed my email address.
551
944cd72c
TS
5522002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
553
554 * arparse.y: Fix syntax warning.
555
ea91f8bb
NC
5562002-04-16 Nick Clifton <nickc@cambridge.redhat.com>
557
3e55a963
NC
558 * readelf.c (fetch_location_list): Remove unused function.
559
560 * readelf.c (process_corefile_note_segment): Catch corrupt notes
561 and display a warning message, then exit the loop.
562
ea91f8bb
NC
563 * rcparse.y: Set MEMFLAG_DISCARDABLE by default.
564
45b99827
NC
5652002-04-15 Nick Clifton <nickc@cambridge.redhat.com>
566
567 * resrc.c (write_rc_dialog): If charset is non-default value
568 display all of the DIALOGEX parameters.
569
5702002-04-15 Eric Kohl <ekohl@rz-online.de>
571
bb279dc0 572 * rcparse.y: Allow two to five parameter in FONT statement of
45b99827
NC
573 DIALOGEX resources.
574 * resbin.c (bin_to_res_dialog): Fixed read/write code for dialogex
575 resource data.
bb279dc0 576 (res_to_bin_dialog): Likewise.
45b99827
NC
577 * windres.h: Added misssing charset variable to dialog_ex
578 structure.
579
acfbab8a
NC
5802002-04-10 Nick Clifton <nickc@cambridge.redhat.com>
581
582 * rcparse.y: Set MEMFLAG_PURE by default.
583
df3baf66
NC
5842002-04-09 Bernd Herd <info@herdsoft.com>
585
bb279dc0 586 * rcparse.y: CLASS definitions in DIALOG resources
df3baf66 587 are quoted.
4c30641a 588 Fix typo in BEDIT warning.
91eafb40 589 Don't add default dialog style when explicit style specified.
b62a12ca 590 Add WS_CAPTION dialog style if CAPTION is specified.
4c30641a 591
b24eb5ac
NC
592 * rclex.l (handle_quotes): "\xhex" encoding in strings corrected.
593 (handle_quotes) "\a" escape (used for right justified key
594 definitions in menus) is encodes as binary 8.
df3baf66 595
b24eb5ac
NC
596 * resrc.c (write_rc_dialog): Print style even if it is 0.
597 (write_rc_directory): Fix overlooked sublang shift bug.
420380ba 598 (bin_to_res_dialog): Don't print empty dialog caption.
7e8d45b7 599
b24eb5ac
NC
600 * resbin.c (bin_to_res_dialog): Use signature to identify
601 DIALOGEX.
f7d63484 602
b24eb5ac 603 * windres.c (main): Set default LANGUAGE to english/us.
f7d63484 604
df3baf66
NC
6052002-04-09 Gunnar Degnbol <degnbol@danbbs.dk>
606
607 * resrc.c: print CLASS names in quotes
608
6092002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
9c5382a0
JR
610
611 * MAINTAINERS: Update my email address.
612
8e42bcb6
AM
6132002-04-04 Alan Modra <amodra@bigpond.net.au>
614
615 * dep-in.sed: Cope with absolute paths.
616 * Makefile.am (dep.sed): Subst TOPDIR.
617 Run "make dep-am".
618 * Makefile.in: Regenerate.
619
96f959e5
PT
6202002-03-27 Peter Targett <peter.targett@arc.com>
621
622 * MAINTAINERS: Update my email address.
623
1ea788ee
AM
6242002-03-21 Alan Modra <amodra@bigpond.net.au>
625
626 * Makefile.am: Run "make dep-am".
627 * Makefile.in: Regenerate.
628 * doc/Makefile.in: Regenerate.
629 * po/POTFILES.in: Regenerate.
630 * aclocal.m4: Regenerate.
631 * config.in: Regenerate.
632 * configure: Regenerate.
633
a2f14207
DB
6342002-03-20 Daniel Berlin <dan@dberlin.org>
635
636 * readelf.c: Add support for displaying dwarf2 location lists.
637 (do_debug_loc, debug_loc_section, debug_loc_size): New.
638 (parse_args): Use 'O' as shorthand for displaying location list
639 section.
640 (process_section_headers): Handle debug_loc as well.
641 (load_debug_loc): New.
642 (free_debug_loc): New.
643 (fetch_location_list): New.
644 (display_debug_loc): New.
645 (display_debug_info): Call load_debug_loc and free_debug_loc.
646 (debug_displays): We can display .debug_loc now, too.
647 (usage): Update usage string.
648 (read_and_display_attr_value): Note location lists, but don't
649 display them inline.
650
eb1e0e80
NC
6512002-03-18 Tom Rix <trix@redhat.com>
652
653 * Makefile.am: Add binutils emulation support.
654 * configure.in: Same.
655 * configure.tgt: New file. Same.
656 * ar.c (main): Use ar_emul_parse_arg.
657 (usage): Use ar_emul_usage.
658 (replace_members): Use ar_emul_replace, ar_emul_append.
659 * binemul.c: New file. Define the binutils emulation
660 layer. Define default methods.
661 * binemul.h: New file. Binutils emulation layer header file.
662 * emul_aix.c: New file. AIX binutils emulation.
663 * emul_vanilla.c: New file. Default binutils emulation.
664 * Makefile.in: Regenerate.
665 * configure: Same.
666
a1c259a1
NC
6672002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
668
669 * po/fr.po: Updated version.
670
9ce88e60
NC
6712002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
672
673 * po/fr.po: Updated version.
674
effb0601
DJ
6752002-03-07 Daniel Jacobowitz <drow@mvista.com>
676
677 * README: Update some version numbers.
678
a65688ab
DJ
6792002-03-07 Daniel Jacobowitz <drow@mvista.com>
680
681 * doc/binutils.texi (Target Selection): Fix LD crossreferences.
682 (Architecture Selection): Likewise.
683
f3f7fbb2
NC
6842002-03-01 Dmitry Timoshkov <dmitry@baikal.ru>
685
686 * dlltool.c (gen_exp_file): Take into account --kill-at (-k) while
687 generating .exp file.
688
25345be5
NC
6892002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
690
691 * readelf.c (dump_relocations): Fix typo.
692
9a66911f
NC
6932002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
694
695 * NEWS: Mark 2.12 branch.
696
2c71103e
NC
6972002-02-18 Timothy Daly <remote_bob@yahoo.com>
698
bb279dc0
ZW
699 * readelf.c (dump_relocations): Display 2nd and 3rd reloc
700 types for 64-bit MIPS. Narrow some fields for 80-char
2c71103e 701 output.
bb279dc0 702 (dump_relocations): Change spelling from 'unrecognised'
2c71103e
NC
703 to 'unrecognized'.
704 (decode_ARM_machine_flags): Likewise.
705 (parse_args): Likewise.
706 (read_and_display_attr_value): Likewise.
707 (display_debug_section): Likewise.
708
49fda6c8
HPN
7092002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
710
711 * NEWS: Mention support for MMIX.
712
76f57f3a
JT
7132002-02-13 Matt Fredette <fredette@netbsd.org>
714
715 * readelf.c (get_machine_flags): Recognize EF_M68000.
716
d36ca9c2
AO
7172002-02-12 Alexandre Oliva <aoliva@redhat.com>
718
719 * MAINTAINERS: Added self as MN10300 co-maintainer.
720
19397422
AM
7212002-02-12 Alan Modra <amodra@bigpond.net.au>
722
723 * readelf.c (get_ppc64_dynamic_type): Handle DT_PPC64_OPD and
724 DT_PPC64_OPDSZ.
725
d434e574
DJ
7262002-02-11 Daniel Jacobowitz <drow@mvista.com>
727
728 * MAINTAINERS: List myself as branch maintainer.
729
12b87c89
AM
7302002-02-11 Alan Modra <amodra@bigpond.net.au>
731
732 * configure: Regenerate.
733 * objcopy.c: Update copyright date.
734 * doc/Makefile.in: Regenerate.
735
8d037c5c
DJ
7362002-02-10 Daniel Jacobowitz <drow@mvista.com>
737
738 * nlmconv.c: Back out localtime PARAMS change.
739
4c168fa3
AM
7402002-02-11 Alan Modra <amodra@bigpond.net.au>
741
742 * objcopy.c (MKDIR): Define.
743 (copy_archive): Make name_list.name const. Use MKDIR.
744 Handle duplicate files in archives by making more temp dirs.
745
408f8db1
DJ
7462002-02-10 Daniel Jacobowitz <drow@mvista.com>
747
748 * coffdump.c: Include "getopt.h" after "bucomm.h"
749 so that macros are defined correctly.
750 * nlmconv.c: Add PARAMS ((const time_t *)) to localtime
751 prototype. Prototype main.
752 * nlmheader.y: Add PARAMS ((int)) to strerror prototype.
753
9f77fa06
AO
7542002-02-06 Alexandre Oliva <aoliva@redhat.com>
755
756 * MAINTAINERS: Added self as SH co-maintainer.
757
82f6addb
NC
7582002-02-05 Nick Clifton <nickc@redhat.com>
759
760 * po/tr.po: Updated translation.
761
ba323545
AM
7622002-02-01 Alan Modra <amodra@bigpond.net.au>
763
764 * Makefile.am: Run "make dep-am"
765 * Makefile.in: Regenerate.
766
3deb89d3
DJ
7672002-01-29 Daniel Jacobowitz <drow@mvista.com>
768
769 * nm.c (print_value): Mark abfd unused.
770
a0e9c55f
DJ
7712002-01-29 Daniel Jacobowitz <drow@mvista.com>
772
773 * unwind-ia64.c (unw_decoder): Change second argument
774 to unsigned int, to match function prototypes.
775
d7a283d4
DJ
7762002-01-29 Daniel Jacobowitz <drow@mvista.com>
777
778 * objdump.c: Include "getopt.h" after "bucomm.h" so that
779 __GNU_LIBRARY__ will be defined.
780 * size.c: Likewise.
781
4867be41
DJ
7822002-01-27 Daniel Jacobowitz <drow@mvista.com>
783
784 * configure: Regenerated.
785
7562a296
HPN
7862002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
787
788 * doc/Makefile.am (install): Depend on install-info.
789 * doc/Makefile.in: Regenerate.
790
15c82623
NC
7912002-01-25 Jason R. Thorpe <thorpej@wasabisystems.com>
792
793 * objcopy.c (strip_usage): Document -d as an alias
794 --strip-debug.
795
796 * size.c (usage): Document [-t | --totals] options.
797 (long_options): Add --totals option.
798 (main): If the [-t | --totals] option is specified and
799 the output format is Berkeley-style, print the total
800 text, data, and bss sizes of all objects listed.
801 (print_berkeley_format): If the [-t | --totals] option
802 is specified, track the total text, data, and bss
803 sizes.
804 * doc/binutils.texi (size): Document [-t | --totals] options.
805 (strip): Document -d as an alias for --strip-debug.
806 * NEWS: Mention new feature of size.
807
00ea8601 8082002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
b85cedd7 809
1ddbd152
NC
810 * po/fr.po: Updated version.
811 * po/es.po: Updated version.
b85cedd7 812
8b53311e
NC
8132002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
814
815 * addr2line.c (usage): Update text to provide verbose
816 description of the command line options.
817 * ar.c (usage): Update text to provide verbose
818 description of the command line options.
819 (main): Accept -h and -H when running as ranlib.
820 * coffdump.c (show_usage): Update text to provide verbose
821 description of the command line options.
822 * dlltool.c (main): Accept -H as an alias for --help.
823 * nlmconv.c (show_usage): Update text to provide verbose
824 description of the command line options.
825 * nm.c (usage): Replace OPTIONS with option(s).
826 (main): Accept -H as an alias for --help.
827 * objcopy.c (strip_main): Accept -H as an alias for --help.
828 * objdump.c (main): Accept -v as an alias for --verbose.
bb279dc0 829 * readelf.c (usage): Adjust format to match style used in
8b53311e
NC
830 other binutils.
831 * size.c (usage): Update text to provide verbose description
832 of the command line options.
833 (main): Accept -v, -h and -H as command line options.
834 * srconv.c (show_usage): Update text to provide verbose
835 description of the command line options.
836 * strings.c (main): Accept -H and -v as command line options.
837 (usage): Update text to provide verbose description of the
838 command line options.
839 * sysdump.c (show_usage): Update text to provide verbose
840 description of the command line options.
841 * windres.c (usage): Adjust format to match style used in
842 other binutils.
843
844 * coffdump.c: Fix formatting.
845 * nlmconv.c: Fix formatting.
846 * srconv.c: Fix formatting.
847 * sysdump.c: Fix formatting.
848
c46f0c34
AM
8492002-01-22 Alan Modra <amodra@bigpond.net.au>
850
851 * Makefile.am: Run "make dep-am".
852 * Makefile.in: Regenerate.
853
2a538ba5
AJ
8542002-01-18 Andreas Jaeger <aj@suse.de>
855
856 * version.c (print_version): Update year.
857
285d1771
AM
8582002-01-17 Alan Modra <amodra@bigpond.net.au>
859
860 * readelf.c (get_machine_name): Handle EM_PPC64.
861 (guess_is_rela): Here too.
862
328577ad
NC
8632002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
864
865 * po/binutils.pot: Regenerate.
866 * po/fr.po: Regenerate.
867 * po/tr.po: Regenerate.
868
af3ae48d
NC
8692002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
870
871 * po/tr.po: Import new version.
872
f1cb7e17
AM
8732002-01-16 Alan Modra <amodra@bigpond.net.au>
874
875 * readelf.c (get_ppc64_dynamic_type): New.
876 (get_dynamic_type): Call it.
877
6364e0b4
NC
8782002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
879
3ab9460d 880 * objcopy.c (copy_usage): Use "options" instead of "switches".
bb279dc0 881 (strip_usage): Use "options" instead of "switches".
3ab9460d 882 * doc/binutils.texi (dlltool): Refer to "options" instead of
bb279dc0 883 "switches".
6364e0b4 884
3a7e524e
RE
8852002-01-14 Richard Earnshaw <rearnsha@arm.com>
886
887 * MAINTAINERS: Add self as co-maintainer for the ARM code.
888
1209e219
NC
8892001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
890
891 * po/es.po: Import from translation project.
892 * configure.in (ALL_LINGUAS): Add es.
893 * configure: Regenerate.
894
b4db1224
JT
8952002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
896
897 * readelf.c (get_netbsd_elfcore_note_type): Use
898 NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
899
9437c45b
JT
9002002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
901
902 * readelf.c: Update copyright years.
903 (get_note_type): Return a const char *.
904 (get_netbsd_elfcore_note_type): New function.
905 (process_note): Use get_netbsd_elfcore_note_type to get
906 the note type string for NetBSD ELF core files.
907
00428cca
AM
9082002-01-06 Steve Ellcey <sje@cup.hp.com>
909
910 * readelf.c (get_ia64_segment_type): Add support for macros.
911 (get_segment_type): Add support for IA64 specific macros.
912
31104126
NC
9132001-12-20 Julian v. Bock <julian@wongr.net>
914
915 * readelf.c (print_symbol): New function: Print a formatted symbol
916 name. If --wide is specified do not truncate it.
917 (dump_relocations): Use print_symbol() to print symbol names.
918 (process_symbol_table): Likewise.
919 (process_syminfo): Likewise.
920 (process_mips_specific): Likewise.
921 (usage): Document new feature of --wide switch.
922 * doc/binutils.texi (objdump): Document additional behaviour of
923 --wide.
2a538ba5 924
4dd67f29
MS
9252001-12-18 Michael Snyder <msnyder@redhat.com>
926
927 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
928 (copy_object): Don't set the start address or flags of a core file.
929 (copy_section): Don't relocate a core file. Don't copy contents
930 if the input section has the contents flag set, but the output
931 section does not (which happens with the fake 'note' pseudo-
932 sections that BFD creates for corefiles).
933
43521d43
TS
9342001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
935
936 * readelf.c (get_machine_flags): Recognize header flags for ABI and
937 ASE extensions. More robust code for ISA checking. Ignore empty fields
938 in header flags for GNU extensions.
939
b667df2e
AM
9402001-12-18 Alan Modra <amodra@bigpond.net.au>
941
942 * objcopy.c (copy_archive): Set output bfd format outside the loop.
943
17a5a5c3
NC
9442001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
945
946 * po/ja.po: Import from translation project.
947 * configure.in (ALL_LINGUAS): Add ja.
948 * configure: Regenerate.
949
65de42c0
TS
9502001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
951
952 * addr2line.c (main): Protoype.
953 * ar.c (main): Protoype.
954 * nm.c (main): Protoype.
955 * objcopy.c (main): Protoype.
956 * objdump.c (main): Protoype.
957 * size.c (main): Protoype.
958 * strings.c (main): Protoype.
959
9ad5cbcf
AM
9602001-12-17 Alan Modra <amodra@bigpond.net.au>
961
962 * readelf.c (symtab_shndx_hdr): New global.
963 (SECTION_HEADER_INDEX): Define.
964 (SECTION_HEADER_NUM): Define.
965 (SECTION_HEADER): Define.
966 (GET_ELF_SYMBOLS): Pass two params rather than three.
967 (get_32bit_elf_symbols): Take file and section args. Read and
968 use SHT_SYMTAB_SHNDX.
969 (get_64bit_elf_symbols): Likewise.
970 (dump_relocations): Use SECTION_HEADER to index "section_headers".
971 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
972 Remember symtab_shdx_hdr.
973 (process_program_headers): Scan from index 1 for segment map.
974 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
975 "section_headers".
976 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
977 (process_unwind): Likewise.
978 (process_version_sections): Likewise.
979 (process_symbol_table): Likewise.
980 (display_debug_info): Likewise.
981 (process_dynamic_segment): Fake up a symtab section for changed
982 GET_ELF_SYMBOLS.
983 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
984 (process_program_headers): Kill signed/unsigned warning.
985 (load_debug_str): Likewise.
986 (display_debug_info): Likewise.
987
65765700
JJ
9882001-12-13 Jakub Jelinek <jakub@redhat.com>
989
990 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
991
560f3c1c
AM
9922001-12-11 Alan Modra <amodra@bigpond.net.au>
993
994 * readelf.c (process_file_header): Print extended e_shnum and
995 e_shdtrndx values. Set elf_header values for same.
996 (get_32bit_section_headers): Add "num" arg to read "num" headers.
997 (get_64bit_section_headers): Likewise.
998 (process_section_headers): Update calls.
999 (get_file_header): Call get_32bit_section_headers or 64bit variant.
1000
bc408b8a
JJ
10012001-12-10 Jakub Jelinek <jakub@redhat.com>
1002
1003 * objcopy.c (setup_section): Copy entsize.
1004
93fbbb04
GK
10052001-12-07 Geoffrey Keating <geoffk@redhat.com>
1006
1007 * readelf.c (guess_is_rela): Add support for stormy16.
1008 (dump_relocations): Likewise.
1009 (get_machine_name): Likewise.
1010
e3c8793a
NC
10112001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
1012
1013 * dllwrap.c (main) Replace multiple strings describing a
1014 single error with a single, newline escaped sentence to permit
1015 better translation into foreign languages.
1016
1017 * readelf.c (get_elf_class): Remove internalionalisation of ELF
1018 class names.
1019
956cd1d6
TS
10202001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1021
1022 * strings.c (get_char): Initialize value.
1023
956c53ee
TS
10242001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1025
1026 * arlex.l: Silence compile warnings.
1027 * arsup.h: Likewise. Fix formatting.
1028
cedd9a58
JJ
10292001-12-04 Jakub Jelinek <jakub@redhat.com>
1030
1031 * strings.c: Include config.h before bfd.h.
1032 (file_off): New type.
1033 (file_open): Define.
1034 (print_strings): Use file_off instead of file_ptr. Print addresses
1035 which don't fit into long correctly.
1036 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
1037 available.
1038 (strings_file): Use file_off instead of file_ptr. Use file_open.
1039 * configure.in: Check for getc_unlocked.
1040 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
1041 be defined for it.
1042 * configure: Rebuilt.
1043 * config.h.in: Rebuilt.
1044
af667503
L
10452001-11-29 H.J. Lu <hjl@gnu.org>
1046
1047 * bucomm.c (make_tempname): Revert the changes made on
1048 2001-11-14 and 2001-11-12. They won't work with directories.
1049
16474668
NC
10502001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
1051
1052 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
1053 CFLAGS_FOR_TARGET to runtest in environment.
1054 * Makefile.in: Rebuild.
1055 * doc/Makefile.in: Rebuild.
1056
17978339
MS
10572001-11-28 Mike Stump <mrs@wrs.com>
1058
1059 * objcopy.c (setup_section): Preserve SEC_RELOC when
1060 --set-section-flags is used.
1061
261a45ad
NC
10622001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
1063
1064 * readelf.c (do_debug_str): New variable.
1065 (display_debug_str): New function: Display the contents of a
1066 .debug_str section.
1067 (load_debug_str): New function: Load in the contents of a
1068 .debug_str section.
1069 (free_debug_str): New function: Free the memory used by
1070 load_debug_str().
1071 (fetch_indirect_string): Retrieve a string from the .debug_str
1072 section.
1073 (usage): Add -ws.
1074 (parse_args): Accept -ws.
1075 (process_section_headers): Allow the display of the .debug_str
1076 section.
1077 (read_and_display_attr_value): Use fetch_indirect_string. Show
1078 offset into .debug_str section.
1079 (display_debug_info): Use load_debug_str and free_debug_str.
1080 (debug_displays): Add .debug_str.
1081 * doc/binutils.texi: Document -ws.
1082
b8908f93
AJ
10832001-11-19 Andreas Jaeger <aj@suse.de>
1084
1085 * testsuite/binutils-all/objdump.exp: Add x86-64.
1086
e5fb9629
AS
10872001-11-15 Andreas Schwab <schwab@suse.de>
1088
1089 * readelf.c: Fix warnings without terminating newline.
1090
802a735e
AM
10912001-11-15 Alan Modra <amodra@bigpond.net.au>
1092
1093 * doc/binutils.texi (objdump): Document ppc -M options.
1094
b89e9eae
AJ
10952001-11-14 Andreas Jaeger <aj@suse.de>
1096
1097 * doc/binutils.texi (objdump): Fix description to use x86-64.
1098
a6a25652
NC
10992001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
1100
1101 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
1102 not all systems provide mkstemp.
1103
e396998b
AM
11042001-11-14 Alan Modra <amodra@bigpond.net.au>
1105
1106 * doc/binutils.texi (objdump): Document x86 -M options.
1107
81766fca
RH
11082001-11-13 Keith Walker <keith.walker@arm.com>
1109
1110 * readelf.c (read_and_display_attr_value): New function to
1111 handle DW_FORM_indirect.
1112 (read_and_display_attr): Use it.
1113
1a509dcc
GK
11142001-11-13 Geoffrey Keating <geoffk@redhat.com>
1115
1116 * readelf.c (display_debug_lines): Deal with unknown standard
1117 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
1118 DW_LNS_set_isa.
1119
6e917903 11202001-11-13 Timothy Wall <twall@alum.mit.edu>
1a509dcc 1121
6e917903
TW
1122 * MAINTAINERS: Add self as tic54x maintainer. This target
1123 includes the IBM C54XDSP clone.
7559e86e 1124
6e917903 11252001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
1a509dcc 1126
7559e86e
NC
1127 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
1128
11292001-11-09 Jeffrey A Law (law@cygnus.com)
91770270 1130
ecdadc4a
JL
1131 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
1132 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
1133 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
1134 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
1135 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
1136 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
1137 (unw_decode_b2, unw_decode_b3_b4): Likewise.
1138
91770270
JL
1139 * readelf.c (get_elf_class): Fix ISO portability glitch.
1140 (get_data_encoding, get_osabi_name, request_dump): Likewise.
1141
ef5cdfc7
JJ
11422001-11-07 Jakub Jelinek <jakub@redhat.com>
1143
1144 * readelf.c (debug_str, debug_str_size): New.
1145 (display_debug_abbrev): If no abbrevs were read, skip the CU.
1146 Call free_abbrevs.
1147 (read_and_display_addr): Handle DW_FORM_strp.
1148 (display_debug_info): Read .debug_str section if present,
1149 so that DW_FORM_strp can be handled.
1150 Fix test for non-existant .debug_abbrev section.
1151
5e9520c8
JJ
11522001-11-05 Jakub Jelinek <jakub@redhat.com>
1153
1154 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
1155
1156 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
1157
54589086
MS
11582001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
1159
1160 * MAINTAINERS: Add self as s390/s390x maintainer.
1161
c05b685b
TR
11622001-11-02 Tom Rix <trix@bluey.cygnus.com>
1163
1164 * MAINTAINERS: Add self as PPC XCOFF maintainer.
1165
3c62831e
NC
11662001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
1167
1168 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
1169 * configure: Regernate.
1170 * po/fr.po: New file.
1171 * po/tr.po: New file.
1172
3c3bdf30
NC
11732001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
1174
9b19141a 1175 * MAINTAINERS: Add self as MMIX port maintainer.
3c3bdf30
NC
1176 * readelf.c: Include elf/mmix.h.
1177 (guess_is_rela): MMIX is RELA.
1178 (dump_relocations): Handle MMIX relocations.
1179 * Makefile.am: Regenerate dependencies.
1180 * Makefile.in: Regenerate.
1181
f662939a
NC
11822001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
1183
1184 * readelf.c (parse_args): Handle multiple options to the -w
1185 switch.
1186
c91d0dfb
JJ
11872001-10-12 Jakub Jelinek <jakub@redhat.com>
1188
1189 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
1190 LOPROC, LOOS and LOUSER.
1191
7559e86e 11922001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
d1b67f3c
JR
1193
1194 * MAINTAINERS: Update my email address.
1195
fcd8210c
AM
11962001-10-03 Alan Modra <amodra@bigpond.net.au>
1197
1198 * doc/Makefile.in: Regenerate.
1199 * configure: Regenerate.
1200
428409d5
NC
12012001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
1202
1203 * readelf.c (display_debug_line, display_debug_pubnames,
1204 display_debug_info, display_debug_frames): Detect and warn
1205 about 64-bit format entries.
1206 (display_debug_aranges): Reword 64-bit warning.
1207 (debug_displays): Add .debug_pubtypes as a known, but not yet
1208 supported, debug section.
1209
6a8c2b0d
AM
12102001-10-02 Alan Modra <amodra@bigpond.net.au>
1211
1212 * coffdump.c (PROGRAM_VERSION): Delete.
1213 (main <'V'>): Call print_version.
1214 * srconv.c: Likewise.
1215 * sysdump.c: Likewise.
1216 * version.c (program_version): Remove.
1217 (print_version): Use BFD_VERSION_STRING. Just print the current
1218 year in copyright message.
1219 * addr2line.c (program_version): Remove unused declaration.
1220 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
1221 place of BFD_VERSION.
1222 * Makefile.am (Makefile): Depend on bfd/configure.in.
1223 (cplus-dem.o): Depend on Makefile.
1224 Run "make dep-am".
1225 * Makefile.in: Regenerate.
1226
e414a165
NC
12272001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
1228
1229 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
1230 format .debug_arange sections.
1231 (main): Add missing prototype.
b8908f93 1232
efc3ee7f
HPN
12332001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
1234
1235 * Makefile.am: Update dependencies with "make dep-am".
1236 * Makefile.in: Regenerate.
1237
9e85c2a0
RH
12382001-09-28 Richard Henderson <rth@redhat.com>
1239
1240 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
1241
451dad9c
AM
12422001-09-26 Alan Modra <amodra@bigpond.net.au>
1243
1244 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
1245 VA_CLOSE.
1246 (non_fatal): Likewise.
1247 * objdump.c (objdump_sprintf): Likewise.
1248 * readelf.c (error): Likewise.
1249 (warn): Likewise.
1250
d974e256
JJ
12512001-09-25 Jakub Jelinek <jakub@redhat.com>
1252
1253 * readelf.c (do_wide): New.
1254 (options): Add --wide.
1255 (usage, parse_args): Likewise.
1256 (process_program_headers): Put each segment on a single line if
1257 --wide is given.
1258 (process_section_headers): Put each section on a single line if
1259 --wide is given.
1260 * doc/binutils.texi: Document it.
1261 * NEWS: Likewise.
1262
2f11c261
AM
12632001-09-25 Alan Modra <amodra@bigpond.net.au>
1264
1265 * readelf.c (print_vma): Print 8 digits of low hex value.
1266
1d50f91e
AJ
12672001-09-24 Andreas Jaeger <aj@suse.de>
1268
1269 * nlmconv.c: Fix warnings about unused attributes and function
1270 prototypes.
1271
1272 * strings.c: Add prototype for get_char.
1273
38131e67
L
12742000-09-19 H.J. Lu <hjl@gnu.org>
1275
1276 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
1277 $(srcdir)/cxxfilt.man.
1278 * doc/Makefile.in: Rebuild.
1279
3bcfb3e4
AM
12802001-09-19 Alan Modra <amodra@bigpond.net.au>
1281
1282 * objcopy.c (copy_main): Correct rename-section string parsing.
1283 Consolidate new_name parsing, and error messages.
1284
3882b010
L
12852001-09-18 Bruno Haible <haible@clisp.cons.org>
1286
1287 * addr2line.c: Don't include <ctype.h>.
1288 (main): For gettext, also set the LC_CTYPE locate facet.
1289 * ar.c (main): Likewise.
1290 * coffdump.c (main): Likewise.
1291 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
1292 (main): For gettext, also set the LC_CTYPE locate facet.
1293 Use ISALNUM instead of isalpha/isdigit.
1294 * dllwrap.c: Don't include <ctype.h>.
1295 (main): For gettext, also set the LC_CTYPE locate facet.
1296 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
1297 (main): For gettext, also set the LC_CTYPE locate facet.
1298 Use TOUPPER instead of islower/toupper.
1299 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
1300 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
1301 Use TOUPPER instead of islower/toupper.
1302 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
1303 * objcopy.c (main): Likewise.
1304 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
1305 (disassemble_bytes): Use ISPRINT instead of isprint.
1306 (dump_section_stabs): Use ISDIGIT instead of isdigit.
1307 (dump_data): Use ISPRINT instead of isprint.
1308 (main): For gettext, also set the LC_CTYPE locate facet.
1309 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
1310 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
1311 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
1312 Use TOUPPER instead of islower/toupper.
1313 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
1314 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
1315 (write_rc_accelerators): Use ISPRINT instead of isprint.
1316 (write_rc_rcdata): Likewise.
1317 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
1318 * srconv.c (main): Likewise.
1319 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
1320 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
1321 isdigit/isupper/islower.
1322 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
1323 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
1324 stab_demangle_prefix, stab_demangle_qualified,
1325 stab_demangle_template, stab_demangle_type,
1326 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
1327 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
1328 (isgraphic): Use ISPRINT instead of isascii/isprint.
1329 (main): Remove HAVE_LC_MESSAGES dependency.
1330 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
1331 (pbarray): Use ISPRINT instead of isprint.
1332 (main): For gettext, also set the LC_CTYPE locate facet.
1333 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
1334 (format_from_filename): Use ISPRINT instead of isprint.
1335 (main): For gettext, also set the LC_CTYPE locate facet.
1336 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
1337 (unicode_print): Use ISPRINT instead of isprint.
1338 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
1339 (stab_variable): Use ISDIGIT instead of isdigit.
1340
e59b4dfb
AM
13412001-09-18 Alan Modra <amodra@bigpond.net.au>
1342
1343 * ar.c (print_contents): Cast args of bfd_seek to the right types.
1344 Replace bfd_read call with call to bfd_bread.
1345 (extract_file): Likewise.
1346
1347 * objdump.c (dump_section_header): Cast section->filepos to
1348 unsigned long to suit printf format string.
1349 * readelf.c (process_section_headers): Similarly for sh_offset.
1350 (process_unwind): Likewise.
1351
d132876a
NC
13522001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
1353
1354 * strings.c (encoding, encoding_bytes): New variables.
1355 (long_options): Add --encoding.
1356 (main): Accept -e and --encoding.
1357 (get_char): New function. Read a, possibly wide, character from
1358 the input stream.
1359 (print_strings): Use get_char().
1360 (usage): Document new command line option.
1361 * doc/binutils.texi: Document new command line option.
1362 * NEWS: Announce new command line option.
1363
7559e86e 13642001-09-12 Alexandre Oliva <aoliva@redhat.com>
2b0337b0
AO
1365
1366 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
1367 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
1368 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
1369 Removed EM_CYGNUS_ARC.
1370
7559e86e 13712001-09-04 Jeffrey A Law (law@cygnus.com)
b8720f9d
JL
1372
1373 * readelf.c: Include elf/h8 for H8 series definitions.
1374 (guess_is_rela): H8 series if RELA.
1375 (dump_relocations): Handle H8 series relocations.
1376
0823fbca
EC
13772001-08-31 Eric Christopher <echristo@redhat.com>
1378
1379 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
1380
8db76d70
PT
13812001-08-29 Peter Targett <peter.targett@arccores.com>
1382
1383 * MAINTAINERS: Include ARC Maintainer.
1384
d81d6584
BE
13852001-08-29 Ben Elliston <bje@redhat.com>
1386
1387 * stabs.c (stab_demangle_template): Initialise s4.
1388
25a1ff5b
AM
13892001-08-27 Alan Modra <amodra@bigpond.net.au>
1390
1391 * readelf.c (dump_relocations): Recognise EM_PPC64.
1392
a5d22d2a
TS
13932001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1394
1395 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
1396
62a5a82d
L
13972001-08-25 H.J. Lu <hjl@gnu.org>
1398
1399 * nm.c (print_width): New.
1400 (display_rel_file): Set `print_width' according to
1401 bfd_sprintf_vma.
1402 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
1403
1ae8b3d2
AO
14042001-08-24 Alexandre Oliva <aoliva@redhat.com>
1405
1406 * objcopy.c (use_alt_mach_code): New variable.
1407 (OPTION_ALT_MACH_CODE): Define.
1408 (copy_options): Added --alt-machine-code.
1409 (copy_main): Handle it.
1410 (copy_object): Switch to alternate machine code if requested.
1411 * doc/binutils.texi: Document new option.
1412 * NEWS: Likewise.
1413
d1bdd336
TS
14142001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1415
1416 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
1417
410f7a12
L
14182001-08-21 H.J. Lu <hjl@gnu.org>
1419
1420 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
1421 (display_debug_info): Cast for 64bit hosts.
1422 (display_debug_frames): Likewise.
1423 (process_mips_specific): Likewise.
1424
c32144ff
AJ
14252001-08-21 Andreas Jaeger <aj@suse.de>
1426
1427 * coffgrok.h: Add missing parameter for prototype of coff_grok.
1428
1429 * sysdump.c: Add missing prototypes.
1430 * srconv.c: Likewise.
1431 * unwind-ia64.c: Likewise.
1432 * coffdump.c: Likewise.
1433
1434 * sysinfo.y: Print prototypes, include <ansidecl.h>.
1435
1436 * coffgrok.c: Add missing prototypes, include libiberty.h instead
1437 of declaring xcalloc.
1438
d8180c76
L
14392001-08-10 H.J. Lu <hjl@gnu.org>
1440
1441 * nm.c (print_value): Add one arg, bfd *.
1442 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
1443 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
1444 (print_symbol_info_sysv): Likewise.
1445 (print_symbol_info_posix): Likewise.
1446
1447 * objdump.c (dump_section_header): Replace printf_vma with
1448 bfd_printf_vma.
1449 (print_section_stabs): Likewise.
1450 (dump_bfd_header): Likewise.
1451 (objdump_print_value): Replace sprintf_vma with
1452 bfd_sprintf_vma.
1453 (disassemble_bytes): Likewise.
1454 (dump_reloc_set): Likewise.
1455
0218d1e4
AJ
14562001-08-10 Andreas Jaeger <aj@suse.de>
1457
1458 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
1459 to build warnings.
1460 * configure: Regenerate.
1461
2863d58a
AM
14622001-08-09 Alan Modra <amodra@bigpond.net.au>
1463
1464 * readelf.c: Add missing prototypes.
1465 * objdump.c: Likewise. Format existing prototypes.
1466
c0e047e0
AO
14672001-08-08 Alexandre Oliva <aoliva@redhat.com>
1468
1469 * readelf.c (display_debug_info): Add to abbrev_offset the addend
1470 of any RELA relocation for the abbrev_offset memory location that
1471 refers to the .debug_abbrev section symbol.
1472
ff78d6d6
L
14732001-08-07 H.J. Lu <hjl@gnu.org>
1474
1475 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
1476 (main): Return process_file ().
1477
c36774d6
PB
14782001-08-05 Philip Blundell <philb@gnu.org>
1479
1480 * doc/binutils.texi: Use "Thumb" not "THUMB".
1481
8f9d9bd9
JH
14822001-08-03 John Healy <jhealy@redhat.com>
1483
bb279dc0
ZW
1484 Patch suggested by Frank Eigler <fche@redhat.com>.
1485 * objdump.c (disassemble_data): Fill in section member of the
1486 disasm_info structure.
8f9d9bd9 1487
c918cb96
DD
14882001-08-03 Tom Walsh <tom@cyberiansoftware.com>
1489
1490 * configure.in: Added --with-windres option.
1491 * configure: Regenerated.
1492
c7c55b78
NC
14932001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1494
1495 * doc/binutils.texi: Use @command{name} for commands;
1496 use @option{-opt} for options; use @table @env for list of options;
1497 remove spaces arround [ | ] in synopsis.
1498
1499 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
1500 center title.
1501
594ef5db
NC
15022001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
1503
bb279dc0
ZW
1504 * objcopy.c: Fix formatting.
1505 (section_rename): New structure.
1506 (OPTION_RENAME_SECTION): New switch.
1507 (copy_usage): Document new switch.
1508 (add_section_rename): New function: Add a node to the section
1509 rename list.
1510 (find_section_rename): New function: Find the new name and
1511 flags for a section.
1512 (setup_section): Call find_section_name to determine the name
1513 of the output section.
1514 (copy_main): Handle OPTION_RENAME_SECTION.
1515 * binutils.texi: Document new switch.
594ef5db
NC
1516 * NEWS: Mention new switch.
1517
1f554c69
NC
15182001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
1519
1520 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
1521 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
1522 bug-binutils@gcc.org.
1523
2f83960e
AM
15242001-07-28 Matthias Kramm <kramm@quiss.org>
1525
1526 * bucomm.c (list_supported_architectures): New function.
1527 * bucomm.h (list_supported_architectures): Declare.
1528 * objdump.c (usage): Call the above.
1529
20fe0649
DB
15302001-07-25 Dave Brolley <brolley@redhat.com>
1531
1532 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
1533 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
1534
1b577b00
NC
15352001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
1536
1537 * README: Update for 2.11. Change bug reporting email address.
1538 * MAINTAINERS: Tidy up. Change bug reporting email address.
1539
95fd336c
DD
15402001-07-16 DJ Delorie <dj@redhat.com>
1541
5f16d855
DD
1542 * resres.c (write_res_header): Align header size.
1543 (res_align_file): Calculate alignment correctly.
1544
95fd336c
DD
1545 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
1546 correct 10).
1547 * resrc.c (write_rc_resource): Likewise.
1548 * windres.h (SUBLANG_SHIFT): Define - as 10.
1549
ed8fee27
NC
15502001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
1551
1552 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
1553
90ab7e9a
NC
15542001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
1555
1556 * MAINTAINERS: Add notes about branch checkins.
1557
e0c60db2
NC
15582001-07-05 Daniel Berlin <dan@cgsoftware.com>
1559
1560 * readelf.c (display_debug_macinfo): New function, display
1561 .debug_macinfo section.
1562 (do_debug_macinfo): New variable.
1563 (parse_args): Handle "-w[mM]" to mean display macro info.
1564 (process_section_headers): Handle debug_macinfo.
1565 (debug_displays): Replace unsupported function with macinfo
0218d1e4 1566 function for .debug_macinfo display.
e0c60db2
NC
1567 * doc/binutils.texi: Document new command line switch.
1568 * NEWS: Document new feature of readelf.
0218d1e4 1569
24e01a36
L
15702001-07-05 H.J. Lu <hjl@gnu.org>
1571
1572 * objcopy.c (filter_symbols): Don't turn undefined symbols
1573 into local.
1574
4258bf4d
L
15752001-07-03 H.J. Lu <hjl@gnu.org>
1576
1577 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
1578 $@.pod.
1579 (ar.1): Likewise.
1580 (dlltool.1): Likewise.
1581 (nlmconv.1): Likewise.
1582 (nm.1): Likewise.
1583 (objcopy.1): Likewise.
1584 (objdump.1): Likewise.
1585 (ranlib.1): Likewise.
1586 (readelf.1): Likewise.
1587 (size.1): Likewise.
1588 (strings.1): Likewise.
1589 (strip.1): Likewise.
1590 (windres.1): Likewise.
1591 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
1592 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
1593 $(DEMANGLER_NAME).
1594 (as.1): Removed.
1595 * doc/Makefile.in: Regenerated.
1596
7014bc31
NC
15972001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
1598
1599 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
1600
b811889f
NC
16012001-07-01 Daniel Berlin <dan@cgsoftware.com>
1602
1603 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
1604
12ab83a9
NC
16052001-06-29 James Cownie <jcownie@etnus.com>
1606
1607 * readelf.c: Support DWARF 2.1 attributes.
1608
a6e9f9df
AM
16092001-06-28 Alan Modra <amodra@bigpond.net.au>
1610
1611 * readelf.c (GET_DATA_ALLOC): Remove.
1612 (GET_DATA): Remove.
1613 (get_data): New function combining above macros, with an extra
1614 test for zero size.
1615 (slurp_rela_relocs): Use get_data, and catch error return.
1616 (slurp_rel_relocs): Likewise.
1617 (get_32bit_program_headers): Likewise.
1618 (get_64bit_program_headers): Likewise.
1619 (get_32bit_section_headers): Likewise.
1620 (get_64bit_section_headers): Likewise.
1621 (get_32bit_elf_symbols): Likewise.
1622 (get_64bit_elf_symbols): Likewise.
1623 (process_section_headers): Likewise.
1624 (process_relocs): Likewise.
1625 (slurp_ia64_unwind_table): Likewise.
1626 (process_unwind): Likewise.
1627 (get_32bit_dynamic_segment): Likewise.
1628 (get_64bit_dynamic_segment): Likewise.
1629 (process_dynamic_segment): Likewise.
1630 (process_version_sections): Likewise.
1631 (process_symbol_table): Likewise.
1632 (dump_section): Likewise.
1633 (display_debug_info): Likewise.
1634 (display_debug_section): Likewise.
1635 (process_section_contents): Likewise.
1636 (process_corefile_note_segment): Likewise.
1637 (process_mips_specific): Likewise. Also free econf32, econf64.
1638
af3fc3bc
AM
16392001-06-25 Alan Modra <amodra@bigpond.net.au>
1640
1641 * readelf.c (dump_relocations): Print "bad symbol index" if
1642 symtab == NULL with non-zero symtab_index.
1643 (process_relocs): Don't bomb if reloc section has no symsec.
1644
6d900bf6
L
16452001-06-24 H.J. Lu <hjl@gnu.org>
1646
1647 * objcopy.c (strip_main): Revert the change made on 2001-05-30
1648 by accident.
1649 (copy_main): Apply the the change made to strip_main on
1650 2001-05-30 by accident.
1651
49b4e386
AJ
16522001-06-23 Andreas Jaeger <aj@suse.de>
1653
1654 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
1655 parameter 'code'.
1656 (unw_decode_x2): Likewise.
1657 (unw_decode_x3): Likewise.
1658 (unw_decode_x4): Likewise.
1659
d8dc71e3
BE
16602001-06-23 Ben Elliston <bje@redhat.com>
1661
1662 * MAINTAINERS: Add myself as M88k maintainer.
1663
af3bdff7
NC
16642001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
1665
1666 * objcopy.c (strip_main): Support -o or --output-file command lien
1667 switch.
1668
105e7211
L
16692001-06-19 H.J. Lu <hjl@gnu.org>
1670
1671 * doc/Makefile.in: Regenerated.
1672
c45021f2
NC
16732001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
1674
1675 * readelf.c: Restore formatting.
1676
16772001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
1678
bb279dc0
ZW
1679 * Makefile.am: Move documentation into doc subdirectory.
1680 * Makefile.in: Regenerated.
c45021f2 1681 * binutils.texi: Move into doc subdirectory.
bb279dc0
ZW
1682 * addr2line.1: Removed.
1683 * ar.1: Likewise.
1684 * dlltool.1: Likewise.
1685 * nlmconv.1: Likewise.
1686 * nm.1: Likewise.
1687 * objcopy.1: Likewise.
1688 * objdump.1: Likewise.
1689 * ranlib.1: Likewise.
1690 * readelf.1: Likewise.
1691 * size.1: Likewise.
1692 * strings.1: Likewise.
1693 * strip.1: Likewise.
1694 * windres.1: Likewise.
1695 * cxxfilt.man: Likewise.
c45021f2
NC
1696 * doc: New Directory.
1697 * doc/Makefile.am: New file.
1698 * doc/Makefile.in: Generate.
1699
09ad7db3
AM
17002001-06-09 Alan Modra <amodra@bigpond.net.au>
1701
1702 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
1703
936260fe
AM
17042001-06-01 Alan Modra <amodra@bigpond.net.au>
1705
1706 * MAINTAINERS: Update my email address.
1707
16b2b71c
NC
17082001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
1709
1710 * objcopy.c: Add new switches: --keep-global-symbol,
1711 --keep-symbols, --localize-symbols, --keep-global-symbols and
1712 --weaken-symbols.
1713 * binutils.texi: Document new switches.
1714 * objcopy.1: Regenerate.
1715 * NEWS: Announce new feature.
1716
7036c0e1
AJ
17172001-05-28 Andreas Jaeger <aj@suse.de>
1718
1719 * readelf.c (display_debug_frames): Fix warnings: Remove unused
1720 variables, fix format strings.
1721
76a406e5
NC
17222001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
1723
1724 * objdump.c (disassemble_bytes): Remove section VMA adjustment
1725 when computing the address of the line to show.
1726
31b6fca6
RH
17272001-05-16 Richard Henderson <rth@redhat.com>
1728
1729 * readelf.c (do_debug_frames_interp): New.
1730 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
1731 (byte_get_big_endian): Likewise.
1732 (parse_args) ['F']: Set do_debug_frames_interp.
1733 (Frame_Chunk): Make data_factor signed, add fde_encoding.
1734 (frame_display_row): Don't trunc pc_begin to int.
1735 (size_of_encoded_value): New.
1736 (display_debug_frames): Handle 64-bit targets. Print raw data
1737 unless do_debug_frames_interp.
1738 (debug_displays): Remove duplicate .debug_frame.
1739
4fe85591
NC
17402001-05-15 Ralf Baechle <ralf@gnu.org>
1741
1742 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
1743 The former constant was never in active use and is used otherwise
1744 by the ABI.
1745
579f31ac
JJ
17462001-05-11 Jakub Jelinek <jakub@redhat.com>
1747
1748 * readelf.c (process_unwind): Print all unwind sections, not just
1749 one.
1750
78f4a3f7
AM
17512001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1752
1753 * readelf.c (process_unwind): Remove const specifier.
1754
1c529ca6
NC
17552001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
1756
1757 * strings.c (isgraphic): Do not use isascii() unless it is needed
1758 for isprint() to work.
1759 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
1760
87e6d782
NC
17612001-04-27 Johan Rydberg <jrydberg@opencores.org>
1762
bb279dc0 1763 * NEWS: Announce support for OpenRISC.
87e6d782 1764
4bd3d870 17652001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
49b4e386
AJ
1766
1767 * dlltool.c (do_default_excludes): Initialise to true.
1768
21211521
AM
17692001-04-10 Alan Modra <amodra@one.net.au>
1770
1771 * MAINTAINERS: Update my email address
1772 * nm.c (print_symbol_info_bsd): Use a simple printf string.
1773
0c66b61e 17742001-04-05 Hans-Peter Nilsson <hp@axis.com>
ff94ebf2
HPN
1775
1776 * readelf.c (display_debug_lines): Fix typo for "Prologue".
1777
e58d53af
L
17782001-03-30 H.J. Lu <hjl@gnu.org>
1779
1780 * readelf.c (process_unwind): Just return if do_unwind is 0.
1781
bee72332
DD
17822001-03-28 Roger Sayle <roger@metaphorics.com>
1783
1784 * dlltool.c (make_one_lib_file): Fix section flags for
1785 .text, .data and .bss in stub ds*.o files to match those
1786 generated by gas.
1787
f1467e33
L
17882001-03-29 H.J. Lu <hjl@gnu.org>
1789
1790 * readelf.c (process_unwind): Only do unwind sections for
1791 IA64.
1792
1c6fb4fe
L
17932001-03-28 H.J. Lu <hjl@gnu.org>
1794
1795 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
1796 * Makefile.in: Regenerate.
1797
0879a67a
AJ
17982001-03-26 Andreas Jaeger <aj@suse.de>
1799
1800 * binutils.texi (nm): Fix texi syntax.
1801
0285c67d
NC
18022001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1803
1804 * binutils.texi: Put @c man begin and @c man end indications
1805 to generate man pages using texi2pod and pod2man. Put @c man title
1806 to identify each man. Add SEEALSO entries.
1807 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
1808 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
1809 sort the list.
1810 (*.1): Build the man pages from binutils.texi.
1811 * Makefile.in: Regenerate.
1812
04847a4d
CF
18132001-03-13 Eric Kohl <ekohl@rz-online.de>
1814
1815 * defparse.y (opt_equal_name): allow "." in name.
1816 * dlltool.c (def_exports): Added ability to generate forwarded exports.
1817 (gen_exp_file): Likewise.
1818
43a0748c
NC
18192001-03-12 Stefan Geuken <mail@stefan-geuken.de>
1820
1821 * NEWS: Document addition of -B switch to objcopy.
1822 * binutils.texi: Document addition of -B switch to objcopy.
1823 * objcopy.c: (copy_options): Add --binary-architecture.
1824 (copy_usage): Document -B/--binary-architecture.
1825 (copy_main): Support -B/--binary-architecture. Set
1826 bfd_external_binary_architecture.
0879a67a 1827
b7498e0e
NC
18282001-03-11 Andreas Jaeger <aj@suse.de>
1829
1830 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
1831 (dump_relocations): Likewise.
1832 (get_machine_name): Likewise.
1833
a59e3bd7
NC
18342001-02-28 Nick Clifton <nickc@redhat.com>
1835
1836 * readelf.c: (struct unw_aux_info): Remove const modifier for
1837 'strtab' field.
1838 (process_unwind): Remove non-K&R compliant LHS type cast in call
1839 to GET_DATA_ALLOC macro.
1840
a5bcd848
PB
18412001-02-28 Philip Blundell <pb@futuretv.com>
1842
1843 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
1844 ABI is in use; remove ambiguity between the "unknown" EABI and
1845 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
1846 renamed EF_xx constants.
1847
27b7e12d
AM
18482001-02-27 Alan Modra <alan@linuxcare.com.au>
1849
1850 * configure.in (BFD_VERSION): New.
1851 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
1852 * configure: Regenerate.
1853 * Makefile.am: Run "make dep-am"
1854 * Makefile.in: Regenerate.
1855
a9f10786
NC
18562001-02-14 Nick Clifton <nickc@redhat.com>
1857
1858 * MAINTAINERS: Add "Obvious Fix" rule.
1859
3c44da9a
MS
18602001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1861
1862 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
1863 literal concatenation.
1864
ecd03389
MS
18652001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1866
1867 * readelf.c (struct unw_aux_info): Remove const from the info member.
1868 (process_unwind): Don't type-cast the third argument to the
1869 GET_DATA_ALLOC macro.
1870
88ec60c7
NC
18712001-02-11 Nick Clifton <nickc@redhat.com>
1872
1873 * readelf.c (dump_relocations): Free corrected allocated
1874 array.
1875 (process_unwind): Fix compile time warning.
1876
f5e21966
NC
18772001-02-10 Nick Clifton <nickc@redhat.com>
1878
1879 * binutils.texi: Document new --unwind option to readelf.
1880
a85d7ed0
NC
18812001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
1882
1883 * readelf.c: Add linux target for S/390.
1884
7bb10502
AM
18852001-02-10 Alan Modra <alan@linuxcare.com.au>
1886
1887 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
1888 printf is a macro.
1889
8ca8f343
HPN
18902001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
1891
1892 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
1893 * aclocal.m4: Regenerate.
1894 * configure: Regenerate.
1895
7340082d
NC
18962001-02-07 Todd Vierling <tv@wasabisystems.com>
1897
1898 * bucomm.c (bfd_target_vector): Change extern array to pointer.
1899 * objdump.c (bfd_target_vector): Likewise.
1900
4d6ed7c8
NC
19012001-02-07 David Mosberger <davidm@hpl.hp.com>
1902
1903 * readelf.c (process_unwind): New function.
1904 (slurp_ia64_unwind_table): Ditto.
1905 (dump_ia64_unwind): Ditto.
1906 (find_symbol_for_address): Ditto.
1907 (slurp_rela_relocs): New function (split off from dump_relocations()).
1908 (slurp_rel_relocs): Ditto.
1909 (parse_args): Handle '-u' option.
1910
1911 * unwind-ia64.c: New file.
1912 * unwind-ia64.h: New file.
1913 * Makefile.am: Include unwind-ia64.c in readelf build.
1914 * Makefile.in: Regenerate.
7340082d 1915 * po/binutils.pot: Regenerate.
4d6ed7c8 1916
c7217458
PB
19172001-02-04 Philip Blundell <philb@gnu.org>
1918
1919 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
1920 * configure: Regenerate.
1921
956eedd4
AM
19222001-01-31 Steve deRosier <sderosier@vari-lite.com>
1923
1924 * ieee.c (ieee_add_bb11): Don't check for backslashes
1925 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1926
8855cbca
AM
19272001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
1928
c7f2731e
AM
1929 * ieee.c: Update copyright.
1930 (ieee_start_compilation_unit): Don't check for backslashes
1931 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1932
8855cbca
AM
1933 * stabs.c: Update copyright. Include "filenames.h".
1934 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
1935
329de803 19362001-01-23 Jakub Jelinek <jakub@redhat.com>
00d93f34
JJ
1937
1938 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
1939 sections are present before using them. Remove code duplication.
1940 (process_symbol_table): Check if VERDEF or VERNEED sections are
1941 present before using them.
1942
23719f39
NC
19432001-01-17 Nick Clifton <nickc@redhat.com>
1944
1945 * objcopy.c (copy_object): Fail if attempting to convert the
1946 endianness of the input object file.
1947
1948 * binutils.texi: Explain that objcopy cannot convert endianness.
c7f2731e 1949
f726e849
NC
19502001-01-16 Nick Clifton <nickc@redhat.com>
1951
1952 * readelf.c (string_table_length): New variable.
1953 (SECTION_NAME): Catch out of range indices and missing section
1954 pointers.
1955 (process_section_headers): Delete useless local variable
1956 string_table_offset. Set the value of string_table_length
1957 after loading the string table.
1958 (process_mips_specific): Use SECTION_NAME macro.
1959 (process_file): Set string_table_length to 0 when it is freed.
1960
d0398d6a
NC
19612001-01-12 Nick Clifton <nickc@redhat.com>
1962
1963 * version.c (print_version): Update copyright date.
1964
0d2bcfaf
NC
19652001-01-11 Peter Targett <peter.targett@arccores.com>
1966
1967 * readelf.c (dump_relocations): Include selection with EM_ARC.
1968 (get_machine_name) Update name to "ARC".
1969
8b1e6df3
NC
19702001-01-09 Nick Clifton <nickc@redhat.com>
1971
1972 * Makefile.am: Add rule to build objdump.o from objdump.c and
1973 using OBJDUMP_DEFS.
1974 * Makefile.in: Regenerate.
1975
1976 * configure.in: Define OBJDUMP_DEFS. Default to empty.
1977 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
1978 -DDISASSEMBLER_NEEDS_RELOCS.
34cc70e3 1979 * configure: Regenerate.
8b1e6df3
NC
1980
1981 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
1982 is defined read in the relocs even if dump_reloc_info is
1983 false.
1984
2f952d20
PB
19852001-01-07 Philip Blundell <philb@gnu.org>
1986
1987 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
1988 `bug-binutils'.
1989 * README: Likewise.
1990
a8c548cb
NC
19912000-12-19 Nick Clifton <nickc@redhat.com>
1992
1993 * dlltool.c: Add missing support for arm-epoc-pe.
1994 * configure.in: Add missing support for arm-epoc-pe.
1995 * configure: Regenerate.
1996
cc5fda35
NC
19972000-12-15 Nick Clifton <nickc@redhat.com>
1998
1999 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
2000 Mode parts of the x86 port.
2001
bcedfee6
NC
20022000-12-04 Andreas Jaeger <aj@suse.de>
2003
2004 * readelf.c (guess_is_rela): Add EM_X86_64.
2005 (dump_relocations): Add EM_X86_64.
2006 (get_machine_name): Add EM_X86_64.
2007 Include "elf/x86-64.h".
2008
584da044
NC
20092000-12-12 Nick Clifton <nickc@redhat.com>
2010
2011 * readelf.c: Fix formatting.
2012
7559e86e 20132000-12-11 Jan Hubicka <jh@suse.cz>
b8355149
JH
2014
2015 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
2016
a98cc2b2
AH
20172000-12-07 Andrew Haley <aph@redhat.com>
2018
2019 * readelf.c (display_debug_frames): Only display columns that are
2020 referenced by the frame debug info.
2021
c7987a69
NC
20222000-12-05 Nick Clifton <nickc@redhat.com>
2023
2024 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
2025
09fd7e38
JM
20262000-12-04 Jason Merrill <jason@redhat.com>
2027
2028 * readelf.c (process_section_headers): Handle linkonce.wi sections.
2029 (display_debug_section): Likewise.
2030 (display_debug_info): Display CU header before bailing.
2031
e7af610e
NC
20322000-12-01 Chris Demetriou <cgd@sibyte.com>
2033
09fd7e38
JM
2034 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
2035 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
2036 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
e7af610e 2037
09fd7e38
JM
2038 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
2039 and E_MIPS_ARCH_64.
84ea6cf2 2040
09fd7e38
JM
2041 * readelf.c (get_machine_flags): Add case for
2042 E_MIPS_MACH_SB1.
c6c98b38 2043
75066968
DD
20442000-11-30 Richard Earnshaw <rearnsha@arm.com>
2045
2046 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
2047
5c4666ea
HPN
20482000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
2049