Commit 4972ac81 authored by Johann's avatar Johann Committed by Johann Koenig

use GLOBAL() macro when loading constant

Clear linker error when building with gcc 6:
relocation R_X86_64_32 against `.rodata' can not be used when making a
shared object; recompile with -fPIC

BUG=aomedia:102

Change-Id: I6c06de1e9dac1c044a4b07125abcaba0943a29b6
parent 7ed7e1fa
......@@ -45,7 +45,7 @@ cglobal quantize_%1, 0, %2, 15, coeff, ncoeff, skip, zbin, round, quant, \
psrlw m1, 1 ; m1 = (m1 + 1) / 2
%endif
mova m3, [r2q] ; m3 = dequant
psubw m0, [pw_1]
psubw m0, [GLOBAL(pw_1)]
mov r2, shiftmp
mov r3, qcoeffmp
mova m4, [r2] ; m4 = shift
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment