View | Details | Raw Unified | Return to bug 147646 | Differences between
and this patch

Collapse All | Expand All

(-)graphics/libGL/files/patch-src_mesa_x86-64_glapi-x86-64.S (+11 lines)
Added Link Here
1
--- src/mesa/x86-64/glapi_x86-64.S.orig	2010-11-19 12:21:35.000000000 +0100
2
+++ src/mesa/x86-64/glapi_x86-64.S	2010-11-19 12:22:15.000000000 +0100
3
@@ -73,7 +73,7 @@ _x86_64_get_dispatch:
4
 
5
 	.p2align	4,,15
6
 _x86_64_get_dispatch:
7
-	movq	_gl_DispatchTSD(%rip), %rdi
8
+	movq	_gl_DispatchTSD@GOTPCREL(%rip), %rdi
9
 	jmp	pthread_getspecific@PLT
10
 
11
 #elif defined(THREADS)
(-)graphics/libGLU/files/patch-src_mesa_x86-64_glapi-x86-64.S (+11 lines)
Added Link Here
1
--- src/mesa/x86-64/glapi_x86-64.S.orig	2010-11-19 12:21:35.000000000 +0100
2
+++ src/mesa/x86-64/glapi_x86-64.S	2010-11-19 12:22:15.000000000 +0100
3
@@ -73,7 +73,7 @@ _x86_64_get_dispatch:
4
 
5
 	.p2align	4,,15
6
 _x86_64_get_dispatch:
7
-	movq	_gl_DispatchTSD(%rip), %rdi
8
+	movq	_gl_DispatchTSD@GOTPCREL(%rip), %rdi
9
 	jmp	pthread_getspecific@PLT
10
 
11
 #elif defined(THREADS)
(-)graphics/libGLw/files/patch-src_mesa_x86-64_glapi-x86-64.S (+11 lines)
Added Link Here
1
--- src/mesa/x86-64/glapi_x86-64.S.orig	2010-11-19 12:21:35.000000000 +0100
2
+++ src/mesa/x86-64/glapi_x86-64.S	2010-11-19 12:22:15.000000000 +0100
3
@@ -73,7 +73,7 @@ _x86_64_get_dispatch:
4
 
5
 	.p2align	4,,15
6
 _x86_64_get_dispatch:
7
-	movq	_gl_DispatchTSD(%rip), %rdi
8
+	movq	_gl_DispatchTSD@GOTPCREL(%rip), %rdi
9
 	jmp	pthread_getspecific@PLT
10
 
11
 #elif defined(THREADS)
(-)graphics/libglut/files/patch-src_mesa_x86-64_glapi-x86-64.S (+11 lines)
Added Link Here
1
--- src/mesa/x86-64/glapi_x86-64.S.orig	2010-11-19 12:21:35.000000000 +0100
2
+++ src/mesa/x86-64/glapi_x86-64.S	2010-11-19 12:22:15.000000000 +0100
3
@@ -73,7 +73,7 @@ _x86_64_get_dispatch:
4
 
5
 	.p2align	4,,15
6
 _x86_64_get_dispatch:
7
-	movq	_gl_DispatchTSD(%rip), %rdi
8
+	movq	_gl_DispatchTSD@GOTPCREL(%rip), %rdi
9
 	jmp	pthread_getspecific@PLT
10
 
11
 #elif defined(THREADS)
(-)graphics/mesa-demos/files/patch-src_mesa_x86-64_glapi-x86-64.S (+11 lines)
Added Link Here
1
--- src/mesa/x86-64/glapi_x86-64.S.orig	2010-11-19 12:21:35.000000000 +0100
2
+++ src/mesa/x86-64/glapi_x86-64.S	2010-11-19 12:22:15.000000000 +0100
3
@@ -73,7 +73,7 @@ _x86_64_get_dispatch:
4
 
5
 	.p2align	4,,15
6
 _x86_64_get_dispatch:
7
-	movq	_gl_DispatchTSD(%rip), %rdi
8
+	movq	_gl_DispatchTSD@GOTPCREL(%rip), %rdi
9
 	jmp	pthread_getspecific@PLT
10
 
11
 #elif defined(THREADS)

Return to bug 147646