From af81020e98934823e8a67fd1c8477b081e167e92 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sun, 13 Mar 2005 09:09:05 +0000 Subject: * elf/tls-macros.h: #include_next to get a sysdeps version if there is one. Only #error if macros are then undefined. * sysdeps/generic/tls-macros.h: New file. --- sysdeps/generic/tls-macros.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 sysdeps/generic/tls-macros.h (limited to 'sysdeps/generic') 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) +*/ -- cgit v1.2.3-70-g09d2