* elf-m10200.c (mn10200_elf_relax_section): Cast assignment to
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
f662939a
NC
12001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
2
3 * readelf.c (parse_args): Handle multiple options to the -w
4 switch.
5
c91d0dfb
JJ
62001-10-12 Jakub Jelinek <jakub@redhat.com>
7
8 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
9 LOPROC, LOOS and LOUSER.
10
d1b67f3c
JR
11Thu Oct 11 21:45:17 2001 J"orn Rennecke <amylaar@onetel.net.uk>
12
13 * MAINTAINERS: Update my email address.
14
fcd8210c
AM
152001-10-03 Alan Modra <amodra@bigpond.net.au>
16
17 * doc/Makefile.in: Regenerate.
18 * configure: Regenerate.
19
428409d5
NC
202001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
21
22 * readelf.c (display_debug_line, display_debug_pubnames,
23 display_debug_info, display_debug_frames): Detect and warn
24 about 64-bit format entries.
25 (display_debug_aranges): Reword 64-bit warning.
26 (debug_displays): Add .debug_pubtypes as a known, but not yet
27 supported, debug section.
28
6a8c2b0d
AM
292001-10-02 Alan Modra <amodra@bigpond.net.au>
30
31 * coffdump.c (PROGRAM_VERSION): Delete.
32 (main <'V'>): Call print_version.
33 * srconv.c: Likewise.
34 * sysdump.c: Likewise.
35 * version.c (program_version): Remove.
36 (print_version): Use BFD_VERSION_STRING. Just print the current
37 year in copyright message.
38 * addr2line.c (program_version): Remove unused declaration.
39 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
40 place of BFD_VERSION.
41 * Makefile.am (Makefile): Depend on bfd/configure.in.
42 (cplus-dem.o): Depend on Makefile.
43 Run "make dep-am".
44 * Makefile.in: Regenerate.
45
e414a165
NC
462001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
47
48 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
49 format .debug_arange sections.
50 (main): Add missing prototype.
51
efc3ee7f
HPN
522001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
53
54 * Makefile.am: Update dependencies with "make dep-am".
55 * Makefile.in: Regenerate.
56
9e85c2a0
RH
572001-09-28 Richard Henderson <rth@redhat.com>
58
59 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
60
451dad9c
AM
612001-09-26 Alan Modra <amodra@bigpond.net.au>
62
63 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
64 VA_CLOSE.
65 (non_fatal): Likewise.
66 * objdump.c (objdump_sprintf): Likewise.
67 * readelf.c (error): Likewise.
68 (warn): Likewise.
69
d974e256
JJ
702001-09-25 Jakub Jelinek <jakub@redhat.com>
71
72 * readelf.c (do_wide): New.
73 (options): Add --wide.
74 (usage, parse_args): Likewise.
75 (process_program_headers): Put each segment on a single line if
76 --wide is given.
77 (process_section_headers): Put each section on a single line if
78 --wide is given.
79 * doc/binutils.texi: Document it.
80 * NEWS: Likewise.
81
2f11c261
AM
822001-09-25 Alan Modra <amodra@bigpond.net.au>
83
84 * readelf.c (print_vma): Print 8 digits of low hex value.
85
1d50f91e
AJ
862001-09-24 Andreas Jaeger <aj@suse.de>
87
88 * nlmconv.c: Fix warnings about unused attributes and function
89 prototypes.
90
91 * strings.c: Add prototype for get_char.
92
38131e67
L
932000-09-19 H.J. Lu <hjl@gnu.org>
94
95 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
96 $(srcdir)/cxxfilt.man.
97 * doc/Makefile.in: Rebuild.
98
3bcfb3e4
AM
992001-09-19 Alan Modra <amodra@bigpond.net.au>
100
101 * objcopy.c (copy_main): Correct rename-section string parsing.
102 Consolidate new_name parsing, and error messages.
103
3882b010
L
1042001-09-18 Bruno Haible <haible@clisp.cons.org>
105
106 * addr2line.c: Don't include <ctype.h>.
107 (main): For gettext, also set the LC_CTYPE locate facet.
108 * ar.c (main): Likewise.
109 * coffdump.c (main): Likewise.
110 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
111 (main): For gettext, also set the LC_CTYPE locate facet.
112 Use ISALNUM instead of isalpha/isdigit.
113 * dllwrap.c: Don't include <ctype.h>.
114 (main): For gettext, also set the LC_CTYPE locate facet.
115 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
116 (main): For gettext, also set the LC_CTYPE locate facet.
117 Use TOUPPER instead of islower/toupper.
118 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
119 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
120 Use TOUPPER instead of islower/toupper.
121 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
122 * objcopy.c (main): Likewise.
123 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
124 (disassemble_bytes): Use ISPRINT instead of isprint.
125 (dump_section_stabs): Use ISDIGIT instead of isdigit.
126 (dump_data): Use ISPRINT instead of isprint.
127 (main): For gettext, also set the LC_CTYPE locate facet.
128 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
129 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
130 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
131 Use TOUPPER instead of islower/toupper.
132 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
133 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
134 (write_rc_accelerators): Use ISPRINT instead of isprint.
135 (write_rc_rcdata): Likewise.
136 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
137 * srconv.c (main): Likewise.
138 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
139 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
140 isdigit/isupper/islower.
141 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
142 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
143 stab_demangle_prefix, stab_demangle_qualified,
144 stab_demangle_template, stab_demangle_type,
145 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
146 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
147 (isgraphic): Use ISPRINT instead of isascii/isprint.
148 (main): Remove HAVE_LC_MESSAGES dependency.
149 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
150 (pbarray): Use ISPRINT instead of isprint.
151 (main): For gettext, also set the LC_CTYPE locate facet.
152 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
153 (format_from_filename): Use ISPRINT instead of isprint.
154 (main): For gettext, also set the LC_CTYPE locate facet.
155 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
156 (unicode_print): Use ISPRINT instead of isprint.
157 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
158 (stab_variable): Use ISDIGIT instead of isdigit.
159
e59b4dfb
AM
1602001-09-18 Alan Modra <amodra@bigpond.net.au>
161
162 * ar.c (print_contents): Cast args of bfd_seek to the right types.
163 Replace bfd_read call with call to bfd_bread.
164 (extract_file): Likewise.
165
166 * objdump.c (dump_section_header): Cast section->filepos to
167 unsigned long to suit printf format string.
168 * readelf.c (process_section_headers): Similarly for sh_offset.
169 (process_unwind): Likewise.
170
d132876a
NC
1712001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
172
173 * strings.c (encoding, encoding_bytes): New variables.
174 (long_options): Add --encoding.
175 (main): Accept -e and --encoding.
176 (get_char): New function. Read a, possibly wide, character from
177 the input stream.
178 (print_strings): Use get_char().
179 (usage): Document new command line option.
180 * doc/binutils.texi: Document new command line option.
181 * NEWS: Announce new command line option.
182
2b0337b0
AO
183Wed Sep 12 20:07:16 2001 Alexandre Oliva <aoliva@redhat.com>
184
185 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
186 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
187 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
188 Removed EM_CYGNUS_ARC.
189
b8720f9d
JL
190Tue Sep 4 20:26:08 2001 Jeffrey A Law (law@cygnus.com)
191
192 * readelf.c: Include elf/h8 for H8 series definitions.
193 (guess_is_rela): H8 series if RELA.
194 (dump_relocations): Handle H8 series relocations.
195
0823fbca
EC
1962001-08-31 Eric Christopher <echristo@redhat.com>
197
198 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
199
8db76d70
PT
2002001-08-29 Peter Targett <peter.targett@arccores.com>
201
202 * MAINTAINERS: Include ARC Maintainer.
203
d81d6584
BE
2042001-08-29 Ben Elliston <bje@redhat.com>
205
206 * stabs.c (stab_demangle_template): Initialise s4.
207
25a1ff5b
AM
2082001-08-27 Alan Modra <amodra@bigpond.net.au>
209
210 * readelf.c (dump_relocations): Recognise EM_PPC64.
211
a5d22d2a
TS
2122001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
213
214 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
215
62a5a82d
L
2162001-08-25 H.J. Lu <hjl@gnu.org>
217
218 * nm.c (print_width): New.
219 (display_rel_file): Set `print_width' according to
220 bfd_sprintf_vma.
221 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
222
1ae8b3d2
AO
2232001-08-24 Alexandre Oliva <aoliva@redhat.com>
224
225 * objcopy.c (use_alt_mach_code): New variable.
226 (OPTION_ALT_MACH_CODE): Define.
227 (copy_options): Added --alt-machine-code.
228 (copy_main): Handle it.
229 (copy_object): Switch to alternate machine code if requested.
230 * doc/binutils.texi: Document new option.
231 * NEWS: Likewise.
232
d1bdd336
TS
2332001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
234
235 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
236
410f7a12
L
2372001-08-21 H.J. Lu <hjl@gnu.org>
238
239 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
240 (display_debug_info): Cast for 64bit hosts.
241 (display_debug_frames): Likewise.
242 (process_mips_specific): Likewise.
243
c32144ff
AJ
2442001-08-21 Andreas Jaeger <aj@suse.de>
245
246 * coffgrok.h: Add missing parameter for prototype of coff_grok.
247
248 * sysdump.c: Add missing prototypes.
249 * srconv.c: Likewise.
250 * unwind-ia64.c: Likewise.
251 * coffdump.c: Likewise.
252
253 * sysinfo.y: Print prototypes, include <ansidecl.h>.
254
255 * coffgrok.c: Add missing prototypes, include libiberty.h instead
256 of declaring xcalloc.
257
d8180c76
L
2582001-08-10 H.J. Lu <hjl@gnu.org>
259
260 * nm.c (print_value): Add one arg, bfd *.
261 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
262 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
263 (print_symbol_info_sysv): Likewise.
264 (print_symbol_info_posix): Likewise.
265
266 * objdump.c (dump_section_header): Replace printf_vma with
267 bfd_printf_vma.
268 (print_section_stabs): Likewise.
269 (dump_bfd_header): Likewise.
270 (objdump_print_value): Replace sprintf_vma with
271 bfd_sprintf_vma.
272 (disassemble_bytes): Likewise.
273 (dump_reloc_set): Likewise.
274
0218d1e4
AJ
2752001-08-10 Andreas Jaeger <aj@suse.de>
276
277 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
278 to build warnings.
279 * configure: Regenerate.
280
2863d58a
AM
2812001-08-09 Alan Modra <amodra@bigpond.net.au>
282
283 * readelf.c: Add missing prototypes.
284 * objdump.c: Likewise. Format existing prototypes.
285
c0e047e0
AO
2862001-08-08 Alexandre Oliva <aoliva@redhat.com>
287
288 * readelf.c (display_debug_info): Add to abbrev_offset the addend
289 of any RELA relocation for the abbrev_offset memory location that
290 refers to the .debug_abbrev section symbol.
291
ff78d6d6
L
2922001-08-07 H.J. Lu <hjl@gnu.org>
293
294 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
295 (main): Return process_file ().
296
c36774d6
PB
2972001-08-05 Philip Blundell <philb@gnu.org>
298
299 * doc/binutils.texi: Use "Thumb" not "THUMB".
300
8f9d9bd9
JH
3012001-08-03 John Healy <jhealy@redhat.com>
302
303 Patch suggested by Frank Eigler <fche@redhat.com>.
304 * objdump.c (disassemble_data): Fill in section member of the
305 disasm_info structure.
306
c918cb96
DD
3072001-08-03 Tom Walsh <tom@cyberiansoftware.com>
308
309 * configure.in: Added --with-windres option.
310 * configure: Regenerated.
311
c7c55b78
NC
3122001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
313
314 * doc/binutils.texi: Use @command{name} for commands;
315 use @option{-opt} for options; use @table @env for list of options;
316 remove spaces arround [ | ] in synopsis.
317
318 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
319 center title.
320
594ef5db
NC
3212001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
322
323 * objcopy.c: Fix formatting.
324 (section_rename): New structure.
325 (OPTION_RENAME_SECTION): New switch.
326 (copy_usage): Document new switch.
327 (add_section_rename): New function: Add a node to the section
328 rename list.
329 (find_section_rename): New function: Find the new name and
330 flags for a section.
331 (setup_section): Call find_section_name to determine the name
332 of the output section.
333 (copy_main): Handle OPTION_RENAME_SECTION.
334 * binutils.texi: Document new switch.
335 * NEWS: Mention new switch.
336
1f554c69
NC
3372001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
338
339 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
340 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
341 bug-binutils@gcc.org.
342
2f83960e
AM
3432001-07-28 Matthias Kramm <kramm@quiss.org>
344
345 * bucomm.c (list_supported_architectures): New function.
346 * bucomm.h (list_supported_architectures): Declare.
347 * objdump.c (usage): Call the above.
348
20fe0649
DB
3492001-07-25 Dave Brolley <brolley@redhat.com>
350
351 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
352 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
353
1b577b00
NC
3542001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
355
356 * README: Update for 2.11. Change bug reporting email address.
357 * MAINTAINERS: Tidy up. Change bug reporting email address.
358
95fd336c
DD
3592001-07-16 DJ Delorie <dj@redhat.com>
360
5f16d855
DD
361 * resres.c (write_res_header): Align header size.
362 (res_align_file): Calculate alignment correctly.
363
95fd336c
DD
364 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
365 correct 10).
366 * resrc.c (write_rc_resource): Likewise.
367 * windres.h (SUBLANG_SHIFT): Define - as 10.
368
ed8fee27
NC
3692001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
370
371 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
372
90ab7e9a
NC
3732001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
374
375 * MAINTAINERS: Add notes about branch checkins.
376
e0c60db2
NC
3772001-07-05 Daniel Berlin <dan@cgsoftware.com>
378
379 * readelf.c (display_debug_macinfo): New function, display
380 .debug_macinfo section.
381 (do_debug_macinfo): New variable.
382 (parse_args): Handle "-w[mM]" to mean display macro info.
383 (process_section_headers): Handle debug_macinfo.
384 (debug_displays): Replace unsupported function with macinfo
0218d1e4 385 function for .debug_macinfo display.
e0c60db2
NC
386 * doc/binutils.texi: Document new command line switch.
387 * NEWS: Document new feature of readelf.
0218d1e4 388
24e01a36
L
3892001-07-05 H.J. Lu <hjl@gnu.org>
390
391 * objcopy.c (filter_symbols): Don't turn undefined symbols
392 into local.
393
4258bf4d
L
3942001-07-03 H.J. Lu <hjl@gnu.org>
395
396 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
397 $@.pod.
398 (ar.1): Likewise.
399 (dlltool.1): Likewise.
400 (nlmconv.1): Likewise.
401 (nm.1): Likewise.
402 (objcopy.1): Likewise.
403 (objdump.1): Likewise.
404 (ranlib.1): Likewise.
405 (readelf.1): Likewise.
406 (size.1): Likewise.
407 (strings.1): Likewise.
408 (strip.1): Likewise.
409 (windres.1): Likewise.
410 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
411 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
412 $(DEMANGLER_NAME).
413 (as.1): Removed.
414 * doc/Makefile.in: Regenerated.
415
7014bc31
NC
4162001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
417
418 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
419
b811889f
NC
4202001-07-01 Daniel Berlin <dan@cgsoftware.com>
421
422 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
423
12ab83a9
NC
4242001-06-29 James Cownie <jcownie@etnus.com>
425
426 * readelf.c: Support DWARF 2.1 attributes.
427
a6e9f9df
AM
4282001-06-28 Alan Modra <amodra@bigpond.net.au>
429
430 * readelf.c (GET_DATA_ALLOC): Remove.
431 (GET_DATA): Remove.
432 (get_data): New function combining above macros, with an extra
433 test for zero size.
434 (slurp_rela_relocs): Use get_data, and catch error return.
435 (slurp_rel_relocs): Likewise.
436 (get_32bit_program_headers): Likewise.
437 (get_64bit_program_headers): Likewise.
438 (get_32bit_section_headers): Likewise.
439 (get_64bit_section_headers): Likewise.
440 (get_32bit_elf_symbols): Likewise.
441 (get_64bit_elf_symbols): Likewise.
442 (process_section_headers): Likewise.
443 (process_relocs): Likewise.
444 (slurp_ia64_unwind_table): Likewise.
445 (process_unwind): Likewise.
446 (get_32bit_dynamic_segment): Likewise.
447 (get_64bit_dynamic_segment): Likewise.
448 (process_dynamic_segment): Likewise.
449 (process_version_sections): Likewise.
450 (process_symbol_table): Likewise.
451 (dump_section): Likewise.
452 (display_debug_info): Likewise.
453 (display_debug_section): Likewise.
454 (process_section_contents): Likewise.
455 (process_corefile_note_segment): Likewise.
456 (process_mips_specific): Likewise. Also free econf32, econf64.
457
af3fc3bc
AM
4582001-06-25 Alan Modra <amodra@bigpond.net.au>
459
460 * readelf.c (dump_relocations): Print "bad symbol index" if
461 symtab == NULL with non-zero symtab_index.
462 (process_relocs): Don't bomb if reloc section has no symsec.
463
6d900bf6
L
4642001-06-24 H.J. Lu <hjl@gnu.org>
465
466 * objcopy.c (strip_main): Revert the change made on 2001-05-30
467 by accident.
468 (copy_main): Apply the the change made to strip_main on
469 2001-05-30 by accident.
470
49b4e386
AJ
4712001-06-23 Andreas Jaeger <aj@suse.de>
472
473 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
474 parameter 'code'.
475 (unw_decode_x2): Likewise.
476 (unw_decode_x3): Likewise.
477 (unw_decode_x4): Likewise.
478
d8dc71e3
BE
4792001-06-23 Ben Elliston <bje@redhat.com>
480
481 * MAINTAINERS: Add myself as M88k maintainer.
482
af3bdff7
NC
4832001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
484
485 * objcopy.c (strip_main): Support -o or --output-file command lien
486 switch.
487
105e7211
L
4882001-06-19 H.J. Lu <hjl@gnu.org>
489
490 * doc/Makefile.in: Regenerated.
491
c45021f2
NC
4922001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
493
494 * readelf.c: Restore formatting.
495
4962001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
497
498 * Makefile.am: Move documentation into doc subdirectory.
499 * Makefile.in: Regenerated.
500 * binutils.texi: Move into doc subdirectory.
501 * addr2line.1: Removed.
502 * ar.1: Likewise.
503 * dlltool.1: Likewise.
504 * nlmconv.1: Likewise.
505 * nm.1: Likewise.
506 * objcopy.1: Likewise.
507 * objdump.1: Likewise.
508 * ranlib.1: Likewise.
509 * readelf.1: Likewise.
510 * size.1: Likewise.
511 * strings.1: Likewise.
512 * strip.1: Likewise.
513 * windres.1: Likewise.
514 * cxxfilt.man: Likewise.
515 * doc: New Directory.
516 * doc/Makefile.am: New file.
517 * doc/Makefile.in: Generate.
518
09ad7db3
AM
5192001-06-09 Alan Modra <amodra@bigpond.net.au>
520
521 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
522
936260fe
AM
5232001-06-01 Alan Modra <amodra@bigpond.net.au>
524
525 * MAINTAINERS: Update my email address.
526
16b2b71c
NC
5272001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
528
529 * objcopy.c: Add new switches: --keep-global-symbol,
530 --keep-symbols, --localize-symbols, --keep-global-symbols and
531 --weaken-symbols.
532 * binutils.texi: Document new switches.
533 * objcopy.1: Regenerate.
534 * NEWS: Announce new feature.
535
7036c0e1
AJ
5362001-05-28 Andreas Jaeger <aj@suse.de>
537
538 * readelf.c (display_debug_frames): Fix warnings: Remove unused
539 variables, fix format strings.
540
76a406e5
NC
5412001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
542
543 * objdump.c (disassemble_bytes): Remove section VMA adjustment
544 when computing the address of the line to show.
545
31b6fca6
RH
5462001-05-16 Richard Henderson <rth@redhat.com>
547
548 * readelf.c (do_debug_frames_interp): New.
549 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
550 (byte_get_big_endian): Likewise.
551 (parse_args) ['F']: Set do_debug_frames_interp.
552 (Frame_Chunk): Make data_factor signed, add fde_encoding.
553 (frame_display_row): Don't trunc pc_begin to int.
554 (size_of_encoded_value): New.
555 (display_debug_frames): Handle 64-bit targets. Print raw data
556 unless do_debug_frames_interp.
557 (debug_displays): Remove duplicate .debug_frame.
558
4fe85591
NC
5592001-05-15 Ralf Baechle <ralf@gnu.org>
560
561 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
562 The former constant was never in active use and is used otherwise
563 by the ABI.
564
579f31ac
JJ
5652001-05-11 Jakub Jelinek <jakub@redhat.com>
566
567 * readelf.c (process_unwind): Print all unwind sections, not just
568 one.
569
78f4a3f7
AM
5702001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
571
572 * readelf.c (process_unwind): Remove const specifier.
573
1c529ca6
NC
5742001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
575
576 * strings.c (isgraphic): Do not use isascii() unless it is needed
577 for isprint() to work.
578 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
579
87e6d782
NC
5802001-04-27 Johan Rydberg <jrydberg@opencores.org>
581
582 * NEWS: Announce support for OpenRISC.
583
4bd3d870 5842001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
49b4e386
AJ
585
586 * dlltool.c (do_default_excludes): Initialise to true.
587
21211521
AM
5882001-04-10 Alan Modra <amodra@one.net.au>
589
590 * MAINTAINERS: Update my email address
591 * nm.c (print_symbol_info_bsd): Use a simple printf string.
592
0c66b61e 5932001-04-05 Hans-Peter Nilsson <hp@axis.com>
ff94ebf2
HPN
594
595 * readelf.c (display_debug_lines): Fix typo for "Prologue".
596
e58d53af
L
5972001-03-30 H.J. Lu <hjl@gnu.org>
598
599 * readelf.c (process_unwind): Just return if do_unwind is 0.
600
bee72332
DD
6012001-03-28 Roger Sayle <roger@metaphorics.com>
602
603 * dlltool.c (make_one_lib_file): Fix section flags for
604 .text, .data and .bss in stub ds*.o files to match those
605 generated by gas.
606
f1467e33
L
6072001-03-29 H.J. Lu <hjl@gnu.org>
608
609 * readelf.c (process_unwind): Only do unwind sections for
610 IA64.
611
1c6fb4fe
L
6122001-03-28 H.J. Lu <hjl@gnu.org>
613
614 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
615 * Makefile.in: Regenerate.
616
0879a67a
AJ
6172001-03-26 Andreas Jaeger <aj@suse.de>
618
619 * binutils.texi (nm): Fix texi syntax.
620
0285c67d
NC
6212001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
622
623 * binutils.texi: Put @c man begin and @c man end indications
624 to generate man pages using texi2pod and pod2man. Put @c man title
625 to identify each man. Add SEEALSO entries.
626 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
627 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
628 sort the list.
629 (*.1): Build the man pages from binutils.texi.
630 * Makefile.in: Regenerate.
631
04847a4d
CF
6322001-03-13 Eric Kohl <ekohl@rz-online.de>
633
634 * defparse.y (opt_equal_name): allow "." in name.
635 * dlltool.c (def_exports): Added ability to generate forwarded exports.
636 (gen_exp_file): Likewise.
637
43a0748c
NC
6382001-03-12 Stefan Geuken <mail@stefan-geuken.de>
639
640 * NEWS: Document addition of -B switch to objcopy.
641 * binutils.texi: Document addition of -B switch to objcopy.
642 * objcopy.c: (copy_options): Add --binary-architecture.
643 (copy_usage): Document -B/--binary-architecture.
644 (copy_main): Support -B/--binary-architecture. Set
645 bfd_external_binary_architecture.
0879a67a 646
b7498e0e
NC
6472001-03-11 Andreas Jaeger <aj@suse.de>
648
649 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
650 (dump_relocations): Likewise.
651 (get_machine_name): Likewise.
652
a59e3bd7
NC
6532001-02-28 Nick Clifton <nickc@redhat.com>
654
655 * readelf.c: (struct unw_aux_info): Remove const modifier for
656 'strtab' field.
657 (process_unwind): Remove non-K&R compliant LHS type cast in call
658 to GET_DATA_ALLOC macro.
659
a5bcd848
PB
6602001-02-28 Philip Blundell <pb@futuretv.com>
661
662 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
663 ABI is in use; remove ambiguity between the "unknown" EABI and
664 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
665 renamed EF_xx constants.
666
27b7e12d
AM
6672001-02-27 Alan Modra <alan@linuxcare.com.au>
668
669 * configure.in (BFD_VERSION): New.
670 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
671 * configure: Regenerate.
672 * Makefile.am: Run "make dep-am"
673 * Makefile.in: Regenerate.
674
a9f10786
NC
6752001-02-14 Nick Clifton <nickc@redhat.com>
676
677 * MAINTAINERS: Add "Obvious Fix" rule.
678
3c44da9a
MS
6792001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
680
681 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
682 literal concatenation.
683
ecd03389
MS
6842001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
685
686 * readelf.c (struct unw_aux_info): Remove const from the info member.
687 (process_unwind): Don't type-cast the third argument to the
688 GET_DATA_ALLOC macro.
689
88ec60c7
NC
6902001-02-11 Nick Clifton <nickc@redhat.com>
691
692 * readelf.c (dump_relocations): Free corrected allocated
693 array.
694 (process_unwind): Fix compile time warning.
695
f5e21966
NC
6962001-02-10 Nick Clifton <nickc@redhat.com>
697
698 * binutils.texi: Document new --unwind option to readelf.
699
a85d7ed0
NC
7002001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
701
702 * readelf.c: Add linux target for S/390.
703
7bb10502
AM
7042001-02-10 Alan Modra <alan@linuxcare.com.au>
705
706 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
707 printf is a macro.
708
8ca8f343
HPN
7092001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
710
711 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
712 * aclocal.m4: Regenerate.
713 * configure: Regenerate.
714
7340082d
NC
7152001-02-07 Todd Vierling <tv@wasabisystems.com>
716
717 * bucomm.c (bfd_target_vector): Change extern array to pointer.
718 * objdump.c (bfd_target_vector): Likewise.
719
4d6ed7c8
NC
7202001-02-07 David Mosberger <davidm@hpl.hp.com>
721
722 * readelf.c (process_unwind): New function.
723 (slurp_ia64_unwind_table): Ditto.
724 (dump_ia64_unwind): Ditto.
725 (find_symbol_for_address): Ditto.
726 (slurp_rela_relocs): New function (split off from dump_relocations()).
727 (slurp_rel_relocs): Ditto.
728 (parse_args): Handle '-u' option.
729
730 * unwind-ia64.c: New file.
731 * unwind-ia64.h: New file.
732 * Makefile.am: Include unwind-ia64.c in readelf build.
733 * Makefile.in: Regenerate.
7340082d 734 * po/binutils.pot: Regenerate.
4d6ed7c8 735
c7217458
PB
7362001-02-04 Philip Blundell <philb@gnu.org>
737
738 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
739 * configure: Regenerate.
740
956eedd4
AM
7412001-01-31 Steve deRosier <sderosier@vari-lite.com>
742
743 * ieee.c (ieee_add_bb11): Don't check for backslashes
744 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
745
8855cbca
AM
7462001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
747
c7f2731e
AM
748 * ieee.c: Update copyright.
749 (ieee_start_compilation_unit): Don't check for backslashes
750 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
751
8855cbca
AM
752 * stabs.c: Update copyright. Include "filenames.h".
753 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
754
329de803 7552001-01-23 Jakub Jelinek <jakub@redhat.com>
00d93f34
JJ
756
757 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
758 sections are present before using them. Remove code duplication.
759 (process_symbol_table): Check if VERDEF or VERNEED sections are
760 present before using them.
761
23719f39
NC
7622001-01-17 Nick Clifton <nickc@redhat.com>
763
764 * objcopy.c (copy_object): Fail if attempting to convert the
765 endianness of the input object file.
766
767 * binutils.texi: Explain that objcopy cannot convert endianness.
c7f2731e 768
f726e849
NC
7692001-01-16 Nick Clifton <nickc@redhat.com>
770
771 * readelf.c (string_table_length): New variable.
772 (SECTION_NAME): Catch out of range indices and missing section
773 pointers.
774 (process_section_headers): Delete useless local variable
775 string_table_offset. Set the value of string_table_length
776 after loading the string table.
777 (process_mips_specific): Use SECTION_NAME macro.
778 (process_file): Set string_table_length to 0 when it is freed.
779
d0398d6a
NC
7802001-01-12 Nick Clifton <nickc@redhat.com>
781
782 * version.c (print_version): Update copyright date.
783
0d2bcfaf
NC
7842001-01-11 Peter Targett <peter.targett@arccores.com>
785
786 * readelf.c (dump_relocations): Include selection with EM_ARC.
787 (get_machine_name) Update name to "ARC".
788
8b1e6df3
NC
7892001-01-09 Nick Clifton <nickc@redhat.com>
790
791 * Makefile.am: Add rule to build objdump.o from objdump.c and
792 using OBJDUMP_DEFS.
793 * Makefile.in: Regenerate.
794
795 * configure.in: Define OBJDUMP_DEFS. Default to empty.
796 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
797 -DDISASSEMBLER_NEEDS_RELOCS.
34cc70e3 798 * configure: Regenerate.
8b1e6df3
NC
799
800 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
801 is defined read in the relocs even if dump_reloc_info is
802 false.
803
2f952d20
PB
8042001-01-07 Philip Blundell <philb@gnu.org>
805
806 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
807 `bug-binutils'.
808 * README: Likewise.
809
a8c548cb
NC
8102000-12-19 Nick Clifton <nickc@redhat.com>
811
812 * dlltool.c: Add missing support for arm-epoc-pe.
813 * configure.in: Add missing support for arm-epoc-pe.
814 * configure: Regenerate.
815
cc5fda35
NC
8162000-12-15 Nick Clifton <nickc@redhat.com>
817
818 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
819 Mode parts of the x86 port.
820
bcedfee6
NC
8212000-12-04 Andreas Jaeger <aj@suse.de>
822
823 * readelf.c (guess_is_rela): Add EM_X86_64.
824 (dump_relocations): Add EM_X86_64.
825 (get_machine_name): Add EM_X86_64.
826 Include "elf/x86-64.h".
827
584da044
NC
8282000-12-12 Nick Clifton <nickc@redhat.com>
829
830 * readelf.c: Fix formatting.
831
b8355149
JH
832Mon Dec 11 14:30:21 MET 2000 Jan Hubicka <jh@suse.cz>
833
834 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
835
a98cc2b2
AH
8362000-12-07 Andrew Haley <aph@redhat.com>
837
838 * readelf.c (display_debug_frames): Only display columns that are
839 referenced by the frame debug info.
840
c7987a69
NC
8412000-12-05 Nick Clifton <nickc@redhat.com>
842
843 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
844
09fd7e38
JM
8452000-12-04 Jason Merrill <jason@redhat.com>
846
847 * readelf.c (process_section_headers): Handle linkonce.wi sections.
848 (display_debug_section): Likewise.
849 (display_debug_info): Display CU header before bailing.
850
e7af610e
NC
8512000-12-01 Chris Demetriou <cgd@sibyte.com>
852
09fd7e38
JM
853 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
854 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
855 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
e7af610e 856
09fd7e38
JM
857 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
858 and E_MIPS_ARCH_64.
84ea6cf2 859
09fd7e38
JM
860 * readelf.c (get_machine_flags): Add case for
861 E_MIPS_MACH_SB1.
c6c98b38 862
75066968
DD
8632000-11-30 Richard Earnshaw <rearnsha@arm.com>
864
865 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
866
5c4666ea
HPN
8672000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
868