]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - binutils/ChangeLog
* dwarf2read.c (read_attribute_value): New function to handle DW_FORM_indirect
[thirdparty/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
17978339
MS
12001-11-28 Mike Stump <mrs@wrs.com>
2
3 * objcopy.c (setup_section): Preserve SEC_RELOC when
4 --set-section-flags is used.
5
261a45ad
NC
62001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
7
8 * readelf.c (do_debug_str): New variable.
9 (display_debug_str): New function: Display the contents of a
10 .debug_str section.
11 (load_debug_str): New function: Load in the contents of a
12 .debug_str section.
13 (free_debug_str): New function: Free the memory used by
14 load_debug_str().
15 (fetch_indirect_string): Retrieve a string from the .debug_str
16 section.
17 (usage): Add -ws.
18 (parse_args): Accept -ws.
19 (process_section_headers): Allow the display of the .debug_str
20 section.
21 (read_and_display_attr_value): Use fetch_indirect_string. Show
22 offset into .debug_str section.
23 (display_debug_info): Use load_debug_str and free_debug_str.
24 (debug_displays): Add .debug_str.
25 * doc/binutils.texi: Document -ws.
26
b8908f93
AJ
272001-11-19 Andreas Jaeger <aj@suse.de>
28
29 * testsuite/binutils-all/objdump.exp: Add x86-64.
30
e5fb9629
AS
312001-11-15 Andreas Schwab <schwab@suse.de>
32
33 * readelf.c: Fix warnings without terminating newline.
34
802a735e
AM
352001-11-15 Alan Modra <amodra@bigpond.net.au>
36
37 * doc/binutils.texi (objdump): Document ppc -M options.
38
b89e9eae
AJ
392001-11-14 Andreas Jaeger <aj@suse.de>
40
41 * doc/binutils.texi (objdump): Fix description to use x86-64.
42
a6a25652
NC
432001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
44
45 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
46 not all systems provide mkstemp.
47
e396998b
AM
482001-11-14 Alan Modra <amodra@bigpond.net.au>
49
50 * doc/binutils.texi (objdump): Document x86 -M options.
51
81766fca
RH
522001-11-13 Keith Walker <keith.walker@arm.com>
53
54 * readelf.c (read_and_display_attr_value): New function to
55 handle DW_FORM_indirect.
56 (read_and_display_attr): Use it.
57
1a509dcc
GK
582001-11-13 Geoffrey Keating <geoffk@redhat.com>
59
60 * readelf.c (display_debug_lines): Deal with unknown standard
61 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
62 DW_LNS_set_isa.
63
6e917903 642001-11-13 Timothy Wall <twall@alum.mit.edu>
1a509dcc 65
6e917903
TW
66 * MAINTAINERS: Add self as tic54x maintainer. This target
67 includes the IBM C54XDSP clone.
7559e86e 68
6e917903 692001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
1a509dcc 70
7559e86e
NC
71 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
72
732001-11-09 Jeffrey A Law (law@cygnus.com)
91770270 74
ecdadc4a
JL
75 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
76 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
77 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
78 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
79 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
80 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
81 (unw_decode_b2, unw_decode_b3_b4): Likewise.
82
91770270
JL
83 * readelf.c (get_elf_class): Fix ISO portability glitch.
84 (get_data_encoding, get_osabi_name, request_dump): Likewise.
85
ef5cdfc7
JJ
862001-11-07 Jakub Jelinek <jakub@redhat.com>
87
88 * readelf.c (debug_str, debug_str_size): New.
89 (display_debug_abbrev): If no abbrevs were read, skip the CU.
90 Call free_abbrevs.
91 (read_and_display_addr): Handle DW_FORM_strp.
92 (display_debug_info): Read .debug_str section if present,
93 so that DW_FORM_strp can be handled.
94 Fix test for non-existant .debug_abbrev section.
95
5e9520c8
JJ
962001-11-05 Jakub Jelinek <jakub@redhat.com>
97
98 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
99
100 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
101
54589086
MS
1022001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
103
104 * MAINTAINERS: Add self as s390/s390x maintainer.
105
c05b685b
TR
1062001-11-02 Tom Rix <trix@bluey.cygnus.com>
107
108 * MAINTAINERS: Add self as PPC XCOFF maintainer.
109
3c62831e
NC
1102001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
111
112 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
113 * configure: Regernate.
114 * po/fr.po: New file.
115 * po/tr.po: New file.
116
3c3bdf30
NC
1172001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
118
9b19141a 119 * MAINTAINERS: Add self as MMIX port maintainer.
3c3bdf30
NC
120 * readelf.c: Include elf/mmix.h.
121 (guess_is_rela): MMIX is RELA.
122 (dump_relocations): Handle MMIX relocations.
123 * Makefile.am: Regenerate dependencies.
124 * Makefile.in: Regenerate.
125
f662939a
NC
1262001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
127
128 * readelf.c (parse_args): Handle multiple options to the -w
129 switch.
130
c91d0dfb
JJ
1312001-10-12 Jakub Jelinek <jakub@redhat.com>
132
133 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
134 LOPROC, LOOS and LOUSER.
135
7559e86e 1362001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
d1b67f3c
JR
137
138 * MAINTAINERS: Update my email address.
139
fcd8210c
AM
1402001-10-03 Alan Modra <amodra@bigpond.net.au>
141
142 * doc/Makefile.in: Regenerate.
143 * configure: Regenerate.
144
428409d5
NC
1452001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
146
147 * readelf.c (display_debug_line, display_debug_pubnames,
148 display_debug_info, display_debug_frames): Detect and warn
149 about 64-bit format entries.
150 (display_debug_aranges): Reword 64-bit warning.
151 (debug_displays): Add .debug_pubtypes as a known, but not yet
152 supported, debug section.
153
6a8c2b0d
AM
1542001-10-02 Alan Modra <amodra@bigpond.net.au>
155
156 * coffdump.c (PROGRAM_VERSION): Delete.
157 (main <'V'>): Call print_version.
158 * srconv.c: Likewise.
159 * sysdump.c: Likewise.
160 * version.c (program_version): Remove.
161 (print_version): Use BFD_VERSION_STRING. Just print the current
162 year in copyright message.
163 * addr2line.c (program_version): Remove unused declaration.
164 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
165 place of BFD_VERSION.
166 * Makefile.am (Makefile): Depend on bfd/configure.in.
167 (cplus-dem.o): Depend on Makefile.
168 Run "make dep-am".
169 * Makefile.in: Regenerate.
170
e414a165
NC
1712001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
172
173 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
174 format .debug_arange sections.
175 (main): Add missing prototype.
b8908f93 176
efc3ee7f
HPN
1772001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
178
179 * Makefile.am: Update dependencies with "make dep-am".
180 * Makefile.in: Regenerate.
181
9e85c2a0
RH
1822001-09-28 Richard Henderson <rth@redhat.com>
183
184 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
185
451dad9c
AM
1862001-09-26 Alan Modra <amodra@bigpond.net.au>
187
188 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
189 VA_CLOSE.
190 (non_fatal): Likewise.
191 * objdump.c (objdump_sprintf): Likewise.
192 * readelf.c (error): Likewise.
193 (warn): Likewise.
194
d974e256
JJ
1952001-09-25 Jakub Jelinek <jakub@redhat.com>
196
197 * readelf.c (do_wide): New.
198 (options): Add --wide.
199 (usage, parse_args): Likewise.
200 (process_program_headers): Put each segment on a single line if
201 --wide is given.
202 (process_section_headers): Put each section on a single line if
203 --wide is given.
204 * doc/binutils.texi: Document it.
205 * NEWS: Likewise.
206
2f11c261
AM
2072001-09-25 Alan Modra <amodra@bigpond.net.au>
208
209 * readelf.c (print_vma): Print 8 digits of low hex value.
210
1d50f91e
AJ
2112001-09-24 Andreas Jaeger <aj@suse.de>
212
213 * nlmconv.c: Fix warnings about unused attributes and function
214 prototypes.
215
216 * strings.c: Add prototype for get_char.
217
38131e67
L
2182000-09-19 H.J. Lu <hjl@gnu.org>
219
220 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
221 $(srcdir)/cxxfilt.man.
222 * doc/Makefile.in: Rebuild.
223
3bcfb3e4
AM
2242001-09-19 Alan Modra <amodra@bigpond.net.au>
225
226 * objcopy.c (copy_main): Correct rename-section string parsing.
227 Consolidate new_name parsing, and error messages.
228
3882b010
L
2292001-09-18 Bruno Haible <haible@clisp.cons.org>
230
231 * addr2line.c: Don't include <ctype.h>.
232 (main): For gettext, also set the LC_CTYPE locate facet.
233 * ar.c (main): Likewise.
234 * coffdump.c (main): Likewise.
235 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
236 (main): For gettext, also set the LC_CTYPE locate facet.
237 Use ISALNUM instead of isalpha/isdigit.
238 * dllwrap.c: Don't include <ctype.h>.
239 (main): For gettext, also set the LC_CTYPE locate facet.
240 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
241 (main): For gettext, also set the LC_CTYPE locate facet.
242 Use TOUPPER instead of islower/toupper.
243 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
244 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
245 Use TOUPPER instead of islower/toupper.
246 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
247 * objcopy.c (main): Likewise.
248 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
249 (disassemble_bytes): Use ISPRINT instead of isprint.
250 (dump_section_stabs): Use ISDIGIT instead of isdigit.
251 (dump_data): Use ISPRINT instead of isprint.
252 (main): For gettext, also set the LC_CTYPE locate facet.
253 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
254 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
255 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
256 Use TOUPPER instead of islower/toupper.
257 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
258 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
259 (write_rc_accelerators): Use ISPRINT instead of isprint.
260 (write_rc_rcdata): Likewise.
261 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
262 * srconv.c (main): Likewise.
263 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
264 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
265 isdigit/isupper/islower.
266 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
267 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
268 stab_demangle_prefix, stab_demangle_qualified,
269 stab_demangle_template, stab_demangle_type,
270 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
271 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
272 (isgraphic): Use ISPRINT instead of isascii/isprint.
273 (main): Remove HAVE_LC_MESSAGES dependency.
274 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
275 (pbarray): Use ISPRINT instead of isprint.
276 (main): For gettext, also set the LC_CTYPE locate facet.
277 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
278 (format_from_filename): Use ISPRINT instead of isprint.
279 (main): For gettext, also set the LC_CTYPE locate facet.
280 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
281 (unicode_print): Use ISPRINT instead of isprint.
282 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
283 (stab_variable): Use ISDIGIT instead of isdigit.
284
e59b4dfb
AM
2852001-09-18 Alan Modra <amodra@bigpond.net.au>
286
287 * ar.c (print_contents): Cast args of bfd_seek to the right types.
288 Replace bfd_read call with call to bfd_bread.
289 (extract_file): Likewise.
290
291 * objdump.c (dump_section_header): Cast section->filepos to
292 unsigned long to suit printf format string.
293 * readelf.c (process_section_headers): Similarly for sh_offset.
294 (process_unwind): Likewise.
295
d132876a
NC
2962001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
297
298 * strings.c (encoding, encoding_bytes): New variables.
299 (long_options): Add --encoding.
300 (main): Accept -e and --encoding.
301 (get_char): New function. Read a, possibly wide, character from
302 the input stream.
303 (print_strings): Use get_char().
304 (usage): Document new command line option.
305 * doc/binutils.texi: Document new command line option.
306 * NEWS: Announce new command line option.
307
7559e86e 3082001-09-12 Alexandre Oliva <aoliva@redhat.com>
2b0337b0
AO
309
310 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
311 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
312 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
313 Removed EM_CYGNUS_ARC.
314
7559e86e 3152001-09-04 Jeffrey A Law (law@cygnus.com)
b8720f9d
JL
316
317 * readelf.c: Include elf/h8 for H8 series definitions.
318 (guess_is_rela): H8 series if RELA.
319 (dump_relocations): Handle H8 series relocations.
320
0823fbca
EC
3212001-08-31 Eric Christopher <echristo@redhat.com>
322
323 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
324
8db76d70
PT
3252001-08-29 Peter Targett <peter.targett@arccores.com>
326
327 * MAINTAINERS: Include ARC Maintainer.
328
d81d6584
BE
3292001-08-29 Ben Elliston <bje@redhat.com>
330
331 * stabs.c (stab_demangle_template): Initialise s4.
332
25a1ff5b
AM
3332001-08-27 Alan Modra <amodra@bigpond.net.au>
334
335 * readelf.c (dump_relocations): Recognise EM_PPC64.
336
a5d22d2a
TS
3372001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
338
339 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
340
62a5a82d
L
3412001-08-25 H.J. Lu <hjl@gnu.org>
342
343 * nm.c (print_width): New.
344 (display_rel_file): Set `print_width' according to
345 bfd_sprintf_vma.
346 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
347
1ae8b3d2
AO
3482001-08-24 Alexandre Oliva <aoliva@redhat.com>
349
350 * objcopy.c (use_alt_mach_code): New variable.
351 (OPTION_ALT_MACH_CODE): Define.
352 (copy_options): Added --alt-machine-code.
353 (copy_main): Handle it.
354 (copy_object): Switch to alternate machine code if requested.
355 * doc/binutils.texi: Document new option.
356 * NEWS: Likewise.
357
d1bdd336
TS
3582001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
359
360 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
361
410f7a12
L
3622001-08-21 H.J. Lu <hjl@gnu.org>
363
364 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
365 (display_debug_info): Cast for 64bit hosts.
366 (display_debug_frames): Likewise.
367 (process_mips_specific): Likewise.
368
c32144ff
AJ
3692001-08-21 Andreas Jaeger <aj@suse.de>
370
371 * coffgrok.h: Add missing parameter for prototype of coff_grok.
372
373 * sysdump.c: Add missing prototypes.
374 * srconv.c: Likewise.
375 * unwind-ia64.c: Likewise.
376 * coffdump.c: Likewise.
377
378 * sysinfo.y: Print prototypes, include <ansidecl.h>.
379
380 * coffgrok.c: Add missing prototypes, include libiberty.h instead
381 of declaring xcalloc.
382
d8180c76
L
3832001-08-10 H.J. Lu <hjl@gnu.org>
384
385 * nm.c (print_value): Add one arg, bfd *.
386 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
387 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
388 (print_symbol_info_sysv): Likewise.
389 (print_symbol_info_posix): Likewise.
390
391 * objdump.c (dump_section_header): Replace printf_vma with
392 bfd_printf_vma.
393 (print_section_stabs): Likewise.
394 (dump_bfd_header): Likewise.
395 (objdump_print_value): Replace sprintf_vma with
396 bfd_sprintf_vma.
397 (disassemble_bytes): Likewise.
398 (dump_reloc_set): Likewise.
399
0218d1e4
AJ
4002001-08-10 Andreas Jaeger <aj@suse.de>
401
402 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
403 to build warnings.
404 * configure: Regenerate.
405
2863d58a
AM
4062001-08-09 Alan Modra <amodra@bigpond.net.au>
407
408 * readelf.c: Add missing prototypes.
409 * objdump.c: Likewise. Format existing prototypes.
410
c0e047e0
AO
4112001-08-08 Alexandre Oliva <aoliva@redhat.com>
412
413 * readelf.c (display_debug_info): Add to abbrev_offset the addend
414 of any RELA relocation for the abbrev_offset memory location that
415 refers to the .debug_abbrev section symbol.
416
ff78d6d6
L
4172001-08-07 H.J. Lu <hjl@gnu.org>
418
419 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
420 (main): Return process_file ().
421
c36774d6
PB
4222001-08-05 Philip Blundell <philb@gnu.org>
423
424 * doc/binutils.texi: Use "Thumb" not "THUMB".
425
8f9d9bd9
JH
4262001-08-03 John Healy <jhealy@redhat.com>
427
428 Patch suggested by Frank Eigler <fche@redhat.com>.
429 * objdump.c (disassemble_data): Fill in section member of the
430 disasm_info structure.
431
c918cb96
DD
4322001-08-03 Tom Walsh <tom@cyberiansoftware.com>
433
434 * configure.in: Added --with-windres option.
435 * configure: Regenerated.
436
c7c55b78
NC
4372001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
438
439 * doc/binutils.texi: Use @command{name} for commands;
440 use @option{-opt} for options; use @table @env for list of options;
441 remove spaces arround [ | ] in synopsis.
442
443 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
444 center title.
445
594ef5db
NC
4462001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
447
448 * objcopy.c: Fix formatting.
449 (section_rename): New structure.
450 (OPTION_RENAME_SECTION): New switch.
451 (copy_usage): Document new switch.
452 (add_section_rename): New function: Add a node to the section
453 rename list.
454 (find_section_rename): New function: Find the new name and
455 flags for a section.
456 (setup_section): Call find_section_name to determine the name
457 of the output section.
458 (copy_main): Handle OPTION_RENAME_SECTION.
459 * binutils.texi: Document new switch.
460 * NEWS: Mention new switch.
461
1f554c69
NC
4622001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
463
464 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
465 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
466 bug-binutils@gcc.org.
467
2f83960e
AM
4682001-07-28 Matthias Kramm <kramm@quiss.org>
469
470 * bucomm.c (list_supported_architectures): New function.
471 * bucomm.h (list_supported_architectures): Declare.
472 * objdump.c (usage): Call the above.
473
20fe0649
DB
4742001-07-25 Dave Brolley <brolley@redhat.com>
475
476 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
477 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
478
1b577b00
NC
4792001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
480
481 * README: Update for 2.11. Change bug reporting email address.
482 * MAINTAINERS: Tidy up. Change bug reporting email address.
483
95fd336c
DD
4842001-07-16 DJ Delorie <dj@redhat.com>
485
5f16d855
DD
486 * resres.c (write_res_header): Align header size.
487 (res_align_file): Calculate alignment correctly.
488
95fd336c
DD
489 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
490 correct 10).
491 * resrc.c (write_rc_resource): Likewise.
492 * windres.h (SUBLANG_SHIFT): Define - as 10.
493
ed8fee27
NC
4942001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
495
496 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
497
90ab7e9a
NC
4982001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
499
500 * MAINTAINERS: Add notes about branch checkins.
501
e0c60db2
NC
5022001-07-05 Daniel Berlin <dan@cgsoftware.com>
503
504 * readelf.c (display_debug_macinfo): New function, display
505 .debug_macinfo section.
506 (do_debug_macinfo): New variable.
507 (parse_args): Handle "-w[mM]" to mean display macro info.
508 (process_section_headers): Handle debug_macinfo.
509 (debug_displays): Replace unsupported function with macinfo
0218d1e4 510 function for .debug_macinfo display.
e0c60db2
NC
511 * doc/binutils.texi: Document new command line switch.
512 * NEWS: Document new feature of readelf.
0218d1e4 513
24e01a36
L
5142001-07-05 H.J. Lu <hjl@gnu.org>
515
516 * objcopy.c (filter_symbols): Don't turn undefined symbols
517 into local.
518
4258bf4d
L
5192001-07-03 H.J. Lu <hjl@gnu.org>
520
521 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
522 $@.pod.
523 (ar.1): Likewise.
524 (dlltool.1): Likewise.
525 (nlmconv.1): Likewise.
526 (nm.1): Likewise.
527 (objcopy.1): Likewise.
528 (objdump.1): Likewise.
529 (ranlib.1): Likewise.
530 (readelf.1): Likewise.
531 (size.1): Likewise.
532 (strings.1): Likewise.
533 (strip.1): Likewise.
534 (windres.1): Likewise.
535 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
536 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
537 $(DEMANGLER_NAME).
538 (as.1): Removed.
539 * doc/Makefile.in: Regenerated.
540
7014bc31
NC
5412001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
542
543 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
544
b811889f
NC
5452001-07-01 Daniel Berlin <dan@cgsoftware.com>
546
547 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
548
12ab83a9
NC
5492001-06-29 James Cownie <jcownie@etnus.com>
550
551 * readelf.c: Support DWARF 2.1 attributes.
552
a6e9f9df
AM
5532001-06-28 Alan Modra <amodra@bigpond.net.au>
554
555 * readelf.c (GET_DATA_ALLOC): Remove.
556 (GET_DATA): Remove.
557 (get_data): New function combining above macros, with an extra
558 test for zero size.
559 (slurp_rela_relocs): Use get_data, and catch error return.
560 (slurp_rel_relocs): Likewise.
561 (get_32bit_program_headers): Likewise.
562 (get_64bit_program_headers): Likewise.
563 (get_32bit_section_headers): Likewise.
564 (get_64bit_section_headers): Likewise.
565 (get_32bit_elf_symbols): Likewise.
566 (get_64bit_elf_symbols): Likewise.
567 (process_section_headers): Likewise.
568 (process_relocs): Likewise.
569 (slurp_ia64_unwind_table): Likewise.
570 (process_unwind): Likewise.
571 (get_32bit_dynamic_segment): Likewise.
572 (get_64bit_dynamic_segment): Likewise.
573 (process_dynamic_segment): Likewise.
574 (process_version_sections): Likewise.
575 (process_symbol_table): Likewise.
576 (dump_section): Likewise.
577 (display_debug_info): Likewise.
578 (display_debug_section): Likewise.
579 (process_section_contents): Likewise.
580 (process_corefile_note_segment): Likewise.
581 (process_mips_specific): Likewise. Also free econf32, econf64.
582
af3fc3bc
AM
5832001-06-25 Alan Modra <amodra@bigpond.net.au>
584
585 * readelf.c (dump_relocations): Print "bad symbol index" if
586 symtab == NULL with non-zero symtab_index.
587 (process_relocs): Don't bomb if reloc section has no symsec.
588
6d900bf6
L
5892001-06-24 H.J. Lu <hjl@gnu.org>
590
591 * objcopy.c (strip_main): Revert the change made on 2001-05-30
592 by accident.
593 (copy_main): Apply the the change made to strip_main on
594 2001-05-30 by accident.
595
49b4e386
AJ
5962001-06-23 Andreas Jaeger <aj@suse.de>
597
598 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
599 parameter 'code'.
600 (unw_decode_x2): Likewise.
601 (unw_decode_x3): Likewise.
602 (unw_decode_x4): Likewise.
603
d8dc71e3
BE
6042001-06-23 Ben Elliston <bje@redhat.com>
605
606 * MAINTAINERS: Add myself as M88k maintainer.
607
af3bdff7
NC
6082001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
609
610 * objcopy.c (strip_main): Support -o or --output-file command lien
611 switch.
612
105e7211
L
6132001-06-19 H.J. Lu <hjl@gnu.org>
614
615 * doc/Makefile.in: Regenerated.
616
c45021f2
NC
6172001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
618
619 * readelf.c: Restore formatting.
620
6212001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
622
623 * Makefile.am: Move documentation into doc subdirectory.
624 * Makefile.in: Regenerated.
625 * binutils.texi: Move into doc subdirectory.
626 * addr2line.1: Removed.
627 * ar.1: Likewise.
628 * dlltool.1: Likewise.
629 * nlmconv.1: Likewise.
630 * nm.1: Likewise.
631 * objcopy.1: Likewise.
632 * objdump.1: Likewise.
633 * ranlib.1: Likewise.
634 * readelf.1: Likewise.
635 * size.1: Likewise.
636 * strings.1: Likewise.
637 * strip.1: Likewise.
638 * windres.1: Likewise.
639 * cxxfilt.man: Likewise.
640 * doc: New Directory.
641 * doc/Makefile.am: New file.
642 * doc/Makefile.in: Generate.
643
09ad7db3
AM
6442001-06-09 Alan Modra <amodra@bigpond.net.au>
645
646 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
647
936260fe
AM
6482001-06-01 Alan Modra <amodra@bigpond.net.au>
649
650 * MAINTAINERS: Update my email address.
651
16b2b71c
NC
6522001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
653
654 * objcopy.c: Add new switches: --keep-global-symbol,
655 --keep-symbols, --localize-symbols, --keep-global-symbols and
656 --weaken-symbols.
657 * binutils.texi: Document new switches.
658 * objcopy.1: Regenerate.
659 * NEWS: Announce new feature.
660
7036c0e1
AJ
6612001-05-28 Andreas Jaeger <aj@suse.de>
662
663 * readelf.c (display_debug_frames): Fix warnings: Remove unused
664 variables, fix format strings.
665
76a406e5
NC
6662001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
667
668 * objdump.c (disassemble_bytes): Remove section VMA adjustment
669 when computing the address of the line to show.
670
31b6fca6
RH
6712001-05-16 Richard Henderson <rth@redhat.com>
672
673 * readelf.c (do_debug_frames_interp): New.
674 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
675 (byte_get_big_endian): Likewise.
676 (parse_args) ['F']: Set do_debug_frames_interp.
677 (Frame_Chunk): Make data_factor signed, add fde_encoding.
678 (frame_display_row): Don't trunc pc_begin to int.
679 (size_of_encoded_value): New.
680 (display_debug_frames): Handle 64-bit targets. Print raw data
681 unless do_debug_frames_interp.
682 (debug_displays): Remove duplicate .debug_frame.
683
4fe85591
NC
6842001-05-15 Ralf Baechle <ralf@gnu.org>
685
686 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
687 The former constant was never in active use and is used otherwise
688 by the ABI.
689
579f31ac
JJ
6902001-05-11 Jakub Jelinek <jakub@redhat.com>
691
692 * readelf.c (process_unwind): Print all unwind sections, not just
693 one.
694
78f4a3f7
AM
6952001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
696
697 * readelf.c (process_unwind): Remove const specifier.
698
1c529ca6
NC
6992001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
700
701 * strings.c (isgraphic): Do not use isascii() unless it is needed
702 for isprint() to work.
703 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
704
87e6d782
NC
7052001-04-27 Johan Rydberg <jrydberg@opencores.org>
706
707 * NEWS: Announce support for OpenRISC.
708
4bd3d870 7092001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
49b4e386
AJ
710
711 * dlltool.c (do_default_excludes): Initialise to true.
712
21211521
AM
7132001-04-10 Alan Modra <amodra@one.net.au>
714
715 * MAINTAINERS: Update my email address
716 * nm.c (print_symbol_info_bsd): Use a simple printf string.
717
0c66b61e 7182001-04-05 Hans-Peter Nilsson <hp@axis.com>
ff94ebf2
HPN
719
720 * readelf.c (display_debug_lines): Fix typo for "Prologue".
721
e58d53af
L
7222001-03-30 H.J. Lu <hjl@gnu.org>
723
724 * readelf.c (process_unwind): Just return if do_unwind is 0.
725
bee72332
DD
7262001-03-28 Roger Sayle <roger@metaphorics.com>
727
728 * dlltool.c (make_one_lib_file): Fix section flags for
729 .text, .data and .bss in stub ds*.o files to match those
730 generated by gas.
731
f1467e33
L
7322001-03-29 H.J. Lu <hjl@gnu.org>
733
734 * readelf.c (process_unwind): Only do unwind sections for
735 IA64.
736
1c6fb4fe
L
7372001-03-28 H.J. Lu <hjl@gnu.org>
738
739 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
740 * Makefile.in: Regenerate.
741
0879a67a
AJ
7422001-03-26 Andreas Jaeger <aj@suse.de>
743
744 * binutils.texi (nm): Fix texi syntax.
745
0285c67d
NC
7462001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
747
748 * binutils.texi: Put @c man begin and @c man end indications
749 to generate man pages using texi2pod and pod2man. Put @c man title
750 to identify each man. Add SEEALSO entries.
751 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
752 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
753 sort the list.
754 (*.1): Build the man pages from binutils.texi.
755 * Makefile.in: Regenerate.
756
04847a4d
CF
7572001-03-13 Eric Kohl <ekohl@rz-online.de>
758
759 * defparse.y (opt_equal_name): allow "." in name.
760 * dlltool.c (def_exports): Added ability to generate forwarded exports.
761 (gen_exp_file): Likewise.
762
43a0748c
NC
7632001-03-12 Stefan Geuken <mail@stefan-geuken.de>
764
765 * NEWS: Document addition of -B switch to objcopy.
766 * binutils.texi: Document addition of -B switch to objcopy.
767 * objcopy.c: (copy_options): Add --binary-architecture.
768 (copy_usage): Document -B/--binary-architecture.
769 (copy_main): Support -B/--binary-architecture. Set
770 bfd_external_binary_architecture.
0879a67a 771
b7498e0e
NC
7722001-03-11 Andreas Jaeger <aj@suse.de>
773
774 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
775 (dump_relocations): Likewise.
776 (get_machine_name): Likewise.
777
a59e3bd7
NC
7782001-02-28 Nick Clifton <nickc@redhat.com>
779
780 * readelf.c: (struct unw_aux_info): Remove const modifier for
781 'strtab' field.
782 (process_unwind): Remove non-K&R compliant LHS type cast in call
783 to GET_DATA_ALLOC macro.
784
a5bcd848
PB
7852001-02-28 Philip Blundell <pb@futuretv.com>
786
787 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
788 ABI is in use; remove ambiguity between the "unknown" EABI and
789 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
790 renamed EF_xx constants.
791
27b7e12d
AM
7922001-02-27 Alan Modra <alan@linuxcare.com.au>
793
794 * configure.in (BFD_VERSION): New.
795 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
796 * configure: Regenerate.
797 * Makefile.am: Run "make dep-am"
798 * Makefile.in: Regenerate.
799
a9f10786
NC
8002001-02-14 Nick Clifton <nickc@redhat.com>
801
802 * MAINTAINERS: Add "Obvious Fix" rule.
803
3c44da9a
MS
8042001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
805
806 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
807 literal concatenation.
808
ecd03389
MS
8092001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
810
811 * readelf.c (struct unw_aux_info): Remove const from the info member.
812 (process_unwind): Don't type-cast the third argument to the
813 GET_DATA_ALLOC macro.
814
88ec60c7
NC
8152001-02-11 Nick Clifton <nickc@redhat.com>
816
817 * readelf.c (dump_relocations): Free corrected allocated
818 array.
819 (process_unwind): Fix compile time warning.
820
f5e21966
NC
8212001-02-10 Nick Clifton <nickc@redhat.com>
822
823 * binutils.texi: Document new --unwind option to readelf.
824
a85d7ed0
NC
8252001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
826
827 * readelf.c: Add linux target for S/390.
828
7bb10502
AM
8292001-02-10 Alan Modra <alan@linuxcare.com.au>
830
831 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
832 printf is a macro.
833
8ca8f343
HPN
8342001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
835
836 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
837 * aclocal.m4: Regenerate.
838 * configure: Regenerate.
839
7340082d
NC
8402001-02-07 Todd Vierling <tv@wasabisystems.com>
841
842 * bucomm.c (bfd_target_vector): Change extern array to pointer.
843 * objdump.c (bfd_target_vector): Likewise.
844
4d6ed7c8
NC
8452001-02-07 David Mosberger <davidm@hpl.hp.com>
846
847 * readelf.c (process_unwind): New function.
848 (slurp_ia64_unwind_table): Ditto.
849 (dump_ia64_unwind): Ditto.
850 (find_symbol_for_address): Ditto.
851 (slurp_rela_relocs): New function (split off from dump_relocations()).
852 (slurp_rel_relocs): Ditto.
853 (parse_args): Handle '-u' option.
854
855 * unwind-ia64.c: New file.
856 * unwind-ia64.h: New file.
857 * Makefile.am: Include unwind-ia64.c in readelf build.
858 * Makefile.in: Regenerate.
7340082d 859 * po/binutils.pot: Regenerate.
4d6ed7c8 860
c7217458
PB
8612001-02-04 Philip Blundell <philb@gnu.org>
862
863 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
864 * configure: Regenerate.
865
956eedd4
AM
8662001-01-31 Steve deRosier <sderosier@vari-lite.com>
867
868 * ieee.c (ieee_add_bb11): Don't check for backslashes
869 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
870
8855cbca
AM
8712001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
872
c7f2731e
AM
873 * ieee.c: Update copyright.
874 (ieee_start_compilation_unit): Don't check for backslashes
875 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
876
8855cbca
AM
877 * stabs.c: Update copyright. Include "filenames.h".
878 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
879
329de803 8802001-01-23 Jakub Jelinek <jakub@redhat.com>
00d93f34
JJ
881
882 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
883 sections are present before using them. Remove code duplication.
884 (process_symbol_table): Check if VERDEF or VERNEED sections are
885 present before using them.
886
23719f39
NC
8872001-01-17 Nick Clifton <nickc@redhat.com>
888
889 * objcopy.c (copy_object): Fail if attempting to convert the
890 endianness of the input object file.
891
892 * binutils.texi: Explain that objcopy cannot convert endianness.
c7f2731e 893
f726e849
NC
8942001-01-16 Nick Clifton <nickc@redhat.com>
895
896 * readelf.c (string_table_length): New variable.
897 (SECTION_NAME): Catch out of range indices and missing section
898 pointers.
899 (process_section_headers): Delete useless local variable
900 string_table_offset. Set the value of string_table_length
901 after loading the string table.
902 (process_mips_specific): Use SECTION_NAME macro.
903 (process_file): Set string_table_length to 0 when it is freed.
904
d0398d6a
NC
9052001-01-12 Nick Clifton <nickc@redhat.com>
906
907 * version.c (print_version): Update copyright date.
908
0d2bcfaf
NC
9092001-01-11 Peter Targett <peter.targett@arccores.com>
910
911 * readelf.c (dump_relocations): Include selection with EM_ARC.
912 (get_machine_name) Update name to "ARC".
913
8b1e6df3
NC
9142001-01-09 Nick Clifton <nickc@redhat.com>
915
916 * Makefile.am: Add rule to build objdump.o from objdump.c and
917 using OBJDUMP_DEFS.
918 * Makefile.in: Regenerate.
919
920 * configure.in: Define OBJDUMP_DEFS. Default to empty.
921 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
922 -DDISASSEMBLER_NEEDS_RELOCS.
34cc70e3 923 * configure: Regenerate.
8b1e6df3
NC
924
925 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
926 is defined read in the relocs even if dump_reloc_info is
927 false.
928
2f952d20
PB
9292001-01-07 Philip Blundell <philb@gnu.org>
930
931 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
932 `bug-binutils'.
933 * README: Likewise.
934
a8c548cb
NC
9352000-12-19 Nick Clifton <nickc@redhat.com>
936
937 * dlltool.c: Add missing support for arm-epoc-pe.
938 * configure.in: Add missing support for arm-epoc-pe.
939 * configure: Regenerate.
940
cc5fda35
NC
9412000-12-15 Nick Clifton <nickc@redhat.com>
942
943 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
944 Mode parts of the x86 port.
945
bcedfee6
NC
9462000-12-04 Andreas Jaeger <aj@suse.de>
947
948 * readelf.c (guess_is_rela): Add EM_X86_64.
949 (dump_relocations): Add EM_X86_64.
950 (get_machine_name): Add EM_X86_64.
951 Include "elf/x86-64.h".
952
584da044
NC
9532000-12-12 Nick Clifton <nickc@redhat.com>
954
955 * readelf.c: Fix formatting.
956
7559e86e 9572000-12-11 Jan Hubicka <jh@suse.cz>
b8355149
JH
958
959 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
960
a98cc2b2
AH
9612000-12-07 Andrew Haley <aph@redhat.com>
962
963 * readelf.c (display_debug_frames): Only display columns that are
964 referenced by the frame debug info.
965
c7987a69
NC
9662000-12-05 Nick Clifton <nickc@redhat.com>
967
968 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
969
09fd7e38
JM
9702000-12-04 Jason Merrill <jason@redhat.com>
971
972 * readelf.c (process_section_headers): Handle linkonce.wi sections.
973 (display_debug_section): Likewise.
974 (display_debug_info): Display CU header before bailing.
975
e7af610e
NC
9762000-12-01 Chris Demetriou <cgd@sibyte.com>
977
09fd7e38
JM
978 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
979 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
980 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
e7af610e 981
09fd7e38
JM
982 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
983 and E_MIPS_ARCH_64.
84ea6cf2 984
09fd7e38
JM
985 * readelf.c (get_machine_flags): Add case for
986 E_MIPS_MACH_SB1.
c6c98b38 987
75066968
DD
9882000-11-30 Richard Earnshaw <rearnsha@arm.com>
989
990 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
991
5c4666ea
HPN
9922000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
993
6e917903 994