d8307d
commit ae514971341dcc08ec7f8622493a65e7eb1ef9d2
d8307d
Author: marxin <mliska@suse.cz>
d8307d
Date:   Thu Mar 7 09:39:55 2019 +0100
d8307d
d8307d
    Fix location where math-vector-fortran.h is installed.
d8307d
    
d8307d
    2019-03-07  Martin Liska  <mliska@suse.cz>
d8307d
    
d8307d
            * math/Makefile: Change location where math-vector-fortran.h is
d8307d
            installed.
d8307d
            * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
d8307d
            * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
d8307d
            from sysdeps/x86/fpu/bits/math-vector-fortran.h.
d8307d
            * scripts/check-installed-headers.sh: Skip Fortran header files.
d8307d
            * scripts/check-wrapper-headers.py: Likewise.
d8307d
d8307d
Conflicts:
d8307d
	scripts/check-wrapper-headers.py
d8307d
	  (Script does not exist downstream, change dropped.)
d8307d
d8307d
diff --git a/math/Makefile b/math/Makefile
d8307d
index 16e68754fc863ea2..df73d70840b61cd7 100644
d8307d
--- a/math/Makefile
d8307d
+++ b/math/Makefile
d8307d
@@ -26,7 +26,7 @@ headers		:= math.h bits/mathcalls.h bits/mathinline.h \
d8307d
 		   fpu_control.h complex.h bits/cmathcalls.h fenv.h \
d8307d
 		   bits/fenv.h bits/fenvinline.h bits/mathdef.h tgmath.h \
d8307d
 		   bits/math-finite.h bits/math-vector.h \
d8307d
-		   bits/math-vector-fortran.h \
d8307d
+		   finclude/math-vector-fortran.h \
d8307d
 		   bits/libm-simd-decl-stubs.h bits/iscanonical.h \
d8307d
 		   bits/flt-eval-method.h bits/fp-fast.h bits/fp-logb.h \
d8307d
 		   bits/long-double.h bits/mathcalls-helper-functions.h \
d8307d
diff --git a/bits/math-vector-fortran.h b/math/finclude/math-vector-fortran.h
d8307d
similarity index 100%
d8307d
rename from bits/math-vector-fortran.h
d8307d
rename to math/finclude/math-vector-fortran.h
d8307d
diff --git a/scripts/check-installed-headers.sh b/scripts/check-installed-headers.sh
d8307d
index 4a062e9cdaa57978..7a1969b43a144ebb 100644
d8307d
--- a/scripts/check-installed-headers.sh
d8307d
+++ b/scripts/check-installed-headers.sh
d8307d
@@ -84,6 +84,10 @@ for header in "$@"; do
d8307d
         (sys/elf.h)
d8307d
             continue;;
d8307d
 
d8307d
+        # Skip Fortran headers.
d8307d
+        (finclude/*)
d8307d
+            continue;;
d8307d
+
d8307d
 	# sys/sysctl.h is unsupported for x32.
d8307d
 	(sys/sysctl.h)
d8307d
             case "$is_x32" in
d8307d
diff --git a/sysdeps/x86/fpu/bits/math-vector-fortran.h b/sysdeps/x86/fpu/finclude/math-vector-fortran.h
d8307d
similarity index 100%
d8307d
rename from sysdeps/x86/fpu/bits/math-vector-fortran.h
d8307d
rename to sysdeps/x86/fpu/finclude/math-vector-fortran.h