ROMCC problem

YhLu YhLu at tyan.com
Mon Aug 30 23:57:01 CEST 2004


Thanks, It works.

Regards

YH

-----Original Message-----
From: ebiederman at lnxi.com [mailto:ebiederman at lnxi.com] 
Sent: Monday, August 30, 2004 9:45 PM
To: YhLu
Cc: ron minnich; linuxbios
Subject: Re: ROMCC problem

YhLu <YhLu at tyan.com> writes:

> Eric, 
> the current romcc seems have problem to process "asm". Or bist cause the
> problem?

The optimizer took a look at the asm realized no one used
the output of it.  And optimized the instruction away.  
Correct but annoying.

Just mark the asm as volatile and the code will work fine.

Eric



More information about the coreboot mailing list