summaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2005-03-13 09:09:05 +0000
committerRoland McGrath <roland@gnu.org>2005-03-13 09:09:05 +0000
commitaf81020e98934823e8a67fd1c8477b081e167e92 (patch)
tree0bd66eced3c20fae83dbf5786a083be711b0cd30 /sysdeps
parent5233d5763b249ec354866d8a87495610ef5134d3 (diff)
* elf/tls-macros.h: #include_next <tls-macros.h> to get a sysdeps
version if there is one. Only #error if macros are then undefined. * sysdeps/generic/tls-macros.h: New file.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/generic/tls-macros.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/sysdeps/generic/tls-macros.h b/sysdeps/generic/tls-macros.h
new file mode 100644
index 0000000000..0a08f7c145
--- /dev/null
+++ b/sysdeps/generic/tls-macros.h
@@ -0,0 +1,12 @@
+/* Macros to support TLS testing in times of missing compiler support.
+ Stub version.
+
+ These macros should yield int * expressions for the TLS symbol X
+ accessed using the various TLS access models. Macros for some machines
+ are defined in elf/tls-macros.h, but ports can instead provide this file.
+
+#define TLS_LE(x)
+#define TLS_IE(x)
+#define TLS_LD(x)
+#define TLS_GD(x)
+*/