This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [patch] Change inline asm to work with llvm-gcc
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Rafael Espindola <espindola at google dot com>
- Cc: libc-alpha at sourceware dot org, Evan Cheng <evan dot cheng at apple dot com>
- Date: Tue, 23 Dec 2008 16:24:41 +0100
- Subject: Re: [patch] Change inline asm to work with llvm-gcc
- References: <38a0d8450812230321kde2343ai7ff905a6f49dbb28@mail.gmail.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Tue, Dec 23, 2008 at 11:21:17AM +0000, Rafael Espindola wrote:
> llvm-gcc requires that if a register is used for both input and
> output, the types of the input and output expressions should be
> compatible. Currently __FD_ZERO uses an int for output and a int* for
> input in its second argument.
>
>
> 2008-12-23 Rafael Avila de Espindola <espindola@google.com>
>
> * sysdeps/i386/bits/select.h (__FD_ZERO): Change the type of __d1 to
> "int *".
Why should glibc care that llvm redefines semantics of inline asm?
Inline asm is a GNU extension, coming from GCC, so if llvm wants to support
it, it better should be compatible.
Jakub