Mercurial > hg > CbC > CbC_gcc
comparison gcc/hosthooks.h @ 55:77e2b8dfacca gcc-4.4.5
update it from 4.4.3 to 4.5.0
author | ryoma <e075725@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 12 Feb 2010 23:39:51 +0900 |
parents | a06113de4d67 |
children | 04ced10e8804 |
comparison
equal
deleted
inserted
replaced
52:c156f1bd5cd9 | 55:77e2b8dfacca |
---|---|
28 of the compiler. The area should be able to hold SIZE bytes. FD is an | 28 of the compiler. The area should be able to hold SIZE bytes. FD is an |
29 open file descriptor if the host would like to probe with mmap. */ | 29 open file descriptor if the host would like to probe with mmap. */ |
30 void * (*gt_pch_get_address) (size_t size, int fd); | 30 void * (*gt_pch_get_address) (size_t size, int fd); |
31 | 31 |
32 /* ADDR is an address returned by gt_pch_get_address. Attempt to allocate | 32 /* ADDR is an address returned by gt_pch_get_address. Attempt to allocate |
33 SIZE bytes at the same address and load it with the data from FD at | 33 SIZE bytes at the same address and load it with the data from FD at |
34 OFFSET. Return -1 if we couldn't allocate memory at ADDR, return 0 | 34 OFFSET. Return -1 if we couldn't allocate memory at ADDR, return 0 |
35 if the memory is allocated but the data not loaded, return 1 if done. */ | 35 if the memory is allocated but the data not loaded, return 1 if done. */ |
36 int (*gt_pch_use_address) (void *addr, size_t size, int fd, size_t offset); | 36 int (*gt_pch_use_address) (void *addr, size_t size, int fd, size_t offset); |
37 | 37 |
38 /* Return the alignment required for allocating virtual memory. Usually | 38 /* Return the alignment required for allocating virtual memory. Usually |