Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/mit/xorg/lib Avoid text relocations on i386



details:   https://anonhg.NetBSD.org/src/rev/b24bbbfc250b
branches:  trunk
changeset: 998014:b24bbbfc250b
user:      maya <maya%NetBSD.org@localhost>
date:      Fri Apr 05 10:31:53 2019 +0000

description:
Avoid text relocations on i386

diffstat:

 external/mit/xorg/lib/asm.mk |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 9ac9e1a5cfb0 -r b24bbbfc250b external/mit/xorg/lib/asm.mk
--- a/external/mit/xorg/lib/asm.mk      Fri Apr 05 07:29:24 2019 +0000
+++ b/external/mit/xorg/lib/asm.mk      Fri Apr 05 10:31:53 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: asm.mk,v 1.1 2014/12/18 06:24:28 mrg Exp $
+#      $NetBSD: asm.mk,v 1.2 2019/04/05 10:31:53 maya Exp $
 
 # Shared with libmesa.mk / libGL / libglapi
 
@@ -11,6 +11,7 @@
        -DUSE_X86_ASM \
        -DUSE_MMX_ASM \
        -DUSE_3DNOW_ASM \
-       -DUSE_SSE_ASM
+       -DUSE_SSE_ASM \
+       -DGLX_X86_READONLY_TEXT
 .elif ${MACHINE} == "sparc" || ${MACHINE} == "sparc64"
 .endif



Home | Main Index | Thread Index | Old Index