This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: FW: I need help
- To: "Michael L Benson" <mbenson at magideas dot com>
- Subject: Re: FW: I need help
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 08 Aug 2000 22:07:56 -0300
- Cc: <bug-gcc at gnu dot org>
- Organization: GCC Team, Red Hat
- References: <NCBBJOBCAKLMJDCLAKHBEEHBEEAA.mbenson@magideas.com>
On Aug 8, 2000, "Michael L Benson" <mbenson@magideas.com> wrote:
> ./config/i386/Linux/munmap.c:31: fixed or forbidden register 3 (bx) was spilled for class BREG.
> : "0" (SYS_munmap),"d" ((long)(addr)),"c" ((long)(len)):"bx");
This is wrong. `ebx' is a fixed register when generating PIC.
Moreover, the asm code preserves it, so it's not true that it is
clobbered.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me