diff options
Diffstat (limited to 'gnu/egcs/gcc/config/vax')
-rw-r--r-- | gnu/egcs/gcc/config/vax/openbsd.h | 40 | ||||
-rw-r--r-- | gnu/egcs/gcc/config/vax/t-openbsd | 3 | ||||
-rw-r--r-- | gnu/egcs/gcc/config/vax/xm-openbsd.h | 22 |
3 files changed, 65 insertions, 0 deletions
diff --git a/gnu/egcs/gcc/config/vax/openbsd.h b/gnu/egcs/gcc/config/vax/openbsd.h new file mode 100644 index 00000000000..008d77156f6 --- /dev/null +++ b/gnu/egcs/gcc/config/vax/openbsd.h @@ -0,0 +1,40 @@ +/* Configuration file for a vax OpenBSD target. + Copyright (C) 1999 Free Software Foundation, Inc. + +This file is part of GNU CC. + +GNU CC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2, or (at your option) +any later version. + +GNU CC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with GNU CC; see the file COPYING. If not, write to +the Free Software Foundation, 59 Temple Place - Suite 330, +Boston, MA 02111-1307, USA. */ + +#include <vax/vax.h> +#define OBSD_OLD_GAS +#include <openbsd.h> + +#define CPP_PREDEFINES "-D__unix__ -D__vax__ -D__OpenBSD__ -Asystem(unix) -Asystem(OpenBSD) -Acpu(vax) -Amachine(vax)" + +/* Layout of source language data types. */ + +/* This must agree with <machine/ansi.h> */ +#undef SIZE_TYPE +#define SIZE_TYPE "unsigned int" + +#undef PTRDIFF_TYPE +#define PTRDIFF_TYPE "int" + +#undef WCHAR_TYPE +#define WCHAR_TYPE "int" + +#undef WCHAR_TYPE_SIZE +#define WCHAR_TYPE_SIZE 32 diff --git a/gnu/egcs/gcc/config/vax/t-openbsd b/gnu/egcs/gcc/config/vax/t-openbsd new file mode 100644 index 00000000000..fbc85d12a32 --- /dev/null +++ b/gnu/egcs/gcc/config/vax/t-openbsd @@ -0,0 +1,3 @@ +# We need urem and udiv from some kind of support library (e.g. libc) and +# at this point we don't have that available +LIBGCC1_TEST = diff --git a/gnu/egcs/gcc/config/vax/xm-openbsd.h b/gnu/egcs/gcc/config/vax/xm-openbsd.h new file mode 100644 index 00000000000..ade34d0b0fd --- /dev/null +++ b/gnu/egcs/gcc/config/vax/xm-openbsd.h @@ -0,0 +1,22 @@ +/* Configuration file for an host running vax OpenBSD. + Copyright (C) 1999 Free Software Foundation, Inc. + +This file is part of GNU CC. + +GNU CC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2, or (at your option) +any later version. + +GNU CC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with GNU CC; see the file COPYING. If not, write to +the Free Software Foundation, 59 Temple Place - Suite 330, +Boston, MA 02111-1307, USA. */ + +#include <xm-openbsd.h> +#include <xm/xm-vax.h> |