[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: ccc and inline assembly



Well, they seem to support #pragma weak (  a,b ). but in my case i just want
to make 1 symbol a weak reference
in the compile
gat

Pete Wyckoff wrote:

> Uncle sez:
> > Try:
> > asm( ".weak " "_some_extern_routine");
> >
> > Mark Abene wrote:
> >
> > > Maybe you could enlighten us on what you're trying to accomplish with
> > > inline assembly, and I'll try to be more helpful. :)
>
> [ guessing at the hoped-for enlightenment ]
>
> Notice that ccc uses DEC's assembler, not gas, hence it may not
> even support ".weak", or not use that syntax.  Just don't know yet.
>
> You can always work around your particular problem by using objcopy -W.
>
>                 -- Pete
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []