binutils-gdb/sim/arm
Mike Frysinger 590919de6c sim: arm: add support for MOVW and MOVT instructions
From: Jayant R. Sonar <Jayant.Sonar@kpitcummins.com>

This patch adds simulator support for handling the armv7 instructions
'movw (immediate)' and 'movt'.

Compiler frequently use these instructions to load the 32bit addresses of
global variables, string pointers etc. into the general registers.

In absence of support of these instructions:
1. GDB run simulator fails to print even simple "hello world" string
   on console.
2. Loading of global variable addresses into the registers fail causing
   arithmetic operation failures.

Patch has been regression tested for arm-none-eabi (-march=armv7-a).
2013-05-15 17:49:44 +00:00
..
aclocal.m4
armcopro.c [sim] Update old contact info in GPL license notices 2012-12-19 07:18:22 +00:00
armdefs.h [sim] Update old contact info in GPL license notices 2012-12-19 07:18:22 +00:00
armemu.c sim: arm: add support for MOVW and MOVT instructions 2013-05-15 17:49:44 +00:00
armemu.h [sim] Update old contact info in GPL license notices 2012-12-19 07:18:22 +00:00
armfpe.h [sim] Update old contact info in GPL license notices 2012-12-19 07:18:22 +00:00
arminit.c [sim] Update old contact info in GPL license notices 2012-12-19 07:18:22 +00:00
armopts.h [sim] Update old contact info in GPL license notices 2012-12-19 07:18:22 +00:00
armos.c [sim] Update old contact info in GPL license notices 2012-12-19 07:18:22 +00:00
armos.h [sim] Update old contact info in GPL license notices 2012-12-19 07:18:22 +00:00
armrdi.c [sim] Update old contact info in GPL license notices 2012-12-19 07:18:22 +00:00
armsupp.c [sim] Update old contact info in GPL license notices 2012-12-19 07:18:22 +00:00
armvirt.c [sim] Update old contact info in GPL license notices 2012-12-19 07:18:22 +00:00
bag.c [sim] Update old contact info in GPL license notices 2012-12-19 07:18:22 +00:00
bag.h [sim] Update old contact info in GPL license notices 2012-12-19 07:18:22 +00:00
ChangeLog sim: arm: add support for MOVW and MOVT instructions 2013-05-15 17:49:44 +00:00
communicate.c [sim] Update old contact info in GPL license notices 2012-12-19 07:18:22 +00:00
communicate.h [sim] Update old contact info in GPL license notices 2012-12-19 07:18:22 +00:00
config.in Define PACKAGE macro in all sims' config.h. 2012-06-15 17:20:10 +00:00
configure Fix sim build when configured with --enable-plugins 2012-11-20 14:41:26 +00:00
configure.ac
COPYING Update sim's COPYING files. 2012-12-19 07:19:14 +00:00
dbg_conf.h [sim] Update old contact info in GPL license notices 2012-12-19 07:18:22 +00:00
dbg_cp.h [sim] Update old contact info in GPL license notices 2012-12-19 07:18:22 +00:00
dbg_hif.h [sim] Update old contact info in GPL license notices 2012-12-19 07:18:22 +00:00
dbg_rdi.h [sim] Update old contact info in GPL license notices 2012-12-19 07:18:22 +00:00
gdbhost.c [sim] Update old contact info in GPL license notices 2012-12-19 07:18:22 +00:00
gdbhost.h [sim] Update old contact info in GPL license notices 2012-12-19 07:18:22 +00:00
iwmmxt.c Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
iwmmxt.h Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
kid.c [sim] Update old contact info in GPL license notices 2012-12-19 07:18:22 +00:00
main.c [sim] Update old contact info in GPL license notices 2012-12-19 07:18:22 +00:00
Makefile.in Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
maverick.c Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
parent.c [sim] Update old contact info in GPL license notices 2012-12-19 07:18:22 +00:00
README
tconfig.in
thumbemu.c [sim] Update old contact info in GPL license notices 2012-12-19 07:18:22 +00:00
wrapper.c gdb: 2013-03-15 17:53:44 +00:00

This directory contains the standard release of the ARMulator from
Advanced RISC Machines, and was ftp'd from.

ftp.cl.cam.ac.uk:/arm/gnu

It likes to use TCP/IP between the simulator and the host, which is
nice, but is a pain to use under anything non-unix.

I've added created a new Makefile.in (the original in Makefile.orig)
to build a version of the simulator without the TCP/IP stuff, and a
wrapper.c to link directly into gdb and the run command.

It should be possible (barring major changes in the layout of
the armulator) to upgrade the simulator by copying all the files
out of a release into this directory and renaming the Makefile.

(Except that I changed armos.c to work more simply with our
simulator rigs)

Steve

sac@cygnus.com

Mon May 15 12:03:28 PDT 1995