This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Andreas Schwab <schwab@suse.de> writes: > Cannot build CVS HEAD on ia64: > > In file included from tst-tlsmod1.c:4: > tls-macros.h:99:3: #error "No support for this architecture so far." Here's a patch - ok to commit? Andreas 2002-02-11 Andreas Jaeger <aj@suse.de> * elf/tst-tlsmod1.c: Only use tls-macros when tls is available. * elf/tst-tls1.c: Likewise. ============================================================ Index: elf/tst-tlsmod1.c --- elf/tst-tlsmod1.c 2002/02/11 05:57:15 1.1 +++ elf/tst-tlsmod1.c 2002/02/11 21:32:34 @@ -1,6 +1,7 @@ #include <stdio.h> #include <tls.h> +#ifdef USE_TLS #include "tls-macros.h" @@ -8,7 +9,7 @@ COMMON_INT_DEF(foo); VAR_INT_DEF(bar); VAR_INT_DECL(baz); - +#endif int in_dso (void) ============================================================ Index: elf/tst-tls1.c --- elf/tst-tls1.c 2002/02/10 18:57:19 1.3 +++ elf/tst-tls1.c 2002/02/11 21:33:25 @@ -2,13 +2,14 @@ #include <stdio.h> #include <tls.h> +#ifdef USE_TLS #include "tls-macros.h" /* Two common 'int' variables in TLS. */ COMMON_INT_DEF(foo); COMMON_INT_DEF(bar); - +#endif int main (void) -- Andreas Jaeger SuSE Labs aj@suse.de private aj@arthur.inka.de http://www.suse.de/~aj
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |