diff options
author | Brian Paul <[email protected]> | 2001-12-17 19:44:54 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2001-12-17 19:44:54 +0000 |
commit | b03241a552bf04b61bc3437337b45261734e190b (patch) | |
tree | f1491d908182e9333b2986f0f900ae6a798b0720 /src | |
parent | e4efc983bd2a4dc343ee99ff8ab8bde49820666c (diff) |
put the .type stuff on a separate line
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/glapi/glsparcasm.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/glapi/glsparcasm.py b/src/mesa/glapi/glsparcasm.py index 98cbd477ef4..feeaebcaf5f 100644 --- a/src/mesa/glapi/glsparcasm.py +++ b/src/mesa/glapi/glsparcasm.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -# $Id: glsparcasm.py,v 1.4 2001/08/03 13:16:31 davem69 Exp $ +# $Id: glsparcasm.py,v 1.4.2.1 2001/12/17 19:44:54 brianp Exp $ # Mesa 3-D graphics library # Version: 3.5 @@ -45,7 +45,7 @@ def PrintHead(): print '#include "glapioffsets.h"' print '' print '#define GL_PREFIX(n) gl##n' - print '#define GLOBL_FN(x) .globl x ; .type x,#function' + print '#define GLOBL_FN(x) .globl x' print '' print '/* The _glapi_Dispatch symbol addresses get relocated into the' print ' * sethi/or instruction sequences below at library init time.' @@ -83,6 +83,7 @@ def PrintTail(): def GenerateDispatchCode(name, offset): print '' print "GLOBL_FN(GL_PREFIX(%s))" % (name) + print ".type %s,#function" % (name) print "GL_PREFIX(%s):" % (name) print '#ifdef __sparc_v9__' print '\tsethi\t%hi(0x00000000), %g2' @@ -100,6 +101,7 @@ def GenerateDispatchCode(name, offset): print "\tld\t[%%g1 + (4 * _gloffset_%s)], %%g3" % (offset) print '#endif' print '\tjmpl\t%g3, %g0' + print '\tnop' #enddef |