This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


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

Re: gas: inconsistencies w/ immediates


Andreas wrote:
> 
|> foo()
|> {
|>         asm(".equ SIZEOF_FOO,%0" :: "i" (sizeof foo));
                                ^^
Try %c0.

Perfect.  Many thanks.

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