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