Commit graph

23434 commits

Author SHA1 Message Date
Keith Seitz
850e1491cc * gdbtk-cmds.c (gdb_search): Add missing NULL to switches.
Add missing flags to result_ptr.
        Pass along any errors caused by getting the list of files from
        tcl.
        Allocate correct amount of memory for the file list.
        Don't do any unecessary cleanups.
1998-07-24 22:02:39 +00:00
Jeff Law
73fe88bc9f * gdb.disasm/am33.s: Add tests for autoincrement instructions.
* gdb.disasm/am33.exp: Run time.  Update tests which use r8-r15
        to use a0-a3/d0-d3 as needed.
1998-07-24 21:52:43 +00:00
Ian Lance Taylor
96909b926c * stabs.texinfo (Method Type Descriptor): Expand and correct. 1998-07-24 21:52:03 +00:00
Michael Snyder
8d6476c711 Fri Jul 24 14:41:19 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* tracepoint.c (encode_actions): Treat register names and simple
        variable names as special cases and don't convert them to byte-
        codes: these things can be collected far more efficiently
        without invoking the bytecode interpreter.
1998-07-24 21:44:14 +00:00
Jeff Law
7210606cf0 * m10300-dis.c: Do not emit a comma before a PLUS (autoincrement)
operand.
1998-07-24 21:23:35 +00:00
Ian Lance Taylor
464dfc1468 * config.sub: Merge with FSF. 1998-07-24 21:13:43 +00:00
Ian Lance Taylor
e2dce311e0 * config.guess: Merge with FSF.
As part of this, the BePC entry is no longer sanitized, since it is
now in the FSF version of config.guess.
1998-07-24 21:04:00 +00:00
Nick Clifton
5639074c60 Fix memory corruption due to generic_add_output_symbol being called after elf_map_symbols. 1998-07-24 20:56:53 +00:00
Mark Alexander
4448ace242 * config/i386/tm-i386.h (STORE_STRUCT_RETURN): Make it
work on hosts of any endianness.
	* config/i386/tm-i386v.h: Ditto.
1998-07-24 20:44:47 +00:00
Mark Alexander
bd06c4e4d3 * config/i386/tm-i386.h (STORE_STRUCT_RETURN): Make it
work on hosts of any endianness.
1998-07-24 20:38:43 +00:00
Ian Lance Taylor
3a66870a3e tipo 1998-07-24 20:34:08 +00:00
Ian Lance Taylor
8b898eb168 * Makefile.am (install-exec-local): Don't remove the file before
checking whether $(bindir) == $(tooldir)/bin.  From Maciej
	W. Rozycki <macro@ds2.pg.gda.pl>.
	* Makefile.in: Rebuild.
1998-07-24 20:33:13 +00:00
Ian Lance Taylor
5817018a53 * Makefile.am (install-exec-local): Don't remove the file before
checking whether $(bindir) == $(tooldir)/bin.  From "Maciej
	W. Rozycki" <macro@ds2.pg.gda.pl>.
	* Makefile.in: Rebuild.
1998-07-24 20:29:01 +00:00
Doug Evans
431e4f86ad * m32r.c: Include cgen-mem.h.
* traps.c (m32r_trap): Tweak for -Wall.
	* m32rx.c: Include cgen-mem.h.
	* semx.c: Regenerate, get -Wall cleanups.
1998-07-24 20:03:56 +00:00
Doug Evans
63542cbcc0 * cgen-mem.h (DECLARE_SETT): Fix return type. 1998-07-24 19:44:04 +00:00
Ian Lance Taylor
05ec3b4162 rebuild dependencies 1998-07-24 19:16:35 +00:00
Jeff Law
6d254a2d5f * am33.igen (translate_xreg): New function. Use it as needed. 1998-07-24 18:50:12 +00:00
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