summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc64
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2010-08-26 18:04:51 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2010-08-26 18:04:51 +0000
commitad8b61431b0de66d3c66f2241e60727f135e1bca (patch)
tree141fb689fc5cbd190559bcd240d3b1b90fa23cf8 /c/src/lib/libbsp/sparc64
parent2010-08-26 Chris Johns <chrisj@rtems.org> (diff)
downloadrtems-ad8b61431b0de66d3c66f2241e60727f135e1bca.tar.bz2
2010-08-26 Gedare Bloom <giddyup44@yahoo.com>
PR 1691/bsps * shared/include/traptable.h: Double the size of TABLE_SIZE to copy code branched to from the trap table.
Diffstat (limited to 'c/src/lib/libbsp/sparc64')
-rw-r--r--c/src/lib/libbsp/sparc64/ChangeLog6
-rw-r--r--c/src/lib/libbsp/sparc64/shared/include/traptable.h3
2 files changed, 8 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/sparc64/ChangeLog b/c/src/lib/libbsp/sparc64/ChangeLog
index 2ab42cac90..2a337b39ca 100644
--- a/c/src/lib/libbsp/sparc64/ChangeLog
+++ b/c/src/lib/libbsp/sparc64/ChangeLog
@@ -1,3 +1,9 @@
+2010-08-26 Gedare Bloom <giddyup44@yahoo.com>
+
+ PR 1691/bsps
+ * shared/include/traptable.h: Double the size of TABLE_SIZE to copy
+ code branched to from the trap table.
+
2010-08-03 Joel Sherrill <joel.sherrilL@OARcorp.com>
* shared/startup/linkcmds: Add .gcc_except_table*.
diff --git a/c/src/lib/libbsp/sparc64/shared/include/traptable.h b/c/src/lib/libbsp/sparc64/shared/include/traptable.h
index 339379cf0d..43f94336f9 100644
--- a/c/src/lib/libbsp/sparc64/shared/include/traptable.h
+++ b/c/src/lib/libbsp/sparc64/shared/include/traptable.h
@@ -13,7 +13,8 @@
/* This file can be included by assembly code */
#define ENTRY_SIZE (32)
-#define TABLE_SIZE (1024*ENTRY_SIZE)
+
+#define TABLE_SIZE (1024*ENTRY_SIZE * 2 /* HACK */ )
#ifndef ASM
extern void* trap_table[TABLE_SIZE];