commit | b0bcd266e7a076d919608f700ce18524cab06c23 | [log] [tgz] |
---|---|---|
author | Krzysztof Kosiński <krzysio@google.com> | Mon Apr 02 13:53:30 2018 -0700 |
committer | Krzysztof Kosiński <krzysio@google.com> | Tue Apr 03 12:02:58 2018 -0700 |
tree | 8c4a19ab10d260c11170e21d4958dd2f516257ad | |
parent | ef4c9b64adb5926976813519c42d0ff9c0593861 [diff] [blame] |
EGL: Fix ARM assembly constraint. addne takes immed_8r (constraint I) as the second operand, not FlexOffset (constraint J). Details: https://gcc.gnu.org/onlinedocs/gcc/Machine-Constraints.html Bug: 77455035 Test: Built and ran some CTS tests on Pixel XL. Change-Id: I95588462d885274b1e7900415d5853864292c11d
diff --git a/opengl/libs/EGL/getProcAddress.cpp b/opengl/libs/EGL/getProcAddress.cpp index c05e840..0183621 100644 --- a/opengl/libs/EGL/getProcAddress.cpp +++ b/opengl/libs/EGL/getProcAddress.cpp
@@ -54,7 +54,7 @@ : [tls] "J"(TLS_SLOT_OPENGL_API*4), \ [ext] "J"(__builtin_offsetof(gl_hooks_t, \ ext.extensions[0])), \ - [api] "J"(_api*sizeof(void*)) \ + [api] "I"(_api*sizeof(void*)) \ : "r12" \ );