diff options
author | Elliott Hughes <enh@google.com> | 2014-08-09 18:45:55 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2014-08-09 22:18:33 -0700 |
commit | ca5b6a74a70924e513ae1b1a3f8718eb16ca60f2 (patch) | |
tree | 9be12a05b97b30aa6693b3b0433a7e179413676b /libc/stdio/stdio_ext.cpp | |
parent | a0db46418757dd1b399acb97ff42083cc274e8ae (diff) |
Fix our x86 PIC_PROLOGUE.
The old definition only worked for functions that didn't use numbered
local labels. Upstream uses '666' not only as some kind of BSD in-joke,
but also because there's little likelihood of any function having
labels that high.
There's a wider question about whether we actually want to go via the
PLT at all in this code, but that's a question for another day.
(cherry-pick of 72d7e667c7e926cb120c4edb53cbf74c652ab915.)
Bug: 16906712
Change-Id: I3cd8ecc448b33f942bb6e783931808ef39091489
Diffstat (limited to 'libc/stdio/stdio_ext.cpp')
0 files changed, 0 insertions, 0 deletions