* config.gcc (crisv32-*-linux* | cris-*-linux*): Don't use svr4.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167650
138bc75d-0d04-0410-961f-
82ee72b054a4
+2010-12-09 Joseph Myers <joseph@codesourcery.com>
+
+ * config/cris/linux.h (SIZE_TYPE, PTRDIFF_TYPE): Define.
+ * config.gcc (crisv32-*-linux* | cris-*-linux*): Don't use svr4.h.
+
2010-12-09 Richard Guenther <rguenther@suse.de>
PR middle-end/46844
use_gcc_stdint=wrap
;;
crisv32-*-linux* | cris-*-linux*)
- tm_file="dbxelf.h elfos.h svr4.h ${tm_file} linux.h glibc-stdint.h cris/linux.h"
+ tm_file="dbxelf.h elfos.h ${tm_file} linux.h glibc-stdint.h cris/linux.h"
# We need to avoid using t-linux, so override default tmake_file
tmake_file="cris/t-cris t-slibgcc-elf-ver cris/t-linux"
extra_options="${extra_options} cris/linux.opt"
builtin_define ("__NO_UNDERSCORES__"); \
} \
while (0)
+
+/* Node: Type Layout */
+#undef SIZE_TYPE
+#define SIZE_TYPE "unsigned int"
+
+#undef PTRDIFF_TYPE
+#define PTRDIFF_TYPE "int"
/* Node: Sections */