Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libgloss/or1k/exceptions.c')
-rw-r--r--libgloss/or1k/exceptions.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/libgloss/or1k/exceptions.c b/libgloss/or1k/exceptions.c
deleted file mode 100644
index 8240d09d2..000000000
--- a/libgloss/or1k/exceptions.c
+++ /dev/null
@@ -1,21 +0,0 @@
-#include "include/or1k-support.h"
-
-#include "or1k-internals.h"
-
-#ifdef __OR1K_MULTICORE__
-or1k_exception_handler_table_t *_or1k_exception_handler_table;
-#else
-or1k_exception_handler_table_t _or1k_exception_handler_table;
-#endif
-
-void or1k_exception_handler_add(int id, or1k_exception_handler_fptr handler)
-{
- // Subtract 2 as we do not have a vector at 0 and reset is static
- id = id - 2;
-#ifdef __OR1K_MULTICORE__
- _or1k_exception_handler_table[or1k_coreid()][id] = handler;
-
-#else
- _or1k_exception_handler_table[id] = handler;
-#endif
-}