diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-03-01 17:22:29 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-03-01 17:22:29 +0000 |
commit | c54eb9a5180318ff2f2105cd7065fb4694a5b81a (patch) | |
tree | 49cf472b341af31f72f19e0ed60d00f2a253b8e4 /libgo/mksysinfo.sh | |
parent | b1cdf000092305e65cc0524ad86190b7dd972589 (diff) | |
download | gcc-c54eb9a5180318ff2f2105cd7065fb4694a5b81a.tar.gz |
mksysinfo: Define MADV_ constants for madvise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184752 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo/mksysinfo.sh')
-rwxr-xr-x | libgo/mksysinfo.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libgo/mksysinfo.sh b/libgo/mksysinfo.sh index 5e3e9bb0897..f2dcda6f132 100755 --- a/libgo/mksysinfo.sh +++ b/libgo/mksysinfo.sh @@ -191,6 +191,8 @@ grep '^const _PROT_' gen-sysinfo.go | \ sed -e 's/^\(const \)_\(PROT_[^= ]*\)\(.*\)$/\1\2 = _\2/' >> ${OUT} grep '^const _MAP_' gen-sysinfo.go | \ sed -e 's/^\(const \)_\(MAP_[^= ]*\)\(.*\)$/\1\2 = _\2/' >> ${OUT} +grep '^const _MADV_' gen-sysinfo.go | \ + sed -e 's/^\(const \)_\(MADV_[^= ]*\)\(.*\)$/\1\2 = _\2/' >> ${OUT} # Process status constants. grep '^const _W' gen-sysinfo.go | |