]> www.ginac.de Git - cln.git/commitdiff
Fix build breakage on Sparc.
authorRichard Kreckel <kreckel@ginac.de>
Mon, 22 Jun 2009 21:12:46 +0000 (23:12 +0200)
committerRichard Kreckel <kreckel@ginac.de>
Mon, 22 Jun 2009 21:12:46 +0000 (23:12 +0200)
With 7da4d3ae46279298acd5d65637499caab7b57071, the code that sed-converted
the $ to # in all the Sparc assembler files was removed. Let's hope that
we won't need it again.

src/base/digitseq/cl_asm_sparc64_.cc
src/base/digitseq/cl_asm_sparc_.cc
src/polynomial/elem/cl_asm_sparc_GF2.cc

index 8ac56c83c0d58c9b88b36d998762c3b53150f5ce..6beb44a50d7aaed3b8a9c7bbde05eeacb8f1e825 100644 (file)
 #if defined(__NetBSD__) || defined(__OpenBSD__)
   #define DECLARE_FUNCTION(name) .type C(name),@function
 #elif defined(__svr4__) || defined(__ELF__)
-  // Some preprocessors keep the backslash in place, some don't.
-  // Some complain about the # being not in front of an ANSI C macro.
-  // Therefore we use a dollar, which will be sed-converted to # later.
-  #define DECLARE_FUNCTION(name) .type C(name),$function
+  #define DECLARE_FUNCTION(name) .type C(name),#function
 #else
   #define DECLARE_FUNCTION(name)
 #endif
index 01c643148c2bb474579e74b5766c01b33e2fc062..ca8d12286b5678361f84dc5ea3f649e7160776a7 100644 (file)
 #if defined(__NetBSD__) || defined(__OpenBSD__)
   #define DECLARE_FUNCTION(name) .type C(name),@function
 #elif defined(__svr4__) || defined(__ELF__)
-  // Some preprocessors keep the backslash in place, some don't.
-  // Some complain about the # being not in front of an ANSI C macro.
-  // Therefore we use a dollar, which will be sed-converted to # later.
-  #define DECLARE_FUNCTION(name) .type C(name),$function
+  #define DECLARE_FUNCTION(name) .type C(name),#function
 #else
   #define DECLARE_FUNCTION(name)
 #endif
index a251cfea6daad9574d7ae09997a8d3d2ff3f1435..183d3aa81a417393d14817ef3d3d1156c6855809 100644 (file)
 #if defined(__NetBSD__) || defined(__OpenBSD__)
   #define DECLARE_FUNCTION(name) .type C(name),@function
 #elif defined(__svr4__) || defined(__ELF__)
-  // Some preprocessors keep the backslash in place, some don't.
-  // Some complain about the # being not in front of an ANSI C macro.
-  // Therefore we use a dollar, which will be sed-converted to # later.
-  #define DECLARE_FUNCTION(name) .type C(name),$function
+  #define DECLARE_FUNCTION(name) .type C(name),#function
 #else
   #define DECLARE_FUNCTION(name)
 #endif