Commit graph

23340 commits

Author SHA1 Message Date
Catherine Moore
020c70e98e * scripttempl/elfarm.sc: New file.
* emulparams/armelf.sh: Set SCRIPT_NAME to elfarm.
1998-08-01 17:30:02 +00:00
Ulrich Drepper
5530d45d45 * elf32-mips.c (_bfd_mips_elf_section_from_shdr): Don't pass
.liblist string through gettext.
1998-08-01 16:41:51 +00:00
Ulrich Drepper
8cad2d6266 Add missing RHF_* constants. 1998-08-01 04:30:17 +00:00
Ron Unrau
e417b893a7 * config/tm-txvu.h: use NUM_CORE_REGS instead of NUM_R5900_REGS
* mips-tdep.c: use NUM_CORE_REGS
        * txvu-tdep.c: use NUM_CORE_REGS, add function prototypes
        (txvu_insert_breakpoints): use VIF interrupt bit
1998-07-31 22:08:08 +00:00
Ron Unrau
b8140a08bf * sim-main.h: shadow NUM_CORE_REGS from tm-txvu.h
* interp.c: use NUM_CORE_REGS
        * sky-gdb.c (set_fifo_breakpoints): use VIF interrupt bit for break
        * sky-pke.c (pke_issue): use interrupt bit for break points
1998-07-31 22:02:12 +00:00
Ron Unrau
4f528afaf1 Start of changes to remove mdebug section from mips*-elf
Based on MIPS_STAB_ELF definition
        * acconfig.h: undef if not configured
        * config.in: undef if not configured
        * config/mips-elf.h: only set ECOFF debugging if not stabs-in-elf
        * config/tc-mips.c (s_ent): set BSF_FUNCTION
        * stabs.c (s_stab_generic): flush frag
1998-07-31 21:56:15 +00:00
Catherine Moore
ea89ffaec5 *** empty log message *** 1998-07-31 21:51:01 +00:00
Catherine Moore
1667e4c2e0 * config/tc-arm.h: Add definitions for OBJ_ELF. 1998-07-31 21:44:56 +00:00
Catherine Moore
7cebe50aea *** empty log message *** 1998-07-31 21:40:41 +00:00
Catherine Moore
efaa65c99c * Makefile.am: Add support for elf32-arm.lo.
* Makefile.in: Rebuild.
        * config.bfd (arm-*-elf):  Define targ_defvec and targ_selvecs.
        (thumb-*-elf): Define targ_defvec and targ_selvecs.
        * configure.in:  Handle bfd_elf32_littlearm_vec and bfd_elf32_bigarm_vec.
        * configure: Regenerate.
        * elf.c: (prep_headers):  Support arch_type of EM_ARM.
        * targets.c:  Support new targets bfd_elf32_bigarm_vec and
        bfd_target bfd_elf32_littlearm_vec.
        * elf32-arm.c:  New file.
1998-07-31 21:26:28 +00:00
Catherine Moore
72d52fcda0 *** empty log message *** 1998-07-31 21:18:34 +00:00
Catherine Moore
0a8aeb55e4 * configure.in: (arm-*-elf): Handle.
(thumb-*-elf): Handle.
        * configure:  Regenerate.
        * read.c (stringer): Fix typo in comment.
        * write.c (fixup_segment): Don't add symbol value to addend if
        TC_ARM and OBJ_ELF.
        * config/tc-arm.c (md_section_align):  Don't align dwarf debug
        sections.
        (tc_gen_reloc):  Always set the reloc addend to fixp->fx_offset
        for OBJ_ELF.
1998-07-31 21:15:51 +00:00
Catherine Moore
6e723af99a emulparams/armelf.sh: New file.
configure.tgt:  Recognize thumb-elf and arm-elf.
Makefile.am (earmelf.o): New.
Makefile.in: Rebuild.
1998-07-31 21:14:19 +00:00
Drew Moseley
c2867a6c70 Change the definition of ui_loop_hook to be a function pointer
rather than a function.
1998-07-31 17:26:05 +00:00
Catherine Moore
be5b92f932 (dump_relocations): EM_ARM uses rela relocs. 1998-07-31 15:08:44 +00:00
Catherine Moore
860fe0c07e Add R_ARM_THM_PC9 relocation. 1998-07-31 15:04:36 +00:00
Catherine Moore
11d2da24a2 Add sanitize markers for thumb-elf and arm-elf. 1998-07-31 14:50:23 +00:00
Catherine Moore
db8f71710a Add arm-elf and thumb-elf support. 1998-07-31 14:43:47 +00:00
Jeff Holcomb
acf38b4e4a fix sanitization 1998-07-31 05:23:28 +00:00
Mark Alexander
3d3abf70e9 * mips-tdep.c (mask_address_p): New variable.
(mips_addr_bits_remove): Test mask_address_p to decide whether
	to mask off the upper 32 bits of addresses.
	(_initialize_mips_tdep): Add command to set mask_address_p.
	(mips_call_dummy_address): New function.
	* config/mips/tm-mips.h (CALL_DUMMY_ADDRESS): Redefine to
	call mips_call_dummy_address.
1998-07-30 21:07:14 +00:00
Frank Ch. Eigler
e21cafde4e * Fix for PR 16389, brought over from d30v branch.
Thu Jul 30 21:38:43 1998  Frank Ch. Eigler  <fche@cygnus.com>
	* config/tc-d30v.c ({cur,prev}_left_kills_right_p): New variables.
	(write_2_short): Emit warning if new flag is set.
	(do_assemble): Set flags if left instruction is one of special
	"right-instruction-killer" type.
1998-07-30 19:41:18 +00:00
Frank Ch. Eigler
2c5d6bf41b * Fix for PR 16389, brought over from d30v branch.
Thu Jul 30 21:44:25 1998  Frank Ch. Eigler  <fche@cygnus.com>
	* d30v.h (FLAG_LKR): New flag for "left-kills-right" instructions.
1998-07-30 19:39:47 +00:00
Frank Ch. Eigler
98c5616ad4 * Fix for PR 16389, brought over from d30v branch
Thu Jul 30 21:41:10 1998  Frank Ch. Eigler  <fche@cygnus.com>
	* d30v-opc.c (d30v_opcode_table): Add new "LKR" flag to some
	instructions.
1998-07-30 19:38:15 +00:00
Fernando Nasser
4ef0351db6 * symfile.c (add_symbol_file_command): Test for the from_tty
parameter and avoid query when not interactive.
PR16620
1998-07-29 18:59:19 +00:00
Jeff Law
e1160daac2 Fix sanitize misspellings. 1998-07-29 18:28:29 +00:00
Jeff Law
b5f864ee09 Sanitize away beos references. 1998-07-29 18:26:26 +00:00
Jeff Law
fb23007f35 Keep sysdep-hpux11.h 1998-07-29 17:22:48 +00:00
Jeff Law
6185f899b9 * mn10300-tdep.c (set_movm_offsets): Do nothing for the am33
registers if we are not in am33 mode.
        (mn10300_frame_chain, mn10300_frame_saved_pc): Similarly.
        (set_machine_hook): Keep track of whether or not we're in am33 mode.
1998-07-29 16:41:36 +00:00
Stan Cox
f1f40f95ca sparc.h: (R_SPARC_REV32): Added for little endian data e.g. sparc 86x. 1998-07-29 01:47:13 +00:00
Andrew Cagney
8d3580d090 Fix incorrect calculation of conditional field when being extracted
from a previous decode.
1998-07-29 00:14:29 +00:00
Doug Evans
d846a17c70 Add support for new versions of mulwhi,mulwlo,macwhi,macwlo that
accept an accumulator choice.
	* cpux.c,decodex.c,decodex.h,modelx.c,readx.c,semx.c: Regenerate.
1998-07-28 20:09:10 +00:00
Doug Evans
1beffba126 New testcases for PR 16547 (new insns added). 1998-07-28 18:47:29 +00:00
Doug Evans
fe63ffef0a New testcases for PR 16547 (new instructions added). 1998-07-28 18:43:52 +00:00
Jeff Law
711eeac0eb * config/tc-mn10300.c (md_assemble): Fix "errmsg" initialization
to work with internationalization code.  Issue an error when two
        operands match that are not allowed to match.
1998-07-28 17:03:05 +00:00
Jeff Law
9509185b58 * m10300-opc.c: Add entries for "no_match_operands" field in
the opcode table.
1998-07-28 17:01:21 +00:00
Jeff Law
ce23878776 * sysdep-hpux11.h: New file.
* configure.in (*-*-*-hpux11*): Use sysdep-hpux11.h.
1998-07-28 15:44:30 +00:00
Andrew Cagney
f6b7bfcfa0 Add note about limitations of insn_field_cmp(). 1998-07-28 08:58:23 +00:00
Andrew Cagney
07c2bd1455 Problems with conditional instruction-table fields (N!M, N=M, ...).
Was restricting `M' to opcode fields in the current word.
1998-07-28 08:08:54 +00:00
Doug Evans
f36af4ae61 * configure.in (install_tooldir): Allow target to specify whether
it wants to be installed in $(tooldir)/bin.
start-sanitize-sky
	(dvp-*-*): Don't install in $(tooldir)/bin.
end-sanitize-sky
	* configure: Regenerate.
	* Makefile.am (install-exec-local): Set install-exec-tooldir
	dependency via configure.
	* Makefile.in: Regenerate.
1998-07-27 23:30:34 +00:00
Doug Evans
16a628c00f * mt-sky (install-dvp-gas): Delete. 1998-07-27 23:25:03 +00:00
Michael Snyder
0745a748dd Mon Jul 27 16:11:42 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* tracepoint.c (remote_set_transparent_ranges): new function.
        Send the start and end addresses of all loadable read-only
        sections down to the trace target, so that it can treat them
        as "transparent" (ie. don't care if they were collected or not).
1998-07-27 23:13:22 +00:00
Mark Alexander
5ef103c0b9 * mn10300-tdep.c (mn10300_analyze_prologue): Undo previous fix
for setting frame address in optimized code; made unnecessary
	by compiler fixes.
1998-07-27 22:41:21 +00:00
Martin Hunt
6f5af15b07 Mon Jul 27 13:07:16 1998 Martin M. Hunt <hunt@cygnus.com>
* gdbtk.c (gdbtk_call_command): Removed because it is now
	in gdbtk-hooks.c
	(null_routine): Removed.

	* gdbtk-hooks.c (tracepoint_notify): Fix sprintf to
	match number of arguments.

	* gdbtk-cmds.c (gdb_loc): When calling gdb_loc with an
	argument, call find_pc_line() to get a complete
	symtab_and_line struct.
1998-07-27 20:23:58 +00:00
Martin Hunt
55d3002f53 Mon Jul 27 10:45:56 1998 Martin M. Hunt <hunt@cygnus.com>
* symtab.c (decode_line_1): For minimal symbol, call
	find_pc_sect_line() to make sure the line number gets set
	properly.
	(print_symbol_info): Redeclare function void.
1998-07-27 20:23:32 +00:00
Jason Molenda
2926766b79 1998-07-27 Jason Molenda (jsm@bugshack.cygnus.com)
* config/d10v/tm-d10v.h (REGISTER_NAMES): sp -> r15.  The
        stack pointer et al are synthesized from the SP_REGNUM (etc)
        defines and should not be mentioned in REGISTER_NAMES.

There is a log discussion copied into PR 15966 about how this is not
handled consistently across all targets and we ought to clean it up
a bit.  I'm not tackling the general for this PR, though.
1998-07-27 19:24:40 +00:00
Jeff Law
3e20223154 * am33.igen: Detect cases where two operands must not match in
non-DSP instructions.
1998-07-27 18:05:43 +00:00
Jeff Law
b5b59a3c3c * mn10300-tdep.c (mn10300_frame_chain): Account for space saved
by am33 register saves.
        (mn10300_frame_saved_pc): Similarly.
1998-07-27 14:55:51 +00:00
Andrew Cagney
60f9cd07d0 For vr* processors start using vr.igen.
Sanitize out README.Cygnus.
1998-07-25 07:49:29 +00:00
Andrew Cagney
e1b20d3048 Add new file vr.igen which is a merge of vr5400.igen and vr4320.igen.
Hack sanitize so that it doesn't sanitize vrXXX when either of
keep-vr5400 or keep-vr4320 are specified.
Move two basic vr4100 instructions from mips.igen to vr.igen.
1998-07-25 06:45:18 +00:00
Doug Evans
5a483f4d88 tweak wording of last entry 1998-07-25 03:09:51 +00:00