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