|
From: Bart V. A. <bar...@gm...> - 2008-05-18 09:36:06
|
On Sat, May 17, 2008 at 7:56 AM, Paul Mackerras <pa...@sa...> wrote:
> #define DEFINE(sym, val) \
> asm volatile("\n#define " #sym " %0\n" #val : : "i" (val))
Thanks -- this works great. This worked directly on ppc, but on x86 I
had to filter out a dollar sign in front of the offset.
Bart.
|