]> git.ipfire.org Git - thirdparty/gcc.git/commit
runtime: fix TestPhysPageSize on AIX
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 26 Apr 2019 17:20:55 +0000 (17:20 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 26 Apr 2019 17:20:55 +0000 (17:20 +0000)
commite38f05909e55388614bec3b3ba30272660dc4929
tree17d3ae67a1b9be4cc4873eb79698c260cdc76687
parenta596cdeddc50010fe931611e26005c5f2f8b9576
runtime: fix TestPhysPageSize on AIX

    AIX doesn't allow to mmap an address range which is already mmap.
    Therefore, once the region has been allocated, it must munmap before
    being able to play with it.
    The corresponding Go Toolchain patch is CL 174059.

    Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/174138

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@270615 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/go/gofrontend/MERGE
libgo/go/runtime/runtime_mmap_test.go