From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 14371 invoked from network); 30 Nov 1999 21:18:49 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 30 Nov 1999 21:18:49 -0000 Received: from dancer.ca.sandia.gov (dancer.ca.sandia.gov [146.246.246.1]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id QAA11236 for ; Tue, 30 Nov 1999 16:18:48 -0500 Received: (from pw@localhost) by dancer.ca.sandia.gov (8.9.3/8.9.3) id NAA20757; Tue, 30 Nov 1999 13:18:32 -0800 (PST) Date: Tue, 30 Nov 1999 13:18:32 -0800 From: Pete Wyckoff To: gatgul@voicenet.com Cc: axp-list@redhat.com Subject: Re: ccc and inline assembly Message-ID: <19991130131832.A20739@dancer.ca.sandia.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.94.15i 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