Commit Graph

23267 Commits

Author SHA1 Message Date
Doug Evans dc82df78bb * cgen.h (cgen_macro_insn_count): Declare. 1998-07-24 18:45:58 +00:00
Doug Evans 2e6dfccc09 * m32r-asm.c,m32r-opc.c: Regenerate (-Wall cleanups). 1998-07-24 18:45:13 +00:00
Doug Evans 019b378aed * cgen.c: Include libiberty.h.
(cgen_md_apply_fix3): Update call to md_cgen_lookup_reloc.
	(cgen_tc_gen_reloc): Use xmalloc, not bfd_alloc.
	* cgen.h (cgen_md_apply_fix3,cgen_tc_gen_reloc): Declare.
	(md_cgen_lookup_reloc)): Declare.
	(md_cgen_record_fixup_exp): Declare.
	* config/tc-m32r.h (md_pcrel_from_section): Declare.
	(m32r_relax_frag): Declare.
	(cgen_md_apply_fix3): Decls moved to cgen.h.
	(cgen_record_fixup_exp,cgen_tc_gen_reloc): Ditto.
	(m32r_cgen_record_fixup_exp): Delete decl.
	* config/tc-m32r.c (m32r_cpu_desc): #if 0 out.
	(assemble_nop): Delete.
	(expand_debug_syms): Delete unused `exp'.
	(md_cgen_lookup_reloc): Renamed from CGEN_SYM (lookup_reloc).
	Add default case for -Wall.
	(m32r_cgen_record_fixup_exp): Add default case for -Wall.
	(md_atof): Delete unused wordP.
1998-07-24 18:28:19 +00:00
Jeff Law 8417b6242e * elf-m10300.c (mn10300_elf_relax_section): Fix typo when relaxing
from 24bit operand to an 8bit operand.
1998-07-24 18:24:31 +00:00
Jeff Law 88ac1a5e13 * elf-m10300.c (mn10300_elf_relax_section): Do not relax "dmul",
"dmulu", "dmach", "dmachu" with 32bit operands.
1998-07-24 17:49:08 +00:00
Jeff Law 06992a452a * elf-m10300.c (mn10300_elf_howto): Add R_MN10300_24 entry.
(mn10300_elf_reloc_map): Similarly.
        (mn10300_elf_final_link_relocate): Handle R_MN10300_24.
        (mn10300_elf_relax_section): Support relaxing on the am33.
1998-07-24 17:26:51 +00:00
Jeff Law b774fb9b45 * mn10300.h: Add R_MN10300_24 relocation. 1998-07-24 17:22:50 +00:00
Doug Evans f3ccb5a785 * sim-model.c (model_option_handler): Remove unused variable `n'. 1998-07-24 17:16:02 +00:00
Ian Lance Taylor e2e8e76bd1 start-sanitize-r5900
The value of R_MIPS15_S3 has changed:
	* elf32-mips.c (elf_mips15_s3_howto): New static variable.
	(mips_reloc_map): Remove BFD_RELOC_MIPS15_S3.
	(bfd_elf32_bfd_reloc_type_lookup): Handle BFD_RELOC_MIPS15_S3
	specially.
	(mips_info_to_howto_rel): Handle R_MIPS15_S3 specially.
	(mips_elf_relocate_section): Check for R_MIPS15_S3.

end-sanitize-r5900
	* elf32-mips.c (elf_mips_howto_table): Add reloc types used on
	Irix 6.
	(bfd_elf32_bfd_reloc_type_lookup): Add default case.
	* elf64-mips.c: Replace all uses of mips_elf64_reloc_type with
	elf_mips_reloc_type defined in elf/mips.h.
1998-07-24 16:51:33 +00:00
Doug Evans fa653bc01e * Makefile.in (clean,mostlyclean): Change leading spaces to a tab. 1998-07-24 16:44:43 +00:00
Nick Clifton b460b2684e Remoe spurious header file inclusion. 1998-07-24 16:40:56 +00:00
Ulrich Drepper 30471c22e3 Remove reloc_type definition completely. It's now in elf/mips.h. 1998-07-24 16:39:19 +00:00
Ulrich Drepper ef8349a149 Remove reloc_type definition completely. It's now in elf/mips.h. 1998-07-24 16:39:08 +00:00
Ulrich Drepper eef02e7ece Add MIPS64 relocation names and values. 1998-07-24 16:38:32 +00:00
Doug Evans 8041db84cb * config/tc-dvp.c (assemble_vif): Make label at start of overlay
a local label.
	(create_vuoverlay_section): Put __start_ label at start of overlay
	for gdb.
1998-07-24 16:18:22 +00:00
Ian Lance Taylor f89e59e174 * configure.tgt: Recognize h8[35]00*-coff* as well as -hms*. 1998-07-24 16:01:28 +00:00
Doug Evans 66f3fbe13c * mt-sky: New file. 1998-07-24 15:48:47 +00:00
Doug Evans 456876c8c4 * configure.in (mips64r5900-sky-elf*): Use config/mt-sky.
Set extraconfigdirs to build dvp-elf-as.
	* configure (extraconfigdirs): New variable.
	(SUBDIRS): Add extraconfigdirs and recurse on them too.
	* Makefile.in (all): Move higher in file.
	(EXTRA_TARGET_HOST_ALL_MODULES): New variable.
	(EXTRA_TARGET_HOST_{INSTALL,CHECK}_MODULES): New variables.
	(ALL_MODULES): Add EXTRA_TARGET_HOST_ALL_MODULES.
	(CROSS_CHECK_MODULES): Add EXTRA_TARGET_HOST_CHECK_MODULES.
	(INSTALL_MODULES): Add EXTRA_TARGET_HOST_INSTALL_MODULES.
1998-07-24 15:46:17 +00:00
Mark Alexander 52e4073c5f * mn10300-tdep.c (set_movm_offsets): New helper function
for mn10300_analyze_prologue.
	(mn10300_analyze_prologue): Simplify by factoring out common code.
	Fix bugs in setting frame address for optimized code.
	Use read_memory_nobpt instead of target_read_memory.
1998-07-24 14:48:41 +00:00
Martin Hunt 6e77819495 Fri Jul 24 01:08:37 1998 Martin M. Hunt <hunt@cygnus.com>
* gdbtk-cmds.c (gdb_loadfile): When there are no
	linenumbers, use only one tab.
1998-07-24 08:09:03 +00:00
Jeff Law ddbe80f79c * mips.h (R_MIPS16_S3): Change to a higher value. 1998-07-24 05:29:01 +00:00
Ian Lance Taylor 2caa49ec21 remove d30v sanitization 1998-07-24 04:51:37 +00:00
Ian Lance Taylor 2c9fd4b158 remove d30v sanitization 1998-07-24 04:44:58 +00:00
Ian Lance Taylor 965f532708 remove d30v sanitization 1998-07-24 04:38:45 +00:00
Ian Lance Taylor 9af55dcfdf remove d30v sanitization 1998-07-24 04:27:42 +00:00
Ian Lance Taylor b69153b601 remove d30v sanitization 1998-07-24 04:14:04 +00:00
Ian Lance Taylor faec70d605 remove d30v sanitization 1998-07-24 03:58:14 +00:00
Ian Lance Taylor cc88a10633 remove d30v sanitization 1998-07-24 03:39:19 +00:00
Ian Lance Taylor d2245e2b49 rebuild 1998-07-24 03:38:43 +00:00
Michael Snyder f32fa05325 Thu Jul 23 17:01:17 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* tracepoint.c (collect_symbol): handle LOC_ARG case.
1998-07-24 00:02:07 +00:00
Ian Lance Taylor 6767a3abb7 remove d30v sanitization 1998-07-23 23:50:13 +00:00
Ian Lance Taylor 82f21cea28 rebuild 1998-07-23 23:35:41 +00:00
Ian Lance Taylor 8c4774d972 remove d30v sanitization 1998-07-23 23:21:17 +00:00
Dawn Perchik 79dc930562 * sparc-tdep.c (sparc_init_extra_frame_info): Recognize when we're
in a function prologue before the SAVE instruction.
	(sparc_frame_saved_pc): Ditto.
	* config/sparc/tm-sparc.h (EXTRA_FRAME_INFO): Add in_prologue flag.
1998-07-23 22:14:48 +00:00
Dawn Perchik dd473edc9f * i386-tdep.c (i386_get_frame_setup): Recognize function
prologues in code compiled with -fcheck-stack.
1998-07-23 21:59:49 +00:00
Ian Lance Taylor d470a746c4 * configure.bat: Remove obsolete file.
* examples/configure.bat: Remove obsolete file.
1998-07-23 21:49:12 +00:00
Dawn Perchik 2474bfd794 * remote-mips.c (remote_mips_insert_hw_breakpoint,
remote_mips_remove_hw_breakpoint): New functions for hardware
	breakpoints on LSI targets.
	* config/mips/tm-embed.h (target_remove_hw_breakpoint,
	target_insert_hw_breakpoint): Define to call
	remote_mips_insert_hw_breakpoint and remote_mips_remove_hw_breakpoint,
	respectively.
1998-07-23 21:48:28 +00:00
Doug Evans 650a22721e * elf64-mips.c (mips_elf64_reloc_type): #if 0 out more relocations
as they are defined in elf/mips.h now.
1998-07-23 20:37:42 +00:00
Brendan Kehoe 0ab3f08623 * Makefile.in (all-target-libjava): Depend on all-gcc and
all-target-newlib.
        (configure-target-libjava): Depend on $(ALL_GCC).

fix nightly build permanently to do the compiler before we do the libs.
1998-07-23 20:37:31 +00:00
Jeff Law 41e9f56c74 * config/tc-mn10300.c (md_assemble): Make sure "errmsg" has a non-NULL
value.
1998-07-23 19:20:47 +00:00
Jeff Law 91b9fccdf0 * elf-m10300.c (compute_function_info): Keep track of stack space
needed by am33 movm instruction variant.
1998-07-23 17:41:00 +00:00
Jeff Law d5394da7ec * Re-add lost change:
* elf-m10300.c (elf32_mn10300_link_hash_entry): Add new field
        "movm_stack_size".
        (mn10300_elf_relax_section): Include stack space for register saves
        in the imm8 field of a "call" instruction.
        (compute_function_info): Determine how much stack is allocated by
        the movm instruction.  Fix typo.
        (elf32_mn10300_link_hash_newfunc): Initialize movm_stack_size.
1998-07-23 17:30:54 +00:00
Ian Carmichael f07122bc9e * VU memory now accessed via kseg1. 1998-07-23 17:05:08 +00:00
Jeff Law 4b6651c925 * am33.igen: Add some missing instructions.
Missed a few last week... Grrr.
1998-07-23 16:31:41 +00:00
Ian Lance Taylor bf00990ea9 * scripttempl/aout.sc: If ALIGNMENT is defined, use it to set
alignment of end symbol.
	* scripttempl/elf.sc: Likewise.
	* emulparams/sun4.sh (ALIGNMENT): Define.
	* emulparams/elf32_sparc.sh (ALIGNMENT): Define.
	* ldint.texinfo (emulation parameters): Document ALIGNMENT.
1998-07-23 16:31:01 +00:00
Ian Lance Taylor 899ea5062e rebuild 1998-07-23 16:25:52 +00:00
Ian Lance Taylor e42578b65e * ld-elfvers/vers.exp: Just check for i?86 rather than checking
for i386, i486, and i586.
	(objdump_versionstuff): If we can't find the line, dump the file.
1998-07-23 16:24:15 +00:00
Jeff Law 6ae1456eb5 * am33.igen: Autoincrement loads/store fixes. 1998-07-23 16:06:50 +00:00
Jeff Law b706e6b44d * gas/mn10300/am33_8.s: Test DSP autoincrement memory loads/stores.
* gas/mn10300/basic.exp: Corresponding changes.
1998-07-23 15:52:27 +00:00
Jeff Law 47254a1631 * m10300-opc.c: Add DSP autoincrement memory loads/stores. 1998-07-23 15:51:24 +00:00