Re: linux-2.5.7

From: David S. Miller (davem@redhat.com)
Date: Sat Mar 30 2002 - 21:22:43 EST


   From: Alexander Viro <viro@math.psu.edu>
   Date: Sat, 30 Mar 2002 18:41:46 -0500 (EST)
   
           Dave, you've mentioned doing the equivalent of
   __attribute__((weak,alias("foo")) by hand. Could you give an example?
   

#define make_weak(foo,bar) __asm__(".weak foo, bar")

Or however the assembler syntax works. GLIBC has some header file it
at least used to use which had macros doing something similar.
-
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/



This archive was generated by hypermail 2b29 : Sun Mar 31 2002 - 22:00:20 EST