diff options
author | Roland McGrath <roland@gnu.org> | 2005-03-13 09:09:05 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2005-03-13 09:09:05 +0000 |
commit | af81020e98934823e8a67fd1c8477b081e167e92 (patch) | |
tree | 0bd66eced3c20fae83dbf5786a083be711b0cd30 /elf | |
parent | 5233d5763b249ec354866d8a87495610ef5134d3 (diff) | |
download | glibc-af81020e98934823e8a67fd1c8477b081e167e92.zip glibc-af81020e98934823e8a67fd1c8477b081e167e92.tar.gz glibc-af81020e98934823e8a67fd1c8477b081e167e92.tar.bz2 |
* 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 'elf')
-rw-r--r-- | elf/tls-macros.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/elf/tls-macros.h b/elf/tls-macros.h index bed2e14..c6626c2 100644 --- a/elf/tls-macros.h +++ b/elf/tls-macros.h @@ -16,6 +16,7 @@ /* XXX Until we get compiler support we don't need declarations. */ #define VAR_INT_DECL(x) +#include_next <tls-macros.h> /* XXX Each architecture must have its own asm for now. */ #ifdef __i386__ @@ -731,6 +732,7 @@ register void *__gp __asm__("$29"); __result; \ }) -#else +#elif !defined TLS_LE || !defined TLS_IE \ + || !defined TLS_LD || !defined TLS_GD(x) # error "No support for this architecture so far." #endif |