diff options
| author | Ryan Prichard <rprichard@google.com> | 2019-03-11 17:06:02 -0700 |
|---|---|---|
| committer | Ryan Prichard <rprichard@google.com> | 2019-03-11 17:53:21 -0700 |
| commit | b0e2dd090bc74f36e3f2cafe85f542b785d760df (patch) | |
| tree | 7d53a90d17baf773c9c9e8179074a21bf9c9a219 /libc/bionic/__bionic_get_shell_path.cpp | |
| parent | 7a15aa83f496e74456279cbe299eca971b5c441c (diff) | |
Allow building the linker with -O0
The tlsdesc_resolver_dynamic function is only defined on arm64, but the
code was taking its address on all targets. (Apparently the optimizer was
removing the entire deferred_tlsdesc_relocs loop?)
Bug: none
Test: bionic unit tests
Test: add -O0 to cc_defaults in linker/Android.bp, device boots
Change-Id: I899c78018cbe82aeaca7856c9f7b04300c1d3196
Diffstat (limited to 'libc/bionic/__bionic_get_shell_path.cpp')
0 files changed, 0 insertions, 0 deletions
