mapi: Adapted libglvnd x86 tsd changes
authorJonathan Gray <jsg@openbsd.org>
Fri, 13 Sep 2019 17:09:15 +0000 (10:09 -0700)
committerMatt Turner <mattst88@gmail.com>
Wed, 30 Oct 2019 00:13:14 +0000 (17:13 -0700)
commit45206d7673adb1484cbdb3eadaf82e0849c9cdcf
treeb2e90c3a78848bb9eebbc2eaffa3f7945b1b0b61
parent9c3c206e711030b17428a2ef506cc498ef7eedcc
mapi: Adapted libglvnd x86 tsd changes

The x86 assembly language stub in src/mapi/entry_x86_tsd.h does not
generate PIC (position-independent code). This causes text relocations
which bring troubles on recent versions of FreeBSD, OpenBSD, Android.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108541
Reviewed-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Lepton Wu <lepton@chromium.org>
src/mapi/entry_x86_tsd.h