Revert "Remove text-relocation support for lp32"
This reverts commit cb00add1b382d1e3045876d7e1ccbee2fdce976b.
Bug: 20020312
Bug: 20013628
Change-Id: I8baa3d4b6c7fef50c9e2531257d5b96762099eb3
diff --git a/linker/linker.h b/linker/linker.h
index ed26917..bf3e7bf 100644
--- a/linker/linker.h
+++ b/linker/linker.h
@@ -226,8 +226,8 @@
// value to get the corresponding address in the process' address space.
ElfW(Addr) load_bias;
-#if defined(__arm__)
- bool unused4; // DO NOT USE, maintained for compatibility
+#if !defined(__LP64__)
+ bool has_text_relocations;
#endif
bool has_DT_SYMBOLIC;