../main/enums.c \
../x86/glapi_x86.S \
../x86-64/glapi_x86-64.S \
+ ../sparc/glapi_sparc.S \
../drivers/dri/common/extension_helper.h \
../../glx/x11/indirect.c \
../../glx/x11/indirect.h \
../x86-64/glapi_x86-64.S: $(COMMON) gl_x86-64_asm.py
$(PYTHON2) $(PYTHON_FLAGS) gl_x86-64_asm.py > ../x86-64/glapi_x86-64.S
+../sparc/glapi_sparc.S: $(COMMON) gl_SPARC_asm.py
+ $(PYTHON2) $(PYTHON_FLAGS) gl_SPARC_asm.py > ../sparc/glapi_sparc.S
+
+
../drivers/dri/common/extension_helper.h: $(COMMON) extension_helper.py
$(PYTHON2) $(PYTHON_FLAGS) extension_helper.py > ../drivers/dri/common/extension_helper.h
#ifdef __arch64__
# define GL_STUB(fn,off) \
fn: \
- sethi %hi(0x00000000), %g4 ; \
- sethi %hi(0x00000000), %g1 ; \
- or %g4, %lo(0x00000000), %g4 ; \
- or %g1, %lo(0x00000000), %g1 ; \
+ sethi %hi(0xDEADBEEF), %g4 ; \
+ sethi %hi(0xDEADBEEF), %g1 ; \
+ or %g4, %lo(0xDEADBEEF), %g4 ; \
+ or %g1, %lo(0xDEADBEEF), %g1 ; \
sllx %g4, 32, %g4 ; \
ldx [%g1 + %g4], %g1 ; \
sethi %hi(8 * off), %g4 ; \
#else
# define GL_STUB(fn,off) \
fn: \
- sethi %hi(0x00000000), %g1 ; \
- ld [%g1 + %lo(0x00000000)], %g1 ; \
+ sethi %hi(0xDEADBEEF), %g1 ; \
+ ld [%g1 + %lo(0xDEADBEEF)], %g1 ; \
ld [%g1 + (4 * off)], %g5 ; \
jmpl %g5, %g0 ; \
nop
.globl glStencilFuncSeparate ; .type glStencilFuncSeparate,#function
.globl glStencilOpSeparate ; .type glStencilOpSeparate,#function
.globl glStencilMaskSeparate ; .type glStencilMaskSeparate,#function
+ .globl glGetQueryObjecti64vEXT ; .type glGetQueryObjecti64vEXT,#function
+ .globl glGetQueryObjectui64vEXT ; .type glGetQueryObjectui64vEXT,#function
+ .globl glBlitFramebufferEXT ; .type glBlitFramebufferEXT,#function
.globl _mesa_sparc_glapi_begin ; .type _mesa_sparc_glapi_begin,#function
_mesa_sparc_glapi_begin:
GL_STUB(glStencilFuncSeparate, _gloffset_StencilFuncSeparate)
GL_STUB(glStencilOpSeparate, _gloffset_StencilOpSeparate)
GL_STUB(glStencilMaskSeparate, _gloffset_StencilMaskSeparate)
+ GL_STUB(glGetQueryObjecti64vEXT, _gloffset_GetQueryObjecti64vEXT)
+ GL_STUB(glGetQueryObjectui64vEXT, _gloffset_GetQueryObjectui64vEXT)
+ GL_STUB(glBlitFramebufferEXT, _gloffset_BlitFramebufferEXT)
.globl _mesa_sparc_glapi_end ; .type _mesa_sparc_glapi_end,#function
_mesa_sparc_glapi_end: