diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2009-01-03 21:00:48 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2009-01-03 21:00:48 +0000 |
commit | ddf2c97233d9d3415e6ccac3256d08bc7aedba48 (patch) | |
tree | 16754062c4d48c1886942d661cf553d9199207ee /sim/cris/crisv32f.c | |
parent | 2e1566c6dacb9e40d35df48b487364e6911f088e (diff) | |
download | binutils-gdb-ddf2c97233d9d3415e6ccac3256d08bc7aedba48.tar.gz |
* cris/sim-main.h (struct _sim_cpu): New member
set_target_thread_data.
* cris/crisv32f.c (CRIS_TLS_REGISTER): Define.
* cris/crisv10f.c: Ditto.
* cris/cris-tmpl.c (MY (set_target_thread_data)): New function.
(MY (f_specific_init)): Set new _sim_cpu member to new function.
* cris/traps.c (TARGET_SYS_set_thread_area): Define.
(cris_break_13_handler) <case TARGET_SYS_set_thread_area>: New
case.
Diffstat (limited to 'sim/cris/crisv32f.c')
-rw-r--r-- | sim/cris/crisv32f.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sim/cris/crisv32f.c b/sim/cris/crisv32f.c index bc66be600d1..8078717246e 100644 --- a/sim/cris/crisv32f.c +++ b/sim/cris/crisv32f.c @@ -28,6 +28,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ #define SPECIFIC_U_MEM_FN #define SPECIFIC_U_MOVEM_FN #define BASENUM 32 +#define CRIS_TLS_REGISTER 2 #include "cris-tmpl.c" #if WITH_PROFILE_MODEL_P |