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