summaryrefslogtreecommitdiffstats
path: root/src/mesa/sparc
diff options
context:
space:
mode:
authordavem69 <davem69>2001-08-03 13:16:31 +0000
committerdavem69 <davem69>2001-08-03 13:16:31 +0000
commit636fb6cae7d26b4ab453b204b305d91481e391e5 (patch)
tree530e7a3acc955c46a8d81cae04b8709a7feaabc1 /src/mesa/sparc
parent84170351dbac4b21238e7b84bcfdd3a27df42016 (diff)
Use #function instead of @function
in .type directive so it works with Solaris assembler as well as GNU assembler.
Diffstat (limited to 'src/mesa/sparc')
-rw-r--r--src/mesa/sparc/glapi_sparc.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/sparc/glapi_sparc.S b/src/mesa/sparc/glapi_sparc.S
index 781127bf27f..303f46b3029 100644
--- a/src/mesa/sparc/glapi_sparc.S
+++ b/src/mesa/sparc/glapi_sparc.S
@@ -2,7 +2,7 @@
#include "glapioffsets.h"
#define GL_PREFIX(n) gl##n
-#define GLOBL_FN(x) .globl x ; .type x,@function
+#define GLOBL_FN(x) .globl x ; .type x,#function
/* The _glapi_Dispatch symbol addresses get relocated into the
* sethi/or instruction sequences below at library init time.
@@ -21,7 +21,7 @@ __glapi_sparc_icache_flush: /* %o0 = insn_addr */
.align 64
.globl _mesa_sparc_glapi_begin
-.type _mesa_sparc_glapi_begin,@function
+.type _mesa_sparc_glapi_begin,#function
_mesa_sparc_glapi_begin:
GLOBL_FN(GL_PREFIX(NewList))
@@ -11768,6 +11768,6 @@ GL_PREFIX(SamplePatternSGIS):
nop
.globl _mesa_sparc_glapi_end
-.type _mesa_sparc_glapi_end,@function
+.type _mesa_sparc_glapi_end,#function
_mesa_sparc_glapi_end: