This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


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

Re: FW: I need help


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


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