This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: optimization/8156 (bad assembler code)


On Mon, Oct 07, 2002 at 09:02:37PM +0200, Andreas Jaeger wrote:
> The problem here is sysdeps/unix/sysv/linux/i386/sysdep.h which defines:

#if defined __i686 && defined __ASSEMBLY__
#undef __i686
#define __i686 __i686
#endif

?
That way .S code could still test for
#ifdef __i686, but SETUP_PIC_REG would be
more robust. -march=i686 works for me just fine, since for
assembly using SETUP_PIC_REG ASFLAGS and not CFLAGS are used.

> -march=i686 defines "__i686" which is replaced by a "1" in the above.
> I propose to change sysdep.h as a workaround.  Is there also a bug in
> GCC?

Why?

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]