summaryrefslogtreecommitdiffstats
path: root/src/mesa/glapi/gl_SPARC_asm.py
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2004-11-22 19:27:40 +0000
committerBrian Paul <[email protected]>2004-11-22 19:27:40 +0000
commitc247c7f66f7d38bb35cedb84b1a2c3655c356ac1 (patch)
tree60cddf59390aee1fea6d0db5cf8184571b9b2d55 /src/mesa/glapi/gl_SPARC_asm.py
parent263317d00a4b3c4ee083cd74470c38083038e1ee (diff)
applied SPARC patch (freedesktop bug 1898)
Diffstat (limited to 'src/mesa/glapi/gl_SPARC_asm.py')
-rw-r--r--src/mesa/glapi/gl_SPARC_asm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/glapi/gl_SPARC_asm.py b/src/mesa/glapi/gl_SPARC_asm.py
index 4fdb82df640..c4afc4e52a5 100644
--- a/src/mesa/glapi/gl_SPARC_asm.py
+++ b/src/mesa/glapi/gl_SPARC_asm.py
@@ -48,7 +48,7 @@ class PrintGenericStubs(gl_XML.FilterGLAPISpecBase):
print ''
print '#define GLOBL_FN(x) .globl x ; .type x,#function'
print ''
- print '#if defined(__sparc_v9__) && !defined(__linux__)'
+ print '#if (defined(__sparc_v9__) && (!defined(__linux__) || defined(__linux_sparc_64__)))'
print '# define GL_STUB(fn,off)\t\t\t\t\\'
print 'GLOBL_FN(fn) ; fn:\t\t\t\t\t\\'
print '\tsethi\t%hi(0x00000000), %g4 ;\t\t\t\\'