From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 2785 invoked from network); 9 Dec 1999 13:25:13 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 9 Dec 1999 13:25:13 -0000 Received: from voicenet.com (mail12.voicenet.com [207.103.0.6]) by mail.redhat.com (8.8.7/8.8.7) with SMTP id IAA07126 for ; Thu, 9 Dec 1999 08:25:13 -0500 Received: (qmail 26764 invoked from network); 9 Dec 1999 13:25:11 -0000 Received: from dialpool0362-pri.voicenet.com (HELO voicenet.com) (209.71.85.190) by mail12.voicenet.com with SMTP; 9 Dec 1999 13:25:11 -0000 Sender: gat@mail.redhat.com Message-ID: <384F9EFB.99261E5B@voicenet.com> Date: Thu, 09 Dec 1999 07:22:19 -0500 From: Uncle George Organization: Big-Endian X-Mailer: Mozilla 4.07 [en] (X11; I; Linux 2.0.36 i686) MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: ccc and inline assembly References: <19991130131832.A20739@dancer.ca.sandia.gov> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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