summaryrefslogtreecommitdiff
path: root/ldso/ldso/hash.h
diff options
context:
space:
mode:
Diffstat (limited to 'ldso/ldso/hash.h')
-rw-r--r--ldso/ldso/hash.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ldso/ldso/hash.h b/ldso/ldso/hash.h
index 043b64aca..bb1b51fdc 100644
--- a/ldso/ldso/hash.h
+++ b/ldso/ldso/hash.h
@@ -70,6 +70,12 @@ struct elf_resolve{
unsigned long dynamic_size;
unsigned long n_phent;
Elf32_Phdr * ppnt;
+
+#ifdef __powerpc__
+ /* this is used to store the address of relocation data words, so
+ * we don't have to calculate it every time, which requires a divide */
+ unsigned long data_words;
+#endif
};
#if 0