lkml.org 
[lkml]   [2001]   [Jun]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [patch] 2.4.6-pre3 unresolved symbol do_softirq
From
Date
"David S. Miller" <davem@redhat.com> writes:

|> 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: Error: suffix or operands invalid for `call'
|>
|> I can't believe there is no reliable way to get rid of that
|> pesky "$" gcc is adding to the symbol. Oh well...

Use %c0. *Note Output Templates and Operand Substitution: (gcc)Output
Template.


Andreas.

--
Andreas Schwab "And now for something
SuSE Labs completely different."
Andreas.Schwab@suse.de
SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:55    [W:0.108 / U:0.908 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site