Re: [patch] 2.4.6-pre3 unresolved symbol do_softirq

2001-06-13 Thread Russell King
On Wed, Jun 13, 2001 at 04:44:40PM +0200, Andreas Schwab wrote: > Use %c0. *Note Output Templates and Operand Substitution: (gcc)Output > Template. Oh great! I can get rid of some more crap from the ARM tree! Thanks. -- Russell King ([EMAIL PROTECTED])The developer of ARM Linu

Re: [patch] 2.4.6-pre3 unresolved symbol do_softirq

2001-06-13 Thread Russell King
On Wed, Jun 13, 2001 at 07:21:41AM -0700, David S. Miller wrote: > I can't believe there is no reliable way to get rid of that > pesky "$" gcc is adding to the symbol. Oh well... GCC on ARM does a similar thing - all constants in the assembler are prefixed with '#' or '@'. Using the 'i' constra

Re: [patch] 2.4.6-pre3 unresolved symbol do_softirq

2001-06-13 Thread Andrew Morton
"David S. Miller" wrote: > > Keith Owens writes: > > #define my_symbol my_symbol_versioned > > extern void my_symbol(void); > > > > void foo(void) { __asm__("call %0" : : "i" (my_symbol)); } > > > > # gcc -o x x.c > > /tmp/cclWXduj.s: Assembler messages: > > /tmp/cclWXduj.s:12: Erro

Re: [patch] 2.4.6-pre3 unresolved symbol do_softirq

2001-06-13 Thread David S. Miller
Jeff Garzik writes: > how to do this in foo.S code? foo.S goes through the preprocessor already. Later, David S. Miller [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.