mapi: update the asm code to support x32
authorGrazvydas Ignotas <notasas@gmail.com>
Sun, 8 Jan 2017 17:38:09 +0000 (19:38 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 12 Jan 2017 23:59:32 +0000 (00:59 +0100)
commit89458366585c34879b70110758bb4fd3acb62ce0
tree281ee77e13d803173fed7bc22dbdeb9d7e817d67
parent1007047ca1086eef89f65c87e7ea2371c4f80513
mapi: update the asm code to support x32

Fixes crashes when both glx-tls and asm are enabled on x32.

Cc: mesa-stable@lists.freedesktop.org
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94512
Bugzilla: https://bugs.gentoo.org/show_bug.cgi?id=575458
Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
src/mapi/entry_x86-64_tls.h