From f00e3c0f820e60d286bece18e84a9726f75b9905 Mon Sep 17 00:00:00 2001 From: Richard Kreckel Date: Mon, 22 Jun 2009 23:12:46 +0200 Subject: [PATCH] Fix build breakage on Sparc. 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 | 5 +---- src/base/digitseq/cl_asm_sparc_.cc | 5 +---- src/polynomial/elem/cl_asm_sparc_GF2.cc | 5 +---- 3 files changed, 3 insertions(+), 12 deletions(-) diff --git a/src/base/digitseq/cl_asm_sparc64_.cc b/src/base/digitseq/cl_asm_sparc64_.cc index 8ac56c8..6beb44a 100644 --- a/src/base/digitseq/cl_asm_sparc64_.cc +++ b/src/base/digitseq/cl_asm_sparc64_.cc @@ -24,10 +24,7 @@ #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 diff --git a/src/base/digitseq/cl_asm_sparc_.cc b/src/base/digitseq/cl_asm_sparc_.cc index 01c6431..ca8d122 100644 --- a/src/base/digitseq/cl_asm_sparc_.cc +++ b/src/base/digitseq/cl_asm_sparc_.cc @@ -23,10 +23,7 @@ #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 diff --git a/src/polynomial/elem/cl_asm_sparc_GF2.cc b/src/polynomial/elem/cl_asm_sparc_GF2.cc index a251cfe..183d3aa 100644 --- a/src/polynomial/elem/cl_asm_sparc_GF2.cc +++ b/src/polynomial/elem/cl_asm_sparc_GF2.cc @@ -19,10 +19,7 @@ #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