[uClibc] bogus change to <sys/cdefs.h>?

Miles Bader miles at lsi.nec.co.jp
Thu Sep 25 10:14:33 UTC 2003


Is there a reason for this change:

Index: cdefs.h
===================================================================
RCS file: /var/cvs/uClibc/include/sys/cdefs.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -p -r1.7 -r1.8
--- cdefs.h	31 Oct 2002 18:19:20 -0000	1.7
+++ cdefs.h	1 Aug 2003 20:08:42 -0000	1.8
@@ -124,7 +149,8 @@
 #if defined __GNUC__ && __GNUC__ >= 2
 
 # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias))
-# define __ASMNAME(cname) __C_SYMBOL_PREFIX__ cname
+# define __ASMNAME(cname)  __ASMNAME2 (__USER_LABEL_PREFIX__, cname)
+# define __ASMNAME2(prefix, cname) __STRING (prefix) cname
 
 /*
 #elif __SOME_OTHER_COMPILER__


Since uclibc configs define __C_SYMBOL_PREFIX__?  Now things don't work
properly.

If I don't hear any objections, I'll change it back to use __C_SYMBOL_PREFIX__.

-Miles

-- 
In New York, most people don't have cars, so if you want to kill a person, you
have to take the subway to their house.  And sometimes on the way, the train
is delayed and you get impatient, so you have to kill someone on the subway.
  [George Carlin]



More information about the uClibc mailing list