diff options
| author | Cody Northrop <cnorthrop@google.com> | 2016-07-26 14:25:45 -0600 |
|---|---|---|
| committer | Cody Northrop <cnorthrop@google.com> | 2016-07-27 07:19:21 -0600 |
| commit | 5ca51ae225a1c236c2918474bb66b9a98c616039 (patch) | |
| tree | 520fc3b826fff6dabb04be053ab6f7714ad2de39 /layers/core_validation.cpp | |
| parent | d71ff753a5bf5a57f889ca6b52667e2d9ba24e1d (diff) | |
| download | usermoji-5ca51ae225a1c236c2918474bb66b9a98c616039.tar.xz | |
android: Lift global offset table size limit (-mxgot)
Currently the mips64 build for Android is broken due to size
increases of core_validation. If you disabled optimizations (-O0),
you'll get the following error:
relocation truncated to fit: R_MIPS_CALL16
The linker flag to lift the limit is -mxgot, documented here:
https://gcc.gnu.org/onlinedocs/gcc-4.0.0/gcc/MIPS-Options.html
It is a slight de-optimization for global symbol lookups (3 inst
instead of 1). Hopefully we aren't using global lookups in
performance critical code.
Diffstat (limited to 'layers/core_validation.cpp')
0 files changed, 0 insertions, 0 deletions
