sdm845-common: Fix 32-bit gsl_memory_alloc_pure ABI bridge in libC2D2

- Instead of intercepting gsl_memory_alloc_pure in libgsl.so (which corrupted
  the stack frame and crashed 5-argument callers like libGLESv2_adreno in
  android.hardware.camera.provider-service_32), bridge the legacy 3-argument
  calling convention directly inside libC2D2.so.
- Restore standard Pong calling convention in 32-bit libgsl.so while keeping
  the defensive null check on error return.

Change-Id: I494c15e9f7cca5bcb8a0d786e0034b8fed5dfd9e
This commit is contained in:
Raya Mahardika committed 2026-10-05 01:15:54 +00:00
1 parent baca65a148
commit b81d342bb1
2 files changed

No files matched your search

Binary file not shown.
Binary file not shown.