aboutsummaryrefslogtreecommitdiff
path: root/gcc/hosthooks.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/hosthooks.h')
-rw-r--r--gcc/hosthooks.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/gcc/hosthooks.h b/gcc/hosthooks.h
index bbc28f69d4d..da2b25ed28a 100644
--- a/gcc/hosthooks.h
+++ b/gcc/hosthooks.h
@@ -25,8 +25,12 @@ struct host_hooks
{
void (*extra_signals) (void);
- void * (*gt_pch_get_address) (size_t);
- bool (*gt_pch_use_address) (void *, size_t);
+ void * (*gt_pch_get_address) (size_t, int);
+ int (*gt_pch_use_address) (void *, size_t, FILE *, size_t);
+
+ /* 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. */
};