* tree.h (enum tls_model): Move ...
* coretypes.h: ... here.
From-SVN: r85275
+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.
* 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.
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_;
\f
/* 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;
\f