1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-05 19:35:52 +03:00

Minor corrections to scripts/check-installed-headers.sh.

* scripts/check-installed-headers.sh: Generalize treatment of
	sys/elf.h to all target architectures.
This commit is contained in:
Zack Weinberg
2016-09-28 07:28:00 -04:00
parent 32daf20b54
commit 8d3bd94748
2 changed files with 11 additions and 3 deletions

View File

@@ -77,9 +77,14 @@ for header in "$@"; do
(bits/* | regexp.h | rpcsvc/*.x)
continue;;
# sys/elf.h and sys/vm86.h are "unsupported on x86-64" and
# #error out on that target.
(sys/elf.h | sys/vm86.h)
# All extant versions of sys/elf.h contain nothing more than an
# exhortation (either a #warning or an #error) to use sys/procfs.h
# instead, plus an inclusion of that header.
(sys/elf.h)
continue;;
# sys/vm86.h is "unsupported on x86-64" and errors out on that target.
(sys/vm86.h)
case "$is_x86_64" in
(yes) continue;;
(no) ;;