Browse Source

Fix build breakage on Sparc.

With 7da4d3ae46, 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.
master
Richard Kreckel 16 years ago
parent
commit
f00e3c0f82
  1. 5
      src/base/digitseq/cl_asm_sparc64_.cc
  2. 5
      src/base/digitseq/cl_asm_sparc_.cc
  3. 5
      src/polynomial/elem/cl_asm_sparc_GF2.cc

5
src/base/digitseq/cl_asm_sparc64_.cc

@ -24,10 +24,7 @@
#if defined(__NetBSD__) || defined(__OpenBSD__) #if defined(__NetBSD__) || defined(__OpenBSD__)
#define DECLARE_FUNCTION(name) .type C(name),@function #define DECLARE_FUNCTION(name) .type C(name),@function
#elif defined(__svr4__) || defined(__ELF__) #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 #else
#define DECLARE_FUNCTION(name) #define DECLARE_FUNCTION(name)
#endif #endif

5
src/base/digitseq/cl_asm_sparc_.cc

@ -23,10 +23,7 @@
#if defined(__NetBSD__) || defined(__OpenBSD__) #if defined(__NetBSD__) || defined(__OpenBSD__)
#define DECLARE_FUNCTION(name) .type C(name),@function #define DECLARE_FUNCTION(name) .type C(name),@function
#elif defined(__svr4__) || defined(__ELF__) #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 #else
#define DECLARE_FUNCTION(name) #define DECLARE_FUNCTION(name)
#endif #endif

5
src/polynomial/elem/cl_asm_sparc_GF2.cc

@ -19,10 +19,7 @@
#if defined(__NetBSD__) || defined(__OpenBSD__) #if defined(__NetBSD__) || defined(__OpenBSD__)
#define DECLARE_FUNCTION(name) .type C(name),@function #define DECLARE_FUNCTION(name) .type C(name),@function
#elif defined(__svr4__) || defined(__ELF__) #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 #else
#define DECLARE_FUNCTION(name) #define DECLARE_FUNCTION(name)
#endif #endif

Loading…
Cancel
Save