summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-28 23:36:41 +0000
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-28 23:36:41 +0000
commit4fd9bd7cb7cd94f40e464b7e21a5b213cd7578d2 (patch)
tree7dd64deaf499006c7c4b4aa335055d55c89fbb9c
parent5481e0911222c37b664f37cb9f6fbeaadcf15c32 (diff)
downloadppe42-gcc-4fd9bd7cb7cd94f40e464b7e21a5b213cd7578d2.tar.gz
ppe42-gcc-4fd9bd7cb7cd94f40e464b7e21a5b213cd7578d2.zip
* tree.h (enum tls_model): Move ...
* coretypes.h: ... here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85275 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/coretypes.h10
-rw-r--r--gcc/tree.h7
3 files changed, 16 insertions, 8 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0f8b36e5c2a..818f54360b2 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2004-07-28 Zack Weinberg <zack@codesourcery.com>
+
+ * tree.h (enum tls_model): Move ...
+ * coretypes.h: ... here.
+
2004-07-28 Richard Sandiford <rsandifo@redhat.com>
* config/frv/frv.h (EPILOGUE_USES): New. Use LR.
@@ -22,7 +27,7 @@
* config/rs6000/rs6000.md ("move_from_CR_gt_bit"): Rename to
move_from_CR_eq_bit.
Rename UNSPEC_MV_CR_GT to UNSPEC_MV_CR_EQ.
-
+
* config/rs6000/spe.md ("e500_flip_gt_bit"): Rename to
e500_flip_eq_bit.
diff --git a/gcc/coretypes.h b/gcc/coretypes.h
index e800d004252..1f190e610e4 100644
--- a/gcc/coretypes.h
+++ b/gcc/coretypes.h
@@ -50,6 +50,16 @@ typedef union tree_node *tree;
struct cpp_reader;
+/* The thread-local storage model associated with a given VAR_DECL
+ or SYMBOL_REF. This isn't used much, but both trees and RTL refer
+ to it, so it's here. */
+enum tls_model {
+ TLS_MODEL_GLOBAL_DYNAMIC = 1,
+ TLS_MODEL_LOCAL_DYNAMIC,
+ TLS_MODEL_INITIAL_EXEC,
+ TLS_MODEL_LOCAL_EXEC
+};
+
#else
struct _dont_use_rtx_here_;
diff --git a/gcc/tree.h b/gcc/tree.h
index 5d1ed72df01..10673b913a7 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -2571,13 +2571,6 @@ extern GTY(()) tree integer_types[itk_none];
/* Set to the default thread-local storage (tls) model to use. */
-enum tls_model {
- TLS_MODEL_GLOBAL_DYNAMIC = 1,
- TLS_MODEL_LOCAL_DYNAMIC,
- TLS_MODEL_INITIAL_EXEC,
- TLS_MODEL_LOCAL_EXEC
-};
-
extern enum tls_model flag_tls_default;
OpenPOWER on IntegriCloud