summaryrefslogtreecommitdiff
path: root/src/mapi/glapi/gen/gl_x86-64_asm.py
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2013-04-23 14:07:33 -0400
committerAdam Jackson <ajax@redhat.com>2013-04-25 15:51:35 -0400
commit904b03824b4c5cc24649aa69dd1a557ddfd5dda3 (patch)
tree2476aa5ef980bc4bebff32414aa71b87e423bdd6 /src/mapi/glapi/gen/gl_x86-64_asm.py
parent73de07cbbcaf6804c489546cce1b3c55db4535ae (diff)
linux: Don't emit a .note.ABI-tag section anymore (#26663)
We don't support pre-2.6 kernels anyway - the install docs say 2.6.28 for DRI - and apparently this confuses ld.so's sorting when multiple libGLs are installed. Just remove it. Note: this is a candidate for the stable branches. Acked-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'src/mapi/glapi/gen/gl_x86-64_asm.py')
-rw-r--r--src/mapi/glapi/gen/gl_x86-64_asm.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/mapi/glapi/gen/gl_x86-64_asm.py b/src/mapi/glapi/gen/gl_x86-64_asm.py
index a3548c2951e..19e0e15b061 100644
--- a/src/mapi/glapi/gen/gl_x86-64_asm.py
+++ b/src/mapi/glapi/gen/gl_x86-64_asm.py
@@ -181,19 +181,6 @@ class PrintGenericStubs(gl_XML.gl_print_base):
def printRealFooter(self):
print ''
- print '#if defined(GLX_USE_TLS) && defined(__linux__)'
- print ' .section ".note.ABI-tag", "a"'
- print ' .p2align 2'
- print ' .long 1f - 0f /* name length */'
- print ' .long 3f - 2f /* data length */'
- print ' .long 1 /* note length */'
- print '0: .asciz "GNU" /* vendor name */'
- print '1: .p2align 2'
- print '2: .long 0 /* note data: the ABI tag */'
- print ' .long 2,4,20 /* Minimum kernel version w/TLS */'
- print '3: .p2align 2 /* pad out section */'
- print '#endif /* GLX_USE_TLS */'
- print ''
print '#if defined (__ELF__) && defined (__linux__)'
print ' .section .note.GNU-stack,"",%progbits'
print '#endif'