2002-10-16 17:37:05

by Aravind Ceyardass

[permalink] [raw]
Subject: Gcc and regparm



Hi,

Gcc 3.2 doesn't honours the regparm attribute for FASTCALL in
asm-i386/linkage.h
while compiling modules. It assumes regparm(0) instead of regparm(3) and
generates
incompatible code for modules. I have tried gcc 2.96-x and gcc 3.2. I
have upgraded my binutils.
Still the problem persists. Tried searching the Net for right gcc
version. But could not find any information.

Could anyone send me some info on gcc and binutils versions?

Thanks in advance

Aravind


--
http://fastmail.fm - The way an email service should be


2002-10-17 04:46:11

by Richard Henderson

[permalink] [raw]
Subject: Re: Gcc and regparm

On Wed, Oct 16, 2002 at 05:42:48PM +0000, Aravind Ceyardass wrote:
> Gcc 3.2 doesn't honours the regparm attribute for FASTCALL in
> asm-i386/linkage.h

I don't believe you. Test case?


r~