Use bfd_get_filename throughout binutils
[deliverable/binutils-gdb.git] / binutils / ChangeLog-0001
... / ...
CommitLineData
12001-12-20 Julian v. Bock <julian@wongr.net>
2
3 * readelf.c (print_symbol): New function: Print a formatted symbol
4 name. If --wide is specified do not truncate it.
5 (dump_relocations): Use print_symbol() to print symbol names.
6 (process_symbol_table): Likewise.
7 (process_syminfo): Likewise.
8 (process_mips_specific): Likewise.
9 (usage): Document new feature of --wide switch.
10 * doc/binutils.texi (objdump): Document additional behaviour of
11 --wide.
12
132001-12-18 Michael Snyder <msnyder@redhat.com>
14
15 * objcopy.c (copy_file): Accept corefiles (format bfd_core).
16 (copy_object): Don't set the start address or flags of a core file.
17 (copy_section): Don't relocate a core file. Don't copy contents
18 if the input section has the contents flag set, but the output
19 section does not (which happens with the fake 'note' pseudo-
20 sections that BFD creates for corefiles).
21
222001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
23
24 * readelf.c (get_machine_flags): Recognize header flags for ABI and
25 ASE extensions. More robust code for ISA checking. Ignore empty fields
26 in header flags for GNU extensions.
27
282001-12-18 Alan Modra <amodra@bigpond.net.au>
29
30 * objcopy.c (copy_archive): Set output bfd format outside the loop.
31
322001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
33
34 * po/ja.po: Import from translation project.
35 * configure.in (ALL_LINGUAS): Add ja.
36 * configure: Regenerate.
37
382001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
39
40 * addr2line.c (main): Protoype.
41 * ar.c (main): Protoype.
42 * nm.c (main): Protoype.
43 * objcopy.c (main): Protoype.
44 * objdump.c (main): Protoype.
45 * size.c (main): Protoype.
46 * strings.c (main): Protoype.
47
482001-12-17 Alan Modra <amodra@bigpond.net.au>
49
50 * readelf.c (symtab_shndx_hdr): New global.
51 (SECTION_HEADER_INDEX): Define.
52 (SECTION_HEADER_NUM): Define.
53 (SECTION_HEADER): Define.
54 (GET_ELF_SYMBOLS): Pass two params rather than three.
55 (get_32bit_elf_symbols): Take file and section args. Read and
56 use SHT_SYMTAB_SHNDX.
57 (get_64bit_elf_symbols): Likewise.
58 (dump_relocations): Use SECTION_HEADER to index "section_headers".
59 (process_section_headers): Likewise. Use SECTION_HEADER_NUM too.
60 Remember symtab_shdx_hdr.
61 (process_program_headers): Scan from index 1 for segment map.
62 (slurp_ia64_unwind_table): Use SECTION_HEADER to index
63 "section_headers".
64 (process_relocs): Likewise. Also adjust call to GET_ELF_SYMBOLS.
65 (process_unwind): Likewise.
66 (process_version_sections): Likewise.
67 (process_symbol_table): Likewise.
68 (display_debug_info): Likewise.
69 (process_dynamic_segment): Fake up a symtab section for changed
70 GET_ELF_SYMBOLS.
71 (get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
72 (process_program_headers): Kill signed/unsigned warning.
73 (load_debug_str): Likewise.
74 (display_debug_info): Likewise.
75
762001-12-13 Jakub Jelinek <jakub@redhat.com>
77
78 * readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.
79
802001-12-11 Alan Modra <amodra@bigpond.net.au>
81
82 * readelf.c (process_file_header): Print extended e_shnum and
83 e_shdtrndx values. Set elf_header values for same.
84 (get_32bit_section_headers): Add "num" arg to read "num" headers.
85 (get_64bit_section_headers): Likewise.
86 (process_section_headers): Update calls.
87 (get_file_header): Call get_32bit_section_headers or 64bit variant.
88
892001-12-10 Jakub Jelinek <jakub@redhat.com>
90
91 * objcopy.c (setup_section): Copy entsize.
92
932001-12-07 Geoffrey Keating <geoffk@redhat.com>
94
95 * readelf.c (guess_is_rela): Add support for stormy16.
96 (dump_relocations): Likewise.
97 (get_machine_name): Likewise.
98
992001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
100
101 * dllwrap.c (main) Replace multiple strings describing a
102 single error with a single, newline escaped sentence to permit
103 better translation into foreign languages.
104
105 * readelf.c (get_elf_class): Remove internalionalisation of ELF
106 class names.
107
1082001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
109
110 * strings.c (get_char): Initialize value.
111
1122001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
113
114 * arlex.l: Silence compile warnings.
115 * arsup.h: Likewise. Fix formatting.
116
1172001-12-04 Jakub Jelinek <jakub@redhat.com>
118
119 * strings.c: Include config.h before bfd.h.
120 (file_off): New type.
121 (file_open): Define.
122 (print_strings): Use file_off instead of file_ptr. Print addresses
123 which don't fit into long correctly.
124 (get_char): Use file_off instead of file_ptr. Use getc_unlocked if
125 available.
126 (strings_file): Use file_off instead of file_ptr. Use file_open.
127 * configure.in: Check for getc_unlocked.
128 Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
129 be defined for it.
130 * configure: Rebuilt.
131 * config.h.in: Rebuilt.
132
1332001-11-29 H.J. Lu <hjl@gnu.org>
134
135 * bucomm.c (make_tempname): Revert the changes made on
136 2001-11-14 and 2001-11-12. They won't work with directories.
137
1382001-11-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
139
140 * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
141 CFLAGS_FOR_TARGET to runtest in environment.
142 * Makefile.in: Rebuild.
143 * doc/Makefile.in: Rebuild.
144
1452001-11-28 Mike Stump <mrs@wrs.com>
146
147 * objcopy.c (setup_section): Preserve SEC_RELOC when
148 --set-section-flags is used.
149
1502001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
151
152 * readelf.c (do_debug_str): New variable.
153 (display_debug_str): New function: Display the contents of a
154 .debug_str section.
155 (load_debug_str): New function: Load in the contents of a
156 .debug_str section.
157 (free_debug_str): New function: Free the memory used by
158 load_debug_str().
159 (fetch_indirect_string): Retrieve a string from the .debug_str
160 section.
161 (usage): Add -ws.
162 (parse_args): Accept -ws.
163 (process_section_headers): Allow the display of the .debug_str
164 section.
165 (read_and_display_attr_value): Use fetch_indirect_string. Show
166 offset into .debug_str section.
167 (display_debug_info): Use load_debug_str and free_debug_str.
168 (debug_displays): Add .debug_str.
169 * doc/binutils.texi: Document -ws.
170
1712001-11-19 Andreas Jaeger <aj@suse.de>
172
173 * testsuite/binutils-all/objdump.exp: Add x86-64.
174
1752001-11-15 Andreas Schwab <schwab@suse.de>
176
177 * readelf.c: Fix warnings without terminating newline.
178
1792001-11-15 Alan Modra <amodra@bigpond.net.au>
180
181 * doc/binutils.texi (objdump): Document ppc -M options.
182
1832001-11-14 Andreas Jaeger <aj@suse.de>
184
185 * doc/binutils.texi (objdump): Fix description to use x86-64.
186
1872001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
188
189 * bucomm.c (make_tempname): Use mkstemps instead of mkstemp, since
190 not all systems provide mkstemp.
191
1922001-11-14 Alan Modra <amodra@bigpond.net.au>
193
194 * doc/binutils.texi (objdump): Document x86 -M options.
195
1962001-11-13 Keith Walker <keith.walker@arm.com>
197
198 * readelf.c (read_and_display_attr_value): New function to
199 handle DW_FORM_indirect.
200 (read_and_display_attr): Use it.
201
2022001-11-13 Geoffrey Keating <geoffk@redhat.com>
203
204 * readelf.c (display_debug_lines): Deal with unknown standard
205 opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
206 DW_LNS_set_isa.
207
2082001-11-13 Timothy Wall <twall@alum.mit.edu>
209
210 * MAINTAINERS: Add self as tic54x maintainer. This target
211 includes the IBM C54XDSP clone.
212
2132001-11-12 * Steven J. Hill <sjhill@realitydiluted.com>
214
215 * bucomm.c (make_tempname): Use mkstemp in place of mktemp.
216
2172001-11-09 Jeffrey A Law (law@cygnus.com)
218
219 * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
220 (unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
221 (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
222 (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
223 (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
224 (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
225 (unw_decode_b2, unw_decode_b3_b4): Likewise.
226
227 * readelf.c (get_elf_class): Fix ISO portability glitch.
228 (get_data_encoding, get_osabi_name, request_dump): Likewise.
229
2302001-11-07 Jakub Jelinek <jakub@redhat.com>
231
232 * readelf.c (debug_str, debug_str_size): New.
233 (display_debug_abbrev): If no abbrevs were read, skip the CU.
234 Call free_abbrevs.
235 (read_and_display_addr): Handle DW_FORM_strp.
236 (display_debug_info): Read .debug_str section if present,
237 so that DW_FORM_strp can be handled.
238 Fix test for non-existant .debug_abbrev section.
239
2402001-11-05 Jakub Jelinek <jakub@redhat.com>
241
242 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
243
244 * arsup.c (ar_open): Prepend tmp- to basename, not whole path.
245
2462001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
247
248 * MAINTAINERS: Add self as s390/s390x maintainer.
249
2502001-11-02 Tom Rix <trix@bluey.cygnus.com>
251
252 * MAINTAINERS: Add self as PPC XCOFF maintainer.
253
2542001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
255
256 * configure.in (ALL_LINGUAS): Add "fr" and "tr".
257 * configure: Regernate.
258 * po/fr.po: New file.
259 * po/tr.po: New file.
260
2612001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
262
263 * MAINTAINERS: Add self as MMIX port maintainer.
264 * readelf.c: Include elf/mmix.h.
265 (guess_is_rela): MMIX is RELA.
266 (dump_relocations): Handle MMIX relocations.
267 * Makefile.am: Regenerate dependencies.
268 * Makefile.in: Regenerate.
269
2702001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
271
272 * readelf.c (parse_args): Handle multiple options to the -w
273 switch.
274
2752001-10-12 Jakub Jelinek <jakub@redhat.com>
276
277 * readelf.c (get_section_type_name): Don't print SHT_ prefix for
278 LOPROC, LOOS and LOUSER.
279
2802001-10-11 J"orn Rennecke <amylaar@onetel.net.uk>
281
282 * MAINTAINERS: Update my email address.
283
2842001-10-03 Alan Modra <amodra@bigpond.net.au>
285
286 * doc/Makefile.in: Regenerate.
287 * configure: Regenerate.
288
2892001-10-02 Nick Clifton <nickc@cambridge.redhat.com>
290
291 * readelf.c (display_debug_line, display_debug_pubnames,
292 display_debug_info, display_debug_frames): Detect and warn
293 about 64-bit format entries.
294 (display_debug_aranges): Reword 64-bit warning.
295 (debug_displays): Add .debug_pubtypes as a known, but not yet
296 supported, debug section.
297
2982001-10-02 Alan Modra <amodra@bigpond.net.au>
299
300 * coffdump.c (PROGRAM_VERSION): Delete.
301 (main <'V'>): Call print_version.
302 * srconv.c: Likewise.
303 * sysdump.c: Likewise.
304 * version.c (program_version): Remove.
305 (print_version): Use BFD_VERSION_STRING. Just print the current
306 year in copyright message.
307 * addr2line.c (program_version): Remove unused declaration.
308 * objdump.c (display_target_tables): Use BFD_VERSION_STRING in
309 place of BFD_VERSION.
310 * Makefile.am (Makefile): Depend on bfd/configure.in.
311 (cplus-dem.o): Depend on Makefile.
312 Run "make dep-am".
313 * Makefile.in: Regenerate.
314
3152001-10-01 Nick Clifton <nickc@cambridge.redhat.com>
316
317 * readelf.c (display_debug_aranges): Detect and warn about DWARF64
318 format .debug_arange sections.
319 (main): Add missing prototype.
320
3212001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
322
323 * Makefile.am: Update dependencies with "make dep-am".
324 * Makefile.in: Regenerate.
325
3262001-09-28 Richard Henderson <rth@redhat.com>
327
328 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
329
3302001-09-26 Alan Modra <amodra@bigpond.net.au>
331
332 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
333 VA_CLOSE.
334 (non_fatal): Likewise.
335 * objdump.c (objdump_sprintf): Likewise.
336 * readelf.c (error): Likewise.
337 (warn): Likewise.
338
3392001-09-25 Jakub Jelinek <jakub@redhat.com>
340
341 * readelf.c (do_wide): New.
342 (options): Add --wide.
343 (usage, parse_args): Likewise.
344 (process_program_headers): Put each segment on a single line if
345 --wide is given.
346 (process_section_headers): Put each section on a single line if
347 --wide is given.
348 * doc/binutils.texi: Document it.
349 * NEWS: Likewise.
350
3512001-09-25 Alan Modra <amodra@bigpond.net.au>
352
353 * readelf.c (print_vma): Print 8 digits of low hex value.
354
3552001-09-24 Andreas Jaeger <aj@suse.de>
356
357 * nlmconv.c: Fix warnings about unused attributes and function
358 prototypes.
359
360 * strings.c: Add prototype for get_char.
361
3622000-09-19 H.J. Lu <hjl@gnu.org>
363
364 * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
365 $(srcdir)/cxxfilt.man.
366 * doc/Makefile.in: Rebuild.
367
3682001-09-19 Alan Modra <amodra@bigpond.net.au>
369
370 * objcopy.c (copy_main): Correct rename-section string parsing.
371 Consolidate new_name parsing, and error messages.
372
3732001-09-18 Bruno Haible <haible@clisp.cons.org>
374
375 * addr2line.c: Don't include <ctype.h>.
376 (main): For gettext, also set the LC_CTYPE locate facet.
377 * ar.c (main): Likewise.
378 * coffdump.c (main): Likewise.
379 * dlltool.c: Include "safe-ctype.h" instead of <ctype.h>.
380 (main): For gettext, also set the LC_CTYPE locate facet.
381 Use ISALNUM instead of isalpha/isdigit.
382 * dllwrap.c: Don't include <ctype.h>.
383 (main): For gettext, also set the LC_CTYPE locate facet.
384 * nlmconv.c: Include "safe-ctype.h" instead of <ctype.h>.
385 (main): For gettext, also set the LC_CTYPE locate facet.
386 Use TOUPPER instead of islower/toupper.
387 * nlmheader.y: Include "safe-ctype.h" instead of <ctype.h>.
388 (yylex): Use ISSPACE/ISALNUM instead of isspace/isalnum.
389 Use TOUPPER instead of islower/toupper.
390 * nm.c (main): For gettext, also set the LC_CTYPE locate facet.
391 * objcopy.c (main): Likewise.
392 * objdump.c: Include "safe-ctype.h" instead of <ctype.h>.
393 (disassemble_bytes): Use ISPRINT instead of isprint.
394 (dump_section_stabs): Use ISDIGIT instead of isdigit.
395 (dump_data): Use ISPRINT instead of isprint.
396 (main): For gettext, also set the LC_CTYPE locate facet.
397 * rclex.l: Include "safe-ctype.h" instead of <ctype.h>.
398 (cpp_line, handle_quotes): Use ISSPACE instead of isspace.
399 * rcparse.y: Include "safe-ctype.h" instead of <ctype.h>.
400 Use TOUPPER instead of islower/toupper.
401 * readelf.c (main): For gettext, also set the LC_CTYPE locate facet.
402 * resrc.c: Include "safe-ctype.h" instead of <ctype.h>.
403 (write_rc_accelerators): Use ISPRINT instead of isprint.
404 (write_rc_rcdata): Likewise.
405 * size.c (main): For gettext, also set the LC_CTYPE locate facet.
406 * srconv.c (main): Likewise.
407 * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
408 (parse_number): Use ISDIGIT/ISUPPER/ISLOWER instead of
409 isdigit/isupper/islower.
410 (parse_stab_string, parse_stab_type, parse_stab_argtypes,
411 parse_stab_array_type, stab_demangle_count, stab_demangle_get_count,
412 stab_demangle_prefix, stab_demangle_qualified,
413 stab_demangle_template, stab_demangle_type,
414 stab_demangle_fund_type): Use ISDIGIT instead of isdigit.
415 * strings.c: Include "safe-ctype.h" instead of <ctype.h>.
416 (isgraphic): Use ISPRINT instead of isascii/isprint.
417 (main): Remove HAVE_LC_MESSAGES dependency.
418 * sysdump.c: Include "safe-ctype.h" instead of <ctype.h>.
419 (pbarray): Use ISPRINT instead of isprint.
420 (main): For gettext, also set the LC_CTYPE locate facet.
421 * windres.c: Include "safe-ctype.h" instead of <ctype.h>.
422 (format_from_filename): Use ISPRINT instead of isprint.
423 (main): For gettext, also set the LC_CTYPE locate facet.
424 * winduni.c: Include "safe-ctype.h" instead of <ctype.h>.
425 (unicode_print): Use ISPRINT instead of isprint.
426 * wrstabs.c: Include "safe-ctype.h" instead of <ctype.h>.
427 (stab_variable): Use ISDIGIT instead of isdigit.
428
4292001-09-18 Alan Modra <amodra@bigpond.net.au>
430
431 * ar.c (print_contents): Cast args of bfd_seek to the right types.
432 Replace bfd_read call with call to bfd_bread.
433 (extract_file): Likewise.
434
435 * objdump.c (dump_section_header): Cast section->filepos to
436 unsigned long to suit printf format string.
437 * readelf.c (process_section_headers): Similarly for sh_offset.
438 (process_unwind): Likewise.
439
4402001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
441
442 * strings.c (encoding, encoding_bytes): New variables.
443 (long_options): Add --encoding.
444 (main): Accept -e and --encoding.
445 (get_char): New function. Read a, possibly wide, character from
446 the input stream.
447 (print_strings): Use get_char().
448 (usage): Document new command line option.
449 * doc/binutils.texi: Document new command line option.
450 * NEWS: Announce new command line option.
451
4522001-09-12 Alexandre Oliva <aoliva@redhat.com>
453
454 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
455 get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
456 EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
457 Removed EM_CYGNUS_ARC.
458
4592001-09-04 Jeffrey A Law (law@cygnus.com)
460
461 * readelf.c: Include elf/h8 for H8 series definitions.
462 (guess_is_rela): H8 series if RELA.
463 (dump_relocations): Handle H8 series relocations.
464
4652001-08-31 Eric Christopher <echristo@redhat.com>
466
467 * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
468
4692001-08-29 Peter Targett <peter.targett@arccores.com>
470
471 * MAINTAINERS: Include ARC Maintainer.
472
4732001-08-29 Ben Elliston <bje@redhat.com>
474
475 * stabs.c (stab_demangle_template): Initialise s4.
476
4772001-08-27 Alan Modra <amodra@bigpond.net.au>
478
479 * readelf.c (dump_relocations): Recognise EM_PPC64.
480
4812001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
482
483 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
484
4852001-08-25 H.J. Lu <hjl@gnu.org>
486
487 * nm.c (print_width): New.
488 (display_rel_file): Set `print_width' according to
489 bfd_sprintf_vma.
490 (print_symbol_info_bsd): Check `print_width' instead of BFD64.
491
4922001-08-24 Alexandre Oliva <aoliva@redhat.com>
493
494 * objcopy.c (use_alt_mach_code): New variable.
495 (OPTION_ALT_MACH_CODE): Define.
496 (copy_options): Added --alt-machine-code.
497 (copy_main): Handle it.
498 (copy_object): Switch to alternate machine code if requested.
499 * doc/binutils.texi: Document new option.
500 * NEWS: Likewise.
501
5022001-08-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
503
504 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
505
5062001-08-21 H.J. Lu <hjl@gnu.org>
507
508 * readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
509 (display_debug_info): Cast for 64bit hosts.
510 (display_debug_frames): Likewise.
511 (process_mips_specific): Likewise.
512
5132001-08-21 Andreas Jaeger <aj@suse.de>
514
515 * coffgrok.h: Add missing parameter for prototype of coff_grok.
516
517 * sysdump.c: Add missing prototypes.
518 * srconv.c: Likewise.
519 * unwind-ia64.c: Likewise.
520 * coffdump.c: Likewise.
521
522 * sysinfo.y: Print prototypes, include <ansidecl.h>.
523
524 * coffgrok.c: Add missing prototypes, include libiberty.h instead
525 of declaring xcalloc.
526
5272001-08-10 H.J. Lu <hjl@gnu.org>
528
529 * nm.c (print_value): Add one arg, bfd *.
530 (print_value): Replace fprintf_vma with bfd_fprintf_vma.
531 (print_symbol_info_bsd): Also pass `abfd' to print_value ().
532 (print_symbol_info_sysv): Likewise.
533 (print_symbol_info_posix): Likewise.
534
535 * objdump.c (dump_section_header): Replace printf_vma with
536 bfd_printf_vma.
537 (print_section_stabs): Likewise.
538 (dump_bfd_header): Likewise.
539 (objdump_print_value): Replace sprintf_vma with
540 bfd_sprintf_vma.
541 (disassemble_bytes): Likewise.
542 (dump_reloc_set): Likewise.
543
5442001-08-10 Andreas Jaeger <aj@suse.de>
545
546 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
547 to build warnings.
548 * configure: Regenerate.
549
5502001-08-09 Alan Modra <amodra@bigpond.net.au>
551
552 * readelf.c: Add missing prototypes.
553 * objdump.c: Likewise. Format existing prototypes.
554
5552001-08-08 Alexandre Oliva <aoliva@redhat.com>
556
557 * readelf.c (display_debug_info): Add to abbrev_offset the addend
558 of any RELA relocation for the abbrev_offset memory location that
559 refers to the .debug_abbrev section symbol.
560
5612001-08-07 H.J. Lu <hjl@gnu.org>
562
563 * readelf.c (process_file): Return 0 if OK, otherwise return 1.
564 (main): Return process_file ().
565
5662001-08-05 Philip Blundell <philb@gnu.org>
567
568 * doc/binutils.texi: Use "Thumb" not "THUMB".
569
5702001-08-03 John Healy <jhealy@redhat.com>
571
572 Patch suggested by Frank Eigler <fche@redhat.com>.
573 * objdump.c (disassemble_data): Fill in section member of the
574 disasm_info structure.
575
5762001-08-03 Tom Walsh <tom@cyberiansoftware.com>
577
578 * configure.in: Added --with-windres option.
579 * configure: Regenerated.
580
5812001-07-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
582
583 * doc/binutils.texi: Use @command{name} for commands;
584 use @option{-opt} for options; use @table @env for list of options;
585 remove spaces arround [ | ] in synopsis.
586
587 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for the
588 center title.
589
5902001-07-31 Nick Clifton <nickc@cambridge.redhat.com>
591
592 * objcopy.c: Fix formatting.
593 (section_rename): New structure.
594 (OPTION_RENAME_SECTION): New switch.
595 (copy_usage): Document new switch.
596 (add_section_rename): New function: Add a node to the section
597 rename list.
598 (find_section_rename): New function: Find the new name and
599 flags for a section.
600 (setup_section): Call find_section_name to determine the name
601 of the output section.
602 (copy_main): Handle OPTION_RENAME_SECTION.
603 * binutils.texi: Document new switch.
604 * NEWS: Mention new switch.
605
6062001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
607
608 * README: Rename bug-gnu-utils@gcc.org to bug-binutils@gcc.org.
609 * MAINTAINERS: Rename bug-gnu-utils@gcc.org to
610 bug-binutils@gcc.org.
611
6122001-07-28 Matthias Kramm <kramm@quiss.org>
613
614 * bucomm.c (list_supported_architectures): New function.
615 * bucomm.h (list_supported_architectures): Declare.
616 * objdump.c (usage): Call the above.
617
6182001-07-25 Dave Brolley <brolley@redhat.com>
619
620 * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
621 (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
622
6232001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
624
625 * README: Update for 2.11. Change bug reporting email address.
626 * MAINTAINERS: Tidy up. Change bug reporting email address.
627
6282001-07-16 DJ Delorie <dj@redhat.com>
629
630 * resres.c (write_res_header): Align header size.
631 (res_align_file): Calculate alignment correctly.
632
633 * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
634 correct 10).
635 * resrc.c (write_rc_resource): Likewise.
636 * windres.h (SUBLANG_SHIFT): Define - as 10.
637
6382001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
639
640 * MAINTAINERS: Add Christian Groessler as maintainer for z8k port.
641
6422001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
643
644 * MAINTAINERS: Add notes about branch checkins.
645
6462001-07-05 Daniel Berlin <dan@cgsoftware.com>
647
648 * readelf.c (display_debug_macinfo): New function, display
649 .debug_macinfo section.
650 (do_debug_macinfo): New variable.
651 (parse_args): Handle "-w[mM]" to mean display macro info.
652 (process_section_headers): Handle debug_macinfo.
653 (debug_displays): Replace unsupported function with macinfo
654 function for .debug_macinfo display.
655 * doc/binutils.texi: Document new command line switch.
656 * NEWS: Document new feature of readelf.
657
6582001-07-05 H.J. Lu <hjl@gnu.org>
659
660 * objcopy.c (filter_symbols): Don't turn undefined symbols
661 into local.
662
6632001-07-03 H.J. Lu <hjl@gnu.org>
664
665 * doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
666 $@.pod.
667 (ar.1): Likewise.
668 (dlltool.1): Likewise.
669 (nlmconv.1): Likewise.
670 (nm.1): Likewise.
671 (objcopy.1): Likewise.
672 (objdump.1): Likewise.
673 (ranlib.1): Likewise.
674 (readelf.1): Likewise.
675 (size.1): Likewise.
676 (strings.1): Likewise.
677 (strip.1): Likewise.
678 (windres.1): Likewise.
679 (cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
680 ($(DEMANGLER_NAME).1): Also substitute cxxfilt with
681 $(DEMANGLER_NAME).
682 (as.1): Removed.
683 * doc/Makefile.in: Regenerated.
684
6852001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
686
687 * MAINTAINERS: Change MIPS maintainer to Eric Christopher.
688
6892001-07-01 Daniel Berlin <dan@cgsoftware.com>
690
691 * readelf.c: Support DWARF 2.1 tags, encodings, languages.
692
6932001-06-29 James Cownie <jcownie@etnus.com>
694
695 * readelf.c: Support DWARF 2.1 attributes.
696
6972001-06-28 Alan Modra <amodra@bigpond.net.au>
698
699 * readelf.c (GET_DATA_ALLOC): Remove.
700 (GET_DATA): Remove.
701 (get_data): New function combining above macros, with an extra
702 test for zero size.
703 (slurp_rela_relocs): Use get_data, and catch error return.
704 (slurp_rel_relocs): Likewise.
705 (get_32bit_program_headers): Likewise.
706 (get_64bit_program_headers): Likewise.
707 (get_32bit_section_headers): Likewise.
708 (get_64bit_section_headers): Likewise.
709 (get_32bit_elf_symbols): Likewise.
710 (get_64bit_elf_symbols): Likewise.
711 (process_section_headers): Likewise.
712 (process_relocs): Likewise.
713 (slurp_ia64_unwind_table): Likewise.
714 (process_unwind): Likewise.
715 (get_32bit_dynamic_segment): Likewise.
716 (get_64bit_dynamic_segment): Likewise.
717 (process_dynamic_segment): Likewise.
718 (process_version_sections): Likewise.
719 (process_symbol_table): Likewise.
720 (dump_section): Likewise.
721 (display_debug_info): Likewise.
722 (display_debug_section): Likewise.
723 (process_section_contents): Likewise.
724 (process_corefile_note_segment): Likewise.
725 (process_mips_specific): Likewise. Also free econf32, econf64.
726
7272001-06-25 Alan Modra <amodra@bigpond.net.au>
728
729 * readelf.c (dump_relocations): Print "bad symbol index" if
730 symtab == NULL with non-zero symtab_index.
731 (process_relocs): Don't bomb if reloc section has no symsec.
732
7332001-06-24 H.J. Lu <hjl@gnu.org>
734
735 * objcopy.c (strip_main): Revert the change made on 2001-05-30
736 by accident.
737 (copy_main): Apply the change made to strip_main on
738 2001-05-30 by accident.
739
7402001-06-23 Andreas Jaeger <aj@suse.de>
741
742 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
743 parameter 'code'.
744 (unw_decode_x2): Likewise.
745 (unw_decode_x3): Likewise.
746 (unw_decode_x4): Likewise.
747
7482001-06-23 Ben Elliston <bje@redhat.com>
749
750 * MAINTAINERS: Add myself as M88k maintainer.
751
7522001-06-22 Jocelyn Mayer <jocelyn.mayer@netgem.com>
753
754 * objcopy.c (strip_main): Support -o or --output-file command lien
755 switch.
756
7572001-06-19 H.J. Lu <hjl@gnu.org>
758
759 * doc/Makefile.in: Regenerated.
760
7612001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
762
763 * readelf.c: Restore formatting.
764
7652001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
766
767 * Makefile.am: Move documentation into doc subdirectory.
768 * Makefile.in: Regenerated.
769 * binutils.texi: Move into doc subdirectory.
770 * addr2line.1: Removed.
771 * ar.1: Likewise.
772 * dlltool.1: Likewise.
773 * nlmconv.1: Likewise.
774 * nm.1: Likewise.
775 * objcopy.1: Likewise.
776 * objdump.1: Likewise.
777 * ranlib.1: Likewise.
778 * readelf.1: Likewise.
779 * size.1: Likewise.
780 * strings.1: Likewise.
781 * strip.1: Likewise.
782 * windres.1: Likewise.
783 * cxxfilt.man: Likewise.
784 * doc: New Directory.
785 * doc/Makefile.am: New file.
786 * doc/Makefile.in: Generate.
787
7882001-06-09 Alan Modra <amodra@bigpond.net.au>
789
790 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
791
7922001-06-01 Alan Modra <amodra@bigpond.net.au>
793
794 * MAINTAINERS: Update my email address.
795
7962001-05-30 Honda Hiroki <hhonda@kobe-catv.ne.jp>
797
798 * objcopy.c: Add new switches: --keep-global-symbol,
799 --keep-symbols, --localize-symbols, --keep-global-symbols and
800 --weaken-symbols.
801 * binutils.texi: Document new switches.
802 * objcopy.1: Regenerate.
803 * NEWS: Announce new feature.
804
8052001-05-28 Andreas Jaeger <aj@suse.de>
806
807 * readelf.c (display_debug_frames): Fix warnings: Remove unused
808 variables, fix format strings.
809
8102001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
811
812 * objdump.c (disassemble_bytes): Remove section VMA adjustment
813 when computing the address of the line to show.
814
8152001-05-16 Richard Henderson <rth@redhat.com>
816
817 * readelf.c (do_debug_frames_interp): New.
818 (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
819 (byte_get_big_endian): Likewise.
820 (parse_args) ['F']: Set do_debug_frames_interp.
821 (Frame_Chunk): Make data_factor signed, add fde_encoding.
822 (frame_display_row): Don't trunc pc_begin to int.
823 (size_of_encoded_value): New.
824 (display_debug_frames): Handle 64-bit targets. Print raw data
825 unless do_debug_frames_interp.
826 (debug_displays): Remove duplicate .debug_frame.
827
8282001-05-15 Ralf Baechle <ralf@gnu.org>
829
830 * readelf.c: Replace uses of EM_MIPS_RS4_BE with EM_MIPS_RS3_LE.
831 The former constant was never in active use and is used otherwise
832 by the ABI.
833
8342001-05-11 Jakub Jelinek <jakub@redhat.com>
835
836 * readelf.c (process_unwind): Print all unwind sections, not just
837 one.
838
8392001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
840
841 * readelf.c (process_unwind): Remove const specifier.
842
8432001-04-27 Michal Svec <rebel@atrey.karlin.mff.cuni.cz>
844
845 * strings.c (isgraphic): Do not use isascii() unless it is needed
846 for isprint() to work.
847 (main): Set the locale domain to LC_ALL not just LC_MESSAGES.
848
8492001-04-27 Johan Rydberg <jrydberg@opencores.org>
850
851 * NEWS: Announce support for OpenRISC.
852
8532001-04-17 Danny Smith <dannysmith@users.sourceforge.net>
854
855 * dlltool.c (do_default_excludes): Initialise to true.
856
8572001-04-10 Alan Modra <amodra@one.net.au>
858
859 * MAINTAINERS: Update my email address
860 * nm.c (print_symbol_info_bsd): Use a simple printf string.
861
8622001-04-05 Hans-Peter Nilsson <hp@axis.com>
863
864 * readelf.c (display_debug_lines): Fix typo for "Prologue".
865
8662001-03-30 H.J. Lu <hjl@gnu.org>
867
868 * readelf.c (process_unwind): Just return if do_unwind is 0.
869
8702001-03-28 Roger Sayle <roger@metaphorics.com>
871
872 * dlltool.c (make_one_lib_file): Fix section flags for
873 .text, .data and .bss in stub ds*.o files to match those
874 generated by gas.
875
8762001-03-29 H.J. Lu <hjl@gnu.org>
877
878 * readelf.c (process_unwind): Only do unwind sections for
879 IA64.
880
8812001-03-28 H.J. Lu <hjl@gnu.org>
882
883 * Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
884 * Makefile.in: Regenerate.
885
8862001-03-26 Andreas Jaeger <aj@suse.de>
887
888 * binutils.texi (nm): Fix texi syntax.
889
8902001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
891
892 * binutils.texi: Put @c man begin and @c man end indications
893 to generate man pages using texi2pod and pod2man. Put @c man title
894 to identify each man. Add SEEALSO entries.
895 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
896 (man_MANS): Add dlltool.1, nlmconv.1, readelf.1, windres.1,
897 sort the list.
898 (*.1): Build the man pages from binutils.texi.
899 * Makefile.in: Regenerate.
900
9012001-03-13 Eric Kohl <ekohl@rz-online.de>
902
903 * defparse.y (opt_equal_name): allow "." in name.
904 * dlltool.c (def_exports): Added ability to generate forwarded exports.
905 (gen_exp_file): Likewise.
906
9072001-03-12 Stefan Geuken <mail@stefan-geuken.de>
908
909 * NEWS: Document addition of -B switch to objcopy.
910 * binutils.texi: Document addition of -B switch to objcopy.
911 * objcopy.c: (copy_options): Add --binary-architecture.
912 (copy_usage): Document -B/--binary-architecture.
913 (copy_main): Support -B/--binary-architecture. Set
914 bfd_external_binary_architecture.
915
9162001-03-11 Andreas Jaeger <aj@suse.de>
917
918 * readelf.c (guess_is_rela): Handle EM_S390_OLD.
919 (dump_relocations): Likewise.
920 (get_machine_name): Likewise.
921
9222001-02-28 Nick Clifton <nickc@redhat.com>
923
924 * readelf.c: (struct unw_aux_info): Remove const modifier for
925 'strtab' field.
926 (process_unwind): Remove non-K&R compliant LHS type cast in call
927 to GET_DATA_ALLOC macro.
928
9292001-02-28 Philip Blundell <pb@futuretv.com>
930
931 * readelf.c (decode_ARM_machine_flags): Explicitly mention which
932 ABI is in use; remove ambiguity between the "unknown" EABI and
933 unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
934 renamed EF_xx constants.
935
9362001-02-27 Alan Modra <alan@linuxcare.com.au>
937
938 * configure.in (BFD_VERSION): New.
939 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
940 * configure: Regenerate.
941 * Makefile.am: Run "make dep-am"
942 * Makefile.in: Regenerate.
943
9442001-02-14 Nick Clifton <nickc@redhat.com>
945
946 * MAINTAINERS: Add "Obvious Fix" rule.
947
9482001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
949
950 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
951 literal concatenation.
952
9532001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
954
955 * readelf.c (struct unw_aux_info): Remove const from the info member.
956 (process_unwind): Don't type-cast the third argument to the
957 GET_DATA_ALLOC macro.
958
9592001-02-11 Nick Clifton <nickc@redhat.com>
960
961 * readelf.c (dump_relocations): Free corrected allocated
962 array.
963 (process_unwind): Fix compile time warning.
964
9652001-02-10 Nick Clifton <nickc@redhat.com>
966
967 * binutils.texi: Document new --unwind option to readelf.
968
9692001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
970
971 * readelf.c: Add linux target for S/390.
972
9732001-02-10 Alan Modra <alan@linuxcare.com.au>
974
975 * nm.c (print_symbol_info_bsd): Don't #ifdef inside printf in case
976 printf is a macro.
977
9782001-02-08 Hans-Peter Nilsson <hp@bitrange.com>
979
980 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
981 * aclocal.m4: Regenerate.
982 * configure: Regenerate.
983
9842001-02-07 Todd Vierling <tv@wasabisystems.com>
985
986 * bucomm.c (bfd_target_vector): Change extern array to pointer.
987 * objdump.c (bfd_target_vector): Likewise.
988
9892001-02-07 David Mosberger <davidm@hpl.hp.com>
990
991 * readelf.c (process_unwind): New function.
992 (slurp_ia64_unwind_table): Ditto.
993 (dump_ia64_unwind): Ditto.
994 (find_symbol_for_address): Ditto.
995 (slurp_rela_relocs): New function (split off from dump_relocations()).
996 (slurp_rel_relocs): Ditto.
997 (parse_args): Handle '-u' option.
998
999 * unwind-ia64.c: New file.
1000 * unwind-ia64.h: New file.
1001 * Makefile.am: Include unwind-ia64.c in readelf build.
1002 * Makefile.in: Regenerate.
1003 * po/binutils.pot: Regenerate.
1004
10052001-02-04 Philip Blundell <philb@gnu.org>
1006
1007 * configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
1008 * configure: Regenerate.
1009
10102001-01-31 Steve deRosier <sderosier@vari-lite.com>
1011
1012 * ieee.c (ieee_add_bb11): Don't check for backslashes
1013 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1014
10152001-01-24 Mark Elbrecht <snowball3@bigfoot.com>
1016
1017 * ieee.c: Update copyright.
1018 (ieee_start_compilation_unit): Don't check for backslashes
1019 unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
1020
1021 * stabs.c: Update copyright. Include "filenames.h".
1022 (parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
1023
10242001-01-23 Jakub Jelinek <jakub@redhat.com>
1025
1026 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
1027 sections are present before using them. Remove code duplication.
1028 (process_symbol_table): Check if VERDEF or VERNEED sections are
1029 present before using them.
1030
10312001-01-17 Nick Clifton <nickc@redhat.com>
1032
1033 * objcopy.c (copy_object): Fail if attempting to convert the
1034 endianness of the input object file.
1035
1036 * binutils.texi: Explain that objcopy cannot convert endianness.
1037
10382001-01-16 Nick Clifton <nickc@redhat.com>
1039
1040 * readelf.c (string_table_length): New variable.
1041 (SECTION_NAME): Catch out of range indices and missing section
1042 pointers.
1043 (process_section_headers): Delete useless local variable
1044 string_table_offset. Set the value of string_table_length
1045 after loading the string table.
1046 (process_mips_specific): Use SECTION_NAME macro.
1047 (process_file): Set string_table_length to 0 when it is freed.
1048
10492001-01-12 Nick Clifton <nickc@redhat.com>
1050
1051 * version.c (print_version): Update copyright date.
1052
10532001-01-11 Peter Targett <peter.targett@arccores.com>
1054
1055 * readelf.c (dump_relocations): Include selection with EM_ARC.
1056 (get_machine_name) Update name to "ARC".
1057
10582001-01-09 Nick Clifton <nickc@redhat.com>
1059
1060 * Makefile.am: Add rule to build objdump.o from objdump.c and
1061 using OBJDUMP_DEFS.
1062 * Makefile.in: Regenerate.
1063
1064 * configure.in: Define OBJDUMP_DEFS. Default to empty.
1065 (arm, xscale, d10v): For these targets define OBJDUMP_DEFS to
1066 -DDISASSEMBLER_NEEDS_RELOCS.
1067 * configure: Regenerate.
1068
1069 * objdump.c (disassemble_bytes): If DISASSEMBLER_NEEDS_RELOCS
1070 is defined read in the relocs even if dump_reloc_info is
1071 false.
1072
10732001-01-07 Philip Blundell <philb@gnu.org>
1074
1075 * binutils.texi (Bug Reporting): Replace `bug-gnu-utils' with
1076 `bug-binutils'.
1077 * README: Likewise.
1078
10792000-12-19 Nick Clifton <nickc@redhat.com>
1080
1081 * dlltool.c: Add missing support for arm-epoc-pe.
1082 * configure.in: Add missing support for arm-epoc-pe.
1083 * configure: Regenerate.
1084
10852000-12-15 Nick Clifton <nickc@redhat.com>
1086
1087 * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel
1088 Mode parts of the x86 port.
1089
10902000-12-04 Andreas Jaeger <aj@suse.de>
1091
1092 * readelf.c (guess_is_rela): Add EM_X86_64.
1093 (dump_relocations): Add EM_X86_64.
1094 (get_machine_name): Add EM_X86_64.
1095 Include "elf/x86-64.h".
1096
10972000-12-12 Nick Clifton <nickc@redhat.com>
1098
1099 * readelf.c: Fix formatting.
1100
11012000-12-11 Jan Hubicka <jh@suse.cz>
1102
1103 * MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
1104
11052000-12-07 Andrew Haley <aph@redhat.com>
1106
1107 * readelf.c (display_debug_frames): Only display columns that are
1108 referenced by the frame debug info.
1109
11102000-12-05 Nick Clifton <nickc@redhat.com>
1111
1112 * MAINTAINERS: Add Jason Merrill as DWARF2 maintainer.
1113
11142000-12-04 Jason Merrill <jason@redhat.com>
1115
1116 * readelf.c (process_section_headers): Handle linkonce.wi sections.
1117 (display_debug_section): Likewise.
1118 (display_debug_info): Display CU header before bailing.
1119
11202000-12-01 Chris Demetriou <cgd@sibyte.com>
1121
1122 * readelf.c (get_machine_flags): Recognize MIPS32 ISA in
1123 EF_MIPS_ARCH. Replace use of E_MIPS_MACH_MIPS32 with
1124 E_MIPS_MACH_MIPS32_4K and adjust printed CPU name similarly.
1125
1126 * readelf.c (get_machine_flags): Add cases for E_MIPS_ARCH_5,
1127 and E_MIPS_ARCH_64.
1128
1129 * readelf.c (get_machine_flags): Add case for
1130 E_MIPS_MACH_SB1.
1131
11322000-11-30 Richard Earnshaw <rearnsha@arm.com>
1133
1134 * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
1135
11362000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
1137