aboutsummaryrefslogtreecommitdiff
path: root/gcc/hosthooks.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/hosthooks.h')
-rw-r--r--gcc/hosthooks.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/hosthooks.h b/gcc/hosthooks.h
index c8b7c0f..0ac89f5 100644
--- a/gcc/hosthooks.h
+++ b/gcc/hosthooks.h
@@ -36,6 +36,10 @@ struct host_hooks
if the memory is allocated but the data not loaded, return 1 if done. */
int (*gt_pch_use_address) (void *addr, size_t size, int fd, size_t offset);
+ /* Return the alignment required for allocating virtual memory. Usually
+ this is the same as pagesize. */
+ size_t (*gt_pch_alloc_granularity) (void);
+
/* Whenever you add entries here, make sure you adjust hosthooks-def.h. */
};