summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorZack Weinberg <zackw@panix.com>2016-09-28 07:28:00 -0400
committerZack Weinberg <zackw@panix.com>2016-09-28 07:28:00 -0400
commit8d3bd947483f50b57aee7c35c07dc1927d6e8a27 (patch)
tree5b423515ceb8e87839c4d51f53b16e1ea6de89ef /scripts
parent32daf20b54744fd808fff8239b4a1d50e40ad027 (diff)
downloadglibc-8d3bd947483f50b57aee7c35c07dc1927d6e8a27.tar.gz
Minor corrections to scripts/check-installed-headers.sh.
* scripts/check-installed-headers.sh: Generalize treatment of sys/elf.h to all target architectures.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/check-installed-headers.sh11
1 files changed, 8 insertions, 3 deletions
diff --git a/scripts/check-installed-headers.sh b/scripts/check-installed-headers.sh
index 7fbc725c0f..87d6142fa6 100644
--- a/scripts/check-installed-headers.sh
+++ b/scripts/check-installed-headers.sh
@@ -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) ;;