Commit Graph

401 Commits

Author SHA1 Message Date
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
Thiemo Seufer dda688fcad * binutils-all/readelf.exp: Don't regard mips*el-*-* as traditional
mips.
	* gas/mips/mips.exp: Likewise. Use traditional testcases for
	mips${el}16-f if needed.
	* gas/mips/elempic.d: New file, testcase for little endian empic.
	* gas/mips/elfel-rel2.d: Don't test trailing zeroes in dump.
	* gas/mips/mips16-f.d: Use non-traditional symbol sorting.
	* gas/mips/mipsel16-f.d: Likewise.
	* gas/mips/mipsel16-e.d: New file, testcase for little endian MIPS16
	relocations.
	* gas/mips/tmipsel16-f.d: New file, testcase for little endian MIPS16
	relocations, traditional variant.
2001-08-25 00:48:49 +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 0d38c7701d 2001-08-21 H.J. Lu <hjl@gnu.org>
* binutils-all/readelf.r: Updated for the readelf change.

	* binutils-all/readelf.r-64: New for the readelf change.
2001-08-21 15:54:16 +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
H.J. Lu 8bd8d2153f 2001-07-27 H.J. Lu <hjl@gnu.org>
* binutils-all/windres/windres.exp: Don't set xfail for
	bmpalign (compare) on none-ix86/pe targets.
2001-07-27 16:16:07 +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
H.J. Lu 25268c03b9 2001-07-24 H.J. Lu <hjl@gnu.org>
* binutils-all/windres/windres.exp: Set xfail on none-ix86/pe
	targets.
2001-07-24 19:24:09 +00:00
Nick Clifton 1b577b00bd Change bug reporting email address. 2001-07-19 10:43:13 +00:00
DJ Delorie 64e0872741 * config/default.exp (WINDRES): Add.
* binutils-all/windres/windres.exp: New.
* binutils-all/windres/README: New.
* binutils-all/windres/bmp1.bmp: New.
* binutils-all/windres/bmpalign.rc: New.
* binutils-all/windres/bmpalign.rsd: New.
* binutils-all/windres/lang.rc: New.
* binutils-all/windres/lang.rsd: New.
* binutils-all/windres/msupdate: New.
* binutils-all/windres/strtab1.rc: New.
* binutils-all/windres/strtab1.rsd: New.
2001-07-18 23:56:41 +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 eed1d0acc7 And remove the seconf accidental patch commission. 2001-07-06 08:05:27 +00:00
Nick Clifton ec5d57d5e8 Remove patch accidentally checked in with readelf.c patch 2001-07-06 08:01:17 +00:00
Ben Elliston 56070b8bdc 2001-07-05 Ben Elliston <bje@redhat.com>
* lib/utils-lib.exp (target_assemble): Remove duplicate copy.
	(default_target_assemble): Likewise.
2001-07-05 11:00:28 +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
Nick Clifton 89084430cd Fix typos 2001-06-21 07:44:32 +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
Andreas Jaeger f1e0121648 * binutils-all/readelf.r: Don't check for specific info value to
pass testsuite on ia64 and alpha.
2001-06-19 08:16:26 +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
H.J. Lu d2d89a164a Fix typos. 2001-06-07 16:48:18 +00:00