summaryrefslogtreecommitdiff
path: root/src/mapi/glapi/gen/gl_x86_asm.py
diff options
context:
space:
mode:
authorDimitry Andric <dimitry@andric.com>2011-01-25 09:23:44 -0700
committerBrian Paul <brianp@vmware.com>2011-01-25 09:23:46 -0700
commit37bffe8d128bd00343169188c9af4852bbd4783e (patch)
tree325738eb4d5bf8bcf9b35dfc4326abefeeb40321 /src/mapi/glapi/gen/gl_x86_asm.py
parent731ec60da3ccb92f5bfb4d6f1bc3c8e712751376 (diff)
glapi: adding @ char before type specifier in glapi_x86.S
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=33433 NOTE: This is a candidate for the 7.9 and 7.10 branches. Signed-off-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src/mapi/glapi/gen/gl_x86_asm.py')
-rw-r--r--src/mapi/glapi/gen/gl_x86_asm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapi/glapi/gen/gl_x86_asm.py b/src/mapi/glapi/gen/gl_x86_asm.py
index 21996a3942..4ef4acb564 100644
--- a/src/mapi/glapi/gen/gl_x86_asm.py
+++ b/src/mapi/glapi/gen/gl_x86_asm.py
@@ -73,7 +73,7 @@ class PrintGenericStubs(gl_XML.gl_print_base):
print '#define GL_OFFSET(x) CODEPTR(REGOFF(4 * x, EAX))'
print ''
print '#if defined(GNU_ASSEMBLER) && !defined(__DJGPP__) && !defined(__MINGW32__) && !defined(__APPLE__)'
- print '#define GLOBL_FN(x) GLOBL x ; .type x, function'
+ print '#define GLOBL_FN(x) GLOBL x ; .type x, @function'
print '#else'
print '#define GLOBL_FN(x) GLOBL x'
print '#endif'