From 636fb6cae7d26b4ab453b204b305d91481e391e5 Mon Sep 17 00:00:00 2001 From: davem69 Date: Fri, 3 Aug 2001 13:16:31 +0000 Subject: Use #function instead of @function in .type directive so it works with Solaris assembler as well as GNU assembler. --- src/mesa/sparc/glapi_sparc.S | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mesa/sparc/glapi_sparc.S') diff --git a/src/mesa/sparc/glapi_sparc.S b/src/mesa/sparc/glapi_sparc.S index 781127bf27..303f46b302 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: -- cgit v1.2.3