[PATCH] Fix s390x tst-tls* when built with GCC 3.4+
Martin Schwidefsky
schwidefsky@de.ibm.com
Fri Jun 11 09:06:00 GMT 2004
> GCC 3.4+ on s390x no longer considers r14 to be a fixed register, so we
need
> to tell the compiler we are clobbering it, otherwise GCC puts vital
> temporaries in it and they get clobbered by the TLS_{LD,GD} macros.
> I have built tst-tlsmod2.c with this patch even with GCC 3.3 and it built
> just fine.
Patch is fine with me.
blue skies,
Martin
Linux/390 Design & Development, IBM Deutschland Entwicklung GmbH
Schönaicherstr. 220, D-71032 Böblingen, Telefon: 49 - (0)7031 - 16-2247
E-Mail: schwidefsky@de.ibm.com
More information about the Libc-hacker
mailing list