diff options
| author | Elliott Hughes <enh@google.com> | 2013-10-24 22:58:28 +0000 |
|---|---|---|
| committer | Elliott Hughes <enh@google.com> | 2013-10-24 22:58:28 +0000 |
| commit | b8b0b6b412267e514c99a6d3636aefa3c7715673 (patch) | |
| tree | 0701e99097620d4a8bed3af581cd3a910674ea9e /linker/linker.cpp | |
| parent | 5be2c5998c996ff9d5efb94c127d9b832a295822 (diff) | |
| download | bionic-b8b0b6b412267e514c99a6d3636aefa3c7715673.zip bionic-b8b0b6b412267e514c99a6d3636aefa3c7715673.tar.gz bionic-b8b0b6b412267e514c99a6d3636aefa3c7715673.tar.bz2 | |
Revert "Don't warn about x86 text relocations. They're too prevalent."
This reverts commit 5be2c5998c996ff9d5efb94c127d9b832a295822.
Change-Id: I3fc8ca530cdbd74c834fb9cfabe812c9386419fc
Diffstat (limited to 'linker/linker.cpp')
| -rwxr-xr-x | linker/linker.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/linker/linker.cpp b/linker/linker.cpp index c6264a3..4f05c7a 100755 --- a/linker/linker.cpp +++ b/linker/linker.cpp @@ -1688,10 +1688,8 @@ static bool soinfo_link_image(soinfo* si) { * phdr_table_protect_segments() after all of them are applied * and all constructors are run. */ -#if !defined(ANDROID_X86_LINKER) // The platform itself has too many text relocations on x86. DL_WARN("%s has text relocations. This is wasting memory and prevents " "security hardening. Please fix.", si->name); -#endif if (phdr_table_unprotect_segments(si->phdr, si->phnum, si->load_bias) < 0) { DL_ERR("can't unprotect loadable segments for \"%s\": %s", si->name, strerror(errno)); |
