Commit graph

521 commits

Author SHA1 Message Date
Andreas Jaeger
b89e9eae55 * doc/binutils.texi (objdump): Fix description to use x86-64. 2001-11-14 12:00:59 +00:00
Nick Clifton
a6a256529f Replace use of mkstemp with mkstemps, provided by libiberty. 2001-11-14 11:56:41 +00:00
Alan Modra
e396998b18 binutils/ChangeLog
* doc/binutils.texi (objdump): Document x86 -M options.
include/ChangeLog
 	* dis-asm.h (print_insn_i386): Declare.
opcodes/ChangeLog
	* disassemble.c (disassembler): Call print_insn_i386.
	* i386-dis.c (SUFFIX_ALWAYS): Define.
	(struct dis_private): Add orig_sizeflag.
	(print_insn_i386): Make it a wrapper, calling..
	(print_insn): ..The old body of print_insn_i386.  Avoid longjmp
	warning without using volatile by moving orig_sizeflag to priv,
	and removing inbuf.  Parse disassembler_options.
	(print_insn_i386_att, print_insn_i386_intel): Move initialisation
	code to print_insn.
	(putop): Remove #ifdef SUFFIX_ALWAYS.
2001-11-14 03:15:28 +00:00
Richard Henderson
81766fcaa8 * readelf.c (read_and_display_attr_value): New function to
handle DW_FORM_indirect.
        (read_and_display_attr): Use it.
2001-11-13 23:36:38 +00:00
Geoffrey Keating
1a509dcc12 Index: bfd/ChangeLog
2001-11-11  Geoffrey Keating  <geoffk@redhat.com>

	* dwarf2.c (decode_line_info): Properly deal with unknown standard
	opcodes.

Index: binutils/ChangeLog
2001-11-11  Geoffrey Keating  <geoffk@redhat.com>

	* readelf.c (display_debug_lines): Deal with unknown standard
	opcodes.  Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin,
	DW_LNS_set_isa.

Index: include/elf/ChangeLog
2001-11-11  Geoffrey Keating  <geoffk@redhat.com>

	* dwarf2.h (dwarf_line_number_ops): Add DWARF 3 opcodes.
2001-11-13 20:13:30 +00:00
Timothy Wall
6e91790347 Fix tic54x testsuite failures and Lmem disassembly bugs. 2001-11-13 14:22:53 +00:00
Nick Clifton
7559e86e56 Use mkstemp in place of mktemp. 2001-11-12 16:17:39 +00:00
Jeff Law
ecdadc4a4a * unwind-ia64.c (unw_print_brmask): Fix ISO C portability glitch.
(unw_print_grmask, unw_print_frmask, unw_print_abreg): Likewise.
        (unw_print_xyreg, unw_decode_x1, unw_decode_x2): Likewise.
        (unw_decode_x3, unw_decode_r1, unw_decode_r2): Likewise.
        (unw_decode_r3, unw_decode_p1, unw_decode_p2_p5): Likewise.
        (unw_decode_p6, unw_decode_p7_p10, unw_decode_b1): Likewise.
        (unw_decode_b2, unw_decode_b3_b4): Likewise.
2001-11-10 01:04:39 +00:00
Jeff Law
917702709e * readelf.c (get_elf_class): Fix ISO portability glitch.
(get_data_encoding, get_osabi_name, request_dump): Likewise.
2001-11-10 00:55:48 +00:00
Jakub Jelinek
ef5cdfc7dd * readelf.c (debug_str, debug_str_size): New.
(display_debug_abbrev): If no abbrevs were read, skip the CU.
	Call free_abbrevs.
	(read_and_display_addr): Handle DW_FORM_strp.
	(display_debug_info): Read .debug_str section if present,
	so that DW_FORM_strp can be handled.
	Fix test for non-existant .debug_abbrev section.
2001-11-07 16:14:09 +00:00
Jakub Jelinek
5e9520c877 * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
* arsup.c (ar_open): Prepend tmp- to basename, not whole path.
2001-11-05 16:20:37 +00:00
Martin Schwidefsky
54589086a8 Add self as s390/s390x maintainer. 2001-11-05 08:50:47 +00:00
Tom Rix
c05b685b1f Add myself as the ppc xcoff maintainer 2001-11-02 21:47:19 +00:00
Nick Clifton
3c62831e20 Add translations 2001-11-02 19:09:06 +00:00
Hans-Peter Nilsson
9b19141a7d * MAINTAINERS: Add self as MMIX port maintainer. 2001-10-31 02:34:12 +00:00
Nick Clifton
3c3bdf30e4 Add MMIX support 2001-10-30 15:20:14 +00:00
Nick Clifton
f662939a0d support multiple options to the -w switch 2001-10-13 10:00:30 +00:00
Jakub Jelinek
c91d0dfb4f * readelf.c (get_section_type_name): Don't print SHT_ prefix for
LOPROC, LOOS and LOUSER.
2001-10-12 09:23:29 +00:00
Joern Rennecke
d1b67f3c0e * MAINTAINERS: Update my email address. 2001-10-11 20:47:46 +00:00
Alan Modra
fcd8210c95 Regenerate configure to include the gettext.m4 change. Update
opcodes/po/POTFILES.in
2001-10-03 13:46:35 +00:00
Nick Clifton
428409d521 Add more detection of 64-bit DWARF sections 2001-10-02 09:08:44 +00:00
Alan Modra
6a8c2b0d5e * coffdump.c (PROGRAM_VERSION): Delete.
(main <'V'>): Call print_version.
	* srconv.c: Likewise.
	* sysdump.c: Likewise.
	* version.c (program_version): Remove.
	(print_version): Use BFD_VERSION_STRING.  Just print the current
	year in copyright message.
	* addr2line.c (program_version): Remove unused declaration.
	* objdump.c (display_target_tables): Use BFD_VERSION_STRING in
	place of BFD_VERSION.
	* Makefile.am (Makefile): Depend on bfd/configure.in
	(cplus-dem.o): Depend on Makefile.
	Run "make dep-am"
	* Makefile.in: Regenerate.
2001-10-02 06:02:12 +00:00
Nick Clifton
e414a1659e Detect and warn about DWARF64 format .debug_arange sections 2001-10-01 16:15:50 +00:00
Hans-Peter Nilsson
efc3ee7f58 * Makefile.am: Update dependencies with "make dep-am".
* Makefile.in: Regenerate.
2001-09-30 19:53:06 +00:00
Richard Henderson
9e85c2a02f * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0. 2001-09-28 21:10:41 +00:00
Alan Modra
451dad9c58 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
VA_CLOSE.
	(non_fatal): Likewise.
	* objdump.c (objdump_sprintf): Likewise.
	* readelf.c (error): Likewise.
	(warn): Likewise.
2001-09-26 01:55:19 +00:00
Jakub Jelinek
d974e25661 * readelf.c (do_wide): New.
(options): Add --wide.
	(usage, parse_args): Likewise.
	(process_program_headers): Put each segment on a single line if
	--wide is given.
	(process_section_headers): Put each section on a single line if
	--wide is given.
	* doc/binutils.texi: Document it.
	* NEWS: Likewise.
2001-09-25 16:44:19 +00:00
Alan Modra
2f11c26109 * readelf.c (print_vma): Print 8 digits of low hex value. 2001-09-25 12:49:38 +00:00
Andreas Jaeger
1d50f91e28 * nlmconv.c: Fix warnings about unused attributes and function
prototypes.

	* strings.c: Add prototype for get_char.
2001-09-24 06:07:52 +00:00
H.J. Lu
38131e6744 2000-09-19 H.J. Lu <hjl@gnu.org>
* doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
	$(srcdir)/cxxfilt.man.
	* doc/Makefile.in: Rebuild.
2001-09-19 17:02:38 +00:00
Alan Modra
3bcfb3e4bd * objcopy.c (copy_main): Correct rename-section string parsing.
Consolidate new_name parsing, and error messages.
2001-09-19 06:58:06 +00:00
H.J. Lu
3882b01078 Locale changes from Bruno Haible <haible@clisp.cons.org>. 2001-09-19 05:33:36 +00:00
Alan Modra
e59b4dfbd2 * ar.c (print_contents): Cast args of bfd_seek to the right types.
Replace bfd_read call with call to bfd_bread.
	(extract_file): Likewise.

	* objdump.c (dump_section_header): Cast section->filepos to
	unsigned long to suit printf format string.
	* readelf.c (process_section_headers): Similarly for sh_offset.
	(process_unwind): Likewise.
2001-09-18 10:05:55 +00:00
Nick Clifton
d132876a03 Add new command line option '--encoding' to strings 2001-09-14 11:32:25 +00:00
Alexandre Oliva
2b0337b0a2 * readelf.c (guess_is_rela, dump_relocations, get_machine_name,
get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
Removed EM_CYGNUS_ARC.
2001-09-12 23:53:45 +00:00
Jeff Law
b8720f9d57 * readelf.c: Include elf/h8 for H8 series definitions.
(guess_is_rela): H8 series if RELA.
	(dump_relocations): Handle H8 series relocations.

	* testsuite/binutils/all/readelf.exp: Expect readelf -wi to
	fail for the H8 series.
2001-09-05 02:26:04 +00:00
Eric Christopher
0823fbcae4 2001-08-31 Eric Christopher <echristo@redhat.com>
Jason Eckhardt    <jle@redhat.com>

	* mips-dis.c: Add support for bfd_mach_mipsisa32 and
	bfd_mach_mipsisa64. Remove bfd_mach_mips32, bfd_mach_mips32_4k,
	bfd_mach_mips64.
2001-08-31 21:15:00 +00:00
Peter Targett
8db76d70ac * MAINTAINERS: Include ARC Maintainer. 2001-08-29 15:19:38 +00:00
Ben Elliston
d81d65845e 2001-08-29 Ben Elliston <bje@redhat.com>
* stabs.c (stab_demangle_template): Initialise s4.
2001-08-29 10:55:43 +00:00
Alan Modra
25a1ff5b2d * readelf.c (dump_relocations): Recognise EM_PPC64. 2001-08-27 10:33:19 +00:00
Thiemo Seufer
a5d22d2ad5 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE. 2001-08-26 13:04:34 +00:00
H.J. Lu
62a5a82d70 2001-08-25 H.J. Lu <hjl@gnu.org>
* nm.c (print_width): New.
	(display_rel_file): Set `print_width' according to
	bfd_sprintf_vma.
	(print_symbol_info_bsd): Check `print_width' instead of BFD64.
2001-08-25 15:16:39 +00:00
Alexandre Oliva
1ae8b3d2a0 * objcopy.c (use_alt_mach_code): New variable.
(OPTION_ALT_MACH_CODE): Define.
(copy_options): Added --alt-machine-code.
(copy_main): Handle it.
(copy_object): Switch to alternate machine code if requested.
* doc/binutils.texi: Document new option.
* NEWS: Likewise.
2001-08-24 13:56:11 +00:00
Thiemo Seufer
d1bdd336d4 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE. 2001-08-22 18:42:07 +00:00
H.J. Lu
410f7a1290 2001-08-21 H.J. Lu <hjl@gnu.org>
* readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
	(display_debug_info): Cast for 64bit hosts.
	(display_debug_frames): Likewise.
	(process_mips_specific): Likewise.
2001-08-21 15:08:38 +00:00
Andreas Jaeger
c32144ff6b * coffgrok.h: Add missing parameter for prototype of coff_grok.
* sysdump.c: Add missing prototypes.
	* srconv.c: Likewise.
	* unwind-ia64.c: Likewise.
	* coffdump.c: Likewise.

	* sysinfo.y: Print prototypes, include <ansidecl.h>.

	* coffgrok.c: Add missing prototypes, include libiberty.h instead
	of declaring xcalloc.
2001-08-21 10:02:27 +00:00
H.J. Lu
d8180c76ad 2001-08-10 H.J. Lu <hjl@gnu.org>
* nm.c (print_value): Add one arg, bfd *.
	(print_value): Replace fprintf_vma with bfd_fprintf_vma.
	(print_symbol_info_bsd): Also pass `abfd' to print_value ().
	(print_symbol_info_sysv): Likewise.
	(print_symbol_info_posix): Likewise.

	* objdump.c (dump_section_header): Replace printf_vma with
	bfd_printf_vma.
	(print_section_stabs): Likewise.
	(dump_bfd_header): Likewise.
	(objdump_print_value): Replace sprintf_vma with
	bfd_sprintf_vma.
	(disassemble_bytes): Likewise.
	(dump_reloc_set): Likewise.
2001-08-10 16:43:18 +00:00
Andreas Jaeger
0218d1e4c2 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
to build warnings.
	* configure: Regenerate.
2001-08-10 10:56:47 +00:00
Alan Modra
2863d58a18 * readelf.c: Add missing prototypes.
* objdump.c: Likewise.  Format existing prototypes.
2001-08-09 14:46:50 +00:00
Alexandre Oliva
c0e047e0e5 * readelf.c (display_debug_info): Add to abbrev_offset the addend
of any RELA relocation for the abbrev_offset memory location that
refers to the .debug_abbrev section symbol.
2001-08-08 11:17:46 +00:00
H.J. Lu
ff78d6d660 2001-08-07 H.J. Lu <hjl@gnu.org>
* readelf.c (process_file): Return 0 if OK, otherwise return 1.
	(main): Return process_file ().
2001-08-07 20:15:00 +00:00
Phil Blundell
c36774d6aa 2001-08-05 Philip Blundell <philb@gnu.org>
* doc/binutils.texi: Use "Thumb" not "THUMB".
2001-08-05 21:01:26 +00:00
John Healy
8f9d9bd9e9 2001-08-03 John Healy <jhealy@redhat.com>
Patch suggested by Frank Eigler <fche@redhat.com>.
        * objdump.c (disassemble_data): Fill in section member of the
        disasm_info structure.
2001-08-03 22:08:44 +00:00
DJ Delorie
c918cb968c * configure.in: Added --with-windres option.
* configure: Regenerated.
2001-08-03 16:27:22 +00:00
Nick Clifton
c7c55b785d Use @command{name} for commands. Use @option{-opt} for options.
Use @table @env for list of options.  Remove spaces arround [ | ] in synopsis.
Use 'GNU Development Tools' for the center title.
2001-08-01 15:54:41 +00:00
Nick Clifton
594ef5dbd2 Implement new switch --rename-section 2001-07-31 13:49:39 +00:00
Nick Clifton
1f554c6920 Change bug-gnu-utils@gcc.org to the mor obvious bug-binutils@gcc.org 2001-07-30 10:57:07 +00:00
Alan Modra
2f83960e2c * bucomm.c (list_supported_architectures): New function.
* bucomm.h (list_supported_architectures): Declare.
	* objdump.c (usage): Call the above.
2001-07-29 05:31:43 +00:00
Dave Brolley
20fe064957 2001-07-25 Dave Brolley <brolley@redhat.com>
* objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
	(SKIP_ZEROES_AT_END): Only define it if it is not already defined.
2001-07-25 15:25:11 +00:00
Nick Clifton
1b577b00bd Change bug reporting email address. 2001-07-19 10:43:13 +00:00
DJ Delorie
5f16d8553b * resres.c (write_res_header): Align header size.
(res_align_file): Calculate alignment correctly.
2001-07-17 03:14:49 +00:00
DJ Delorie
95fd336c5c * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
correct 10).
* resrc.c (write_rc_resource): Likewise.
* windres.h (SUBLANG_SHIFT): Define - as 10.
2001-07-17 01:19:19 +00:00
Nick Clifton
ed8fee27bc Add Christian Groessler as maintainer for z8k port. 2001-07-15 10:30:30 +00:00
Nick Clifton
90ab7e9a68 Add notes about branch checkins 2001-07-11 09:06:49 +00:00
Nick Clifton
e0c60db230 Display the contents of a .debug.macinfo section 2001-07-05 07:49:05 +00:00
H.J. Lu
24e01a3675 2001-07-05 H.J. Lu <hjl@gnu.org>
* objcopy.c (filter_symbols): Don't turn undefined symbols
	into local.
2001-07-05 07:27:16 +00:00
H.J. Lu
4258bf4db5 2001-07-03 H.J. Lu <hjl@gnu.org>
* doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
	$@.pod.
	(ar.1): Likewise.
	(dlltool.1): Likewise.
	(nlmconv.1): Likewise.
	(nm.1): Likewise.
	(objcopy.1): Likewise.
	(objdump.1): Likewise.
	(ranlib.1): Likewise.
	(readelf.1): Likewise.
	(size.1): Likewise.
	(strings.1): Likewise.
	(strip.1): Likewise.
	(windres.1): Likewise.
	(cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
	($(DEMANGLER_NAME).1): Also substitute cxxfilt with
	$(DEMANGLER_NAME).
	(as.1): Removed.
	* doc/Makefile.in: Regenerated.
2001-07-03 16:35:34 +00:00
Nick Clifton
7014bc3115 Change MIPS maintainer to Erci Christopher 2001-07-03 15:08:42 +00:00
Nick Clifton
b811889fc5 Support DWARF 2.1 tags, encodings, languages. 2001-07-01 08:53:15 +00:00
Nick Clifton
12ab83a9ae Add DWARF 2.1 attributes 2001-06-29 14:17:31 +00:00
Alan Modra
a6e9f9dfd0 * readelf.c (GET_DATA_ALLOC): Remove.
(GET_DATA): Remove.
	(get_data): New function combining above macros, with an extra
	test for zero size.
	Use get_data, and catch error return throughout file.
2001-06-28 13:58:36 +00:00
Alan Modra
af3fc3bcb3 * readelf.c (dump_relocations): Print "bad symbol index" if
symtab == NULL with non-zero symtab_index.
	(process_relocs): Don't bomb if reloc section has no symsec.
2001-06-25 03:30:26 +00:00
H.J. Lu
6d900bf62c 2001-06-24 H.J. Lu <hjl@gnu.org>
* objcopy.c (strip_main): Revert the change made on 2001-05-30
	by accident.
	(copy_main): Apply the the change made to strip_main on
	2001-05-30 by accident.
2001-06-24 16:27:00 +00:00
Andreas Jaeger
49b4e38678 * unwind-ia64.c (unw_decode_x1): Add unused attribute for
parameter 'code'.
	(unw_decode_x2): Likewise.
	(unw_decode_x3): Likewise.
	(unw_decode_x4): Likewise.
2001-06-23 16:06:51 +00:00
Ben Elliston
d8dc71e3b1 2001-06-23 Ben Elliston <bje@redhat.com>
* MAINTAINERS: Add myself as M88k maintainer.
2001-06-23 10:26:08 +00:00
Nick Clifton
af3bdff753 Add missing support for -o option. 2001-06-22 09:02:05 +00:00
H.J. Lu
105e7211d3 2001-06-19 H.J. Lu <hjl@gnu.org>
* doc/Makefile.in: Regenerated.
2001-06-19 18:16:52 +00:00
Nick Clifton
c45021f2d2 Remove auot generated man pages 2001-06-19 11:57:29 +00:00
Alan Modra
09ad7db352 * NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker. 2001-06-09 02:15:49 +00:00
Alan Modra
936260fe3e * MAINTAINERS: Update my email address. 2001-06-01 04:21:57 +00:00
Nick Clifton
16b2b71c0c Add command line switches to objcopy to provide lists of symbols in files 2001-05-30 10:46:28 +00:00
Andreas Jaeger
7036c0e167 * readelf.c (display_debug_frames): Fix warnings: Remove unused
variables, fix format strings.
2001-05-28 15:41:34 +00:00
Nick Clifton
76a406e5b0 Remove section VMA adjustment when computing the address of the line to show. 2001-05-28 10:03:19 +00:00
Richard Henderson
31b6fca668 * readelf.c (do_debug_frames_interp): New.
(byte_get_little_endian): If BFD64, always read entire 8-byte fields.
        (byte_get_big_endian): Likewise.
        (parse_args) ['F']: Set do_debug_frames_interp.
        (Frame_Chunk): Make data_factor signed, add fde_encoding.
        (frame_display_row): Don't trunc pc_begin to int.
        (size_of_encoded_value): New.
        (display_debug_frames): Handle 64-bit targets.  Print raw data
        unless do_debug_frames_interp.
        (debug_displays): Remove duplicate .debug_frame.
2001-05-16 16:20:26 +00:00
Nick Clifton
4fe8559101 Remove definition of EM_MIPS_RS4_BE. The constant was never in active use
and is used otherwise by the ABI.
2001-05-15 12:24:29 +00:00
Jakub Jelinek
579f31ac74 * elfxx-ia64.c (is_unwind_section_name): Consider linkonce unwind
sections as well.
	(elfNN_ia64_final_write_processing): Map .gnu.linkonce.ia64unw.FOO
	to .gnu.linkonce.t.FOO text section.

	* readelf.c (process_unwind): Print all unwind sections, not just
	one.

	* config/tc-ia64.c (special_linkonce_name): New.
	(make_unw_section): Map .gnu.linkonce.t.FOO text section into
	.gnu.linkonce.ia64unw{,i}.FOO.
	(ia64_elf_section_type): Handle .gnu.linkonce.ia64unw{,i}.FOO.
	(dot_endp): Add comment about it.

	* elf/ia64.h (ELF_STRING_ia64_unwind_once): Define.
	(ELF_STRING_ia64_unwind_info_once): Define.

	* emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put
	.gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind*
	output sections.
	* emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise.
2001-05-11 12:36:47 +00:00
Alan Modra
78f4a3f728 * readelf.c (process_unwind): Remove const specifier. 2001-05-07 09:17:34 +00:00
Nick Clifton
1c529ca648 Support printable characters outside of the ASCII range 2001-04-27 15:42:21 +00:00
Nick Clifton
87e6d78217 Add openRISC support in opcodes 2001-04-27 13:34:20 +00:00
DJ Delorie
4bd3d87018 * dlltool.c (do_default_excludes): Initialise to true. 2001-04-17 23:28:38 +00:00
Alan Modra
21211521db * MAINTAINERS: Update my email address
* nm.c (print_symbol_info_bsd): Use a simple printf string.
2001-04-11 07:07:29 +00:00
Hans-Peter Nilsson
0c66b61e31 Fix address in ChangeLog entry 2001-04-05 17:46:25 +00:00
Hans-Peter Nilsson
ff94ebf2c8 * readelf.c (display_debug_lines): Fix typo for "Prologue". 2001-04-05 17:44:15 +00:00
H.J. Lu
e58d53afc0 2001-03-30 H.J. Lu <hjl@gnu.org>
* readelf.c (process_unwind): Just return if do_unwind is 0.
2001-03-31 06:36:17 +00:00
DJ Delorie
bee723322c * dlltool.c (make_one_lib_file): Fix section flags for
.text, .data and .bss in stub ds*.o files to match those
generated by gas.
2001-03-30 01:34:54 +00:00
H.J. Lu
f1467e3315 2001-03-29 H.J. Lu <hjl@gnu.org>
* readelf.c (process_unwind): Only do unwind sections for
	IA64.
2001-03-30 01:26:43 +00:00
H.J. Lu
1c6fb4fe1f 2001-03-28 H.J. Lu <hjl@gnu.org>
* Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
	* Makefile.in: Regenerate.
2001-03-28 19:01:04 +00:00
Andreas Jaeger
0879a67a8f 2001-03-26 Andreas Jaeger <aj@suse.de>
* binutils.texi (nm): Fix texi syntax.

2001-03-26  Andreas Jaeger  <aj@suse.de>

	* ld.texinfo (Overview): Fix syntax in texi code.
2001-03-26 07:02:59 +00:00
Nick Clifton
0285c67df1 Automate generate on man pages 2001-03-25 20:32:31 +00:00
Christopher Faylor
04847a4d3e * defparse.y (opt_equal_name): allow "." in name.
* dlltool.c (def_exports): Added ability to generate forwarded exports.
(gen_exp_file): Likewise.
2001-03-14 02:56:45 +00:00
Nick Clifton
8c2bc6877d Fix typos in ChangeLogs and update copyright notices 2001-03-13 06:43:59 +00:00
Nick Clifton
43a0748c78 Add --binary-architecture switch to objcopy to allow the output architecture
to be set when the input file type is binary.
2001-03-13 00:08:35 +00:00
Nick Clifton
b7498e0ef0 Handle EM_S390_OLD. 2001-03-12 23:35:23 +00:00
Nick Clifton
a59e3bd746 Remove non-K&R compliant LHS type cast in call to GET_DATA_ALLOC macro. 2001-02-28 19:40:12 +00:00
Phil Blundell
a5bcd848ff 2001-02-28 Philip Blundell <pb@futuretv.com>
* readelf.c (decode_ARM_machine_flags): Explicitly mention which
	ABI is in use; remove ambiguity between the "unknown" EABI and
	unrecognised ABIs.  Handle version 2 ARM EABI.  Update uses of
	renamed EF_xx constants.
2001-02-28 10:15:57 +00:00
Alan Modra
27b7e12d2d Bump version to 2.11.90, fix missing dependencies in bfd/,
and run "make dep-am".
2001-02-27 06:43:56 +00:00
Nick Clifton
a9f1078629 Add obvious fix rule 2001-02-14 18:49:56 +00:00
Michael Sokolov
3c44da9aef * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
literal concatenation.
2001-02-11 23:13:38 +00:00
Michael Sokolov
ecd0338944 * readelf.c (struct unw_aux_info): Remove const from the info member.
(process_unwind): Don't type-cast the third argument to the
	GET_DATA_ALLOC macro.
2001-02-11 23:11:39 +00:00
Nick Clifton
88ec60c7e0 fix seg fault in reloc reading code 2001-02-11 22:14:01 +00:00
Nick Clifton
f5e2196691 Document new --unwind option to readelf. 2001-02-10 22:20:55 +00:00
Nick Clifton
a85d7ed0f0 Add s390 support 2001-02-10 00:58:38 +00:00
Alan Modra
7bb10502ed Don't #ifdef inside printf in case printf is a macro. 2001-02-09 16:33:21 +00:00
Hans-Peter Nilsson
8ca8f343f9 * acinclude.m4 (AM_PROG_LEX): Override installed definition.
* aclocal.m4: Regenerate.
	* configure: Regenerate.
2001-02-08 06:01:31 +00:00
Nick Clifton
7340082dc8 Change bfd_target_vector from an array to a pointer 2001-02-07 23:16:22 +00:00
Nick Clifton
4d6ed7c8ce Add -u option toi readelf to display unwind info.
Add support to display unwind info for IA64 binaries.
2001-02-07 19:41:03 +00:00
Phil Blundell
c7217458cb 2001-02-04 Philip Blundell <philb@gnu.org>
* configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
	* configure: Regenerate.
2001-02-04 16:37:03 +00:00
Alan Modra
956eedd4dc Another HAVE_DOS_BASED_FILE_SYSTEM check. 2001-01-31 06:02:18 +00:00
Alan Modra
c7f2731ef2 Don't check for backslashes in file names
unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
2001-01-24 04:36:05 +00:00
Alan Modra
8855cbcaee * stabs.c: Update copyright. Include "filenames.h".
(parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
2001-01-24 02:34:07 +00:00
Jakub Jelinek
329de80343 s/11/01/ 2001-01-23 13:51:03 +00:00
Jakub Jelinek
00d93f3435 * readelf.c (process_version_sections): Check if VERDEF or VERNEED
sections are present before using them.  Remove code duplication.
	(process_symbol_table): Check if VERDEF or VERNEED sections are
	present before using them.
2001-01-23 13:49:37 +00:00
Nick Clifton
23719f397d Stop objcopy trying to convert endianness. 2001-01-18 00:17:43 +00:00
Nick Clifton
f726e84968 oops - fix typo 2001-01-16 23:23:23 +00:00
Nick Clifton
d0398d6ac6 Update copyright date to 2001 2001-01-12 18:01:56 +00:00
Nick Clifton
0d2bcfafbf Updated ARC assembler from arccores.com 2001-01-11 21:20:20 +00:00
Nick Clifton
2f6d2f8520 Rotate ChangeLogs 2001-01-11 19:01:42 +00:00
Nick Clifton
34cc70e3ee fix spelling typoi 2001-01-09 20:25:57 +00:00
Nick Clifton
8b1e6df337 Add OBJDUMP_DEFS to configure and makefile
Check for DISASSEMBLER_NEEDS_RELOCS in objdump and read in relocs if set.
2001-01-09 20:25:31 +00:00
Phil Blundell
2f952d2010 Update address for bug reports. 2001-01-07 15:04:21 +00:00
Nick Clifton
a8c548cb0c Add missing support for arm-epoc-pe. 2000-12-19 22:22:02 +00:00
Nick Clifton
cc5fda35d5 Add Diego Novillo. 2000-12-16 01:28:21 +00:00
Nick Clifton
bcedfee6be Add EM_X86_64. 2000-12-12 20:58:46 +00:00
Nick Clifton
584da044d9 Fix formatting. 2000-12-12 19:36:32 +00:00
Jan Hubicka
b8355149f8 * NEWS: Add note about x86_64 architecture.
* MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
2000-12-11 13:49:46 +00:00
Andrew Haley
a98cc2b2fd 2000-12-07 Andrew Haley <aph@redhat.com>
* readelf.c (display_debug_frames): Only display columns that are
        referenced by the frame debug info.
2000-12-08 17:25:47 +00:00
Nick Clifton
c7987a6946 Add Jason Merrill as DWARF2 maintainer. 2000-12-05 18:24:37 +00:00
Jason Merrill
09fd7e3854 * readelf.c (process_section_headers): Handle linkonce.wi sections.
(display_debug_section): Likewise.
        (display_debug_info): Display CU header before bailing.
2000-12-04 16:34:44 +00:00
Nick Clifton
c6c98b3833 Add MIPS SB1 machine 2000-12-02 01:10:33 +00:00
Nick Clifton
84ea6cf2c5 Add MIPS V and MIPS 64 machine numbers 2000-12-02 00:55:22 +00:00
Nick Clifton
e7af610e14 Add MIPS32 as a seperate MIPS architecture 2000-12-01 21:35:38 +00:00
DJ Delorie
75066968bd * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value. 2000-11-30 15:35:54 +00:00
Hans-Peter Nilsson
08c404a59c Change sourceware.cygnus.com to sources.redhat.com.
Fix typo for "amongst".
2000-11-28 23:10:05 +00:00
Hans-Peter Nilsson
5c4666ea38 * MAINTAINERS: Add Jörn Rennecke and self as SH maintainers. 2000-11-28 22:57:04 +00:00
Nick Clifton
e47b9e39bc Move GNU Free Documentation License from the output into a comment 2000-11-28 20:40:35 +00:00
DJ Delorie
c47d488e51 * readelf.c (usage): Add -wf (--debug-dump=frames) option.
(parse_args): Support -wf option.
(process_section_headers): Ditto.
(debug_displays): Ditto.
(display_debug_frames): New, dump *_frame sections.
(frame_need_space): Support for above.
(frame_display_row): Ditto.
* binutils.texi: Document it.
2000-11-27 21:07:47 +00:00
Nick Clifton
077b8428ab Add ARM v5t, v5te and XScale support 2000-11-25 00:21:40 +00:00
Nick Clifton
93ebe586cd Add new machien types and section flags 2000-11-22 23:49:39 +00:00
H.J. Lu
bd9805457d 2000-11-20 H.J. Lu <hjl@gnu.org>
* readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
	ELFOSABI_AIX.
2000-11-20 23:47:41 +00:00
Richard Henderson
b612ab9c43 * readelf.c (display_debug_lines): Adjust last change to
use sizeof (external->li_length).
2000-11-19 20:57:42 +00:00
Richard Henderson
512d22f487 * readelf.c (display_debug_lines): Fix section length check
and end_of_sequence computation.
2000-11-17 08:28:59 +00:00
Nick Clifton
cf055d540c Add GNU Free Documentation License 2000-11-06 20:27:26 +00:00
Nick Clifton
82ae5c6bc5 *** empty log message *** 2000-11-05 17:14:08 +00:00
Nick Clifton
420496c13a Add --srec-len and --srec-forceS3 switches to objcopy 2000-11-03 01:47:13 +00:00
Nick Clifton
7947af9305 Add Eric Christopher as maintainer for MN10300 2000-11-01 00:37:12 +00:00
Nick Clifton
4d765177eb Add Jim Wilson as Maintainer for IA64 code. 2000-10-31 20:37:25 +00:00
DJ Delorie
9eb01b42f6 * Make comma after string after icon/control optional. 2000-10-12 17:47:35 +00:00
Nick Clifton
156c2f8bf7 Add support for the MIPS32 2000-09-14 01:47:38 +00:00
Nick Clifton
99f9523ca6 Add Stephane Carrez 2000-09-08 21:51:57 +00:00
H.J. Lu
5d64ca4ed3 2000-09-07 H.J. Lu <hjl@gnu.org>
* configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
	* configure: Rebuild.
2000-09-07 21:08:51 +00:00
Alexandre Oliva
58cccadbd4 * configure: Rebuilt with new libtool.m4. 2000-09-06 13:57:41 +00:00
Nick Clifton
5b343f5ae8 Regenerate files using fixed aclocal install. 2000-09-06 00:13:34 +00:00
DJ Delorie
8948065dc4 Fix capitalization 2000-09-05 15:47:41 +00:00
David O'Brien
468390eb77 2000-09-04 Todd Vierling <tv@wasabisystems.com>
* strip.1: Fix stray '\' in -o formatting.

Approved by:  Philip Blundell <pb@tazenda.demon.co.uk>
              Message-Id: <E13W4RF-0002HU-00@kings-cross.london.uk.eu.org>
2000-09-05 08:26:53 +00:00
Nick Clifton
205b2e5054 Fix date ordering of entries 2000-09-03 18:30:51 +00:00
Nick Clifton
18e03609ef Increase minor version number (to 2.10.91) to help tools detect the new
ability to support removal of duplciate DWARF@ debug information.
2000-09-02 21:35:47 +00:00
Alexandre Oliva
ac48eca1ad * acinclude.m4: Include libtool and gettext macros from the
top level.
* aclocal.m4, configure: Rebuilt.
2000-08-31 09:46:11 +00:00
DJ Delorie
6a84a0f95e * resrc.c (close_input_stream): delete extraneous logic 2000-08-30 23:06:03 +00:00
Hans-Peter Nilsson
5bcac8a48e * NEWS: Mention support for CRIS. 2000-08-24 17:42:52 +00:00
Nick Clifton
c8c5888ebc Changed email address of Ulrich Lauther 2000-08-21 20:30:04 +00:00
H.J. Lu
2ac374c471 2000-08-17 Christopher C. Chimelis <chris@debian.org>
* objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
2000-08-18 01:58:12 +00:00
Nick Clifton
3f215a1093 Catch and warn about attempts to display debug information for version 1 aranges. 2000-08-17 23:00:38 +00:00
Nick Clifton
db4f683116 Silently accept -d as an alias for -g for compatability with old BSD systems. 2000-08-14 19:47:01 +00:00
Jason Eckhardt
22b36938e7 2000-08-14 Jason Eckhardt <jle@cygnus.com>
* NEWS: Mention i860 support.
2000-08-14 18:50:13 +00:00
H.J. Lu
4047915b1b 2000-08-11 Carlo Wood <carlo@alinoe.com>
* addr2line.c (main): Add const to char *.
2000-08-12 00:47:48 +00:00
Geoffrey Keating
8d72000704 * ar.c (main): Don't crash if called with no arguments
or only '-X32_64' as an argument.
2000-08-11 18:26:28 +00:00
Jason Eckhardt
535c37ffa8 2000-08-05 Jason Eckhardt <jle@cygnus.com>
* readelf.c (elf/i860.h): Include.
        (dump_relocations): Add recognition of i860 architecture.
        (guess_is_rela): Add recognition of i860 architecture.
2000-08-08 00:47:04 +00:00
Nick Clifton
dac850af10 Add info about CGEN maintainers 2000-08-03 17:37:01 +00:00
DJ Delorie
2efaf10b6d * resrc.c: use "gcc -xc" instead of -xc-header 2000-08-02 00:20:30 +00:00
Geoffrey Keating
6e8008398d * nm.c (main): Ignore '-X32_64' as an option.
* ar.c (main): Likewise.
* binutils.texi (nm): Document new option.
(ar): Likewise.
2000-07-27 01:39:45 +00:00
Alan Modra
5bbe3a506e (external_coff_symbol_p): K&R-ise. 2000-07-23 08:19:25 +00:00
H.J. Lu
e107c42f07 2000-07-20 H.J. Lu <hjl@gnu.org>
* binutils/binutils.texi: Put back "@end table" deleted by
	accident.
2000-07-21 00:09:48 +00:00
Nick Clifton
28c309a287 Add optional style argument to --demangle switch. 2000-07-20 18:02:56 +00:00
Hans-Peter Nilsson
1b61cf9230 * MAINTAINERS: Add self as CRIS port maintainer.
* readelf.c: Include elf/cris.h.
	(guess_is_rela): Handle EM_CRIS.
	(dump_relocations): Ditto.
	(get_machine_name): Ditto.
	* Makefile.am: Rebuild dependencies.
	* Makefile.in: Regenerate.
	* po/binutils.pot: Regenerate.
2000-07-20 17:28:56 +00:00
H.J. Lu
019148e439 2000-07-19 H.J. Lu <hjl@gnu.org>
* readelf.c (get_dynamic_type): Change "AUXILARY" to
	"AUXILIARY".
	(process_dynamic_segment): Print out strings for DT_CONFIG,
	DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
2000-07-20 02:45:36 +00:00
Nick Clifton
b56f55ce04 Change output of `nm --help' to include a description of the purpose of the
program and a detailed description of the accepted options.
2000-07-20 00:39:10 +00:00
H.J. Lu
f7db6139df 2000-07-19 H.J. Lu <hjl@gnu.org>
* readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
	to DF_1_NODEFLIB.
2000-07-19 18:45:46 +00:00
H.J. Lu
05107a46ed 2000-07-19 H.J. Lu <hjl@gnu.org>
* readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
2000-07-19 18:24:32 +00:00
H.J. Lu
dcefbbbda0 2000-07-19 H.J. Lu <hjl@gnu.org>
* readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
	DT_FEATURE.
	(process_dynamic_segment): Likewise.

	* readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
	DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
	(process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
	DF_1_NODUMP and DF_1_CONLFAT.
2000-07-19 18:03:18 +00:00
Nick Clifton
6dbb55b600 Fix spelling typo. 2000-07-18 18:24:21 +00:00
Mark Kettenis
86d65c94b2 * objdump.c (usage): Make output of `objdump --help' more
consistent with the rest of the GNU world.  Add a line describing
the purpose of the program.
2000-07-12 19:52:17 +00:00
Alan Modra
3c9f43b196 Warning fixes. 2000-07-10 14:51:04 +00:00
Nick Clifton
3316ae25d3 Add several more port specific maintainers 2000-07-09 15:23:00 +00:00
Nick Clifton
68dcecab73 Add Mike Meissner 2000-07-05 20:11:22 +00:00
DJ Delorie
302ab118e1 add MAINTAINERS files 2000-07-05 19:28:06 +00:00
DJ Delorie
7f143ac13d * dllwrap.c: Changed mistaken dyn_string_append() calls
to dyn_string_append_cstr().
2000-07-02 01:56:58 +00:00
Alan Modra
944e5c61c8 AAganichev's parse_stab_type size fix. 2000-07-01 10:00:05 +00:00
Alan Modra
0bdaf48bac Fix 2000-06-22. grep after running dep.sed 2000-07-01 01:41:09 +00:00
Alan Modra
a0c0ddf7e8 Revert incorrect 2000-06-25 patch. 2000-06-26 23:15:58 +00:00
Nick Clifton
590a2450f1 Fix spelling typo 2000-06-25 17:58:54 +00:00