aboutsummaryrefslogtreecommitdiff
path: root/gmon/tst-gmon-pie.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2018-02-06 00:36:14 +0000
committerJoseph Myers <joseph@codesourcery.com>2018-02-06 00:36:14 +0000
commite76def72eb74ddc4fcf2b1630f5da742ddbd811d (patch)
treeac9ad86990781947978f36451edc6b653a05bf75 /gmon/tst-gmon-pie.c
parent92669d6ee3f25b3ca4cb227d194900489f895432 (diff)
downloadglibc-e76def72eb74ddc4fcf2b1630f5da742ddbd811d.tar
glibc-e76def72eb74ddc4fcf2b1630f5da742ddbd811d.tar.gz
glibc-e76def72eb74ddc4fcf2b1630f5da742ddbd811d.tar.bz2
glibc-e76def72eb74ddc4fcf2b1630f5da742ddbd811d.zip
Add MAP_SYNC from Linux 4.15.
This patch adds the MAP_SYNC macro from Linux 4.15 to various bits/mman.h headers. Note that this is *not* added to all architectures: in Linux 4.15, this macro is only in asm-generic/mman.h, and only some architectures' asm/mman.h include the asm-generic file - the architectures not using the asm-generic file will need their own values of MAP_SYNC allocated to support this functionality (some of them also already have conflicting mmap flags so the value there will have to be different from the generic 0x80000). Specifically, for glibc architectures, alpha hppa mips powerpc sparc tile lack allocations of values for MAP_SYNC. Tested for x86_64. * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC] (MAP_SYNC): New macro. * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC): Likewise. * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC] (MAP_SYNC): Likewise. * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC] (MAP_SYNC): Likewise. * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC] (MAP_SYNC): Likewise. * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC] (MAP_SYNC): Likewise. * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC] (MAP_SYNC): Likewise. * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC] (MAP_SYNC): Likewise. * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC): Likewise. * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC): Likewise.
Diffstat (limited to 'gmon/tst-gmon-pie.c')
0 files changed, 0 insertions, 0 deletions