summaryrefslogtreecommitdiffstats
path: root/backends/tilegx_init.c
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2019-01-17 15:55:02 +0100
committerUlf Hermann <ulf.hermann@qt.io>2019-01-18 09:46:20 +0000
commit1f1bb33622a517fb674953fedd247fc0d0198f19 (patch)
tree0d2c78664d291ab6f0cd2f7ab6fd634aa64ce427 /backends/tilegx_init.c
parent5fdac838ae86f536d12c0b5e7631172d049bd556 (diff)
Use file-based ELF update strategy if posix_fallocate is absent
The whole idea of extending the file and the mmap in place is rather fragile and only works on rather specific setups. If we can't even extend the file, we will likely not be able to extend the mapping that refers to it, either. In that case we might still be able to write the formally undefined memory behind the end of the file because the OS actually maps whole pages, but that is an unspeakable horror. The file based strategy is slower, but robust. Change-Id: I995a173d60cfd70dde08ff78b7a97182e83b4727 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'backends/tilegx_init.c')
0 files changed, 0 insertions, 0 deletions