Index: bfd/ChangeLog
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
93fbbb04
GK
12001-12-07 Geoffrey Keating <geoffk@redhat.com>
2
3 * readelf.c (guess_is_rela): Add support for stormy16.
4 (dump_relocations): Likewise.
5 (get_machine_name): Likewise.
6
e3c8793a
NC
72001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
8
9 * dllwrap.c (main) Replace multiple strings describing a
10 single error with a single, newline escaped sentence to permit
11 better translation into foreign languages.
12
13 * readelf.c (get_elf_class): Remove internalionalisation of ELF
14 class names.
15
956cd1d6
TS
162001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
17
18 * strings.c (get_char): Initialize value.
19
956c53ee
TS
202001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
21
22 * arlex.l: Silence compile warnings.
23 * arsup.h: Likewise. Fix formatting.
24
cedd9a58
JJ
252001-12-04 Jakub Jelinek <jakub@redhat.com>
26
27 * strings.c: Include config.h before bfd.h.
28 (file_off): New type.
29 (file_open): Define.
30 (print_strings): Use file_off instead of file_ptr. Print addresses
31 which don't fit into long correctly.
32 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
33 available.
34 (strings_file): Use file_off instead of file_ptr. Use file_open.
35 * configure.in: Check for getc_unlocked.
36 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
37 be defined for it.
38 * configure: Rebuilt.
39 * config.h.in: Rebuilt.
40
af667503
L
412001-11-29 H.J. Lu <hjl@gnu.org>
42
43 * bucomm.c (make_tempname): Revert the changes made on
44 2001-11-14 and 2001-11-12. They won't work with directories.
45
16474668
NC
462001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
47
48 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
49 CFLAGS_FOR_TARGET to runtest in environment.
50 * Makefile.in: Rebuild.
51 * doc/Makefile.in: Rebuild.
52
17978339
MS
532001-11-28 Mike Stump <mrs@wrs.com>
54
55 * objcopy.c (setup_section): Preserve SEC_RELOC when
56 --set-section-flags is used.
57
261a45ad
NC
582001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
59
60 * readelf.c (do_debug_str): New variable.
61 (display_debug_str): New function: Display the contents of a
62 .debug_str section.
63 (load_debug_str): New function: Load in the contents of a
64 .debug_str section.
65 (free_debug_str): New function: Free the memory used by
66 load_debug_str().
67 (fetch_indirect_string): Retrieve a string from the .debug_str
68 section.
69 (usage): Add -ws.
70 (parse_args): Accept -ws.
71 (process_section_headers): Allow the display of the .debug_str
72 section.
73 (read_and_display_attr_value): Use fetch_indirect_string. Show
74 offset into .debug_str section.
75 (display_debug_info): Use load_debug_str and free_debug_str.
76 (debug_displays): Add .debug_str.
77 * doc/binutils.texi: Document -ws.
78
b8908f93
AJ
792001-11-19 Andreas Jaeger <aj@suse.de>
80
81 * testsuite/binutils-all/objdump.exp: Add x86-64.
82
e5fb9629
AS
832001-11-15 Andreas Schwab <schwab@suse.de>
84
85 * readelf.c: Fix warnings without terminating newline.
86
802a735e
AM
872001-11-15 Alan Modra <amodra@bigpond.net.au>
88
89 * doc/binutils.texi (objdump): Document ppc -M options.
90
b89e9eae
AJ
912001-11-14 Andreas Jaeger <aj@suse.de>
92
93 * doc/binutils.texi (objdump): Fix description to use x86-64.
94
a6a25652
NC
952001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
96
97 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
98 not all systems provide mkstemp.
99
e396998b
AM
1002001-11-14 Alan Modra <amodra@bigpond.net.au>
101
102 * doc/binutils.texi (objdump): Document x86 -M options.
103
81766fca
RH
1042001-11-13 Keith Walker <keith.walker@arm.com>
105
106 * readelf.c (read_and_display_attr_value): New function to
107 handle DW_FORM_indirect.
108 (read_and_display_attr): Use it.
109
1a509dcc
GK
1102001-11-13 Geoffrey Keating <geoffk@redhat.com>
111
112 * readelf.c (display_debug_lines): Deal with unknown standard
113 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
114 DW_LNS_set_isa.
115
6e917903 1162001-11-13 Timothy Wall <twall@alum.mit.edu>
1a509dcc 117
6e917903
TW
118 * MAINTAINERS: Add self as tic54x maintainer. This target
119 includes the IBM C54XDSP clone.
7559e86e 120
6e917903 1212001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
1a509dcc 122
7559e86e
NC
123 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
124
1252001-11-09 Jeffrey A Law (law@cygnus.com)
91770270 126
ecdadc4a
JL
127 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
128 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
129 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
130 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
131 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
132 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
133 (unw_decode_b2, unw_decode_b3_b4): Likewise.
134
91770270
JL
135 * readelf.c (get_elf_class): Fix ISO portability glitch.
136 (get_data_encoding, get_osabi_name, request_dump): Likewise.
137
ef5cdfc7
JJ
1382001-11-07 Jakub Jelinek <jakub@redhat.com>
139
140 * readelf.c (debug_str, debug_str_size): New.
141 (display_debug_abbrev): If no abbrevs were read, skip the CU.
142 Call free_abbrevs.
143 (read_and_display_addr): Handle DW_FORM_strp.
144 (display_debug_info): Read .debug_str section if present,
145 so that DW_FORM_strp can be handled.
146 Fix test for non-existant .debug_abbrev section.
147
5e9520c8
JJ
1482001-11-05 Jakub Jelinek <jakub@redhat.com>
149
150 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
151
152 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
153
54589086
MS
1542001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
155
156 * MAINTAINERS: Add self as s390/s390x maintainer.
157
c05b685b
TR
1582001-11-02 Tom Rix <trix@bluey.cygnus.com>
159
160 * MAINTAINERS: Add self as PPC XCOFF maintainer.
161
3c62831e
NC
1622001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
163
164 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
165 * configure: Regernate.
166 * po/fr.po: New file.
167 * po/tr.po: New file.
168
3c3bdf30
NC
1692001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
170
9b19141a 171 * MAINTAINERS: Add self as MMIX port maintainer.
3c3bdf30
NC
172 * readelf.c: Include elf/mmix.h.
173 (guess_is_rela): MMIX is RELA.
174 (dump_relocations): Handle MMIX relocations.
175 * Makefile.am: Regenerate dependencies.
176 * Makefile.in: Regenerate.
177
f662939a
NC
1782001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
179
180 * readelf.c (parse_args): Handle multiple options to the -w
181 switch.
182
c91d0dfb
JJ
1832001-10-12 Jakub Jelinek <jakub@redhat.com>
184
185 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
186 LOPROC, LOOS and LOUSER.
187
7559e86e 1882001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
d1b67f3c
JR
189
190 * MAINTAINERS: Update my email address.
191
fcd8210c
AM
1922001-10-03 Alan Modra <amodra@bigpond.net.au>
193
194 * doc/Makefile.in: Regenerate.
195 * configure: Regenerate.
196
428409d5
NC
1972001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
198
199 * readelf.c (display_debug_line, display_debug_pubnames,
200 display_debug_info, display_debug_frames): Detect and warn
201 about 64-bit format entries.
202 (display_debug_aranges): Reword 64-bit warning.
203 (debug_displays): Add .debug_pubtypes as a known, but not yet
204 supported, debug section.
205
6a8c2b0d
AM
2062001-10-02 Alan Modra <amodra@bigpond.net.au>
207
208 * coffdump.c (PROGRAM_VERSION): Delete.
209 (main <'V'>): Call print_version.
210 * srconv.c: Likewise.
211 * sysdump.c: Likewise.
212 * version.c (program_version): Remove.
213 (print_version): Use BFD_VERSION_STRING. Just print the current
214 year in copyright message.
215 * addr2line.c (program_version): Remove unused declaration.
216 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
217 place of BFD_VERSION.
218 * Makefile.am (Makefile): Depend on bfd/configure.in.
219 (cplus-dem.o): Depend on Makefile.
220 Run "make dep-am".
221 * Makefile.in: Regenerate.
222
e414a165
NC
2232001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
224
225 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
226 format .debug_arange sections.
227 (main): Add missing prototype.
b8908f93 228
efc3ee7f
HPN
2292001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
230
231 * Makefile.am: Update dependencies with "make dep-am".
232 * Makefile.in: Regenerate.
233
9e85c2a0
RH
2342001-09-28 Richard Henderson <rth@redhat.com>
235
236 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
237
451dad9c
AM
2382001-09-26 Alan Modra <amodra@bigpond.net.au>
239
240 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
241 VA_CLOSE.
242 (non_fatal): Likewise.
243 * objdump.c (objdump_sprintf): Likewise.
244 * readelf.c (error): Likewise.
245 (warn): Likewise.
246
d974e256
JJ
2472001-09-25 Jakub Jelinek <jakub@redhat.com>
248
249 * readelf.c (do_wide): New.
250 (options): Add --wide.
251 (usage, parse_args): Likewise.
252 (process_program_headers): Put each segment on a single line if
253 --wide is given.
254 (process_section_headers): Put each section on a single line if
255 --wide is given.
256 * doc/binutils.texi: Document it.
257 * NEWS: Likewise.
258
2f11c261
AM
2592001-09-25 Alan Modra <amodra@bigpond.net.au>
260
261 * readelf.c (print_vma): Print 8 digits of low hex value.
262
1d50f91e
AJ
2632001-09-24 Andreas Jaeger <aj@suse.de>
264
265 * nlmconv.c: Fix warnings about unused attributes and function
266 prototypes.
267
268 * strings.c: Add prototype for get_char.
269
38131e67
L
2702000-09-19 H.J. Lu <hjl@gnu.org>
271
272 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
273 $(srcdir)/cxxfilt.man.
274 * doc/Makefile.in: Rebuild.
275
3bcfb3e4
AM
2762001-09-19 Alan Modra <amodra@bigpond.net.au>
277
278 * objcopy.c (copy_main): Correct rename-section string parsing.
279 Consolidate new_name parsing, and error messages.
280
3882b010
L
2812001-09-18 Bruno Haible <haible@clisp.cons.org>
282
283 * addr2line.c: Don't include <ctype.h>.
284 (main): For gettext, also set the LC_CTYPE locate facet.
285 * ar.c (main): Likewise.
286 * coffdump.c (main): Likewise.
287 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
288 (main): For gettext, also set the LC_CTYPE locate facet.
289 Use ISALNUM instead of isalpha/isdigit.
290 * dllwrap.c: Don't include <ctype.h>.
291 (main): For gettext, also set the LC_CTYPE locate facet.
292 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
293 (main): For gettext, also set the LC_CTYPE locate facet.
294 Use TOUPPER instead of islower/toupper.
295 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
296 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
297 Use TOUPPER instead of islower/toupper.
298 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
299 * objcopy.c (main): Likewise.
300 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
301 (disassemble_bytes): Use ISPRINT instead of isprint.
302 (dump_section_stabs): Use ISDIGIT instead of isdigit.
303 (dump_data): Use ISPRINT instead of isprint.
304 (main): For gettext, also set the LC_CTYPE locate facet.
305 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
306 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
307 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
308 Use TOUPPER instead of islower/toupper.
309 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
310 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
311 (write_rc_accelerators): Use ISPRINT instead of isprint.
312 (write_rc_rcdata): Likewise.
313 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
314 * srconv.c (main): Likewise.
315 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
316 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
317 isdigit/isupper/islower.
318 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
319 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
320 stab_demangle_prefix, stab_demangle_qualified,
321 stab_demangle_template, stab_demangle_type,
322 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
323 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
324 (isgraphic): Use ISPRINT instead of isascii/isprint.
325 (main): Remove HAVE_LC_MESSAGES dependency.
326 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
327 (pbarray): Use ISPRINT instead of isprint.
328 (main): For gettext, also set the LC_CTYPE locate facet.
329 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
330 (format_from_filename): Use ISPRINT instead of isprint.
331 (main): For gettext, also set the LC_CTYPE locate facet.
332 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
333 (unicode_print): Use ISPRINT instead of isprint.
334 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
335 (stab_variable): Use ISDIGIT instead of isdigit.
336
e59b4dfb
AM
3372001-09-18 Alan Modra <amodra@bigpond.net.au>
338
339 * ar.c (print_contents): Cast args of bfd_seek to the right types.
340 Replace bfd_read call with call to bfd_bread.
341 (extract_file): Likewise.
342
343 * objdump.c (dump_section_header): Cast section->filepos to
344 unsigned long to suit printf format string.
345 * readelf.c (process_section_headers): Similarly for sh_offset.
346 (process_unwind): Likewise.
347
d132876a
NC
3482001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
349
350 * strings.c (encoding, encoding_bytes): New variables.
351 (long_options): Add --encoding.
352 (main): Accept -e and --encoding.
353 (get_char): New function. Read a, possibly wide, character from
354 the input stream.
355 (print_strings): Use get_char().
356 (usage): Document new command line option.
357 * doc/binutils.texi: Document new command line option.
358 * NEWS: Announce new command line option.
359
7559e86e 3602001-09-12 Alexandre Oliva <aoliva@redhat.com>
2b0337b0
AO
361
362 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
363 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
364 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
365 Removed EM_CYGNUS_ARC.
366
7559e86e 3672001-09-04 Jeffrey A Law (law@cygnus.com)
b8720f9d
JL
368
369 * readelf.c: Include elf/h8 for H8 series definitions.
370 (guess_is_rela): H8 series if RELA.
371 (dump_relocations): Handle H8 series relocations.
372
0823fbca
EC
3732001-08-31 Eric Christopher <echristo@redhat.com>
374
375 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
376
8db76d70
PT
3772001-08-29 Peter Targett <peter.targett@arccores.com>
378
379 * MAINTAINERS: Include ARC Maintainer.
380
d81d6584
BE
3812001-08-29 Ben Elliston <bje@redhat.com>
382
383 * stabs.c (stab_demangle_template): Initialise s4.
384
25a1ff5b
AM
3852001-08-27 Alan Modra <amodra@bigpond.net.au>
386
387 * readelf.c (dump_relocations): Recognise EM_PPC64.
388
a5d22d2a
TS
3892001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
390
391 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
392
62a5a82d
L
3932001-08-25 H.J. Lu <hjl@gnu.org>
394
395 * nm.c (print_width): New.
396 (display_rel_file): Set `print_width' according to
397 bfd_sprintf_vma.
398 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
399
1ae8b3d2
AO
4002001-08-24 Alexandre Oliva <aoliva@redhat.com>
401
402 * objcopy.c (use_alt_mach_code): New variable.
403 (OPTION_ALT_MACH_CODE): Define.
404 (copy_options): Added --alt-machine-code.
405 (copy_main): Handle it.
406 (copy_object): Switch to alternate machine code if requested.
407 * doc/binutils.texi: Document new option.
408 * NEWS: Likewise.
409
d1bdd336
TS
4102001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
411
412 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
413
410f7a12
L
4142001-08-21 H.J. Lu <hjl@gnu.org>
415
416 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
417 (display_debug_info): Cast for 64bit hosts.
418 (display_debug_frames): Likewise.
419 (process_mips_specific): Likewise.
420
c32144ff
AJ
4212001-08-21 Andreas Jaeger <aj@suse.de>
422
423 * coffgrok.h: Add missing parameter for prototype of coff_grok.
424
425 * sysdump.c: Add missing prototypes.
426 * srconv.c: Likewise.
427 * unwind-ia64.c: Likewise.
428 * coffdump.c: Likewise.
429
430 * sysinfo.y: Print prototypes, include <ansidecl.h>.
431
432 * coffgrok.c: Add missing prototypes, include libiberty.h instead
433 of declaring xcalloc.
434
d8180c76
L
4352001-08-10 H.J. Lu <hjl@gnu.org>
436
437 * nm.c (print_value): Add one arg, bfd *.
438 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
439 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
440 (print_symbol_info_sysv): Likewise.
441 (print_symbol_info_posix): Likewise.
442
443 * objdump.c (dump_section_header): Replace printf_vma with
444 bfd_printf_vma.
445 (print_section_stabs): Likewise.
446 (dump_bfd_header): Likewise.
447 (objdump_print_value): Replace sprintf_vma with
448 bfd_sprintf_vma.
449 (disassemble_bytes): Likewise.
450 (dump_reloc_set): Likewise.
451
0218d1e4
AJ
4522001-08-10 Andreas Jaeger <aj@suse.de>
453
454 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
455 to build warnings.
456 * configure: Regenerate.
457
2863d58a
AM
4582001-08-09 Alan Modra <amodra@bigpond.net.au>
459
460 * readelf.c: Add missing prototypes.
461 * objdump.c: Likewise. Format existing prototypes.
462
c0e047e0
AO
4632001-08-08 Alexandre Oliva <aoliva@redhat.com>
464
465 * readelf.c (display_debug_info): Add to abbrev_offset the addend
466 of any RELA relocation for the abbrev_offset memory location that
467 refers to the .debug_abbrev section symbol.
468
ff78d6d6
L
4692001-08-07 H.J. Lu <hjl@gnu.org>
470
471 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
472 (main): Return process_file ().
473
c36774d6
PB
4742001-08-05 Philip Blundell <philb@gnu.org>
475
476 * doc/binutils.texi: Use "Thumb" not "THUMB".
477
8f9d9bd9
JH
4782001-08-03 John Healy <jhealy@redhat.com>
479
480 Patch suggested by Frank Eigler <fche@redhat.com>.
481 * objdump.c (disassemble_data): Fill in section member of the
482 disasm_info structure.
483
c918cb96
DD
4842001-08-03 Tom Walsh <tom@cyberiansoftware.com>
485
486 * configure.in: Added --with-windres option.
487 * configure: Regenerated.
488
c7c55b78
NC
4892001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
490
491 * doc/binutils.texi: Use @command{name} for commands;
492 use @option{-opt} for options; use @table @env for list of options;
493 remove spaces arround [ | ] in synopsis.
494
495 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
496 center title.
497
594ef5db
NC
4982001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
499
500 * objcopy.c: Fix formatting.
501 (section_rename): New structure.
502 (OPTION_RENAME_SECTION): New switch.
503 (copy_usage): Document new switch.
504 (add_section_rename): New function: Add a node to the section
505 rename list.
506 (find_section_rename): New function: Find the new name and
507 flags for a section.
508 (setup_section): Call find_section_name to determine the name
509 of the output section.
510 (copy_main): Handle OPTION_RENAME_SECTION.
511 * binutils.texi: Document new switch.
512 * NEWS: Mention new switch.
513
1f554c69
NC
5142001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
515
516 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
517 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
518 bug-binutils@gcc.org.
519
2f83960e
AM
5202001-07-28 Matthias Kramm <kramm@quiss.org>
521
522 * bucomm.c (list_supported_architectures): New function.
523 * bucomm.h (list_supported_architectures): Declare.
524 * objdump.c (usage): Call the above.
525
20fe0649
DB
5262001-07-25 Dave Brolley <brolley@redhat.com>
527
528 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
529 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
530
1b577b00
NC
5312001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
532
533 * README: Update for 2.11. Change bug reporting email address.
534 * MAINTAINERS: Tidy up. Change bug reporting email address.
535
95fd336c
DD
5362001-07-16 DJ Delorie <dj@redhat.com>
537
5f16d855
DD
538 * resres.c (write_res_header): Align header size.
539 (res_align_file): Calculate alignment correctly.
540
95fd336c
DD
541 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
542 correct 10).
543 * resrc.c (write_rc_resource): Likewise.
544 * windres.h (SUBLANG_SHIFT): Define - as 10.
545
ed8fee27
NC
5462001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
547
548 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
549
90ab7e9a
NC
5502001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
551
552 * MAINTAINERS: Add notes about branch checkins.
553
e0c60db2
NC
5542001-07-05 Daniel Berlin <dan@cgsoftware.com>
555
556 * readelf.c (display_debug_macinfo): New function, display
557 .debug_macinfo section.
558 (do_debug_macinfo): New variable.
559 (parse_args): Handle "-w[mM]" to mean display macro info.
560 (process_section_headers): Handle debug_macinfo.
561 (debug_displays): Replace unsupported function with macinfo
0218d1e4 562 function for .debug_macinfo display.
e0c60db2
NC
563 * doc/binutils.texi: Document new command line switch.
564 * NEWS: Document new feature of readelf.
0218d1e4 565
24e01a36
L
5662001-07-05 H.J. Lu <hjl@gnu.org>
567
568 * objcopy.c (filter_symbols): Don't turn undefined symbols
569 into local.
570
4258bf4d
L
5712001-07-03 H.J. Lu <hjl@gnu.org>
572
573 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
574 $@.pod.
575 (ar.1): Likewise.
576 (dlltool.1): Likewise.
577 (nlmconv.1): Likewise.
578 (nm.1): Likewise.
579 (objcopy.1): Likewise.
580 (objdump.1): Likewise.
581 (ranlib.1): Likewise.
582 (readelf.1): Likewise.
583 (size.1): Likewise.
584 (strings.1): Likewise.
585 (strip.1): Likewise.
586 (windres.1): Likewise.
587 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
588 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
589 $(DEMANGLER_NAME).
590 (as.1): Removed.
591 * doc/Makefile.in: Regenerated.
592
7014bc31
NC
5932001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
594
595 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
596
b811889f
NC
5972001-07-01 Daniel Berlin <dan@cgsoftware.com>
598
599 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
600
12ab83a9
NC
6012001-06-29 James Cownie <jcownie@etnus.com>
602
603 * readelf.c: Support DWARF 2.1 attributes.
604
a6e9f9df
AM
6052001-06-28 Alan Modra <amodra@bigpond.net.au>
606
607 * readelf.c (GET_DATA_ALLOC): Remove.
608 (GET_DATA): Remove.
609 (get_data): New function combining above macros, with an extra
610 test for zero size.
611 (slurp_rela_relocs): Use get_data, and catch error return.
612 (slurp_rel_relocs): Likewise.
613 (get_32bit_program_headers): Likewise.
614 (get_64bit_program_headers): Likewise.
615 (get_32bit_section_headers): Likewise.
616 (get_64bit_section_headers): Likewise.
617 (get_32bit_elf_symbols): Likewise.
618 (get_64bit_elf_symbols): Likewise.
619 (process_section_headers): Likewise.
620 (process_relocs): Likewise.
621 (slurp_ia64_unwind_table): Likewise.
622 (process_unwind): Likewise.
623 (get_32bit_dynamic_segment): Likewise.
624 (get_64bit_dynamic_segment): Likewise.
625 (process_dynamic_segment): Likewise.
626 (process_version_sections): Likewise.
627 (process_symbol_table): Likewise.
628 (dump_section): Likewise.
629 (display_debug_info): Likewise.
630 (display_debug_section): Likewise.
631 (process_section_contents): Likewise.
632 (process_corefile_note_segment): Likewise.
633 (process_mips_specific): Likewise. Also free econf32, econf64.
634
af3fc3bc
AM
6352001-06-25 Alan Modra <amodra@bigpond.net.au>
636
637 * readelf.c (dump_relocations): Print "bad symbol index" if
638 symtab == NULL with non-zero symtab_index.
639 (process_relocs): Don't bomb if reloc section has no symsec.
640
6d900bf6
L
6412001-06-24 H.J. Lu <hjl@gnu.org>
642
643 * objcopy.c (strip_main): Revert the change made on 2001-05-30
644 by accident.
645 (copy_main): Apply the the change made to strip_main on
646 2001-05-30 by accident.
647
49b4e386
AJ
6482001-06-23 Andreas Jaeger <aj@suse.de>
649
650 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
651 parameter 'code'.
652 (unw_decode_x2): Likewise.
653 (unw_decode_x3): Likewise.
654 (unw_decode_x4): Likewise.
655
d8dc71e3
BE
6562001-06-23 Ben Elliston <bje@redhat.com>
657
658 * MAINTAINERS: Add myself as M88k maintainer.
659
af3bdff7
NC
6602001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
661
662 * objcopy.c (strip_main): Support -o or --output-file command lien
663 switch.
664
105e7211
L
6652001-06-19 H.J. Lu <hjl@gnu.org>
666
667 * doc/Makefile.in: Regenerated.
668
c45021f2
NC
6692001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
670
671 * readelf.c: Restore formatting.
672
6732001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
674
675 * Makefile.am: Move documentation into doc subdirectory.
676 * Makefile.in: Regenerated.
677 * binutils.texi: Move into doc subdirectory.
678 * addr2line.1: Removed.
679 * ar.1: Likewise.
680 * dlltool.1: Likewise.
681 * nlmconv.1: Likewise.
682 * nm.1: Likewise.
683 * objcopy.1: Likewise.
684 * objdump.1: Likewise.
685 * ranlib.1: Likewise.
686 * readelf.1: Likewise.
687 * size.1: Likewise.
688 * strings.1: Likewise.
689 * strip.1: Likewise.
690 * windres.1: Likewise.
691 * cxxfilt.man: Likewise.
692 * doc: New Directory.
693 * doc/Makefile.am: New file.
694 * doc/Makefile.in: Generate.
695
09ad7db3
AM
6962001-06-09 Alan Modra <amodra@bigpond.net.au>
697
698 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
699
936260fe
AM
7002001-06-01 Alan Modra <amodra@bigpond.net.au>
701
702 * MAINTAINERS: Update my email address.
703
16b2b71c
NC
7042001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
705
706 * objcopy.c: Add new switches: --keep-global-symbol,
707 --keep-symbols, --localize-symbols, --keep-global-symbols and
708 --weaken-symbols.
709 * binutils.texi: Document new switches.
710 * objcopy.1: Regenerate.
711 * NEWS: Announce new feature.
712
7036c0e1
AJ
7132001-05-28 Andreas Jaeger <aj@suse.de>
714
715 * readelf.c (display_debug_frames): Fix warnings: Remove unused
716 variables, fix format strings.
717
76a406e5
NC
7182001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
719
720 * objdump.c (disassemble_bytes): Remove section VMA adjustment
721 when computing the address of the line to show.
722
31b6fca6
RH
7232001-05-16 Richard Henderson <rth@redhat.com>
724
725 * readelf.c (do_debug_frames_interp): New.
726 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
727 (byte_get_big_endian): Likewise.
728 (parse_args) ['F']: Set do_debug_frames_interp.
729 (Frame_Chunk): Make data_factor signed, add fde_encoding.
730 (frame_display_row): Don't trunc pc_begin to int.
731 (size_of_encoded_value): New.
732 (display_debug_frames): Handle 64-bit targets. Print raw data
733 unless do_debug_frames_interp.
734 (debug_displays): Remove duplicate .debug_frame.
735
4fe85591
NC
7362001-05-15 Ralf Baechle <ralf@gnu.org>
737
738 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
739 The former constant was never in active use and is used otherwise
740 by the ABI.
741
579f31ac
JJ
7422001-05-11 Jakub Jelinek <jakub@redhat.com>
743
744 * readelf.c (process_unwind): Print all unwind sections, not just
745 one.
746
78f4a3f7
AM
7472001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
748
749 * readelf.c (process_unwind): Remove const specifier.
750
1c529ca6
NC
7512001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
752
753 * strings.c (isgraphic): Do not use isascii() unless it is needed
754 for isprint() to work.
755 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
756
87e6d782
NC
7572001-04-27 Johan Rydberg <jrydberg@opencores.org>
758
759 * NEWS: Announce support for OpenRISC.
760
4bd3d870 7612001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
49b4e386
AJ
762
763 * dlltool.c (do_default_excludes): Initialise to true.
764
21211521
AM
7652001-04-10 Alan Modra <amodra@one.net.au>
766
767 * MAINTAINERS: Update my email address
768 * nm.c (print_symbol_info_bsd): Use a simple printf string.
769
0c66b61e 7702001-04-05 Hans-Peter Nilsson <hp@axis.com>
ff94ebf2
HPN
771
772 * readelf.c (display_debug_lines): Fix typo for "Prologue".
773
e58d53af
L
7742001-03-30 H.J. Lu <hjl@gnu.org>
775
776 * readelf.c (process_unwind): Just return if do_unwind is 0.
777
bee72332
DD
7782001-03-28 Roger Sayle <roger@metaphorics.com>
779
780 * dlltool.c (make_one_lib_file): Fix section flags for
781 .text, .data and .bss in stub ds*.o files to match those
782 generated by gas.
783
f1467e33
L
7842001-03-29 H.J. Lu <hjl@gnu.org>
785
786 * readelf.c (process_unwind): Only do unwind sections for
787 IA64.
788
1c6fb4fe
L
7892001-03-28 H.J. Lu <hjl@gnu.org>
790
791 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
792 * Makefile.in: Regenerate.
793
0879a67a
AJ
7942001-03-26 Andreas Jaeger <aj@suse.de>
795
796 * binutils.texi (nm): Fix texi syntax.
797
0285c67d
NC
7982001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
799
800 * binutils.texi: Put @c man begin and @c man end indications
801 to generate man pages using texi2pod and pod2man. Put @c man title
802 to identify each man. Add SEEALSO entries.
803 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
804 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
805 sort the list.
806 (*.1): Build the man pages from binutils.texi.
807 * Makefile.in: Regenerate.
808
04847a4d
CF
8092001-03-13 Eric Kohl <ekohl@rz-online.de>
810
811 * defparse.y (opt_equal_name): allow "." in name.
812 * dlltool.c (def_exports): Added ability to generate forwarded exports.
813 (gen_exp_file): Likewise.
814
43a0748c
NC
8152001-03-12 Stefan Geuken <mail@stefan-geuken.de>
816
817 * NEWS: Document addition of -B switch to objcopy.
818 * binutils.texi: Document addition of -B switch to objcopy.
819 * objcopy.c: (copy_options): Add --binary-architecture.
820 (copy_usage): Document -B/--binary-architecture.
821 (copy_main): Support -B/--binary-architecture. Set
822 bfd_external_binary_architecture.
0879a67a 823
b7498e0e
NC
8242001-03-11 Andreas Jaeger <aj@suse.de>
825
826 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
827 (dump_relocations): Likewise.
828 (get_machine_name): Likewise.
829
a59e3bd7
NC
8302001-02-28 Nick Clifton <nickc@redhat.com>
831
832 * readelf.c: (struct unw_aux_info): Remove const modifier for
833 'strtab' field.
834 (process_unwind): Remove non-K&R compliant LHS type cast in call
835 to GET_DATA_ALLOC macro.
836
a5bcd848
PB
8372001-02-28 Philip Blundell <pb@futuretv.com>
838
839 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
840 ABI is in use; remove ambiguity between the "unknown" EABI and
841 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
842 renamed EF_xx constants.
843
27b7e12d
AM
8442001-02-27 Alan Modra <alan@linuxcare.com.au>
845
846 * configure.in (BFD_VERSION): New.
847 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
848 * configure: Regenerate.
849 * Makefile.am: Run "make dep-am"
850 * Makefile.in: Regenerate.
851
a9f10786
NC
8522001-02-14 Nick Clifton <nickc@redhat.com>
853
854 * MAINTAINERS: Add "Obvious Fix" rule.
855
3c44da9a
MS
8562001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
857
858 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
859 literal concatenation.
860
ecd03389
MS
8612001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
862
863 * readelf.c (struct unw_aux_info): Remove const from the info member.
864 (process_unwind): Don't type-cast the third argument to the
865 GET_DATA_ALLOC macro.
866
88ec60c7
NC
8672001-02-11 Nick Clifton <nickc@redhat.com>
868
869 * readelf.c (dump_relocations): Free corrected allocated
870 array.
871 (process_unwind): Fix compile time warning.
872
f5e21966
NC
8732001-02-10 Nick Clifton <nickc@redhat.com>
874
875 * binutils.texi: Document new --unwind option to readelf.
876
a85d7ed0
NC
8772001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
878
879 * readelf.c: Add linux target for S/390.
880
7bb10502
AM
8812001-02-10 Alan Modra <alan@linuxcare.com.au>
882
883 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
884 printf is a macro.
885
8ca8f343
HPN
8862001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
887
888 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
889 * aclocal.m4: Regenerate.
890 * configure: Regenerate.
891
7340082d
NC
8922001-02-07 Todd Vierling <tv@wasabisystems.com>
893
894 * bucomm.c (bfd_target_vector): Change extern array to pointer.
895 * objdump.c (bfd_target_vector): Likewise.
896
4d6ed7c8
NC
8972001-02-07 David Mosberger <davidm@hpl.hp.com>
898
899 * readelf.c (process_unwind): New function.
900 (slurp_ia64_unwind_table): Ditto.
901 (dump_ia64_unwind): Ditto.
902 (find_symbol_for_address): Ditto.
903 (slurp_rela_relocs): New function (split off from dump_relocations()).
904 (slurp_rel_relocs): Ditto.
905 (parse_args): Handle '-u' option.
906
907 * unwind-ia64.c: New file.
908 * unwind-ia64.h: New file.
909 * Makefile.am: Include unwind-ia64.c in readelf build.
910 * Makefile.in: Regenerate.
7340082d 911 * po/binutils.pot: Regenerate.
4d6ed7c8 912
c7217458
PB
9132001-02-04 Philip Blundell <philb@gnu.org>
914
915 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
916 * configure: Regenerate.
917
956eedd4
AM
9182001-01-31 Steve deRosier <sderosier@vari-lite.com>
919
920 * ieee.c (ieee_add_bb11): Don't check for backslashes
921 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
922
8855cbca
AM
9232001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
924
c7f2731e
AM
925 * ieee.c: Update copyright.
926 (ieee_start_compilation_unit): Don't check for backslashes
927 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
928
8855cbca
AM
929 * stabs.c: Update copyright. Include "filenames.h".
930 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
931
329de803 9322001-01-23 Jakub Jelinek <jakub@redhat.com>
00d93f34
JJ
933
934 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
935 sections are present before using them. Remove code duplication.
936 (process_symbol_table): Check if VERDEF or VERNEED sections are
937 present before using them.
938
23719f39
NC
9392001-01-17 Nick Clifton <nickc@redhat.com>
940
941 * objcopy.c (copy_object): Fail if attempting to convert the
942 endianness of the input object file.
943
944 * binutils.texi: Explain that objcopy cannot convert endianness.
c7f2731e 945
f726e849
NC
9462001-01-16 Nick Clifton <nickc@redhat.com>
947
948 * readelf.c (string_table_length): New variable.
949 (SECTION_NAME): Catch out of range indices and missing section
950 pointers.
951 (process_section_headers): Delete useless local variable
952 string_table_offset. Set the value of string_table_length
953 after loading the string table.
954 (process_mips_specific): Use SECTION_NAME macro.
955 (process_file): Set string_table_length to 0 when it is freed.
956
d0398d6a
NC
9572001-01-12 Nick Clifton <nickc@redhat.com>
958
959 * version.c (print_version): Update copyright date.
960
0d2bcfaf
NC
9612001-01-11 Peter Targett <peter.targett@arccores.com>
962
963 * readelf.c (dump_relocations): Include selection with EM_ARC.
964 (get_machine_name) Update name to "ARC".
965
8b1e6df3
NC
9662001-01-09 Nick Clifton <nickc@redhat.com>
967
968 * Makefile.am: Add rule to build objdump.o from objdump.c and
969 using OBJDUMP_DEFS.
970 * Makefile.in: Regenerate.
971
972 * configure.in: Define OBJDUMP_DEFS. Default to empty.
973 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
974 -DDISASSEMBLER_NEEDS_RELOCS.
34cc70e3 975 * configure: Regenerate.
8b1e6df3
NC
976
977 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
978 is defined read in the relocs even if dump_reloc_info is
979 false.
980
2f952d20
PB
9812001-01-07 Philip Blundell <philb@gnu.org>
982
983 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
984 `bug-binutils'.
985 * README: Likewise.
986
a8c548cb
NC
9872000-12-19 Nick Clifton <nickc@redhat.com>
988
989 * dlltool.c: Add missing support for arm-epoc-pe.
990 * configure.in: Add missing support for arm-epoc-pe.
991 * configure: Regenerate.
992
cc5fda35
NC
9932000-12-15 Nick Clifton <nickc@redhat.com>
994
995 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
996 Mode parts of the x86 port.
997
bcedfee6
NC
9982000-12-04 Andreas Jaeger <aj@suse.de>
999
1000 * readelf.c (guess_is_rela): Add EM_X86_64.
1001 (dump_relocations): Add EM_X86_64.
1002 (get_machine_name): Add EM_X86_64.
1003 Include "elf/x86-64.h".
1004
584da044
NC
10052000-12-12 Nick Clifton <nickc@redhat.com>
1006
1007 * readelf.c: Fix formatting.
1008
7559e86e 10092000-12-11 Jan Hubicka <jh@suse.cz>
b8355149
JH
1010
1011 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
1012
a98cc2b2
AH
10132000-12-07 Andrew Haley <aph@redhat.com>
1014
1015 * readelf.c (display_debug_frames): Only display columns that are
1016 referenced by the frame debug info.
1017
c7987a69
NC
10182000-12-05 Nick Clifton <nickc@redhat.com>
1019
1020 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
1021
09fd7e38
JM
10222000-12-04 Jason Merrill <jason@redhat.com>
1023
1024 * readelf.c (process_section_headers): Handle linkonce.wi sections.
1025 (display_debug_section): Likewise.
1026 (display_debug_info): Display CU header before bailing.
1027
e7af610e
NC
10282000-12-01 Chris Demetriou <cgd@sibyte.com>
1029
09fd7e38
JM
1030 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
1031 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
1032 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
e7af610e 1033
09fd7e38
JM
1034 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
1035 and E_MIPS_ARCH_64.
84ea6cf2 1036
09fd7e38
JM
1037 * readelf.c (get_machine_flags): Add case for
1038 E_MIPS_MACH_SB1.
c6c98b38 1039
75066968
DD
10402000-11-30 Richard Earnshaw <rearnsha@arm.com>
1041
1042 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
1043
5c4666ea
HPN
10442000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
1045