* doc/binutils.texi (objdump): Fix description to use x86-64.
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
b89e9eae
AJ
12001-11-14 Andreas Jaeger <aj@suse.de>
2
3 * doc/binutils.texi (objdump): Fix description to use x86-64.
4
a6a25652
NC
52001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
6
7 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
8 not all systems provide mkstemp.
9
e396998b
AM
102001-11-14 Alan Modra <amodra@bigpond.net.au>
11
12 * doc/binutils.texi (objdump): Document x86 -M options.
13
81766fca
RH
142001-11-13 Keith Walker <keith.walker@arm.com>
15
16 * readelf.c (read_and_display_attr_value): New function to
17 handle DW_FORM_indirect.
18 (read_and_display_attr): Use it.
19
1a509dcc
GK
202001-11-13 Geoffrey Keating <geoffk@redhat.com>
21
22 * readelf.c (display_debug_lines): Deal with unknown standard
23 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
24 DW_LNS_set_isa.
25
6e917903 262001-11-13 Timothy Wall <twall@alum.mit.edu>
1a509dcc 27
6e917903
TW
28 * MAINTAINERS: Add self as tic54x maintainer. This target
29 includes the IBM C54XDSP clone.
7559e86e 30
6e917903 312001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
1a509dcc 32
7559e86e
NC
33 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
34
352001-11-09 Jeffrey A Law (law@cygnus.com)
91770270 36
ecdadc4a
JL
37 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
38 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
39 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
40 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
41 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
42 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
43 (unw_decode_b2, unw_decode_b3_b4): Likewise.
44
91770270
JL
45 * readelf.c (get_elf_class): Fix ISO portability glitch.
46 (get_data_encoding, get_osabi_name, request_dump): Likewise.
47
ef5cdfc7
JJ
482001-11-07 Jakub Jelinek <jakub@redhat.com>
49
50 * readelf.c (debug_str, debug_str_size): New.
51 (display_debug_abbrev): If no abbrevs were read, skip the CU.
52 Call free_abbrevs.
53 (read_and_display_addr): Handle DW_FORM_strp.
54 (display_debug_info): Read .debug_str section if present,
55 so that DW_FORM_strp can be handled.
56 Fix test for non-existant .debug_abbrev section.
57
5e9520c8
JJ
582001-11-05 Jakub Jelinek <jakub@redhat.com>
59
60 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
61
62 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
63
54589086
MS
642001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
65
66 * MAINTAINERS: Add self as s390/s390x maintainer.
67
c05b685b
TR
682001-11-02 Tom Rix <trix@bluey.cygnus.com>
69
70 * MAINTAINERS: Add self as PPC XCOFF maintainer.
71
3c62831e
NC
722001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
73
74 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
75 * configure: Regernate.
76 * po/fr.po: New file.
77 * po/tr.po: New file.
78
3c3bdf30
NC
792001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
80
9b19141a 81 * MAINTAINERS: Add self as MMIX port maintainer.
3c3bdf30
NC
82 * readelf.c: Include elf/mmix.h.
83 (guess_is_rela): MMIX is RELA.
84 (dump_relocations): Handle MMIX relocations.
85 * Makefile.am: Regenerate dependencies.
86 * Makefile.in: Regenerate.
87
f662939a
NC
882001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
89
90 * readelf.c (parse_args): Handle multiple options to the -w
91 switch.
92
c91d0dfb
JJ
932001-10-12 Jakub Jelinek <jakub@redhat.com>
94
95 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
96 LOPROC, LOOS and LOUSER.
97
7559e86e 982001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
d1b67f3c
JR
99
100 * MAINTAINERS: Update my email address.
101
fcd8210c
AM
1022001-10-03 Alan Modra <amodra@bigpond.net.au>
103
104 * doc/Makefile.in: Regenerate.
105 * configure: Regenerate.
106
428409d5
NC
1072001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
108
109 * readelf.c (display_debug_line, display_debug_pubnames,
110 display_debug_info, display_debug_frames): Detect and warn
111 about 64-bit format entries.
112 (display_debug_aranges): Reword 64-bit warning.
113 (debug_displays): Add .debug_pubtypes as a known, but not yet
114 supported, debug section.
115
6a8c2b0d
AM
1162001-10-02 Alan Modra <amodra@bigpond.net.au>
117
118 * coffdump.c (PROGRAM_VERSION): Delete.
119 (main <'V'>): Call print_version.
120 * srconv.c: Likewise.
121 * sysdump.c: Likewise.
122 * version.c (program_version): Remove.
123 (print_version): Use BFD_VERSION_STRING. Just print the current
124 year in copyright message.
125 * addr2line.c (program_version): Remove unused declaration.
126 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
127 place of BFD_VERSION.
128 * Makefile.am (Makefile): Depend on bfd/configure.in.
129 (cplus-dem.o): Depend on Makefile.
130 Run "make dep-am".
131 * Makefile.in: Regenerate.
132
e414a165
NC
1332001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
134
135 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
136 format .debug_arange sections.
137 (main): Add missing prototype.
138
efc3ee7f
HPN
1392001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
140
141 * Makefile.am: Update dependencies with "make dep-am".
142 * Makefile.in: Regenerate.
143
9e85c2a0
RH
1442001-09-28 Richard Henderson <rth@redhat.com>
145
146 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
147
451dad9c
AM
1482001-09-26 Alan Modra <amodra@bigpond.net.au>
149
150 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
151 VA_CLOSE.
152 (non_fatal): Likewise.
153 * objdump.c (objdump_sprintf): Likewise.
154 * readelf.c (error): Likewise.
155 (warn): Likewise.
156
d974e256
JJ
1572001-09-25 Jakub Jelinek <jakub@redhat.com>
158
159 * readelf.c (do_wide): New.
160 (options): Add --wide.
161 (usage, parse_args): Likewise.
162 (process_program_headers): Put each segment on a single line if
163 --wide is given.
164 (process_section_headers): Put each section on a single line if
165 --wide is given.
166 * doc/binutils.texi: Document it.
167 * NEWS: Likewise.
168
2f11c261
AM
1692001-09-25 Alan Modra <amodra@bigpond.net.au>
170
171 * readelf.c (print_vma): Print 8 digits of low hex value.
172
1d50f91e
AJ
1732001-09-24 Andreas Jaeger <aj@suse.de>
174
175 * nlmconv.c: Fix warnings about unused attributes and function
176 prototypes.
177
178 * strings.c: Add prototype for get_char.
179
38131e67
L
1802000-09-19 H.J. Lu <hjl@gnu.org>
181
182 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
183 $(srcdir)/cxxfilt.man.
184 * doc/Makefile.in: Rebuild.
185
3bcfb3e4
AM
1862001-09-19 Alan Modra <amodra@bigpond.net.au>
187
188 * objcopy.c (copy_main): Correct rename-section string parsing.
189 Consolidate new_name parsing, and error messages.
190
3882b010
L
1912001-09-18 Bruno Haible <haible@clisp.cons.org>
192
193 * addr2line.c: Don't include <ctype.h>.
194 (main): For gettext, also set the LC_CTYPE locate facet.
195 * ar.c (main): Likewise.
196 * coffdump.c (main): Likewise.
197 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
198 (main): For gettext, also set the LC_CTYPE locate facet.
199 Use ISALNUM instead of isalpha/isdigit.
200 * dllwrap.c: Don't include <ctype.h>.
201 (main): For gettext, also set the LC_CTYPE locate facet.
202 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
203 (main): For gettext, also set the LC_CTYPE locate facet.
204 Use TOUPPER instead of islower/toupper.
205 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
206 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
207 Use TOUPPER instead of islower/toupper.
208 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
209 * objcopy.c (main): Likewise.
210 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
211 (disassemble_bytes): Use ISPRINT instead of isprint.
212 (dump_section_stabs): Use ISDIGIT instead of isdigit.
213 (dump_data): Use ISPRINT instead of isprint.
214 (main): For gettext, also set the LC_CTYPE locate facet.
215 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
216 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
217 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
218 Use TOUPPER instead of islower/toupper.
219 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
220 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
221 (write_rc_accelerators): Use ISPRINT instead of isprint.
222 (write_rc_rcdata): Likewise.
223 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
224 * srconv.c (main): Likewise.
225 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
226 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
227 isdigit/isupper/islower.
228 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
229 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
230 stab_demangle_prefix, stab_demangle_qualified,
231 stab_demangle_template, stab_demangle_type,
232 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
233 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
234 (isgraphic): Use ISPRINT instead of isascii/isprint.
235 (main): Remove HAVE_LC_MESSAGES dependency.
236 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
237 (pbarray): Use ISPRINT instead of isprint.
238 (main): For gettext, also set the LC_CTYPE locate facet.
239 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
240 (format_from_filename): Use ISPRINT instead of isprint.
241 (main): For gettext, also set the LC_CTYPE locate facet.
242 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
243 (unicode_print): Use ISPRINT instead of isprint.
244 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
245 (stab_variable): Use ISDIGIT instead of isdigit.
246
e59b4dfb
AM
2472001-09-18 Alan Modra <amodra@bigpond.net.au>
248
249 * ar.c (print_contents): Cast args of bfd_seek to the right types.
250 Replace bfd_read call with call to bfd_bread.
251 (extract_file): Likewise.
252
253 * objdump.c (dump_section_header): Cast section->filepos to
254 unsigned long to suit printf format string.
255 * readelf.c (process_section_headers): Similarly for sh_offset.
256 (process_unwind): Likewise.
257
d132876a
NC
2582001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
259
260 * strings.c (encoding, encoding_bytes): New variables.
261 (long_options): Add --encoding.
262 (main): Accept -e and --encoding.
263 (get_char): New function. Read a, possibly wide, character from
264 the input stream.
265 (print_strings): Use get_char().
266 (usage): Document new command line option.
267 * doc/binutils.texi: Document new command line option.
268 * NEWS: Announce new command line option.
269
7559e86e 2702001-09-12 Alexandre Oliva <aoliva@redhat.com>
2b0337b0
AO
271
272 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
273 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
274 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
275 Removed EM_CYGNUS_ARC.
276
7559e86e 2772001-09-04 Jeffrey A Law (law@cygnus.com)
b8720f9d
JL
278
279 * readelf.c: Include elf/h8 for H8 series definitions.
280 (guess_is_rela): H8 series if RELA.
281 (dump_relocations): Handle H8 series relocations.
282
0823fbca
EC
2832001-08-31 Eric Christopher <echristo@redhat.com>
284
285 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
286
8db76d70
PT
2872001-08-29 Peter Targett <peter.targett@arccores.com>
288
289 * MAINTAINERS: Include ARC Maintainer.
290
d81d6584
BE
2912001-08-29 Ben Elliston <bje@redhat.com>
292
293 * stabs.c (stab_demangle_template): Initialise s4.
294
25a1ff5b
AM
2952001-08-27 Alan Modra <amodra@bigpond.net.au>
296
297 * readelf.c (dump_relocations): Recognise EM_PPC64.
298
a5d22d2a
TS
2992001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
300
301 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
302
62a5a82d
L
3032001-08-25 H.J. Lu <hjl@gnu.org>
304
305 * nm.c (print_width): New.
306 (display_rel_file): Set `print_width' according to
307 bfd_sprintf_vma.
308 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
309
1ae8b3d2
AO
3102001-08-24 Alexandre Oliva <aoliva@redhat.com>
311
312 * objcopy.c (use_alt_mach_code): New variable.
313 (OPTION_ALT_MACH_CODE): Define.
314 (copy_options): Added --alt-machine-code.
315 (copy_main): Handle it.
316 (copy_object): Switch to alternate machine code if requested.
317 * doc/binutils.texi: Document new option.
318 * NEWS: Likewise.
319
d1bdd336
TS
3202001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
321
322 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
323
410f7a12
L
3242001-08-21 H.J. Lu <hjl@gnu.org>
325
326 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
327 (display_debug_info): Cast for 64bit hosts.
328 (display_debug_frames): Likewise.
329 (process_mips_specific): Likewise.
330
c32144ff
AJ
3312001-08-21 Andreas Jaeger <aj@suse.de>
332
333 * coffgrok.h: Add missing parameter for prototype of coff_grok.
334
335 * sysdump.c: Add missing prototypes.
336 * srconv.c: Likewise.
337 * unwind-ia64.c: Likewise.
338 * coffdump.c: Likewise.
339
340 * sysinfo.y: Print prototypes, include <ansidecl.h>.
341
342 * coffgrok.c: Add missing prototypes, include libiberty.h instead
343 of declaring xcalloc.
344
d8180c76
L
3452001-08-10 H.J. Lu <hjl@gnu.org>
346
347 * nm.c (print_value): Add one arg, bfd *.
348 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
349 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
350 (print_symbol_info_sysv): Likewise.
351 (print_symbol_info_posix): Likewise.
352
353 * objdump.c (dump_section_header): Replace printf_vma with
354 bfd_printf_vma.
355 (print_section_stabs): Likewise.
356 (dump_bfd_header): Likewise.
357 (objdump_print_value): Replace sprintf_vma with
358 bfd_sprintf_vma.
359 (disassemble_bytes): Likewise.
360 (dump_reloc_set): Likewise.
361
0218d1e4
AJ
3622001-08-10 Andreas Jaeger <aj@suse.de>
363
364 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
365 to build warnings.
366 * configure: Regenerate.
367
2863d58a
AM
3682001-08-09 Alan Modra <amodra@bigpond.net.au>
369
370 * readelf.c: Add missing prototypes.
371 * objdump.c: Likewise. Format existing prototypes.
372
c0e047e0
AO
3732001-08-08 Alexandre Oliva <aoliva@redhat.com>
374
375 * readelf.c (display_debug_info): Add to abbrev_offset the addend
376 of any RELA relocation for the abbrev_offset memory location that
377 refers to the .debug_abbrev section symbol.
378
ff78d6d6
L
3792001-08-07 H.J. Lu <hjl@gnu.org>
380
381 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
382 (main): Return process_file ().
383
c36774d6
PB
3842001-08-05 Philip Blundell <philb@gnu.org>
385
386 * doc/binutils.texi: Use "Thumb" not "THUMB".
387
8f9d9bd9
JH
3882001-08-03 John Healy <jhealy@redhat.com>
389
390 Patch suggested by Frank Eigler <fche@redhat.com>.
391 * objdump.c (disassemble_data): Fill in section member of the
392 disasm_info structure.
393
c918cb96
DD
3942001-08-03 Tom Walsh <tom@cyberiansoftware.com>
395
396 * configure.in: Added --with-windres option.
397 * configure: Regenerated.
398
c7c55b78
NC
3992001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
400
401 * doc/binutils.texi: Use @command{name} for commands;
402 use @option{-opt} for options; use @table @env for list of options;
403 remove spaces arround [ | ] in synopsis.
404
405 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
406 center title.
407
594ef5db
NC
4082001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
409
410 * objcopy.c: Fix formatting.
411 (section_rename): New structure.
412 (OPTION_RENAME_SECTION): New switch.
413 (copy_usage): Document new switch.
414 (add_section_rename): New function: Add a node to the section
415 rename list.
416 (find_section_rename): New function: Find the new name and
417 flags for a section.
418 (setup_section): Call find_section_name to determine the name
419 of the output section.
420 (copy_main): Handle OPTION_RENAME_SECTION.
421 * binutils.texi: Document new switch.
422 * NEWS: Mention new switch.
423
1f554c69
NC
4242001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
425
426 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
427 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
428 bug-binutils@gcc.org.
429
2f83960e
AM
4302001-07-28 Matthias Kramm <kramm@quiss.org>
431
432 * bucomm.c (list_supported_architectures): New function.
433 * bucomm.h (list_supported_architectures): Declare.
434 * objdump.c (usage): Call the above.
435
20fe0649
DB
4362001-07-25 Dave Brolley <brolley@redhat.com>
437
438 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
439 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
440
1b577b00
NC
4412001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
442
443 * README: Update for 2.11. Change bug reporting email address.
444 * MAINTAINERS: Tidy up. Change bug reporting email address.
445
95fd336c
DD
4462001-07-16 DJ Delorie <dj@redhat.com>
447
5f16d855
DD
448 * resres.c (write_res_header): Align header size.
449 (res_align_file): Calculate alignment correctly.
450
95fd336c
DD
451 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
452 correct 10).
453 * resrc.c (write_rc_resource): Likewise.
454 * windres.h (SUBLANG_SHIFT): Define - as 10.
455
ed8fee27
NC
4562001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
457
458 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
459
90ab7e9a
NC
4602001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
461
462 * MAINTAINERS: Add notes about branch checkins.
463
e0c60db2
NC
4642001-07-05 Daniel Berlin <dan@cgsoftware.com>
465
466 * readelf.c (display_debug_macinfo): New function, display
467 .debug_macinfo section.
468 (do_debug_macinfo): New variable.
469 (parse_args): Handle "-w[mM]" to mean display macro info.
470 (process_section_headers): Handle debug_macinfo.
471 (debug_displays): Replace unsupported function with macinfo
0218d1e4 472 function for .debug_macinfo display.
e0c60db2
NC
473 * doc/binutils.texi: Document new command line switch.
474 * NEWS: Document new feature of readelf.
0218d1e4 475
24e01a36
L
4762001-07-05 H.J. Lu <hjl@gnu.org>
477
478 * objcopy.c (filter_symbols): Don't turn undefined symbols
479 into local.
480
4258bf4d
L
4812001-07-03 H.J. Lu <hjl@gnu.org>
482
483 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
484 $@.pod.
485 (ar.1): Likewise.
486 (dlltool.1): Likewise.
487 (nlmconv.1): Likewise.
488 (nm.1): Likewise.
489 (objcopy.1): Likewise.
490 (objdump.1): Likewise.
491 (ranlib.1): Likewise.
492 (readelf.1): Likewise.
493 (size.1): Likewise.
494 (strings.1): Likewise.
495 (strip.1): Likewise.
496 (windres.1): Likewise.
497 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
498 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
499 $(DEMANGLER_NAME).
500 (as.1): Removed.
501 * doc/Makefile.in: Regenerated.
502
7014bc31
NC
5032001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
504
505 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
506
b811889f
NC
5072001-07-01 Daniel Berlin <dan@cgsoftware.com>
508
509 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
510
12ab83a9
NC
5112001-06-29 James Cownie <jcownie@etnus.com>
512
513 * readelf.c: Support DWARF 2.1 attributes.
514
a6e9f9df
AM
5152001-06-28 Alan Modra <amodra@bigpond.net.au>
516
517 * readelf.c (GET_DATA_ALLOC): Remove.
518 (GET_DATA): Remove.
519 (get_data): New function combining above macros, with an extra
520 test for zero size.
521 (slurp_rela_relocs): Use get_data, and catch error return.
522 (slurp_rel_relocs): Likewise.
523 (get_32bit_program_headers): Likewise.
524 (get_64bit_program_headers): Likewise.
525 (get_32bit_section_headers): Likewise.
526 (get_64bit_section_headers): Likewise.
527 (get_32bit_elf_symbols): Likewise.
528 (get_64bit_elf_symbols): Likewise.
529 (process_section_headers): Likewise.
530 (process_relocs): Likewise.
531 (slurp_ia64_unwind_table): Likewise.
532 (process_unwind): Likewise.
533 (get_32bit_dynamic_segment): Likewise.
534 (get_64bit_dynamic_segment): Likewise.
535 (process_dynamic_segment): Likewise.
536 (process_version_sections): Likewise.
537 (process_symbol_table): Likewise.
538 (dump_section): Likewise.
539 (display_debug_info): Likewise.
540 (display_debug_section): Likewise.
541 (process_section_contents): Likewise.
542 (process_corefile_note_segment): Likewise.
543 (process_mips_specific): Likewise. Also free econf32, econf64.
544
af3fc3bc
AM
5452001-06-25 Alan Modra <amodra@bigpond.net.au>
546
547 * readelf.c (dump_relocations): Print "bad symbol index" if
548 symtab == NULL with non-zero symtab_index.
549 (process_relocs): Don't bomb if reloc section has no symsec.
550
6d900bf6
L
5512001-06-24 H.J. Lu <hjl@gnu.org>
552
553 * objcopy.c (strip_main): Revert the change made on 2001-05-30
554 by accident.
555 (copy_main): Apply the the change made to strip_main on
556 2001-05-30 by accident.
557
49b4e386
AJ
5582001-06-23 Andreas Jaeger <aj@suse.de>
559
560 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
561 parameter 'code'.
562 (unw_decode_x2): Likewise.
563 (unw_decode_x3): Likewise.
564 (unw_decode_x4): Likewise.
565
d8dc71e3
BE
5662001-06-23 Ben Elliston <bje@redhat.com>
567
568 * MAINTAINERS: Add myself as M88k maintainer.
569
af3bdff7
NC
5702001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
571
572 * objcopy.c (strip_main): Support -o or --output-file command lien
573 switch.
574
105e7211
L
5752001-06-19 H.J. Lu <hjl@gnu.org>
576
577 * doc/Makefile.in: Regenerated.
578
c45021f2
NC
5792001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
580
581 * readelf.c: Restore formatting.
582
5832001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
584
585 * Makefile.am: Move documentation into doc subdirectory.
586 * Makefile.in: Regenerated.
587 * binutils.texi: Move into doc subdirectory.
588 * addr2line.1: Removed.
589 * ar.1: Likewise.
590 * dlltool.1: Likewise.
591 * nlmconv.1: Likewise.
592 * nm.1: Likewise.
593 * objcopy.1: Likewise.
594 * objdump.1: Likewise.
595 * ranlib.1: Likewise.
596 * readelf.1: Likewise.
597 * size.1: Likewise.
598 * strings.1: Likewise.
599 * strip.1: Likewise.
600 * windres.1: Likewise.
601 * cxxfilt.man: Likewise.
602 * doc: New Directory.
603 * doc/Makefile.am: New file.
604 * doc/Makefile.in: Generate.
605
09ad7db3
AM
6062001-06-09 Alan Modra <amodra@bigpond.net.au>
607
608 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
609
936260fe
AM
6102001-06-01 Alan Modra <amodra@bigpond.net.au>
611
612 * MAINTAINERS: Update my email address.
613
16b2b71c
NC
6142001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
615
616 * objcopy.c: Add new switches: --keep-global-symbol,
617 --keep-symbols, --localize-symbols, --keep-global-symbols and
618 --weaken-symbols.
619 * binutils.texi: Document new switches.
620 * objcopy.1: Regenerate.
621 * NEWS: Announce new feature.
622
7036c0e1
AJ
6232001-05-28 Andreas Jaeger <aj@suse.de>
624
625 * readelf.c (display_debug_frames): Fix warnings: Remove unused
626 variables, fix format strings.
627
76a406e5
NC
6282001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
629
630 * objdump.c (disassemble_bytes): Remove section VMA adjustment
631 when computing the address of the line to show.
632
31b6fca6
RH
6332001-05-16 Richard Henderson <rth@redhat.com>
634
635 * readelf.c (do_debug_frames_interp): New.
636 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
637 (byte_get_big_endian): Likewise.
638 (parse_args) ['F']: Set do_debug_frames_interp.
639 (Frame_Chunk): Make data_factor signed, add fde_encoding.
640 (frame_display_row): Don't trunc pc_begin to int.
641 (size_of_encoded_value): New.
642 (display_debug_frames): Handle 64-bit targets. Print raw data
643 unless do_debug_frames_interp.
644 (debug_displays): Remove duplicate .debug_frame.
645
4fe85591
NC
6462001-05-15 Ralf Baechle <ralf@gnu.org>
647
648 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
649 The former constant was never in active use and is used otherwise
650 by the ABI.
651
579f31ac
JJ
6522001-05-11 Jakub Jelinek <jakub@redhat.com>
653
654 * readelf.c (process_unwind): Print all unwind sections, not just
655 one.
656
78f4a3f7
AM
6572001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
658
659 * readelf.c (process_unwind): Remove const specifier.
660
1c529ca6
NC
6612001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
662
663 * strings.c (isgraphic): Do not use isascii() unless it is needed
664 for isprint() to work.
665 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
666
87e6d782
NC
6672001-04-27 Johan Rydberg <jrydberg@opencores.org>
668
669 * NEWS: Announce support for OpenRISC.
670
4bd3d870 6712001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
49b4e386
AJ
672
673 * dlltool.c (do_default_excludes): Initialise to true.
674
21211521
AM
6752001-04-10 Alan Modra <amodra@one.net.au>
676
677 * MAINTAINERS: Update my email address
678 * nm.c (print_symbol_info_bsd): Use a simple printf string.
679
0c66b61e 6802001-04-05 Hans-Peter Nilsson <hp@axis.com>
ff94ebf2
HPN
681
682 * readelf.c (display_debug_lines): Fix typo for "Prologue".
683
e58d53af
L
6842001-03-30 H.J. Lu <hjl@gnu.org>
685
686 * readelf.c (process_unwind): Just return if do_unwind is 0.
687
bee72332
DD
6882001-03-28 Roger Sayle <roger@metaphorics.com>
689
690 * dlltool.c (make_one_lib_file): Fix section flags for
691 .text, .data and .bss in stub ds*.o files to match those
692 generated by gas.
693
f1467e33
L
6942001-03-29 H.J. Lu <hjl@gnu.org>
695
696 * readelf.c (process_unwind): Only do unwind sections for
697 IA64.
698
1c6fb4fe
L
6992001-03-28 H.J. Lu <hjl@gnu.org>
700
701 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
702 * Makefile.in: Regenerate.
703
0879a67a
AJ
7042001-03-26 Andreas Jaeger <aj@suse.de>
705
706 * binutils.texi (nm): Fix texi syntax.
707
0285c67d
NC
7082001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
709
710 * binutils.texi: Put @c man begin and @c man end indications
711 to generate man pages using texi2pod and pod2man. Put @c man title
712 to identify each man. Add SEEALSO entries.
713 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
714 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
715 sort the list.
716 (*.1): Build the man pages from binutils.texi.
717 * Makefile.in: Regenerate.
718
04847a4d
CF
7192001-03-13 Eric Kohl <ekohl@rz-online.de>
720
721 * defparse.y (opt_equal_name): allow "." in name.
722 * dlltool.c (def_exports): Added ability to generate forwarded exports.
723 (gen_exp_file): Likewise.
724
43a0748c
NC
7252001-03-12 Stefan Geuken <mail@stefan-geuken.de>
726
727 * NEWS: Document addition of -B switch to objcopy.
728 * binutils.texi: Document addition of -B switch to objcopy.
729 * objcopy.c: (copy_options): Add --binary-architecture.
730 (copy_usage): Document -B/--binary-architecture.
731 (copy_main): Support -B/--binary-architecture. Set
732 bfd_external_binary_architecture.
0879a67a 733
b7498e0e
NC
7342001-03-11 Andreas Jaeger <aj@suse.de>
735
736 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
737 (dump_relocations): Likewise.
738 (get_machine_name): Likewise.
739
a59e3bd7
NC
7402001-02-28 Nick Clifton <nickc@redhat.com>
741
742 * readelf.c: (struct unw_aux_info): Remove const modifier for
743 'strtab' field.
744 (process_unwind): Remove non-K&R compliant LHS type cast in call
745 to GET_DATA_ALLOC macro.
746
a5bcd848
PB
7472001-02-28 Philip Blundell <pb@futuretv.com>
748
749 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
750 ABI is in use; remove ambiguity between the "unknown" EABI and
751 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
752 renamed EF_xx constants.
753
27b7e12d
AM
7542001-02-27 Alan Modra <alan@linuxcare.com.au>
755
756 * configure.in (BFD_VERSION): New.
757 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
758 * configure: Regenerate.
759 * Makefile.am: Run "make dep-am"
760 * Makefile.in: Regenerate.
761
a9f10786
NC
7622001-02-14 Nick Clifton <nickc@redhat.com>
763
764 * MAINTAINERS: Add "Obvious Fix" rule.
765
3c44da9a
MS
7662001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
767
768 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
769 literal concatenation.
770
ecd03389
MS
7712001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
772
773 * readelf.c (struct unw_aux_info): Remove const from the info member.
774 (process_unwind): Don't type-cast the third argument to the
775 GET_DATA_ALLOC macro.
776
88ec60c7
NC
7772001-02-11 Nick Clifton <nickc@redhat.com>
778
779 * readelf.c (dump_relocations): Free corrected allocated
780 array.
781 (process_unwind): Fix compile time warning.
782
f5e21966
NC
7832001-02-10 Nick Clifton <nickc@redhat.com>
784
785 * binutils.texi: Document new --unwind option to readelf.
786
a85d7ed0
NC
7872001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
788
789 * readelf.c: Add linux target for S/390.
790
7bb10502
AM
7912001-02-10 Alan Modra <alan@linuxcare.com.au>
792
793 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
794 printf is a macro.
795
8ca8f343
HPN
7962001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
797
798 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
799 * aclocal.m4: Regenerate.
800 * configure: Regenerate.
801
7340082d
NC
8022001-02-07 Todd Vierling <tv@wasabisystems.com>
803
804 * bucomm.c (bfd_target_vector): Change extern array to pointer.
805 * objdump.c (bfd_target_vector): Likewise.
806
4d6ed7c8
NC
8072001-02-07 David Mosberger <davidm@hpl.hp.com>
808
809 * readelf.c (process_unwind): New function.
810 (slurp_ia64_unwind_table): Ditto.
811 (dump_ia64_unwind): Ditto.
812 (find_symbol_for_address): Ditto.
813 (slurp_rela_relocs): New function (split off from dump_relocations()).
814 (slurp_rel_relocs): Ditto.
815 (parse_args): Handle '-u' option.
816
817 * unwind-ia64.c: New file.
818 * unwind-ia64.h: New file.
819 * Makefile.am: Include unwind-ia64.c in readelf build.
820 * Makefile.in: Regenerate.
7340082d 821 * po/binutils.pot: Regenerate.
4d6ed7c8 822
c7217458
PB
8232001-02-04 Philip Blundell <philb@gnu.org>
824
825 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
826 * configure: Regenerate.
827
956eedd4
AM
8282001-01-31 Steve deRosier <sderosier@vari-lite.com>
829
830 * ieee.c (ieee_add_bb11): Don't check for backslashes
831 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
832
8855cbca
AM
8332001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
834
c7f2731e
AM
835 * ieee.c: Update copyright.
836 (ieee_start_compilation_unit): Don't check for backslashes
837 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
838
8855cbca
AM
839 * stabs.c: Update copyright. Include "filenames.h".
840 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
841
329de803 8422001-01-23 Jakub Jelinek <jakub@redhat.com>
00d93f34
JJ
843
844 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
845 sections are present before using them. Remove code duplication.
846 (process_symbol_table): Check if VERDEF or VERNEED sections are
847 present before using them.
848
23719f39
NC
8492001-01-17 Nick Clifton <nickc@redhat.com>
850
851 * objcopy.c (copy_object): Fail if attempting to convert the
852 endianness of the input object file.
853
854 * binutils.texi: Explain that objcopy cannot convert endianness.
c7f2731e 855
f726e849
NC
8562001-01-16 Nick Clifton <nickc@redhat.com>
857
858 * readelf.c (string_table_length): New variable.
859 (SECTION_NAME): Catch out of range indices and missing section
860 pointers.
861 (process_section_headers): Delete useless local variable
862 string_table_offset. Set the value of string_table_length
863 after loading the string table.
864 (process_mips_specific): Use SECTION_NAME macro.
865 (process_file): Set string_table_length to 0 when it is freed.
866
d0398d6a
NC
8672001-01-12 Nick Clifton <nickc@redhat.com>
868
869 * version.c (print_version): Update copyright date.
870
0d2bcfaf
NC
8712001-01-11 Peter Targett <peter.targett@arccores.com>
872
873 * readelf.c (dump_relocations): Include selection with EM_ARC.
874 (get_machine_name) Update name to "ARC".
875
8b1e6df3
NC
8762001-01-09 Nick Clifton <nickc@redhat.com>
877
878 * Makefile.am: Add rule to build objdump.o from objdump.c and
879 using OBJDUMP_DEFS.
880 * Makefile.in: Regenerate.
881
882 * configure.in: Define OBJDUMP_DEFS. Default to empty.
883 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
884 -DDISASSEMBLER_NEEDS_RELOCS.
34cc70e3 885 * configure: Regenerate.
8b1e6df3
NC
886
887 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
888 is defined read in the relocs even if dump_reloc_info is
889 false.
890
2f952d20
PB
8912001-01-07 Philip Blundell <philb@gnu.org>
892
893 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
894 `bug-binutils'.
895 * README: Likewise.
896
a8c548cb
NC
8972000-12-19 Nick Clifton <nickc@redhat.com>
898
899 * dlltool.c: Add missing support for arm-epoc-pe.
900 * configure.in: Add missing support for arm-epoc-pe.
901 * configure: Regenerate.
902
cc5fda35
NC
9032000-12-15 Nick Clifton <nickc@redhat.com>
904
905 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
906 Mode parts of the x86 port.
907
bcedfee6
NC
9082000-12-04 Andreas Jaeger <aj@suse.de>
909
910 * readelf.c (guess_is_rela): Add EM_X86_64.
911 (dump_relocations): Add EM_X86_64.
912 (get_machine_name): Add EM_X86_64.
913 Include "elf/x86-64.h".
914
584da044
NC
9152000-12-12 Nick Clifton <nickc@redhat.com>
916
917 * readelf.c: Fix formatting.
918
7559e86e 9192000-12-11 Jan Hubicka <jh@suse.cz>
b8355149
JH
920
921 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
922
a98cc2b2
AH
9232000-12-07 Andrew Haley <aph@redhat.com>
924
925 * readelf.c (display_debug_frames): Only display columns that are
926 referenced by the frame debug info.
927
c7987a69
NC
9282000-12-05 Nick Clifton <nickc@redhat.com>
929
930 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
931
09fd7e38
JM
9322000-12-04 Jason Merrill <jason@redhat.com>
933
934 * readelf.c (process_section_headers): Handle linkonce.wi sections.
935 (display_debug_section): Likewise.
936 (display_debug_info): Display CU header before bailing.
937
e7af610e
NC
9382000-12-01 Chris Demetriou <cgd@sibyte.com>
939
09fd7e38
JM
940 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
941 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
942 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
e7af610e 943
09fd7e38
JM
944 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
945 and E_MIPS_ARCH_64.
84ea6cf2 946
09fd7e38
JM
947 * readelf.c (get_machine_flags): Add case for
948 E_MIPS_MACH_SB1.
c6c98b38 949
75066968
DD
9502000-11-30 Richard Earnshaw <rearnsha@arm.com>
951
952 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
953
5c4666ea
HPN
9542000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
955