Commit Graph

2075 Commits

Author SHA1 Message Date
Ian Lance Taylor f353eb8a51 * configure.in: If frexp is not available, check in -lm.
* configure: Rebuild.
1999-06-12 15:20:21 +00:00
Ian Lance Taylor 789be9f7ca * readelf.c (get_elf_class): Use correct printf format for type.
(get_data_encoding): Likewise.
	(get_osabi_name): Likewise.
	(process_file_header): Don't pass an extra argument to printf.
	(process_dynamic_segment): Cast dynamic_size to long before
	printing.
	(decode_location_expression): Cast byte_get to long before
	printing.
1999-06-12 13:30:24 +00:00
Andreas Schwab 148d3c43be * readelf.c (dump_section): Cast bfd_vma values to [unsigned] long
for printing, in case it is wider than long.
	(display_block): Likewise.
	(read_and_display_attr): Likewise.
	(decode_location_expression): Likewise.  Don't depend on
	evaluation order.
1999-06-09 02:44:17 +00:00
Andreas Schwab 32a5c94a56 * windres.c (usage): Fix typo. 1999-06-07 03:16:55 +00:00
Nick Clifton 1993627733 Use 64bit wide values in internal fields.
Check symbol index against number of symbols when displaying relocations
1999-06-04 11:33:32 +00:00
Nick Clifton 9ea033b2df Add support for 64 bit ELF files. 1999-06-04 08:13:04 +00:00
Nick Clifton 762100ed56 Use macros to hold names of temporary files. 1999-06-03 13:22:45 +00:00
Richard Henderson d8bcc1ac10 * dlltool.c (gen_exp_file): Revert 19990411 change. 1999-06-02 12:37:48 +00:00
Andreas Schwab aa903cfb1b * readelf.c (process_relocs): Determine type of reloc from
DT_PLTREL and from section type.
1999-05-31 00:58:59 +00:00
Nick Clifton ab5e779453 Display unknown values detected in ELF program header. 1999-05-29 10:51:14 +00:00
Nick Clifton ccf04c82c7 fix typo. 1999-05-29 09:09:39 +00:00
Nick Clifton 9c19a80986 Better coping with different reloc types. 1999-05-28 10:14:11 +00:00
Ian Lance Taylor 63fcb9e946 * readelf.c: Include "elf/i960.h".
(dump_relocations): Handle EM_960.
1999-05-27 22:04:40 +00:00
Andreas Schwab 8066d1a283 * objcopy.c (copy_archive): Preserve dates of archive members if
requested.
1999-05-27 03:16:15 +00:00
Andreas Schwab 1b228002a1 * readelf.c (dump_relocations): Always print the addend on RELA
systems even if there is no symbol.
	(process_program_headers): Reset dynamic_size before looping
	through the program headers.
	(process_version_sections): Cast sh_offset to unsigned long for
	printing in case bfd_vma is wider.
	(process_symbol_table): Use get_symbol_index_type when printing
	st_shndx.
1999-05-27 03:02:23 +00:00
DJ Delorie 751d21b5b9 * windres.c: add verbose option
(main): process verbose option
* resrc.c (look_for_default): new.  Look for the default
preprocessor in a given location.
(read_rc_file): for foo/bar-windres, look for foo/bar-gcc,
foo/gcc (in case of foo/windres), and then gcc (the old default).
1999-05-25 12:10:27 +00:00
Nick Clifton 49e315b1a1 Add support for generating an mcore-elf dll. 1999-05-16 14:12:20 +00:00
Nick Clifton 661016bb24 Add support for mcore to dlltool. 1999-05-15 15:25:22 +00:00
DJ Delorie 1a62478879 * rclex.l: add code to suppress certain output from cpp, replace
all returns with MAYBE_RETURN
	(MAYBE_RETURN): new, implement the suppression by returning
	IGNORED_TOKEN as needed.
	(cpp_line): remember which file we're in, mark data from included
	*.h files for suppression.
	* rcparse.y (input): allow IGNORED_TOKEN outside of known constructs
1999-05-12 22:03:10 +00:00
DJ Delorie 09cda596de 1999-05-10 DJ Delorie <dj@cygnus.com>
* windres.c (quot): Quote shell metacharacters in a string
	(main): quote parameters to cpp that might have metacharacters in
	them.  Allow -D as an alias for --define to allow for sharing make
	macros with gcc.
	* objdump.c (dump_reloc_set): don't core if howto->name is NULL
	* Makefile.am: Give rescoff.c a cpu-specific -D so it can set
	the correct BFD.
	* Makefile.in: ditto
	* rescoff.c (write_coff_file): Set the correct BFD
1999-05-11 21:06:16 +00:00
Ian Lance Taylor 82716b788e * rename.c (smart_rename): Fix test of whether file exists. 1999-05-06 11:03:33 +00:00
Nick Clifton a8a9050d4a Set display_endian based on target endianism. 1999-05-06 07:41:56 +00:00
Catherine Moore b890a73569 * dlltool.c (interwork): Remove.
(arm_interwork_jtab): Use bx insn.
        (thumb_jtab): Likewise.
        (MARM_INTERWORK): New machine type.
        (rvaafter): Handle it.
        (rvabefore) Likewise.
        (asm_prefix): Likewise.
        (gen_exp_type): Check machine type instead of
        interwork flag.
        (make_one_lib_file): Likewise.
        (make_head): Likewise.
        (make_tail): Likewise.
        (usage): Update machine types.
        (main): Remove -interwork support.
1999-05-05 19:02:14 +00:00
Catherine Moore 33c63f9db4 * readelf.c (get_machine_flags): Check for EF_CPU32.
(get_data_encoding): Fix typo.
1999-05-05 11:00:55 +00:00
Richard Henderson 252b5132c7 19990502 sourceware import 1999-05-03 07:29:11 +00:00