Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: ccc and inline assembly
@ 1999-11-30 21:18 Pete Wyckoff
  1999-12-09 12:22 ` Uncle George
  0 siblings, 1 reply; 8+ messages in thread
From: Pete Wyckoff @ 1999-11-30 21:18 UTC (permalink / raw)
  To: gatgul; +Cc: axp-list

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


^ permalink raw reply	[flat|nested] 8+ messages in thread
* ccc and inline assembly...
@ 1999-11-28  9:42 Mark Abene
  1999-11-28  9:27 ` Uncle George
  0 siblings, 1 reply; 8+ messages in thread
From: Mark Abene @ 1999-11-28  9:42 UTC (permalink / raw)
  To: axp-list

To whoever asked (I think it was Uncle George), the syntax for inline assembly
with ccc is spelled out in /usr/lib/compaq/ccc-6.2/alpha-linux/include/c_asm.h
complete with examples.

Should be what you're looking for.

-Mark


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~1999-12-09 13:25 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-11-30 21:18 ccc and inline assembly Pete Wyckoff
1999-12-09 12:22 ` Uncle George
  -- strict thread matches above, loose matches on Subject: below --
1999-11-28  9:42 Mark Abene
1999-11-28  9:27 ` Uncle George
1999-11-28 12:47   ` Uncle George
1999-11-28 16:04     ` Mark Abene
1999-11-29 13:00       ` Uncle George
1999-11-28 18:44   ` Dan Frasnelli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox