diff options
author | Mike Frysinger <vapier@gentoo.org> | 2013-05-15 17:49:44 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2013-05-15 17:49:44 +0000 |
commit | 590919de6c670394fb3bc42bd99e559f04ee8edc (patch) | |
tree | 72bc0c171d223c6cc7dfb42118e2608d5585a418 /include/elf/tic6x-attrs.h | |
parent | ed0f00b834265be723abc3fba882804bfc1f8f71 (diff) | |
download | gdb-590919de6c670394fb3bc42bd99e559f04ee8edc.zip gdb-590919de6c670394fb3bc42bd99e559f04ee8edc.tar.gz gdb-590919de6c670394fb3bc42bd99e559f04ee8edc.tar.bz2 |
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).
Diffstat (limited to 'include/elf/tic6x-attrs.h')
0 files changed, 0 insertions, 0 deletions