summaryrefslogtreecommitdiffstats
path: root/linker/linker.h
diff options
context:
space:
mode:
authorDmitriy Ivanov <dimitry@google.com>2015-03-19 17:50:29 -0700
committerDmitriy Ivanov <dimitry@google.com>2015-03-19 17:50:29 -0700
commite631f91a01269e9f682f9fa4a7812a2837f4185e (patch)
treea3c4e1ada207d097967b550bb80b9475c347808e /linker/linker.h
parent2e49508187254903943b83df7bb241d5fb6a8593 (diff)
downloadbionic-e631f91a01269e9f682f9fa4a7812a2837f4185e.zip
bionic-e631f91a01269e9f682f9fa4a7812a2837f4185e.tar.gz
bionic-e631f91a01269e9f682f9fa4a7812a2837f4185e.tar.bz2
Limit soinfo compatibility fields to arm32
Change-Id: I3924cd68397c223c0d206295d587f9dd8ebdc086
Diffstat (limited to 'linker/linker.h')
-rw-r--r--linker/linker.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/linker/linker.h b/linker/linker.h
index 04acda4..05735f6 100644
--- a/linker/linker.h
+++ b/linker/linker.h
@@ -149,13 +149,13 @@ struct soinfo {
ElfW(Addr) base;
size_t size;
-#ifndef __LP64__
+#if defined(__arm__)
uint32_t unused1; // DO NOT USE, maintained for compatibility.
#endif
ElfW(Dyn)* dynamic;
-#ifndef __LP64__
+#if defined(__arm__)
uint32_t unused2; // DO NOT USE, maintained for compatibility
uint32_t unused3; // DO NOT USE, maintained for compatibility
#endif