Stop i386/djgpp-stdint.h being unused
Joseph S. Myers
joseph@codesourcery.com
Sat Feb 19 02:31:00 GMT 2011
I noted in <http://gcc.gnu.org/ml/gcc-patches/2011-02/msg01254.html>
that, of the unused gcc/config/ headers, i386/djgpp-stdint.h was most
appropriately dealt with by making the relevant configuration use it
instead of removing the header. This patch does so. (The issue of
this header being unused was previously noted in
<http://gcc.gnu.org/ml/gcc-patches/2010-12/msg00964.html>.)
Tested building cc1 and xgcc for cross to i686-pc-msdosdjgpp. OK to
commit?
2011-02-18 Joseph Myers <joseph@codesourcery.com>
* config.gcc (i[34567]86-pc-msdosdjgpp*): Use i386/djgpp-stdint.h.
Index: gcc/config.gcc
===================================================================
--- gcc/config.gcc (revision 170272)
+++ gcc/config.gcc (working copy)
@@ -1297,7 +1297,7 @@ x86_64-*-linux* | x86_64-*-kfreebsd*-gnu
;;
i[34567]86-pc-msdosdjgpp*)
xm_file=i386/xm-djgpp.h
- tm_file="dbxcoff.h ${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/djgpp.h"
+ tm_file="dbxcoff.h ${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/djgpp.h i386/djgpp-stdint.h"
tmake_file="${tmake_file} i386/t-djgpp"
extra_options="${extra_options} i386/djgpp.opt"
gnu_ld=yes
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Gcc-patches
mailing list