aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@acm.org>2008-02-11 17:53:04 +0000
committerBob Wilson <bob.wilson@acm.org>2008-02-11 17:53:04 +0000
commit001e85065311c8712562f2cca3fa1c45efbc3dce (patch)
treed4fe4bfcf8220b7a3b2886e1c766d9f054da81f1
parent6542ddc3bef8af63123de03056018004c6b53e20 (diff)
downloadnewlib-001e85065311c8712562f2cca3fa1c45efbc3dce.zip
newlib-001e85065311c8712562f2cca3fa1c45efbc3dce.tar.gz
newlib-001e85065311c8712562f2cca3fa1c45efbc3dce.tar.bz2
* xtensa-config.h (XCHAL_HAVE_THREADPTR): Redefine to zero.
(XCHAL_NUM_AREGS, XCHAL_MAX_INSTRUCTION_SIZE): New.
-rw-r--r--include/ChangeLog5
-rw-r--r--include/xtensa-config.h8
2 files changed, 12 insertions, 1 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index cf687ca..6a8cac1 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,8 @@
+2008-02-11 Bob Wilson <bob.wilson@acm.org>
+
+ * xtensa-config.h (XCHAL_HAVE_THREADPTR): Redefine to zero.
+ (XCHAL_NUM_AREGS, XCHAL_MAX_INSTRUCTION_SIZE): New.
+
2008-01-26 David Daney <ddaney@avtrex.com>
* demangle.h (demangle_component_type): Add
diff --git a/include/xtensa-config.h b/include/xtensa-config.h
index 2aca5fe..768ff90 100644
--- a/include/xtensa-config.h
+++ b/include/xtensa-config.h
@@ -74,7 +74,7 @@
#define XCHAL_HAVE_LOOPS 1
#undef XCHAL_HAVE_THREADPTR
-#define XCHAL_HAVE_THREADPTR 1
+#define XCHAL_HAVE_THREADPTR 0
#undef XCHAL_HAVE_RELEASE_SYNC
#define XCHAL_HAVE_RELEASE_SYNC 0
@@ -103,6 +103,9 @@
#undef XCHAL_HAVE_WINDOWED
#define XCHAL_HAVE_WINDOWED 1
+#undef XCHAL_NUM_AREGS
+#define XCHAL_NUM_AREGS 64
+
#undef XCHAL_HAVE_WIDE_BRANCHES
#define XCHAL_HAVE_WIDE_BRANCHES 0
@@ -152,6 +155,9 @@
#define XCHAL_DEBUGLEVEL 4
+#undef XCHAL_MAX_INSTRUCTION_SIZE
+#define XCHAL_MAX_INSTRUCTION_SIZE 3
+
#undef XCHAL_INST_FETCH_WIDTH
#define XCHAL_INST_FETCH_WIDTH 4